Hey folks.
For some reason every version of Lua Player after 0.16 won't run my scripts, it gives me an error loading image, even though I know my code is correct and the image is there (works fine on version 0.16 and Windows Lua Player).
I'm wanting to compile my script into the Eboot, as I'm releasing a multi-player game shortly, and I don't want anyone to cheat it!
Anyway, I followed the guide to compiling Lua Player and can get it working fine for 0.19, but not 0.16.
It gives me an error when I make it:
src/sio.cpp:175: error: invalid conversion from 'int (*)(PspIoDrvFileArg*, unsigned int, void*, int, void*, int)' to 'int (*)(PspIoDrvFileArg*, const char*, unsigned int, void*, int, void*, int)'
make: *** [src/sio.o] Error 1
Also on another note, I've tried compiling the script through luac 5.0 & 5.1:
5.0 gave me the error: 'virtual machine mismatch in (script file): size of number is 4, but read is 8' when I try to run the chunk.
5.1 errored out saying it expected version number 5.0 or below.
Any help on any of these subjects would be excellent, I'm not really fussed which method, as long as one of them works!
Thanks in advance.
Help with compiling Lua Player 0.16
Moderators: Shine, Insert_witty_name
-
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
-
- Posts: 376
- Joined: Wed May 10, 2006 11:31 pm
Sounds like the api changed... that's not a surprising thing to happen when things are still evolving.... Dunno what to tell you other than use the newest and try to figure out whats wrong with your scripts.
Shoot Pixels Not People!
Makeshift Development
Makeshift Development