ROM Hack [POC] Rhythm Tengoku The Best Plus Hacking

ultramario1998

no woof tipsic
OP
Member
Joined
May 7, 2014
Messages
456
Trophies
0
Age
24
Location
Not Here
XP
675
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
27
XP
269
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
24
Location
Not Here
XP
675
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,174
Trophies
2
Age
30
Location
Arcadia
XP
3,148
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
422
Trophies
0
Location
Villa Raíz (Hoenn)
Website
www.youtube.com
XP
1,153
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
24
Location
Not Here
XP
675
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
422
Trophies
0
Location
Villa Raíz (Hoenn)
Website
www.youtube.com
XP
1,153
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
25
XP
299
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
24
Location
Not Here
XP
675
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,861
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,
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys