ROM Hack Having trouble finding Photo Dojo bgm in the ROM...

I pwned U!

I am pleased to beat you!
OP
Member
Joined
Jun 14, 2013
Messages
927
Trophies
3
Age
28
Website
gbatemp.net
XP
680
Country
United States
Recently, I have been going through the Photo Dojo ROM in search of the SDAT containing the game's music, but I have only been able to find a small SDAT containing the instruction manual sounds.

I have searched in a hex editor, but the only result that comes up is for the instruction manual one.

The game was one that I copied to a SD card from a DSi, then decrypted with dsi_srl_extract.

If anyone is able to help, it will be greatly appreciated.
 
  • Like
Reactions: The Cringe

Alzter

Member
Newcomer
Joined
Apr 4, 2014
Messages
14
Trophies
0
Age
43
XP
145
Country
United States
Bump. I also want to rip Photo Dojo's music and I've been mucking around with the Photo Dojo ROM in Tinke and Every File Explorer, but I couldn't find any SDAT files besides one which contains the noises for the instruction manual.
 
  • Like
Reactions: I pwned U!

MilesTheCreator

Active Member
Newcomer
Joined
May 21, 2020
Messages
38
Trophies
0
XP
994
Country
Canada
YOOO, I ACTUALLY FOUND THE MUSIC!!!!!!
I had to use No$GBA debug version, dump the ram and I was able to find the sdat for this game. :lol:

EDIT: I have used a bunch of tools by now.. they either crash, fail to extract or rip the music incorrectly.. not sure what to do about it.

EDIT (again): This tool works perfectly with it! :D
8juK8Gx.png
 
Last edited by MilesTheCreator,

I pwned U!

I am pleased to beat you!
OP
Member
Joined
Jun 14, 2013
Messages
927
Trophies
3
Age
28
Website
gbatemp.net
XP
680
Country
United States
@MilesTheCreator I am sorry to bother you again, but how did you make the RAM dump? I loaded the ROM and tried Utility > Binarydump to .bin File > Number of Bytes to Dump > 1000000, but it just created a 16 MB file with the first 640 bytes repeating throughout the file. I am using the latest version (3.02).
 
  • Like
Reactions: The Cringe

MilesTheCreator

Active Member
Newcomer
Joined
May 21, 2020
Messages
38
Trophies
0
XP
994
Country
Canada
@MilesTheCreator I am sorry to bother you again, but how did you make the RAM dump? I loaded the ROM and tried Utility > Binarydump to .bin File > Number of Bytes to Dump > 1000000, but it just created a 16 MB file with the first 640 bytes repeating throughout the file. I am using the latest version (3.02).
I followed this guide, just ignore the ida pro part.
 
  • Like
Reactions: I pwned U!

MilesTheCreator

Active Member
Newcomer
Joined
May 21, 2020
Messages
38
Trophies
0
XP
994
Country
Canada
I just tried that, but it is still just repeating the first 640 bytes, and when I search for "SDAT," there are no results.
That's weird.. I did it myself just now and I was able to get the SDAT. I also got the latest version (3.02)

Did you make sure to get to the game, at least in the title screen before dumping the ram?
 

I pwned U!

I am pleased to beat you!
OP
Member
Joined
Jun 14, 2013
Messages
927
Trophies
3
Age
28
Website
gbatemp.net
XP
680
Country
United States
That's weird.. I did it myself just now and I was able to get the SDAT. I also got the latest version (3.02)

Did you make sure to get to the game, at least in the title screen before dumping the ram?
Yes, I dumped the RAM from the title screen. Should I send it to you so you can see it?
 
Last edited by I pwned U!,
  • Like
Reactions: The Cringe

Alzter

Member
Newcomer
Joined
Apr 4, 2014
Messages
14
Trophies
0
Age
43
XP
145
Country
United States
How are you guys getting to the title screen? When I try booting Photo Dojo, it just gives me an error. Just using the default DSi menu, haven't been able to get a virtual SD card running on No$GBA to install the TWiLight Menu++ thing.

