What is the scripts to unpack and pack .cat files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

The files are neptunia pp ps vita. thanks
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: What is the scripts to unpack and pack .cat files?

Post by aluigi »

You have to provide a sample file.
In the meantime try the following script that worked with Re;Birth1:
http://aluigi.altervista.org/bms/neptunia_rebirth1.bms
neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

Re: What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

file .cat :

https://mega.nz/#!7Js0TR7I

password: !wh-PEhxhcGSOl-XO5VfxgFozTz6lJ5iFG7tdK8NDk0s
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: What is the scripts to unpack and pack .cat files?

Post by aluigi »

neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

Re: What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

wau!!! thanks!!!

And the last help please . How repackage ? Thank you
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: What is the scripts to unpack and pack .cat files?

Post by aluigi »

Quickbms has a reimport feature that is a sort of "reinjection" and not a rebuilder/repackager, so it has some limitations.
All the info in section 3 of quickbms.txt:
http://aluigi.org/papers/quickbms.txt
neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

Re: What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

Thanks , Do you know any tool that can do it?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: What is the scripts to unpack and pack .cat files?

Post by aluigi »

I doubt exists a rebuilder. Didn't even exist an extractor till few hours ago :D
happydance
Posts: 81
Joined: Sun Jul 10, 2016 11:07 am

Re: What is the scripts to unpack and pack .cat files?

Post by happydance »

I think you don't need to rebuild it, since the TXT file is big enough that if you translate the text inside it you'll still have enough space to reimport it the normal way.
neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

Re: What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

I can translate from .cat . But with hex editor without changing the header. a very laborious work . If I do this when playing ps vita jumps translated the scene . (example notepad++)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: What is the scripts to unpack and pack .cat files?

Post by aluigi »

Why don't you like the reimport mode of quickbms?
It makes everything easier, but if you prefer the hex editor way...
neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

Re: What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

My English is bad, I do not understand much apparently.
I thought you told me you could not pack . If can you as I have to? , thanks.
happydance
Posts: 81
Joined: Sun Jul 10, 2016 11:07 am

Re: What is the scripts to unpack and pack .cat files?

Post by happydance »

neptuniapp wrote:I can translate from .cat . But with hex editor without changing the header. a very laborious work . If I do this when playing ps vita jumps translated the scene . (example notepad++)


that's one of the purpose of quickbms, editing the files inside the big file without touching the header by exporting and then reimporting just the needed files to be modded.

I used to edit .cat files for onechanbara in the past and took me a year by manually hexediting. I just recently learn to use quickbms and it helps translating much easier and faster.

just try editing the first .txt file and use the reimport function of quick bms, so you could get the hang of it
neptuniapp
Posts: 22
Joined: Sat Aug 27, 2016 11:58 pm

Re: What is the scripts to unpack and pack .cat files?

Post by neptuniapp »

Can you give me the scripts? or an explanation for a novice in this program (recently I know this program) Thanks :) ( reimport function)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: What is the scripts to unpack and pack .cat files?

Post by aluigi »

Read section "3) Reimporting the extracted files" in quickbms.txt, it explains everything:
http://aluigi.org/papers/quickbms.txt