Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo DS
Unable to compress arm9.bin for Tales of Hearts DS Anime Edition
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="TheCopulator" data-source="post: 10314342" data-attributes="member: 683422"><p>Rom: Tales of Hearts DS Anime Edition</p><p></p><p>Hi,</p><p></p><p>I'm still very new to romhacking. I am currently working on Tales of Hearts DS to translate in English.</p><p>Most of the menu text is in arm9.bin. I first used CrystalTile2 to do the following steps</p><p>1) Open Crystaltile2, decompress Arm9.bin</p><p>2) Translate a string</p><p>3) Open Crystaltile2, replace arm9.bin with the compression option</p><p></p><p>These steps works most of the time. (Sometimes, I do get the infamus, file is too small blabla when compressing arm9.bin), but I had a lot of success with this method.</p><p>I was able to translate most of the main menu.</p><p></p><p>The thing is this method is relatively manual and I would like to have a one click batch file to create a new NDS rom with my arm9.bin translated to test it in Desmume.</p><p></p><p>I read a lot of different romhacking sites and found out that the arm9.bin file used some kind of BLZ compression than be compress/decompressed using CUE's tool.</p><p>So what I did is</p><p></p><p>1) Unpack the original nds rom using ndstool in a folder</p><p>2) Decompress arm9.bin using Cue's tool</p><p>blz -d arm9.bin</p><p>3)Translate a string</p><p>4) Recompress using cue's tool</p><p>blz -en9 arm9.bin</p><p>5) Create the new rom using ndstool</p><p></p><p>When I do these steps, the game stays on a black screen when I open it. I'm not even able to see the Namcobandai title.</p><p></p><p>- Decompresing arm9.bin using Cue's tool works perfectly.</p><p>- I already did some test and I'm able to use desmume to open the memory view, find my string and hex edit and this works</p><p>- When I say translate a string in my steps, I'm basically hex editing the file with hxd, not updating any pointers and padding with 00s</p><p></p><p>What I also tried:</p><p></p><p>1) Take arm9.bin from Tinke</p><p>2) Decompress arm9.bin using Cue's tool</p><p>blz -d arm9.bin</p><p>3)Translate a string</p><p>4) Recompress using cue's tool</p><p>blz -en9 arm9.bin</p><p>5) Replace the file in Tinke and save the rom</p><p></p><p>Using Tinke will work when I just hex edit a simple string. If I try to update the pointers and update more strings, I'll still get a black screen and the game won't load.</p><p></p><p>Is it that I'm not using properly cue's tool to recompress the arm9.bin?</p><p>Maybe there are some steps required?</p><p></p><p>Thank you for all your help!</p><p>[automerge]1702994001[/automerge]</p><p>To add more information, The command I uses with ndstool are the following. They have been taken from DSLazy batch files.</p><p></p><p>- Unpack the rom</p><p><strong>ndstool -x TOH_Original.nds -9 NDS_UNPACK/arm9.bin -7 NDS_UNPACK/arm7.bin -y9 NDS_UNPACK/y9.bin -y7 NDS_UNPACK/y7.bin -d NDS_UNPACK/data -y NDS_UNPACK/overlay -t NDS_UNPACK/banner.bin -h NDS_UNPACK/header.bin</strong></p><p></p><p>- Pack the rom</p><p><strong>ndstool -c new.nds -9 NDS_UNPACK/arm9.bin -7 NDS_UNPACK/arm7.bin -y9 NDS_UNPACK/y9.bin -y7 NDS_UNPACK/y7.bin -d NDS_UNPACK/data -y NDS_UNPACK/overlay -t NDS_UNPACK/banner.bin -h NDS_UNPACK/header.bin</strong></p><p></p><p></p><p>Also, I'm not sure if this is the expected behavior but the new size of the rom is lower than the original.</p><p>Original: 262144Kb</p><p>New: 242 524Kb</p><p></p><p>Thank you!</p></blockquote><p></p>
[QUOTE="TheCopulator, post: 10314342, member: 683422"] Rom: Tales of Hearts DS Anime Edition Hi, I'm still very new to romhacking. I am currently working on Tales of Hearts DS to translate in English. Most of the menu text is in arm9.bin. I first used CrystalTile2 to do the following steps 1) Open Crystaltile2, decompress Arm9.bin 2) Translate a string 3) Open Crystaltile2, replace arm9.bin with the compression option These steps works most of the time. (Sometimes, I do get the infamus, file is too small blabla when compressing arm9.bin), but I had a lot of success with this method. I was able to translate most of the main menu. The thing is this method is relatively manual and I would like to have a one click batch file to create a new NDS rom with my arm9.bin translated to test it in Desmume. I read a lot of different romhacking sites and found out that the arm9.bin file used some kind of BLZ compression than be compress/decompressed using CUE's tool. So what I did is 1) Unpack the original nds rom using ndstool in a folder 2) Decompress arm9.bin using Cue's tool blz -d arm9.bin 3)Translate a string 4) Recompress using cue's tool blz -en9 arm9.bin 5) Create the new rom using ndstool When I do these steps, the game stays on a black screen when I open it. I'm not even able to see the Namcobandai title. - Decompresing arm9.bin using Cue's tool works perfectly. - I already did some test and I'm able to use desmume to open the memory view, find my string and hex edit and this works - When I say translate a string in my steps, I'm basically hex editing the file with hxd, not updating any pointers and padding with 00s What I also tried: 1) Take arm9.bin from Tinke 2) Decompress arm9.bin using Cue's tool blz -d arm9.bin 3)Translate a string 4) Recompress using cue's tool blz -en9 arm9.bin 5) Replace the file in Tinke and save the rom Using Tinke will work when I just hex edit a simple string. If I try to update the pointers and update more strings, I'll still get a black screen and the game won't load. Is it that I'm not using properly cue's tool to recompress the arm9.bin? Maybe there are some steps required? Thank you for all your help! [automerge]1702994001[/automerge] To add more information, The command I uses with ndstool are the following. They have been taken from DSLazy batch files. - Unpack the rom [B]ndstool -x TOH_Original.nds -9 NDS_UNPACK/arm9.bin -7 NDS_UNPACK/arm7.bin -y9 NDS_UNPACK/y9.bin -y7 NDS_UNPACK/y7.bin -d NDS_UNPACK/data -y NDS_UNPACK/overlay -t NDS_UNPACK/banner.bin -h NDS_UNPACK/header.bin[/B] - Pack the rom [B]ndstool -c new.nds -9 NDS_UNPACK/arm9.bin -7 NDS_UNPACK/arm7.bin -y9 NDS_UNPACK/y9.bin -y7 NDS_UNPACK/y7.bin -d NDS_UNPACK/data -y NDS_UNPACK/overlay -t NDS_UNPACK/banner.bin -h NDS_UNPACK/header.bin[/B] Also, I'm not sure if this is the expected behavior but the new size of the rom is lower than the original. Original: 262144Kb New: 242 524Kb Thank you! [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo DS
Unable to compress arm9.bin for Tales of Hearts DS Anime Edition
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
BigOnYa
Loading…
Psionic Roshambo
Loading…
Xdqwerty
Loading…
what are you looking at?
@
SylverReZ
:
@K3Nv2
, This chat is sponsored by Raid Shadow Legends.
Today at 5:06 AM
@
K3Nv2
:
So I guess raid0 doesn't allow mismatched storage oh well
+1
Today at 5:32 AM
@
K3Nv2
:
In other news GeForce experience is still shit
Today at 5:58 AM
@
SylverReZ
:
@K3Nv2
,
https://www.youtube.com/watch?v=BLdXfFsgvkE
Today at 6:18 AM
@
SylverReZ
:
https://www.youtube.com/shorts/3iLwnN8UvNo
Today at 6:55 AM
@
SylverReZ
:
Pain
Today at 6:55 AM
@
E1ite007
:
Even the drill is bending, the fuck...
+1
Today at 7:08 AM
@
SylverReZ
:
@E1ite007
, I just found this randomly.
Today at 7:11 AM
@
K3Nv2
:
I really don't want to buy this fap tab
https://www.lenovo.com/us/en/p/tabl...enovo-tab-series/tab-p11-pro-gen-2/zab50101us
Today at 8:27 AM
I
@
I-need-help-with-wup-wiiu
:
what are the best video patches for wii games being injected with uwuvci aio (for the best quality)
Today at 12:44 PM
@
SylverReZ
:
https://www.youtube.com/watch?v=DVH0nHY-Wws
Today at 1:01 PM
@
The Real Jdbye
:
@K3Nv2
then don't
Today at 1:02 PM
@
SylverReZ
:
https://www.youtube.com/watch?v=mA-vTRfE_x0
Today at 1:09 PM
@
BakerMan
:
leo @'d me in a thread about his last dream, stating he was passionately making out with a guy he used to know and then woke up while reaching for his crotch, and said that i would "know who 'tf' it is"
and of course i know, it's luke
+1
Today at 1:37 PM
@
AncientBoi
:
+1
Today at 1:56 PM
@
Psionic Roshambo
:
Luke use some force!
52 minutes ago
@
Psionic Roshambo
:
Judge me by my size do you... Lol
51 minutes ago
@
BakerMan
:
44 minutes ago
@
Xdqwerty
:
Hello
12 minutes ago
@
Psionic Roshambo
:
Is it me your looking for
+1
7 minutes ago
@
Xdqwerty
:
@Psionic Roshambo
, wut
7 minutes ago
@
Psionic Roshambo
:
I can see it in your eyes
+1
7 minutes ago
@
Xdqwerty
:
@Psionic Roshambo
, uh no
6 minutes ago
@
Psionic Roshambo
:
Lol
3 minutes ago
@
BigOnYa
:
I can see it in your smile
2 minutes ago
Submit
@
BigOnYa
:
I can see it in your smile
2 minutes ago
Chat
3