Also, how are you extracting the SDAT file from the dumped .bin file?

EDIT: I figured out how to run Photo Dojo! All you need to do for No$GBA is run it using unlaunch.dsi as the cartridge, open Unlaunch in the home menu, install Unlaunch, close No$GBA. Then add the Photo Dojo ROM to the virtual SD card using OSFMount to mount it, unmount the virtual SD card, then open No$GBA with unlaunch.dsi again and navigate to the Photo Dojo ROM. It'll run with Unlaunch!
 
Last edited by Alzter,

Alzter

Member
Newcomer
Joined
Apr 4, 2014
Messages
14
Trophies
0
Age
43
XP
145
Country
United States
I got it to work!! I ran into some roadblocks along the way that seem seldom discussed here, so I'm going to describe how I managed to extract Photo Dojo's SDAT for future reference.

You will need:
No$GBA debugger
OSFMount
Java
7Zip
A hex editor such as HxD
Photo Dojo's ROM (obtain it yourself)
DSi Bios + Firmware files (obtain it yourself)

Step 1: Getting No$GBA to run the DSi Bios
  • Follow this guide to set up No$GBA to boot to the DSi menu. Only do part 1 of the guide, part 2 describes how to add homebrew to the DSi via the Memory Pit exploit to run DSi ROMS, but there is an easier way to do this.
  • You can use Photo Dojo as the cartridge for now, but note that booting Photo Dojo will crash at this point.
  • Once you have No$GBA successfully booting to the DSi Menu, close No$GBA and proceed to step 2.
Step 2: Installing Unlaunch in No$GBA
  • Download unlaunch.zip and copy UNLAUNCH.DSI to the No$GBA directory.
  • Open UNLAUNCH.DSI as the ROM for No$GBA, then in the Unlaunch menu, select Install Unlaunch.
  • Once Unlaunch is installed, close No$GBA.
Step 3: Putting Photo Dojo on the Virtual SD Card
  • Open the No$GBA directory in File Explorer.
  • Unzip the DSI-SD.ZIP file in the No$GBA folder, then extract the DSI-1.SD file to No$GBA's root folder.
  • Mount the DSI-1.SD file using OSFMount (the process to mount this is explained in detail in the guide above. )
  • Copy the Photo Dojo ROM to the virtual SD card.
  • Unmount the SD card (I got stuck on this for a while). If OSFMount is saying the SD card is in use, close file explorer and other programs.
Step 4: Making the RAM dump
  • Open No$GBA with UNLAUNCH.DSI. The Unlauncher menu should appear with a list of ROMs. Scroll down to "Photo Dojo" and open it. If everything has gone successfully, Photo Dojo should open in No$GBA!
  • Follow this tutorial (only steps 3-5) to perform a hexadecimal RAM dump in No$GBA and subsequently convert it into a .bin file.
  • After the RAM dump is completed and you have used hex2bin.jar to convert it into a binary file, proceed to the next step (you can close No$GBA by this point).
Step 5: Using a Hex Editor to isolate the SDAT from the extracted RAM .bin file
  • Open the .bin file you created in Step 4 using a hex editor (this tutorial will talk in terms of HxD).
  • Search for "SDAT" with case sensitive on. Ensure the next four bytes are FF FE 00 01.
  • The next three bytes after FF FE 00 01 will indicate the size of the SDAT file. These bytes should be "40 2D 0C". Reverse these three bytes to get the file size in hex (should be 0C2D40).
  • Select the beginning of the "SDAT" bytes, then go to Edit > Select Block. Set the Length parameter to the length of the SDAT file in hex (should be 0C2D40).
  • With the block selected, go to File > Save Selection. If performed correctly, the file you are saving is Photo Dojo's sdat file! While you can name the file anything, ensure the file extension is .sdat.
If performed correctly, you now have Photo Dojo's sdat file! This contains all of the information for Photo Dojo's songs.
The best program to listen to these songs is VGM Music Studio, but VGMtrans works as well. Happy ripping!
 
Last edited by Alzter,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Ohkay