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!

[RELEASE] PSP Installer 1.0!

This is a discussion on [RELEASE] PSP Installer 1.0! within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Good Evening Guys, Spike_132000 here to bring you.... VERSION 1.0 OF PSPINSTALLER!!!! This application basically allows you to download games, ...

Reply
 
LinkBack Thread Tools
Old 10-23-2009, 04:11 PM   #1
 
spike_132000's Avatar
 
My Mood: In Love
Join Date: Jan 2007
Real First Name: Richard
Location: Nottingham, UK
Just Played: DJ Max Portable BS
Posts: 55
Trader Feedback: 0
Default [RELEASE] PSP Installer 1.0!

Good Evening Guys, Spike_132000 here to bring you.... VERSION 1.0 OF PSPINSTALLER!!!!



This application basically allows you to download games, applications, theme's and save games automatically onto the PSP

Changes in V1.0

+Added: Categories, now everything is split into 4 categories, Games, Applications, Theme's and Savegames
=Fixed: If you choose a blank option on the browse page, it will initiate your wlan but then tell you it's unable to download a blank application
=Unfixable: Deletion of Zip file's. There's a bug in PGELua that prevents zip files to be closed, so since there still classed as open and in use, they can't be deleted.
EDIT:
=Fixed: When updating database, current database version text changed to latest database version text when it should have stayed at current database version text... it's hard to explain.. anyway it's fixed

WE NEED YOUR GAMES,APPLICATIONS,THEME' S and SAVEGAMES!!!

Download : !! SEE BELOW !!

Install : Delete previous version then Re-Copy to GAME5XX

Cred :

Spike_132000 - Code
User1690 - Concept
Joomla - Graphics

UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE UPDATE

Hey guys, just a quick update

the change source option on the front screen has now been changed to....

"Download Latest Version"



this means that you can now download the latest version of PSPInstaller from within the application itself

After downloading and installing like any other app, it will state that the app needs to be restarted, if you press start, the app will automatically close down back to the XMB, when you relaunch it, it will show the app as being updated woop woop

also added version numbers to first page

Try it out with this download link

http://in.rsparrow.co.uk/pspinstallerv1.rar
spike_132000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2009, 05:29 PM   #2
 
cmbeke's Avatar
 
My Mood: Fine
Join Date: Jan 2008
Real First Name: Chris
Location: Iowa
Just Played: Brave Story: New Traveler
Posts: 301
Trader Feedback: 0
Default

nice job
cmbeke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-23-2009, 09:01 PM   #3
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

So here are my meager suggestions:
  • Dont limit yourself to applications, games, savegames and themes. What about plugins?
  • The confirmed bug in PGE Lua of it not closing the file for the Zip is a pain in the ass... And there is proabably a work around somewhere.
  • The "DB.LUA" is still really... not expandable.

Db.lua should look more like a proper database than static categories. Here's my take on it:


db={
{
{ name="MyApp", author="The Architect", filename="mapp01.zip" },
(Continue on like this)
},
{
{name="Joes Mario Clone", author="Joe Shmoe", filename="joemario.zip" }
(etc, etc)
},
{
{ name="Snes9xTYL", author="YoYoFR and Laxer", filename="snes9xtyl_fat.z ip"}
}
}
db_names = {"Applications", "Games (General)", "Games (Emulators)"}


Not only this way can you have multiple sources, but you have more flexibility.
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 05:58 AM   #4
 
spike_132000's Avatar
 
My Mood: In Love
Join Date: Jan 2007
Real First Name: Richard
Location: Nottingham, UK
Just Played: DJ Max Portable BS
Posts: 55
Trader Feedback: 0
Default

Quote:
db={
{
{ name="MyApp", author="The Architect", filename="mapp01.zip" },
(Continue on like this)
},
{
{name="Joes Mario Clone", author="Joe Shmoe", filename="joemario.zip" }
(etc, etc)
},
{
{ name="Snes9xTYL", author="YoYoFR and Laxer", filename="snes9xtyl_fat.z ip"}
}
}
db_names = {"Applications", "Games (General)", "Games (Emulators)"}
I've never seen an array in lua layed out like that, how would I call it in the program?
spike_132000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 07:57 AM   #5
 
Join Date: Sep 2008
Posts: 67
Trader Feedback: 0
Default

..
CKNICK is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 08:16 AM   #6
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

Like any other array? Lua doesnt care about newlines and whitespace.

Also, zip files should be a RootFS -- that way applications like iRShell and whatnot can be distributed.
That, and you may want to have a "Debian-Like" package script -- where you have this sort of format:

(zip root)
  • install.lua
  • fs.zip
    • PSP
      • GAME
      • COMMON (All else fails, some packages can use this as a "control" area)
      • Etc...
    • SEPlugins
    • etc...

This allows for say PSPDisp (Which would need to add itself to the vsh.txt file under ms0:/seplugins/) or iRShell (Which assumes that its being extracted to ms0:/)

Install.lua would define a function called "app_install()" which would give the author some control over any extraneous settings that had to be handled.
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 06:55 PM   #7
 
cmbeke's Avatar
 
