ROM Hack [Help] Editing files in Cardfight Vanguard: Ride to Victory

szh

Well-Known Member
OP
Newcomer
Joined
Aug 22, 2009
Messages
47
Trophies
0
XP
144
Country
Senegal
Hi,

I'm trying to modify the script of this game (to e.g. make a menu patch). I've decrypted the ROM using rxTools on a 4.5 3DS. I have the ExtractedBanner, ExtractedExeFS, and ExtractedRomFS folders, as well as the DecryptedExeFS.bin, DecryptedExHeader.bin, and DecryptedRomFS.bin files. Inside the ExtractedRomFS folder there is a script folder that looks like what I need. However, the files inside the folder have the .rtz extension. I've never seen the .rtz extension before, and a Google search didn't lead to any results.

Furthermore, I've found ctpk files that I know is a 3DS recognised file format. I've tried using https://gbatemp.net/threads/release-ctpk-tool.379796/ to open them, but I get errors that they're not a valid CTPK file. When I open them in a hex editor (I used HxD), I don't see the CTPK header either.

Are all the files somehow still encrypted or compressed? How do I tell?

Thanks very much for any help! I'm really new to this.
 
Last edited by szh,

szh

Well-Known Member
OP
Newcomer
Joined
Aug 22, 2009
Messages
47
Trophies
0
XP
144
Country
Senegal
Okay, so I found that ExtractedExeFS\.code.bin contains strings referencing the file locations (e.g. "script/worldmap.rtz"), so I don't think there are problems with the decryption process. I suppose .code.bin is the main code of the game.
I guess the question now is how I can identify and open the .rtz files. Opening them in a hex editor didn't reveal anything special...I need something like a Japanese table or something?

Thanks for any help! T_T
 

Romsstar

Operation Decoded
Member
Joined
Sep 14, 2008
Messages
1,100
Trophies
2
XP
1,489
Country
Germany
Okay, so I found that ExtractedExeFS\.code.bin contains strings referencing the file locations (e.g. "script/worldmap.rtz"), so I don't think there are problems with the decryption process. I suppose .code.bin is the main code of the game.
I guess the question now is how I can identify and open the .rtz files. Opening them in a hex editor didn't reveal anything special...I need something like a Japanese table or something?

Thanks for any help! T_T
Like with almost any game you are facing a format that was custom made for this game. In order to achieve what you want to achieve, someone has to reverse-engineer this format and write the appropriate tools for it. Tables aren't used nowadays anymore, at least in modern games they're not.
 

szh

Well-Known Member
OP
Newcomer
Joined
Aug 22, 2009
Messages
47
Trophies
0
XP
144
Country
Senegal
hmm alright :( thanks!

Upon further digging, it seems like every single file (regardless of extension) contains a gzipped file with the exact same name. Removing the first 4 bytes allows extraction with any decompressing tool that supports gzip. For example, removing the first 4 bytes of worldmap.rtz and decompressing using gzip results in a file worldmap.rtz, which does seem like the file I want. That's some progress, at least...

Guess the Japanese part will come later :X
 

ulfred5000

New Member
Newbie
Joined
Jun 24, 2016
Messages
1
Trophies
0
Age
26
XP
51
Country
Is there any chance you still have the decrypted file? If so could you please upload it as I don't want to buy another 3DS and don't have the appropriate tools for decrypting the ROM myself.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
  • K3Nv2 @ K3Nv2:
    Ea play raised priced to $6 a month lol
  • BigOnYa @ BigOnYa:
    Same with uremum, she's now $2 a month
    +1
  • K3Nv2 @ K3Nv2:
    Also seizures come and and go they don't have an off switch like that it all depends
  • BakerMan @ BakerMan:
    alright guys, who would win, sonic or goku?
  • BigOnYa @ BigOnYa:
    Knuckles
  • BakerMan @ BakerMan:
    knuckles vs broly could also be a good one tbh
    +1
  • BigOnYa @ BigOnYa:
    Bakerman vs. Wario
  • BigOnYa @ BigOnYa:
    Announcer - "Ok folks we have a good fight today, Bakerman takes on Wario. This should be a good fight. Wait...why is bakerman undressing?"
  • BakerMan @ BakerMan:
    Oh sorry, this is Wario? I thought it was your wife
    +1
  • E @ eenterx:
    hello guys how do i type on forums?
  • E @ eenterx:
    i am the new user
    +1
  • BigOnYa @ BigOnYa:
    I am the Eggman... I am the Walrus...
    +1
  • E @ eenterx:
    oh ok
  • RedColoredStars @ RedColoredStars:
    What does it tell you when you try to type?
  • BakerMan @ BakerMan:
    @BigOnYa speaking of eggmen... eggman for smash
  • RedColoredStars @ RedColoredStars:
    You click where it says "Write your reply..." and start typing? lol
    +1
  • BakerMan @ BakerMan:
    wow yeah john does suck
    BakerMan @ BakerMan: wow yeah john does suck