Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Habanero
Posts: 55 Joined: Sat Jun 15, 2019 9:14 am
Post
by Habanero » Sun Mar 14, 2021 5:26 am
An old Nintendo DS game came out on PC recently, and I wanted to see if it's possible to do some basic modding or file extraction. The format is .pac, which appears to be a generic archive format that's used in Nintendo DS games, among others.
The file header says "DW_PACK", and Google shows me that a
Neptunia game also used this format which was posted here before. Here's the header.
Ideally I'd like to do stuff like palette swaps, etc., which would require repacking the .pac files. If that's possible (and/or if you know of a tool), lemme know.
Thanks.
https://mega.nz/folder/Z9g0EAyT#a98AfZ-NrJ1kmH51oaRWHg
Zolodei
Posts: 36 Joined: Sat Sep 16, 2017 6:34 pm
Post
by Zolodei » Sun Mar 14, 2021 6:37 pm
The
script gives an error, maybe the algorithm was changed
I pulled out one file, can anyone find the correct algorithm.
spiritovod
Posts: 719 Joined: Sat Sep 28, 2019 7:00 pm
Post
by spiritovod » Sun Mar 14, 2021 9:49 pm
Resulted files are somehow encrypted anyway (maybe similar to Neptunia, but with different table). Here is fixed script for dumping files from pac.Update: Thanks to aluigi it should work properly now.
Last edited by
spiritovod on Sat Apr 24, 2021 12:08 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984 Joined: Wed Jul 30, 2014 9:32 pm
Post
by aluigi » Fri Mar 26, 2021 1:32 pm
The algorithm is neptunia0, so:
comtype neptunia -> comtype neptunia0
I updated the script.
In quickbms 0.11 neptunia0 will be called automatically if neptunia fails