HOW-TO: Blender Exporter on Windows
3 posters
HOW-TO: Blender Exporter on Windows
I have successfully been able to get the blender exporter working on windows by making few tweaks. Here are the steps required to get it working.
Thats it. The files will be created successfully and work with the Sio2 library beautifully.
Hope this helps,
Tim
- Install Cygwin. Cygwin is a free, open source utility which adds the common *nix commands to windows. The ones we are interested in are zip and cp. Zip isn't installed by Cygwin by default so you will have to find it in the list of packages in the installer.
- Add Cygwin bin folder to the system path. Right click on "My Computer" and select properties. In the System Properties window, select the "Advanced" tab and click the "Environment Variables" button. Update or Add the PATH user variable and set it's value to:
%PATH%;C:\cygwin\bin;<existing stuff if here>
This assumes you have installed Cygwin in the default location. - Update sio2_exporter_v1.2.x.py. The exporter plugin opens all the files in text mode which causes complications when you bring the file over to your mac for development. In text mode, Python converts "\n" to "\r\n" since that is what the Windows standard is. Update the open statements on lines 487, 573, 763 and 933 and change the second argument from "w" to "wb". This will tell Python to open the file in binary mode which will bypass the new line character conversion.
Thats it. The files will be created successfully and work with the Sio2 library beautifully.
Hope this helps,
Tim
tbraun- Posts : 8
Join date : 2008-10-28
Re: HOW-TO: Blender Exporter on Windows
I'll modify the "w" for "wb" so the exporter will work on both windows & macOS like that...
Re: HOW-TO: Blender Exporter on Windows
How's about a complete windows port of sio2? Are there anything for now?
joric- Posts : 3
Join date : 2008-11-16
Re: HOW-TO: Blender Exporter on Windows
Well that would basically be illegal... it is mentioned in the agreement that if you want to develop on the devices you have to use the official Apple SDK...
Re: HOW-TO: Blender Exporter on Windows
I don't get it. Companies are mostly porting their games than developing from the scratch, and the most amount of work was made on windows machines (personally I've spend 95% of time on windows while making a port and have literally only ~500 lines of platform-specific code).sio2interactive wrote:Well that would basically be illegal... it is mentioned in the agreement that if you want to develop on the devices you have to use the official Apple SDK...
joric- Posts : 3
Join date : 2008-11-16
Re: HOW-TO: Blender Exporter on Windows
What I mean is the final product have to be compiled using the official SDK... I know that there's some "non-official" port that allow you to compile device code on windows... and thats what I mean is illegal... As long as you are using the Apple SDK to compile the final product I think that's cool...
Re: HOW-TO: Blender Exporter on Windows
I just want to develop and run it on windows before it'll go to macos/iphone/whatever. Are there any chances to make a port of sio2 for windows?
joric- Posts : 3
Join date : 2008-11-16
Re: HOW-TO: Blender Exporter on Windows
Unfortunately not, I don't want SIO2 to be associated with illegal or non-official stuff... Cuz Im afraid that if I do so all the apps. that are using it will be refused on the app. store... SIO2 have to be 100% clean on every level...
Similar topics
» a problem with blender, when i run the blender on leopard prompt "not enough VRAM"
» Blender Exporter and Other Scripts
» Blender Exporter Problem
» exporter script changes the mode of selection of Blender?
» Blender exporter doesn't export physical constraints?
» Blender Exporter and Other Scripts
» Blender Exporter Problem
» exporter script changes the mode of selection of Blender?
» Blender exporter doesn't export physical constraints?
Permissions in this forum:
You cannot reply to topics in this forum
|
|