Could you please make the same tool for .CTXB and .B(FLIM) formats?..
Normmatt's Texturipper is able to extract PNG from that files, but I couldn't find any tool on this planet that is able to convert PNGs back to CTXB & BFLIM...![]()
I have the same problem but it's just for the files for the actual cards.hi, for me, its for Dragon ball Z Ultimate Mission 2 card game. i try to decompress with cptk tool and i have an error:
Code:Converting D:/work/TAG2/svn/trunk/Projects/WorkData/2D/CARD/GB-01_F.rotate.tmp.tga... Exception non gérée : System.UnauthorizedAccessException: L'accès au chemin d'accès 'D:\work\TAG2\svn\trunk\Projects\WorkData\2D\CARD' est refusé. à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) à System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) à System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) à System.IO.Directory.CreateDirectory(String path) à ctpktool.CTPKEntry.ToFile(String outputFolder) à ctpktool.Ctpk.Read(Byte[] data, String filename) à ctpktool.Ctpk.Read(String filename) à ctpktool.Program.Main(String[] args)
there are others file for menu and others, and it works. But for cards game, nothing work. Somebody know why? Thx.
here is a 2 files from the game. 2 file for one card (i dont know why).
http://www.mediafire.com/download/l6k64xut3msqe76/Card.rar
with hex editor i can see the address D: error
--------------------- MERGED ---------------------------
ho, its ok now, i just change letter D to C and it work. tsss. thx![]()
BumpI have the same problem but it's just for the files for the actual cards.

Try:I'd like to use a .bat file to convert all the ctpk files in a folder.
I tried a .bat that said:
Ctpktool.exe *ctpk
but that did even target/convert even 1 file.
Any ideas?
Try:
"Ctpktool.exe *.ctpk"
instead. The . is very important.
Good catch, sadly my actual .bat file had that exact thing you typed. I fiddled around a bit more and I got it to show a usage instructions thing but it would make it seem that it's impossible to use this with multiple files. It's like it's hard coded to not work that way or something.
![]()
for %%f in (*.ctpk) do ctpktool.exe %%f
With this tool you can convert from png to bflim https://github.com/ObsidianX/3dstools I used it to translate the Stella Glow images and work but the image converted sometimes have problems like this
![]()
but editing the png you can fix it
![]()
PD: Anyone know a tool to edit the bflan files?
PD2: @ObsidianB Are these your tools?
how were you able to run the bflim.py? Every time I try to run it, it says "ImportError: No module 'numpy' "
V1.1 was working for me but the 1.2 always crashing like
CTPK Tool has a tendency of making file sizes bigger than what they originally were. I think it's why I keep having errors with one file. It went from 1MB to 5MB. It's all in the content you add.Is it normal that I export a ctpk file that is about 1.345 kB and after ctpktool converts the same folder back into a ctpk file, it's suddenly exactly 1 MB? The file then causes graphical errors in the game. Another file that already was 1 MB in size when I exported it obviously worked fine after some editing, but does anybody know how to handle files with different sizes?
CTPK Tool has a tendency of making file sizes bigger than what they originally were. I think it's why I keep having errors with one file. It went from 1MB to 5MB. It's all in the content you add.