Yesterday I grabbed the Residual source and finally got it to compile.
But running it just shows this funny "vehicle" bitmap and then a broken savegame loading screen appears and a bunch of error messages.
Nothing like "playable until year 2"...
It is just killable via the 'X'.
Standard out:
Code: Select all
GetSaveGameImage() started.
GetSaveGameImage() started.
GetSaveGameImage() started.
Error out:
Code: Select all
X:\Residual>residual.exe
GetSaveGameImage() started.
lua: (null)
Active Stack:
`error' tag method at line 2352 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:3810)
lua: bad argument #1 to function `GetSaveGameImage' (string expected)
Active Stack:
`error' tag method at line 2358 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:3810)
GetSaveGameImage() started.
lua: (null)
Active Stack:
`error' tag method at line 2352 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:4055)
lua: bad argument #1 to function `GetSaveGameImage' (string expected)
Active Stack:
`error' tag method at line 2358 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:4055)
X:\Residual>residual.exe > res.txt
lua: (null)
Active Stack:
`error' tag method at line 2352 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:3810)
lua: bad argument #1 to function `GetSaveGameImage' (string expected)
Active Stack:
`error' tag method at line 2358 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:3810)
lua: (null)
Active Stack:
`error' tag method at line 2352 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:4055)
lua: bad argument #1 to function `GetSaveGameImage' (string expected)
Active Stack:
`error' tag method at line 2358 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:4001)
function (Scripts\_options.lua:4055)
lua: (null)
Active Stack:
`error' tag method at line 2352 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:3853)
function (Scripts\_options.lua:3943)
lua: bad argument #1 to function `GetSaveGameImage' (string expected)
Active Stack:
`error' tag method at line 2358 [in file Scripts\_system.lua]
function GetSaveGameImage [in file (C)]
function (Scripts\_options.lua:3166)
function (Scripts\_options.lua:2517)
function (Scripts\_options.lua:3853)
function (Scripts\_options.lua:3943)
X:\Residual>
How do you debug the scripts anyway?
What's your usual setup on Windows for compiling and debugging? Or are you ALL using Linux for that??
BTW, the README reads:
But this is not enough, as you also need the GRIM.TAB file.Copy 'residual.exe' into the directory containing your .lab files, and create a file in this directory called 'residual.ini'. This file should contain [...]
So here are all needed *.LAB files from the 2 CDs (as it is a real PIO mess to just do "xcopy D:\GRIMDATA\*.LAB X:\Residual" - it took me 'bout 40 minutes or something to get Windows realize that these copy protection dummy files are CRC-ly messed up...
Code: Select all
17.10.1998 15:58 22.410 CREDITS.LAB
17.10.1998 18:25 29.163.069 DATA000.LAB
16.10.1998 17:30 115.377.732 DATA002.LAB
16.10.1998 17:31 81.392.084 DATA004.LAB
15.10.1998 14:01 30.042.112 DATA005.LAB
13.10.1998 14:24 608 LOCAL.LAB
15.10.1998 10:33 7.121.597 MOVIE00.LAB
13.10.1998 14:23 156.018.688 MOVIE01.LAB
13.10.1998 14:10 68.042.073 MOVIE02.LAB
13.10.1998 14:24 482.465.792 MOVIE03.LAB
13.10.1998 14:11 108.330.269 MOVIE04.LAB
13.10.1998 14:11 4.456.393 VOX0000.LAB
18.10.1998 14:09 388.753.408 VOX0001.LAB
14.10.1998 09:03 105.318.939 VOX0002.LAB
13.10.1998 14:38 321.923.072 VOX0003.LAB
13.10.1998 14:25 45.076.847 VOX0004.LAB
12.10.1998 22:56 6.995.569 YEAR0MUS.LAB
12.10.1998 23:12 268.775.424 YEAR1MUS.LAB
12.10.1998 22:58 81.147.716 YEAR2MUS.LAB
12.10.1998 23:14 207.411.200 YEAR3MUS.LAB
12.10.1998 23:00 63.489.389 YEAR4MUS.LAB
21 Datei(en) 2.571.324.391 Bytes
Thanks,
Herrscher
P.S.: The link to the Doxygen documentation seems to be broken...