QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Question| C VS LUA

This is a discussion on Question| C VS LUA within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I want to develope an homebrew that dumps the folder SAVEDATA into the root of flash3 (EBOOT not prx...) It ...

Reply
 
LinkBack Thread Tools
Old 06-02-2008, 02:45 AM   #1
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default Question| C VS LUA

I want to develope an homebrew that dumps the folder SAVEDATA into the root of flash3 (EBOOT not prx...)
It will also overwrite old saves if exist.

Now, is it easier in C or LUA? (very very little knowledge in C and zero knowledge in LUA).

Also, how hard is this simple application?
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 04:51 AM   #2
PSP Developer On Break
 

 
My Mood: Bashful
Join Date: Jan 2008
Real First Name: [The]Cobra
Location: New York
Just Played: GameLive Shell
Posts: 587
Trader Feedback: 0
Default

i go with c due to more control to flash
__________________
Project:GameLive-Shell(Perc:19% | Ver: V0.1)
thecobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 05:03 AM   #3
 
tombradyisgod12's Avatar
 
Join Date: May 2008
Posts: 9
Trader Feedback: 0
Default

I don't even think there are any functions in lua to copy files or even access the flash memory. Go with C.
tombradyisgod12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 05:18 AM   #4
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

If your playing with flash3 then definitely C.
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 05:29 AM   #5
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

you see i would have said lua, its quick easy and it has all the functions you need, i would be mean and make it now but you sound like you want to do it so yeah ill leave you to decide
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 06:02 AM   #6
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Don't be mean I really wanna do it
But I could use a tutor XD
U got ICQ or something? (I don't have MSN
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 06:04 AM   #7
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

nope and i cant tutor you at the moment anyway, maybe soon i have somethign planned for my site
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 06:08 AM   #8
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

You know any1 that can?

edit:
btw you're sure that LUA can access flash and copy from ms to flash?
In later versions I'll probably want to add a save counter (counts the numbers of folders inside SAVEDATA, every folder is usually a game save), and also other features.
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 06:12 AM   #9
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

Quote:
Originally Posted by CoMbiNa
You know any1 that can?

edit:
btw you're sure that LUA can access flash and copy from ms to flash?
In later versions I'll probably want to add a save counter (counts the numbers of folders inside SAVEDATA, every folder is usually a game save), and also other features.
yes it can do almost anything
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 06:17 AM   #10
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Hmm can some1 tell me what is LUA Player?
I downloaded it but it's for firmware 1.5, how I use it?
And when I downloaded for windows I can't understand how to use it, I'm not good with those cmd applications

edit:
2 more questions:
1. will the tutorials from PSP-Programming will work on 3.90 M33 and 3.95 GEN?
2. What is the best LUA Player and how I use it
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 06:54 AM   #11
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

Lua for the PlayStation Portable is interpreted with Lua Player. Lua Player can run lua scripts and display them on the Sony PSP. Lua is an easy programming language to learn, that can be used for many different things, but is usually used to make games and applications. Its current version is V 0.20, however V0.17DK2 and Lua Player Mod, which are unofficial versions are still used by people on v2.00+. Most versions can be downloaded from the LuaPlayer.org website.

wiki!

Yes it will work on any CTW and luaplayer HM is the best now as it allows old and newer and makes fancier functions like flash stuff easier.

Also even 1.5 app's will run on any CFW if you put them in the game folder and have the 1.50 add-on. Unless you have a slim.

The windows one is simple, just google lua psp tutorials or search on here or just go on evilmana.
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 07:05 AM   #12

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

If you only have a little programming experience, should you really be mucking around with the flash of the PSP?
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 07:09 AM   #13
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

I've downloaded luaplayer HM and it shut downs my PSP when I load it.
I got 3.95 GEN and Slim

edit:
how to convert LUA to EBOOT?
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 07:36 AM   #14
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

Use the search tool it is a good feature of this forum. Also it saves us answering questions again and again
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 07:45 AM   #15
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Quote:
Originally Posted by mraellis
Use the search tool it is a good feature of this forum. Also it saves us answering questions again and again
I searched.
No answer why my LUA PLayer HM isn't working and how to convert LUA to EBOOT
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 07:49 AM   #16
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

Quote:
Originally Posted by CoMbiNa
I searched.
No answer why my LUA PLayer HM isn't working and how to convert LUA to EBOOT
1) go into recovery set the game folder to 3.xx kernel
2) get luaplayerhm from my site where there is a version that has already been sorted for noobs http://psp-networks.ath.cx/ click downloads and download the version i modified
3) you dont need to compile your code into the eboot
4) wait until i teach you how to even code
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 07:56 AM   #17
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
1) go into recovery set the game folder to 3.xx kernel
2) get luaplayerhm from my site where there is a version that has already been sorted for noobs http://psp-networks.ath.cx/ click downloads and download the version i modified
3) you dont need to compile your code into the eboot
4) wait until i teach you how to even code
1) I already did that...
2) I already did that...
3. Why not? how other people can play it then? I don't want it to be complicated
4)kk

I think it doesn't work because I got 3.95 GEN.
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 08:03 AM   #18
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

Quote:
Originally Posted by CoMbiNa
1) I already did that...
2) I already did that...
3. Why not? how other people can play it then? I don't want it to be complicated
4)kk

