Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Compile games from command line  (Read 4213 times)

0 Members and 1 Guest are viewing this topic.

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Compile games from command line
« 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)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Compile games from command line
« Reply #1 on: August 01, 2009, 09:53:38 PM »

No, it's not possible. wme_comp only compiles scripts, not game packages.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

MMR

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 349
  • http://mmrdeveloper.wordpress.com/
    • View Profile
    • TinyWME
Re: Compile games from command line
« Reply #2 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
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Compile games from command line
« Reply #3 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.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.042 seconds with 19 queries.