Wintermute Engine Forum
Wintermute Engine => Technical forum => WME sources discussion => Topic started by: lacosaweb on September 30, 2009, 04:17:16 PM
-
Hi, I'm studying the possibility to export WME to other platforms like iPhone and Linux to compile our games in these platforms but I see that dcscomp.dll compile the scripts. This dll I think that would be compile the scripts in win32 platform and the sourcecode of this dll is not distributed with the wme sourcecode.
I think that it's not possible to export the wme games to other platforms if dcscomp.dll compile in win32 code.
Jan, it's true? Why?
I'll need the sourcecode of dcscomp.dll to compile the scripts in each platform.
-
The script compiler compiles the script to bytecode (http://en.wikipedia.org/wiki/Bytecode). The bytecode is then executed by the engine and it's platform independent (it's not actual machine code). That means, the compiled game doesn't need the DLL (notice that compiled wme games don't even contain the file), because the scripts are pre-compiled by ProjectMan.
-
CAn wme_comp produce compiled output? There seems to be an -output parameter, but I can't seem to get it to work.
-
wme_comp.exe can output compiled *scripts*. But it's not really useful for anything IMO, the tool is primarily used for script syntax checking in text editors.
-
What is the format for getting these outputs, I have tried all ways but nothing ever appears.
-
Well, what the help says:
wme_comp.exe -script "C:\Program Files (x86)\WME DevKit\projects\wme_demo_3d\data\scripts\scene.script" -project "C:\Program Files (x86)\WME DevKit\projects\wme_demo_3d\wme_demo_3d.wpr" -output C:\
-
Ahh, I wasn't using the full path, just relatve ones.