09-01-2003,01:41 AM
Okay. Let's start off with the basics.
The memory card's filesystem IS CASE SENSATIVE! Remember this when naming your files. You may even need to place a version number to be compliant with the ISO spec if you are working with cdrom0: -- so beware.
TITLE -
This command sets the string you wish to represent this on the memory card application list.
Example:
TITLE PS2Reality OGG AudioPlayer Alpha 0.96
TITLE PGen 1.0b superhypermonkeyonatricycle edition
Next.
RUN -
This command specifies either a .ELF to directly run, or a RAR 2.x archive containing an .ELF and it's supporting files (eg, additional .IRX files, or possibly something like IPCONFIG.DAT or MENUTUNE.MOD)
A RAR 2.x archive may also optionally contain a single .ELF, as seen with ps2media.rar -- In any case, if an executable is within a RAR 2.x archive, the file must be named the same as the RAR 2.x Archive.
E.G, a RAR named buffy.rar must contain within it a file named buffy.elf and a elf named fluffy.elf should be placed in a rar named fluffy.rar. Capitalization probably matters here, even inside the RAR 2.x archive. (If I've said RAR 2.x Archive too many times here, it's cause I'm trying to drill it in your head -- get a older version of WinRAR, or whatever RAR software you use -- under Version 3.XX. Versions past 3.00 write different RAR files that are incompatible with older programs -- they also compress a little better.)
Example:
RUN JUMLOADER.ELF
RUN ogg.rar
RUN pgen10b.rar
Next.
NOERROR
Thanks to some new information relayed via aussiewan -- NOERROR command just makes the system ignore any loading errors when loading IRX files so that it will continue to load if there is a problem.
Next.
REBOOT
Thanks to some new information relayed via aussiewan -- REBOOT resets the IOP so that programs that expect it to be untouched can use it with no problems.
Next.
LOAD -
This command appears to be able to load a .IRX module contained on either rom0: (The playstation2's internal rom filesystem abstraction, containing several versions of modules current when the PS2 was shipped)
or from another filesystem abstraction, such as mc0:\PATH\FILE.IRX or vmc:/PATH/FILE.IRX or even cdrom0: would be possible.
Example:
LOAD rom0:SIO2MAN
LOAD rom0:MCMAN
LOAD vmc:\PS2REALITY\unrar.irx
LOAD mc0:\BADATA-SYSTEM\unrar.irx
LOAD mc0:\SHAREDMOD\ps2smap.irx
LOAD cdrom0:\LIB\CDVD.IRX
Next.
REN -
Now this command is really interesting.
Let's delve into it a little, shall we?
Example first this time.
REN cdrom0:\CDVD.IRX;1 unrar:64KB[cdvd.irx]vmc:/PS2REALITY/OGG/ogg.rar
Okay. Looks like the first arguement ( cdrom0:\CDVD.IRX;1 ) is the destination mapping of the file.
The second arguement, however, is a little more complex.
unrar:64KB[cdvd.irx]vmc:/PS2REALITY/OGG/ogg.rar
Now, it's obvious here that this is unraring a file, but how?
It looks like it's specifying the archive last, through the vmc: namespace.
Before that, in braces ( [cdvd.irx] ) it appears to be specifying the name of the source file within the archive.
But the number 64KB... I do not know what this means -- amount of space to allocate in memory for this? dictionary size for the unrar .irx to function? In one of the other REN commands
REN cdrom0:\PS2IP.IRX;1 unrar:128KB[ps2ip.irx]vmc:/PS2REALITY/OGG/ogg.rar
The file is 68KB -- over the amount of 64KB specified in our original example.
So, once again, could this be either rar dictionary size, or the amount of space to allocate on certain size boundarys?
Not sure.
Now, there may be more commands that have not been exposed yet, and most of the ones that have been exposed are mystifying.
Need more help on this, we do.
-----
Aug312003--V0.1
Initial data.
Sept012003-V0.2
Added information on REBOOT and NOERROR. Doing more research on REN and 'POKE'.
End of changes.
Last edited by Kamilion; 09-01-2003 at 08:58 PM.
-=Kamilion=-
If at first you don't suceed, Pull the trigger again.
See bash. See bash run. See bash run GCC. Run, GCC, Run!