So I recently started looking through the files in Puyo Puyo Tetris to see if I could possibly translate some of the basic menus and such. I haven't gotten too far (I only have the graphics done for the title screen), but I've hit a bit of a brick wall as the game crashes when the title screen starts to load.
The file I'm working with is named "title.narc" and the tools I've been using are NDS Editor (kiwi.ds) and Puyo Tools. Using NDS Editor I can unpack the .narc, which leaves me with three files.
- title_000.bm
- title_001.swif
- title.ctpk
The .ctpk can be unpacked with ctpktool and doing so left me with a bunch of .png and corresponding xml files. The two files i've edited are "title_tds2_d8888.png" and "title_02_d4444.png", both are shown below with the code from the matching xml file.
The main issue I'm having now is rebuilding the .ctpk with CTPK Tool. Extracting and rebuilding the .ctpk seems to causes the game to crash, even when using the unmodified .png files that were originally extracted from it. Also the modified file is always 2.75mb when the original is ~1mb.
If I rebuild the .narc (using puyo tools) with the unmodified .ctpk, the game works fine. This leads me to believe that the .ctpk building process could be to blame.
If anyone has any experience with .ctpk, bm , or .swif files, please let me know.
Linked in this post is the title.narc and a LayeredFS plugin for both the base game and the v1.1 update. This is the SD card setup for the plugin:
SD:/PuyoPuyoTetris/title/title.narc
The file I'm working with is named "title.narc" and the tools I've been using are NDS Editor (kiwi.ds) and Puyo Tools. Using NDS Editor I can unpack the .narc, which leaves me with three files.
- title_000.bm
- title_001.swif
- title.ctpk
The .ctpk can be unpacked with ctpktool and doing so left me with a bunch of .png and corresponding xml files. The two files i've edited are "title_tds2_d8888.png" and "title_02_d4444.png", both are shown below with the code from the matching xml file.
The main issue I'm having now is rebuilding the .ctpk with CTPK Tool. Extracting and rebuilding the .ctpk seems to causes the game to crash, even when using the unmodified .png files that were originally extracted from it. Also the modified file is always 2.75mb when the original is ~1mb.
If I rebuild the .narc (using puyo tools) with the unmodified .ctpk, the game works fine. This leads me to believe that the .ctpk building process could be to blame.
If anyone has any experience with .ctpk, bm , or .swif files, please let me know.
Linked in this post is the title.narc and a LayeredFS plugin for both the base game and the v1.1 update. This is the SD card setup for the plugin:
SD:/PuyoPuyoTetris/title/title.narc
title_tfs2_d8888.xml said:<?xml version="1.0" encoding="utf-8"?>
<Entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<InternalFilePath>title_tds2_d8888</InternalFilePath>
<RealFilePath>title_tds2_d8888.png</RealFilePath>
<Format>0</Format>
<MipLevel>1</MipLevel>
<Type>2</Type>
<Unknown>0</Unknown>
<BitmapSizeOffset>52</BitmapSizeOffset>
<Info>262144</Info>
<Info2>134283520</Info2>
<HasAlpha>true</HasAlpha>
</Entry>
title_02_d4444.xml said:<?xml version="1.0" encoding="utf-8"?>
<Entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<InternalFilePath>title_02_d4444</InternalFilePath>
<RealFilePath>title_02_d4444.png</RealFilePath>
<Format>4</Format>
<MipLevel>1</MipLevel>
<Type>2</Type>
<Unknown>0</Unknown>
<BitmapSizeOffset>49</BitmapSizeOffset>
<Info>262144</Info>
<Info2>134283524</Info2>
<HasAlpha>true</HasAlpha>
</Entry>
Attachments
Last edited by ongo_gablogian,