How to compile mis from command line?

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Locked
Logofero
Serial Killer
Serial Killer
Posts: 264
Joined: 09 Dec 2015, 14:18
Location: Russia, Gelendzhik
Contact:

How to compile mis from command line?

Post by Logofero »

How to compile the command line?
Where to get console compilers?

I need to compile the *.MIS script through a simple
run.bat

Code: Select all

@echo off
compiller.exe "input_mis" "output_scr"
pause
Debug messages in console:

Code: Select all

...
Number of generator=    5
Number of destructors=    2
Number of crane      =    6
Number of conveyor   =    9
Number of threadtriggers =    7
Number of gangs =    3
Number of crushers =    2

Compiled Successfully

Size of Mainscript: 5052 bytes
Lines in Mainscript: 231
Max scripts in memory midgame: 5052 bytes
Max commands in memory midgame: 231 lines
Largest script: 0 bytes
Who knows how to patch GTAscript compiler/miss2.exe to accept miss2.exe the argument %1 and return to %2?
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: help compiling script

Post by Sektor »

B-$hep released a compiler with command line support :) topic is here.
Locked