My Mood: Fine
Join Date: Jan 2008
Real First Name: Chris
Location: Iowa
Just Played: Brave Story: New Traveler
Posts: 301
Trader Feedback: 0
Default

you could do instead of
Code:
09 Games by Shaqdarcy
09 Games by Shaqdarcy CXMB Theme for 5.00M33
THEME
you could do this
Code:
09 Games
     by Shaqdarcy
5.00M33
you dont need the GAME or THEME at the bottom, you could instead put the fw need to run it
cmbeke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-24-2009, 10:24 PM   #8
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

Here's how APT (Debian's package management tool, with super cow powers) does it:

All packages are stored in an SQlite database, or at least their description.
Packages can state what they depend on (for example, "fw-5.50" might be a dependency of "cxmb500" which is a dependancy of "blackwings550gen")

Here's what I'd suggest:
Code:
-- this is Lua
db={
{ name="cxmb550gen", depends="fw550", cat="plugins", desc="CustomXMB plugin for 550GEN" }, -- this automatically maps to "cxmb500gen.zip" on the webserver.
{ name="masterboy", depends="cfw", cat="Emulators", desc="Simple SMS and GB/GBC emulator" }, -- Note here that "cfw" is anything >3.00OE.
{name="timebaby", depends="hw_fat,ofw", cat="Applications" desc="Time clock and MP3 player. For Fats only." } -- This depends on hardware being PSP_HW_FAT and firmware being 1.50. (Its KXploited)

}

-- this is within something like conf.lua or "installedb.lua"
PSP_FAT=1
PSP_HW_SLIM=2
PSP_HW_BRITE=3
PSP_HW_GO=4 -- Just so that we *can* have that.

installed={"cfw","fw550","masterboy"}
harware_is=PSP_HW_SLIM
Sound reasonable enough?
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 03:15 AM   #9
 
soulburn's Avatar
 
Join Date: Sep 2007
Real First Name: soul
Location: Poland
Just Played: Dead Space
Posts: 36
Trader Feedback: 0
Default

Nice idea. You should definitly add some plugins too.

I do not know much about programming, however, if you can't delete zip file, because its open, simply don't. Delete it when program is lunched again instead. I guess it's easy to log all the downloaded files, and then delete them using this log information. If deleting during program start will cause too much slowdown, You can add a button "delete temporary files", to do it manualy. It should delete all the logged zips, excluding those just downloaded (still open).

And is this really necessary to initiate wlan every time when I want download something? It's annoying, mayby one initialization, and then keeping connetion alive would be better?

Last edited by soulburn; 10-25-2009 at 03:28 AM..
soulburn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-25-2009, 05:48 AM   #10
 
Join Date: Sep 2008
Posts: 31
Trader Feedback: 0
Default

Only Snake ?
arcadekidflo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 10:51 AM   #11
 
spike_132000's Avatar
 
My Mood: In Love
Join Date: Jan 2007
Real First Name: Richard
Location: Nottingham, UK
Just Played: DJ Max Portable BS
Posts: 55
Trader Feedback: 0
Default

I Like your idea indrora, will look into it

we init WLAN everytime due to power, uses more if it's on all the time, but I can make a toggle quite easily, and also the delete zip thing could be done on startup no point having the "delete temp files" button unless you close the app, reopen it then press it.
spike_132000 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-26-2009, 12:04 PM   #12
 
 
Join Date: Apr 2009
Real First Name: Morgan
Location: Around black mesa.
Just Played: SMB
Posts: 83
Trader Feedback: 0
Default

Well you can have a folder in the app dir that contains the downloaded files. when the app comes back it looks for any temporary files that are there and says "I'm cleaning up from last time... bear with me!" and have a little progress dialog.
Also, I dont know how to determine the version the machine is running on. I can only assume you can look at particular versions of various files in flash0:/ (such as vshmain.prx, or wlan or some such)

~OR~

you have a dialog that when something depends on 'cfw' or 'fw550' you ask "Do you have FW 5.50?" or "Do you have FW1.5?"
indrora is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-27-2009, 02:45 PM   #13
 
Fetts's Avatar
 
My Mood: Cool
Join Date: Mar 2009
Real First Name: Jack
Location: Australia
Just Played: Gran Turismo PSP
Posts: 116
Trader Feedback: 0
Default

a way you could find out somebody's firmware is for the app to look in f0:/vsh/etc/version.txt
Fetts is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-28-2009, 07:19 AM   #14
 
Join Date: Jun 2009
Posts: 5
Trader Feedback: 0
Default

The link is dead for me
zidapi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-05-2009, 06:02 AM   #15

 
manaxed's Avatar
 
Join Date: Sep 2009
Real First Name: Manak
Location: Some where
Just Played: PSP
Posts: 58
Trader Feedback: 0
Default

Hey urm.. i've kinda edited the your program slightly and based it more on a theme downloader.... I've added more functionalty etc. As in allowing you to add Theme repositories. Basically i've made it like Cydia for the iPhone...

Well, i just wanted your approval to release this. I'd give you fulll credit for the backbone of program.


-Manaxed
__________________
Enter Signature Here.
manaxed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
installer , psp , release

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:36 PM.



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