I think it doesn't work because I got 3.95 GEN.
see dark-alex is the main man when it comes to custom firmwares, it probably doesnt work because 3.95 gen was made crappily, also what does 3.95 give you over 3.90 other than ps store updates ? you should stay true to dax!
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 08:08 AM   #19
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
see dark-alex is the main man when it comes to custom firmwares, it probably doesnt work because 3.95 gen was made crappily, also what does 3.95 give you over 3.90 other than ps store updates ? you should stay true to dax!
I don't think there is any way to downgrade aside from Pandora.
And why you don't need EBOOT?
how the PSP will play it? (again i don't want it to be complicated)
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 08:13 AM   #20
Banned for LIFE
 
Join Date: Oct 2006
Location: East London, England
Posts: 2
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
see dark-alex is the main man when it comes to custom firmwares, it probably doesnt work because 3.95 gen was made crappily, also what does 3.95 give you over 3.90 other than ps store updates ? you should stay true to dax!
Have you completely lost your ****ing marbles? 3.95 gen adds some great features to an already great custom firmware. The majority of it was made using Alex's code so it can't be "made crappily". What would lead you to say such a thing?

And I now your last comment wasn't serious ...
eldiablov is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 08:14 AM   #21
Developer and Tutor.
 
FaT3oYCG's Avatar
 
My Mood: Happy
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
Default

all you do is download luaplayerhm and put it in your game older, put any lua scripts into your applications folder inside the luaplayerhm folder and run them


Quote:
Originally Posted by eldiablov
Have you completely lost your ****ing marbles? 3.95 gen adds some great features to an already great custom firmware. The majority of it was made using Alex's code so it can't be "made crappily". What would lead you to say such a thing?

And I now your last comment wasn't serious ...
whatever the person who modded dax's firmware did borked it because its incompatible with things
__________________
------ FaT3oYCG -----
AKA Craig, call me what you want to It's your preference.
My Website: is down for a while ... I'll bring a new one back soon.

Currently working on:
(0) PGE Gears Of War - On hold (Very large project).
(0) PS???? - A tactical 2d side scrolling game involving AI and online multiplayer features. - Tile engine nearley finished (1 bug to fix).

Last edited by FaT3oYCG; 06-02-2008 at 08:15 AM.. Reason: Automerged Doublepost
FaT3oYCG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 08:15 AM   #22
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Well, LUA Player doesn't work on this cfw.
So my only option is pandora
-= Double Post =-
Quote:
Originally Posted by FaT3oYCG
all you do is download luaplayerhm and put it in your game older, put any lua scripts into your applications folder inside the luaplayerhm folder and run them




whatever the person who modded dax's firmware did borked it because its incompatible with things
What?
U mean there is no way in the world to ebootize an lua app?
And lua apps look exactly as normal c eboot apps?

Last edited by CoMbiNa; 06-02-2008 at 08:17 AM.. Reason: Automerged Doublepost
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 08:20 AM   #23
Enter Custom Title
 
Join Date: Feb 2006
Location: National Front Disco
Posts: 13,063
Trader Feedback: 0
Default

Quote:
Originally Posted by FaT3oYCG
whatever the person who modded dax's firmware did borked it because its incompatible with things
No, they did it perfectly well. In fact, the reason that some homebrew is incompatible with the firmware is because Sony made it harder to crack it with a whole lot of NID changes which needed resolving. So it isn't any fault of the developer that homebrew is incompatible, which leaves me to believe you are a fool. Not that I didn't think so already, of course.
Moose is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 09:08 AM   #24
Enter Custom Title
 
dan369's Avatar
 
Join Date: Jan 2008
Real First Name: Dan
Location: Wales, cardiff
Just Played: Overlord 2
Posts: 1,308
Blog Entries: 1
Trader Feedback: 0
Default

Luaplayer HMDOES work with 3.95 GEN, i've got It and Tested it Loads of Times (PSP Phat)
dan369 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 11:21 AM   #25
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

I got a slim.
No idea what it isn't working
-= Double Post =-
Oh and can some1 explain me how to convert lua to eboot?
I really need it for this

Last edited by CoMbiNa; 06-02-2008 at 11:39 AM.. Reason: Automerged Doublepost
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 11:50 AM   #26
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

well i did try to help but a mod's deleted my post for some reason instead of editing out the top part which they could've...

Feel free to add me on msn for help.
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 12:06 PM   #27
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Quote:
Originally Posted by mraellis
well i did try to help but a mod's deleted my post for some reason instead of editing out the top part which they could've...

Feel free to add me on msn for help.
add me sprint_69@hotmail.com

thanks for help
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 12:14 PM   #28
Banned from QJ for LIFE
 
Join Date: Jul 2006
Posts: 1,558
Trader Feedback: 0
Default

Ok I'll add you for when i come on later.
Mraellis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 01:06 PM   #29

Developer
 
slicer4ever's Avatar
 
Join Date: Jul 2005
Location: everywhere
Posts: 3,357
Trader Feedback: 0
Default

lol....sry it needed to be said with this thread...for one thing

CoMBina, you need to slow your butt down...first i recommend that you get luaplayer working, than learn how to program, before you even should start to care about making sure it's Ebootable

and plz for the love of god when you do start programming DO NOT RELEASE A BUTTON TESTER!!!!, plz leave that to your own making, plz....also their's a lua help thread be sure to use it for when you do start to get serious with lua programming
__________________
1. Failed....again...
2. http://slicer.gibbocool.com/ stay updated on all my projects
slicer4ever is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2008, 01:10 PM   #30
 
Join Date: May 2008
Posts: 246
Trader Feedback: 0
Default

Quote:
Originally Posted by slicer4ever
lol....sry it needed to be said with this thread...for one thing

CoMBina, you need to slow your butt down...first i recommend that you get luaplayer working, than learn how to program, before you even should start to care about making sure it's Ebootable

and plz for the love of god when you do start programming DO NOT RELEASE A BUTTON TESTER!!!!, plz leave that to your own making, plz....also their's a lua help thread be sure to use it for when you do start to get serious with lua programming
Huh?
wtf is a button tester

and I got luaplayer working, but I've heard there is no way to ebootise the lua app
CoMbiNa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
lua , question|

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 06:33 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us