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
[Translation] Puzzle Series Vol. 5 - Slitherlink
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="Auryn" data-source="post: 5037147" data-attributes="member: 281711"><p>Nice work.</p><p>Well, what a delusion <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite14" alt=":P" title="tongue :P" loading="lazy" data-shortname=":P" /></p><p>It's a game with all smoke and no fire <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite29" alt=":(" title="frown :(" loading="lazy" data-shortname=":(" /></p><p> </p><p>If you got that to work it seem you will be able to follow what's next.</p><p>Let's take this file (i take a small one so you see all in one screen but what i tell you, is all the same for all files):</p><p><img src="http://i57.tinypic.com/14o2bzq.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>You see clearly the 3 magic words for NCLR, NCER and NCGR so this file has everything you need on it but if you worked a while with this formats, you see quickly that RGCN and RAHC are not alineated one below the other like it should be if you have x10 bytes for each line in your hex editor meaning that there is compression around.</p><p>In fact if you take a look at x260, there is a nice big x10 that is the ID for Huffman compression followed by decompressed file size (B0).</p><p>This means that you can use the same method to extract this file as you used above.</p><p>What about the other 2 files in this archive??</p><p>Well palettes are a good place where to check for unknow things because basically there are only 2 kind of palettes used in the NDS.</p><p>This palette is to big to be a 2bpp palette and to small to be a 4bpp and strangely enough, the 2 magic words (RLCN and TTLP) are alineated like they should.</p><p>Check the beginning of the line at x20 or x1E0, you have almost the same structure as the other compression but this time it's a x30.</p><p>I am not an expert in compressions but it look like that file is RLE compressed and if you check the specs of the original arc archive, you see that RLE and Huffmann are implemented there:</p><p><a href="http://wiki.wxwidgets.org/Development:_ARC_File_Format" target="_blank">http://wiki.wxwidgets.org/Development:_ARC_File_Format</a></p><p>So what we do now?? Guess what, CT2 can handle RLE so do exactly the same you did before just change the 10 in the compression search to 30 and do the same.</p><p>When recompressing, i would recompress simply as Huffmann (the game should be able to handle it).</p><p>Here a little warning, if you try this and you recompress with Huffman and the game doesn't work anymore, it's very possible that some of those numbers in the header (the first x20bytes of the file), tell the game what file is compressed with what compression (see the original arc format specs). In that case post a message here and we can try to track those bytes.</p><p> </p><p>Conclusions:</p><p>The only difference between arc and bga seems to be that bga only contains LZ77 compression and arc files have LZ77 and RLE.</p><p>Always aline the file to 16 bytes.</p><p>Decompress / recompress everything with CT2 in LZ77 mode.</p><p>Oh, I forgot, when you have extracted all files from an archive, you can name them with the right extention and naturally open them in Tinke or other programs(this is another file):</p><p> </p><p><img src="http://i60.tinypic.com/292nxug.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p> </p><p>I think it's all i can tell you for now.</p><p>I wonder if there is some actual text somewhere because you have the file pzl_font12.NFTR. For what add a font file if you don't have text to write with it?? Maybe only for debug?? I didn't play this game yet.</p></blockquote><p></p>
[QUOTE="Auryn, post: 5037147, member: 281711"] Nice work. Well, what a delusion :p It's a game with all smoke and no fire :( If you got that to work it seem you will be able to follow what's next. Let's take this file (i take a small one so you see all in one screen but what i tell you, is all the same for all files): [IMG]http://i57.tinypic.com/14o2bzq.png[/IMG] You see clearly the 3 magic words for NCLR, NCER and NCGR so this file has everything you need on it but if you worked a while with this formats, you see quickly that RGCN and RAHC are not alineated one below the other like it should be if you have x10 bytes for each line in your hex editor meaning that there is compression around. In fact if you take a look at x260, there is a nice big x10 that is the ID for Huffman compression followed by decompressed file size (B0). This means that you can use the same method to extract this file as you used above. What about the other 2 files in this archive?? Well palettes are a good place where to check for unknow things because basically there are only 2 kind of palettes used in the NDS. This palette is to big to be a 2bpp palette and to small to be a 4bpp and strangely enough, the 2 magic words (RLCN and TTLP) are alineated like they should. Check the beginning of the line at x20 or x1E0, you have almost the same structure as the other compression but this time it's a x30. I am not an expert in compressions but it look like that file is RLE compressed and if you check the specs of the original arc archive, you see that RLE and Huffmann are implemented there: [url]http://wiki.wxwidgets.org/Development:_ARC_File_Format[/url] So what we do now?? Guess what, CT2 can handle RLE so do exactly the same you did before just change the 10 in the compression search to 30 and do the same. When recompressing, i would recompress simply as Huffmann (the game should be able to handle it). Here a little warning, if you try this and you recompress with Huffman and the game doesn't work anymore, it's very possible that some of those numbers in the header (the first x20bytes of the file), tell the game what file is compressed with what compression (see the original arc format specs). In that case post a message here and we can try to track those bytes. Conclusions: The only difference between arc and bga seems to be that bga only contains LZ77 compression and arc files have LZ77 and RLE. Always aline the file to 16 bytes. Decompress / recompress everything with CT2 in LZ77 mode. Oh, I forgot, when you have extracted all files from an archive, you can name them with the right extention and naturally open them in Tinke or other programs(this is another file): [IMG]http://i60.tinypic.com/292nxug.png[/IMG] I think it's all i can tell you for now. I wonder if there is some actual text somewhere because you have the file pzl_font12.NFTR. For what add a font file if you don't have text to write with it?? Maybe only for debug?? I didn't play this game yet. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo DS
[Translation] Puzzle Series Vol. 5 - Slitherlink
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
Mondooooo
Loading…
Psionic Roshambo
Loading…
BakerMan
Loading…
The snack that smiles back, Ballsack!
Veho
Loading…
@
Mondooooo
:
it's Archive of our own
7 minutes ago
@
Mondooooo
:
the worst fanfic website
7 minutes ago
@
Mondooooo
:
it contains lots of horrible porn
6 minutes ago
@
SylverReZ
:
Don't think I wanna know.
6 minutes ago
@
Mondooooo
:
me neither
6 minutes ago
@
Psionic Roshambo
:
Dr Frankenstein creates his perfect woman?
6 minutes ago
@
Mondooooo
:
i don't wanna even know
6 minutes ago
@
Psionic Roshambo
:
Would his monster be considered necrophilia?
5 minutes ago
@
Mondooooo
:
that's archive of our own
4 minutes ago
@
Mondooooo
:
it includs
4 minutes ago
@
Mondooooo
:
*includes
4 minutes ago
@
Mondooooo
:
lot's of illegal porn
4 minutes ago
@
Mondooooo
:
it's fucking bad
4 minutes ago
@
Psionic Roshambo
:
Princess Peach's juice story?
3 minutes ago
@
Psionic Roshambo
:
Bowsers Super Crown Mayhem?
3 minutes ago
@
Mondooooo
:
oh no
3 minutes ago
@
SylverReZ
:
@Mondooooo
, Yeah thats worse. Much worse than the dark web.
1 minute ago
@
Mondooooo
:
archive of our own should be banned by the CIA
1 minute ago
@
SylverReZ
:
@Mondooooo
, No. Sites gets shutdown by the FBI.
1 minute ago
@
Mondooooo
:
@SylverReZ
and i texted at the same time
1 minute ago
@
Mondooooo
:
oh
1 minute ago
@
Mondooooo
:
i though the CIA would ban it
A moment ago
@
Mondooooo
:
but the FBI Would
A moment ago
@
Mondooooo
:
why not report the website to em?
A moment ago
@
SylverReZ
:
@Mondooooo
, They have a page to report that sort of thang.
A moment ago
Submit
@
SylverReZ
:
@Mondooooo, They have a page to report that sort of thang.
A moment ago
Chat
4