Friday, May 2, 2008

Directory Structure

Despite purchasing Beats, I've been working on an ISO version of the game for simplicity. The structure is that of a typical PSP game.

In SYSDIR there's a dummy BOOT.BIN, working EBOOT.BIN and update files (I like to delete those). Decrypting EBOOT.BIN with PRXdecrypter yields a MIPS ELF binary with a lot of data attached to it, some in the form of the BAR file I will cover next. I didn't dive into it too much--as the Jamming data is elsewhere--but it should be noted that Beats was written in Java of all things. If that sparks anyone's interest, Beats might be worth looking into for that alone.

In USRDIR there's config.xml which isn't too useful, but there are more references to Java including the applet it loads on boot. I like to change this to "applet/com.scee.london.beats.frontend.Frontend" as it forces the game to skip the intro logos. Be forewarned, this also skips the automatic loading of your profile; all the settings will be set to default and Beats won't save any of your progress should you decide to play a quick game. USRDIR also contains a MODULES directory with font, MP3 and PSMF (video) libraries.

Most importantly, USRDIR contains a directory titled BARS. It is here where all the important data is stored. The directories within are named with a three letter ID and a number: CLG_100x are the inbuilt songs, JAM_000x is our Jamming data, THM_000x are themes, TUT_0000 is the tutorial and VIS_10xx are visualizers. (Deleting all these is a good way to save space and speed up ISO build time.) Within these directories are single files named BULK.BAR.

No comments: