Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: MarkGrass on June 28, 2013, 09:18:02 am

Title: Overblood - Welcome to Debug Mode
Post by: MarkGrass on June 28, 2013, 09:18:02 am
I apologize in advance if this is the wrong section, etc.

Brief intro: My name is Mark, and I'm best known for resident evil stuff.


...so, I got bored an unlocked a debug menu in the PSone game, Overblood. There are two way to enable it; either through use of a cheat device (GameShark, Action Replay), or manually editing the PSone executable (SLUS_004.64).

For you tech-junkies, sub_800240C0 is the function that activates the menu.

// Method 1: GameShark/AR
800240E4 0000
800240EC 0000
80024118 0000
80024138 0000
8002418C 0000
800241D0 0000
800241D8 0000
80024204 0000

// Method 2: goto these offsets and nop (0x00) the following 4 bytes. When finished, simply import the exe back into your iso using CDmage, etc.
0x000148E4
0x000148EC
0x00014918
0x00014938
0x0001498C
0x000149D0
0x000149D8
0x00014A04

Hold R2 and press circle to activate the debug menu.

Hold R2 and press square to display various debug statistics.

Pause the game (start button) and press R2 to frame-advance.

// Debug Menu controls
X   Enter
O   Exit
Code: [Select]
<< DEBUG MENU >>
   ROOM CHANGE // Room Jump
   RUN MACRO // unknown; returns to debug menu
   GROUND CHANGE
   SAVE // Save Game (crash)
   LOAD // Load Game (crash)
   MOVIE // *.STR movie playback
   BGM TEST // *.XA music playback
   VOICE TEST // *.XA dialogue playback
   EFFECT TEST // *.SEQ sound effect playback
   ACTOR ONOFF
   CAMERA CHECK1 // Adjust static camera view (preset)
   CAMERA CHECK2 // Adjust static camera view (preset)
   VISUAL // *.TIM view (320x240 images)
   FLOOR CHANGE
   ACTION // *.TOD animation test
   ITEM GET // Set item inventory
   BATTLE // 1st-person gun fight

...and the proof is in the pudding:
(http://i.imgur.com/bfwBkRq.png)
(http://i.imgur.com/cuflv6x.png)
(http://i.imgur.com/iXS7Z9F.png)
(http://i.imgur.com/rry6Imx.png)
(http://i.imgur.com/M6pM2Rm.png)
(http://i.imgur.com/2ceu1h4.png)
(http://i.imgur.com/crqY39Y.png)
Title: Re: Overblood - Welcome to Debug Mode
Post by: JCE3000GT on June 28, 2013, 12:16:17 pm
Pretty cool man!  I'd love to see more debug modes for games--I think there are a bunch of games that still need this sort of discovery.  :)