Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: MMR on July 28, 2009, 04:17:30 PM

Title: Compile games from command line
Post by: MMR on July 28, 2009, 04:17:30 PM
Hi Mnemonic,

I would like to know if it's possible to compile a game from the command line using the "wme_comp.exe" instead of ProjectMan.
I've tried to execute the following line but I guess is mandatory to put a script:

Code: [Select]
C:\Archivos de programa\WME DevKit>wme_comp.exe -project "C:\Archivos de program
a\WME DevKit\projects\wme_demo\wme_demo.wpr"
Wintermute Engine Script Compiler 1.8.010, (c) 2009 Dead:Code

Usage:

  wme_comp.exe -script script.dcs [-project project.wpr] [-output output_path] [
-format default|scite]

Is there any way to compile it just specifying the project path?
Does this -script command have other purpose than just checking the syntax?

Thanks in advance and regards,
Manuel Martos (MMR)
Title: Re: Compile games from command line
Post by: Mnemonic on August 01, 2009, 09:53:38 PM
No, it's not possible. wme_comp only compiles scripts, not game packages.
Title: Re: Compile games from command line
Post by: MMR on August 01, 2009, 09:58:30 PM
Thanks for the answer Mnemonic, BTW is in your plans for this WME branch or maybe for 2.0 version to release any tool like "wme_comp" to compile WME games externally?  :o
Title: Re: Compile games from command line
Post by: Mnemonic on August 01, 2009, 10:04:11 PM
In wme2 the package generator is part of the engine. Unfortunately in wme1 the code is specific to ProjectMan.