forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with compiling Lua Player 0.16

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Wed May 10, 2006 11:44 pm    Post subject: Help with compiling Lua Player 0.16 Reply with quote

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.
Back to top
View user's profile Send private message
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Sat May 13, 2006 12:21 pm    Post subject: Reply with quote

110 views and no replies?

Come on folks, someone must have a solution or at least an idea!

Thanks in advance.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Sat May 13, 2006 1:13 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
youresam



Joined: 06 Nov 2005
Posts: 87

PostPosted: Sun May 28, 2006 3:12 am    Post subject: Reply with quote

Just so you know, once you 'compile' it, you can open the eboot in notepad and your code, comments and all, is in the middle.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group