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 

LUA strings in my C program...

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



Joined: 29 Apr 2006
Posts: 5

PostPosted: Fri May 19, 2006 7:44 am    Post subject: LUA strings in my C program... Reply with quote

Hi dudes..you're master..so i hope u can help me..

i have to do something like this..

i've written a program in C language..
now..if i press X i would to run the code of a .lua file that i have..how could i do it?
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Fri May 19, 2006 8:06 am    Post subject: Reply with quote

more description is one thing you could do :P
_________________
10011011 00101010 11010111 10001001 10111010
Back to top
View user's profile Send private message
Gary13579



Joined: 15 Aug 2005
Posts: 93

PostPosted: Sat May 20, 2006 5:59 am    Post subject: Reply with quote

Grab the LuaPlayer source code, make sure you can compile that, add all of the libs into your Makefile, copy over the source folder and rename it to "lua" in your project, and just find the function that runs Lua programs. Edit that to load a file from the MS, and take the filename from a C source.
Should be semi-easy.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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