Install APPS/Elfs to the PS2 Browser/Game Channel(updated)
by, 03-12-2012 at 12:02 AM (34724 Views)
Installing APPS/ELF's to the Browser/Game-Channel:
installing apps is a pain in the ass at the moment because no app exist to do it automaticly.
1.you need a dvdelf.bin matching your console region, you should have one that is 1,6mb big in size, so it can host bigger elf's aswell.
you can use the dvelf_dumper.elf, to get the dvdelf.bin from your console, but it might be too small to install certain elf's, if your console is older.
2.you need the fmcb installer, to inject the elf into the dvdelf.bin, you need to put your DVDELF.BIN and the elf you want to install,
into the inject folder, and rename the elf you want to install to EMBED.ELF. run the installer as normal, and install it to your memory card.
after the install is complete, copy the osdmain.elf(on some machines, this file is called different)
inside the "BEEXEC-SYSTEM" folder (if your system is not european, this folder is called different) from the memory card to your pc, open up a hexeditor and
compare the first few lines with the original DVDELF.BIN from the inject folder of the fmcb installer
and change the osdmain.elf header back, so it matches the DVDELF.BIN header. rename the modiefied file to "BOOT.ELF", or whatever you wish to call it,
but remember you need to change the boot2 parameter in the partition header to match your elf name, later.
note: you can also use the "EMBED" tool to inject your elfs into the dvdelf.bin, but i never got that to work, so i cant give further details.
3.use l_oliviera's hacked ule, create a partition with the beginnig letters "PP." example "PP.SLPS-00001.BOOT.BOOT" for ule.
copy the "BOOT.ELF", or what ever you called it into the root of the partition.
4. connect the hdd to the pc, open the hdd with a hexeditor's sector editor and use the search function to find the partition name you just created before.
in this case "PP.SLPS-00001.BOOT.BOOT", then its important that you find the partition itself, not just the partition entry from the mbr at the beginning of the hdd,
watch out for this.
5. when you finaly found the partition:
extract the hdd-dat.rar
if you need to make changes to osdinfo.dat and system.cnf.dat, do it with winhex.
but remember to put "0D 0A" byte at the end of every line/parameter, if you happen to change "osdinfo.dat" or "system.cnf.dat".
write the files via a hexeditor to the corresponding sector of the partition. it might be a little bit tricky.
Sector 0 - APA Header. partition name. dont change anything.
Sector 8 - OSD parameters (equivalent to 1st half of icon.sys on a MC save) write icon.dat here
Sector 9 - BOOT CONF (same as system.cnf)write system.cnf.dat here. you need to match the BOOT2 parameter, depending on how you named your "ELF".
Sector 10 - User friendly name, 3D Icon lighting parameters and up to 3 uninstall messages (equivalent to the 2nd half of the icon.sys file on a MC save) write osdinfo.dat here.
you may want to edit osdinfo.dat to match the title to fit your application, example "u Laucnh Elf".
Sector 11 (or 12) - Partition icon (same format as an memory card icon) copy any memory card compatible icon here you wish to use.
but remember to not forget to put "0D 0A" byte after every line, if you happen to change "osdinfo.dat" or "system.cnf.dat".
6. put the hdd back into your ps2 and launch the partition by clicking on the icon in the browser/games channel.
optional for PSBBN user's:
7.if you use PSBBN and want to have a custom logo in the games channel, then extract the "res.rar" and edit the "title" in the "info.sys" inside of the "res" folder with wordpad to match your app.
then copy any "png" you like, into the "res" folder and rename the png to "jkt_001.png", when you're done, copy the "res" folder to the root of your application partition.
and thats it!
optional for PSX(DVR-Console) user's:
8.if you happen to have a PSX(DVR-Console) you need to rename the png to "jkt_002.png" and it has to be very small in resoulutin.
but since no one can install/run homebrew apps on these things NOW, its pretty useless to mention actually right now, but just in case :)
if apps require specific partition names, like OpenPS2Loader, you need to recompile it yourself from the sources and find the "+OPL" string in the source files,
and match it to something like "PP.SLPM-12345.OPL.OPL" or what ever partition you created for it.
apps like scummvm on the other hand are a huge problem, it was build with an old ps2sdk revision, and you cant compile it with the newest sdk revision, and also, the main elf is around 18mb big,
which is TOO big to inject into the dvdelf.bin, but if you are able to compile it so that the engines(plg's) are not compiled into the main elf, like they do for their daily builds,
then it "could" work maybe, if you compress the elf.
we need a little elf launcher which launches a elf from the same directory it is installed to, so apps like scummvm can be installed to hdd.
here are some pre-injected elfs for use on ONLY PAL SCPH-XXXX3/4 console's.
the opl version included in that archive needs the partition name"PP.SLPM-12345.OPL.OPL"
and here is a regionfree 1.6mb dvdelf.bin for use on ANY ps2 console
and here some basic icons made by me for use with the partitions(the opl icon is from the mc save)
and here the above tutorial in a txt file: