GTA2 ScriptPad

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
User avatar
Sektor
Boss
Boss
Posts: 1453
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: GTA2 ScriptPad

Post by Sektor »

B-$hep wrote:compiler.dll source is included.
How i could fix the long filenames bug then??
Which file is it? I'm not very familiar with pascal but I was expecting it to be named compiler.* since that was the dll filename.

These are the files included with mispad source:
GMP.DCU
gmp_records.dcu
gmp_records.pas
gta2mispad.~dp
gta2mispad.~ds
gta2mispad.cfg
gta2mispad.dof
gta2mispad.dpr
gta2mispad.dsk
gta2mispad.res
gta2token.bmp
Project2.dsk
TokenRecy.dcu
TokenRecy.pas
tokensystem.psp
u_run.~df
u_run.~pa
u_run.dcu
u_run.dfm
u_run.pas
Unit1.~df
Unit1.~pa
Unit1.dcu
Unit1.dfm
Unit1.pas
B-$hep wrote: In my compiler, compiling from command line is supported.
In Scriptpad? How? I tried passing it a filename but it just opens it, it doesn't compile it.
User avatar
B-$hep
Immortal
Posts: 584
Joined: 24 Apr 2009, 21:43
GH nick: B-Shep
Location: EU

Re: GTA2 ScriptPad

Post by B-$hep »

gta1-gta2-tool-source-code.7z\GTA2\mis Pad\dll wrapper

its inside "dll wrapper" folder. Compiler.dpr has dll source.





Compiling from command line..
I meant in very new compiler command line.
In Scriptpad it just opens it, like you said. Because when i made this i didnt see the need for compiling from commandline.
Always wear safety glasses while programming.
User avatar
_L1pE_
Car Jacker
Car Jacker
Posts: 36
Joined: 08 Jan 2015, 15:02
GH nick: _L1pE_

Re: GTA2 ScriptPad

Post by _L1pE_ »

Sektor wrote: 09 Nov 2011, 12:29 This version of the compiler can compile main scripts that are around 55k instead of 45k. That's at least 400 extra of the largest commands.
compiler.7z
Thanks to T.M. for figuring out that GTA2 worked with larger scripts and only missed the magic number by 8. Thanks to Vike for finding the magic number. Thanks to Jernej for mispad. Thanks to B-$hep for Scriptpad. Thanks to DAFE for making a really massive script (DDV) that wasn't just a test script. Thanks to DMA Design for making GTA2.

Replace compiler.exe in scriptpad\compiler folder.
Sorry for necro but I gotta say that this compiler should be on the tools page. It actually has a size limit of ~65k.
Let's go for a joyride
Post Reply