Users browsing this thread: 1 Guest(s)
Gakuen K .pak files help
#2
DATA.PAK is simply a ZIP file, from which you can extract BGCMN.DAT_. This can be extracted using this QuickBMS script:

Code:
# Gakuen K -Wonderful School Days- .DAT_ format
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

idstring "DAT "
get FILES long

for i = 0 < FILES
   getdstring NAME 0x20
   get SIZE long
   get OFFSET long

   log NAME OFFSET SIZE
next i

This extracts a few .DAT files (which just seem to contain some generic data), and a whole lot of .gim files. The latter can be converted with Noesis.

BGM.PAK is just a bunch of .wav files stuck together (with padding between them). I can extract them but they seem to be corrupted or something since they don't seem to play any sound, and also tend to crash File Explorer :\ If you want to try it yourself though, here's a script for it:

Code:
# Gakuen K -Wonderful School Days- BGM.PAK format
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

for i = 0 < 9999999
   findloc OFF string RIFF
   goto OFF
   goto 4 0 SEEK_CUR
   get LEN long
   math LEN += 8
   set NAME ""
   string NAME += i
   string NAME += ".wav"
   log NAME OFF LEN
   math OFF += LEN
   goto OFF
next i
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: Crystal2002


Messages In This Thread
Gakuen K .pak files help - by Crystal2002 - 08-05-2017, 05:44 PM
RE: Gakuen K .pak files help - by puggsoy - 08-06-2017, 03:35 AM
RE: Gakuen K .pak files help - by Crystal2002 - 08-06-2017, 09:28 AM

Forum Jump: