ROM Hack [POC] Rhythm Tengoku The Best Plus Hacking

ultramario1998

no woof tipsic
OP
Member
Joined
May 7, 2014
Messages
456
Trophies
0
Age
25
Location
Not Here
XP
695
Country
United States
NOTE: MOST OF THE INFO IN THIS POST IS OUTDATED. GO HERE FOR ACTUAL FUNCTIONAL TOOLS.




Earlier today, as evidenced in this post, I was able to extract, edit, recompress, and run some of the files within the romfs of Rhythm Tengoku The Best Plus, the latest, and currently Japanese-only entry in the series known to western audiences as Rhythm Heaven. The inability to open the files at all was previously a pretty huge obstacle for anyone that wanted to, say, look at the game's text (or change it)

How were you able to accomplish such an impressive feat?


Most of files within the rom (everything except the audio, which was in .aac oddly enough) had the extension of .zlib. .Zlib appears to be a library for losslessly compressing files, and appears to be a commonly used developer utility (OS X has it included). The only problem is, there aren't exactly any user friendly (ie 'non-arcane') ways to mess with these files. Being the plebian that I am, I used my Google-fu to find utilities that allowed extraction of these files. Here's what I did to mess around with them!


Materials:
an extracted Rhythm Tengoku TB+ romfs
the utilities Offzip and Packzip from here


extract the utilities. cd to Offzip's location in command prompt. Enter the following code...

offzip -a \path\to\zlib\file.zlib \path\to\destination\

This will extract the zlib to the specified destination.


I've found three types of file within these zlibs

.cgf - texture file. openable and editable in ohana3ds if you drag it onto the window
.sar - these are .sarc files that have been renamed, they appear to be a collection of .bin files. You can mess with them in EFE if you change the extension to .sarc. Thanks to user ElyosOfTheAbyss for figuring this out
.spb - unknown

When you're done with whatever, you'll need to have the initial .zlib that you extracted, the file you edited, and packzip in the same directory. cd over to there and run the following

packzip -o 0x00000004 file.whatever initialzlib.zlib

The reason that you need to specify a hex adress is because packzip is not like other unzipping/extracting programs - it literally has to copy the extracted file's data into the .zlib at the specified address.

When that's done, copy your edited .zlib back into the romfs directory. You can now safely compile and run your romfs in HANS.

That's cool, but what does it do for me?

Once we can figure out where the text is stored, we'll have the ability to begin work on a fan translation. (I don't actually know a thing about Japanese, I'm just lucky enough to have figured this out.)

So what needs to be done?

-figure out what the heck .spb files are
-find out what exactly is inside of the .sarcs' .bin files
-obtain better way to extract and recompress .zlib files
-find out where the text lives

EDIT: oh yeah, here's what I did. Stupid little texture hack.
 
Last edited by ultramario1998,

AT-LOWDeSu

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
107
Trophies
0
Age
28
XP
279
Country
United States
So I suppose we would just work on translating it? Maybe we could amount to porting games from the old ones, or designing different remix's.
 

ultramario1998

no woof tipsic
OP
Member
Joined
May 7, 2014
Messages
456
Trophies
0
Age
25
Location
Not Here
XP
695
Country
United States
So I suppose we would just work on translating it?
That's the plan, yes.
Maybe we could amount to porting games from the old ones
That'd be pretty cool. It would require a significant amount of recoding/re-asseting the games, but it could very well be done
or designing different remix's
unless we get a composer, I don't think that's happening. Still, the game only has 7 remixes, bringing some from the older games would be pretty sweet
 
Joined
Mar 30, 2011
Messages
1,286
Trophies
2
Age
31
Location
Arcadia
XP
3,702
Country
Italy
If you need help with editing graphics, I could help, I guess.
I can't translate even a rune of what's written, but if you want a Woolseyism translation, I could make up the dialogues...

Awesome! I can't even play the game but I hope this goes far.
If you mean you can't play for the language, you can with no problem. I finished it without understanding a single word of what was written. ^_^
 

chaoszerobillion

Well-Known Member
Newcomer
Joined
Nov 18, 2013
Messages
79
Trophies
0
XP
106
Country
United States
If you need help with editing graphics, I could help, I guess.
I can't translate even a rune of what's written, but if you want a Woolseyism translation, I could make up the dialogues...


If you mean you can't play for the language, you can with no problem. I finished it without understanding a single word of what was written. ^_^
Nah I had no hax to play it with. Now I do though.
 

Feroz El Mejor

Well-Known Member
Member
Joined
Jan 26, 2014
Messages
423
Trophies
1
Location
Villa Raíz (Hoenn)
Website
www.youtube.com
XP
1,259
Country
Spain
I have the game and I beat it, but I can't help with the translation, I have another question. Is possible to make multiplayer working with European 3DS? I play on a European 3DS, I know that you can use one cartridge to play some people, I want to use it, but my other 3DS (and my friend's ones are European too).

About StreetPass works fine, I found someone with the game here in Spain hahaha.
 

ultramario1998

no woof tipsic
OP
Member
Joined
May 7, 2014
Messages
456
Trophies
0
Age
25
Location
Not Here
XP
695
Country
United States
I have the game and I beat it, but I can't help with the translation, I have another question. Is possible to make multiplayer working with European 3DS? I play on a European 3DS, I know that you can use one cartridge to play some people, I want to use it, but my other 3DS (and my friend's ones are European too).

If both 3DSes have *hax, you can boot into a vanilla dumped romfs using HANS on one 3ds and then swap the cartridge around to your other 3DS, boot it, and do local multiplayer. Download play doesn't have cross-region support.

--------------------- MERGED ---------------------------

You're wrong. The game has 10 remixes

you are correct, I am a dumb.
 

Feroz El Mejor

Well-Known Member
Member
Joined
Jan 26, 2014
Messages
423
Trophies
1
Location
Villa Raíz (Hoenn)
Website
www.youtube.com
XP
1,259
Country
Spain
If both 3DSes have *hax, you can boot into a vanilla dumped romfs using HANS on one 3ds and then swap the cartridge around to your other 3DS, boot it, and do local multiplayer. Download play doesn't have cross-region support.

--------------------- MERGED ---------------------------



you are correct, I am a dumb.
Wait, I can swap the cartridge of my 3DS when is working? That's strange.
 

Thelostrune

Well-Known Member
Member
Joined
Aug 13, 2015
Messages
553
Trophies
0
Age
26
XP
309
Country
Norway
Have you looked at the .sar files as sound archives? They might be, I think you can see if they contain other files with a hex editor.
 

ultramario1998

no woof tipsic
OP
Member
Joined
May 7, 2014
Messages
456
Trophies
0
Age
25
Location
Not Here
XP
695
Country
United States
Done some research --

.SAR files appear to be archives commonly used in big scary corporate projects n' stuff. The program that is needed to unpack these archives, SAPCAR, appears to belong to the company SAP. Don't know what exactly they do (looks like some cloud computing/consulting stuff), but I doubt I'll be getting my hands on the SAPCAR executable anytime soon.

EDIT- guys, in order to register for the network, I need a company name. what should I call my fake company

--------------------- MERGED ---------------------------

Have you looked at the .sar files as sound archives? They might be, I think you can see if they contain other files with a hex editor.

All the sound files in the game are in the formats .bcgrp, .bcsar, .bstcm, and oddly enough, .aac. Those aren't sound archives.

might be normal non-sound archives, though.

--------------------- MERGED ---------------------------

just looked at the .sar in hxd again. I think this is another archive, it appears to be referencing lots of stuff that I can't find
hex.png
 
Last edited by ultramario1998,
  • Like
Reactions: Thelostrune

ElyosOfTheAbyss

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
2,225
Trophies
1
XP
1,901
Country
Ok, I tried extracting a .sar file with SAPCAR but that didn't work at all

--------------------- MERGED ---------------------------

I know how to open .sar files. If you want to know I can tell you if you want.
 
Last edited by ElyosOfTheAbyss,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM