Reimporter for Ravioli Scanner

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Reimporter for Ravioli Scanner

Post by makc_ar »

aluigi wrote:I have just written a reimporter for Ravioli Scanner:
http://aluigi.org/bms/ravioli_reimporter.bms

The following are the instructions:

Code: Select all

 Ravioli Scanner reimporter

   HOW TO USE:

   - launch Ravioli Scanner from the command-line with these arguments:
     RScannerConsole.exe YOUR_FILE /extract:OUTPUT_FOLDER /list > dump.txt

   - edit the files in OUTPUT_FOLDER that you want to reimport

   - launch QuickBMS selecting this script, dump.txt and OUTPUT_FOLDER
     Example from command-line:
     quickbms.exe ravioli_reimporter.bms dump.txt OUTPUT_FOLDER

   - a new YOUR_FILE with the reimported files will be generated in OUTPUT_FOLDER/reimported
Last edited by makc_ar on Tue Jun 21, 2016 1:21 pm, edited 3 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by aluigi »

Except for the first 16 bytes, the rest is just a raw container without references about the archived files.
I suggest you to dump the DDS with a ripper like HyperRipper.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by makc_ar »

Hi aluigi,
Thanks for your reply. Ravioli Game Tools http://www.scampers.org/steve/sms/other.htm#ravioli unpacked textures and how to pack them?

Image
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by aluigi »

I have just written a reimporter for Ravioli Scanner:
http://aluigi.org/bms/ravioli_reimporter.bms

The following are the instructions:

Code: Select all

 Ravioli Scanner reimporter

   HOW TO USE:

   - launch Ravioli Scanner from the command-line with these arguments:
     RScannerConsole.exe YOUR_FILE /extract:OUTPUT_FOLDER /list > dump.txt

   - edit the files in OUTPUT_FOLDER that you want to reimport

   - launch QuickBMS selecting this script, dump.txt and OUTPUT_FOLDER
     Example from command-line:
     quickbms.exe ravioli_reimporter.bms dump.txt OUTPUT_FOLDER

   - a new YOUR_FILE with the reimported files will be generated in OUTPUT_FOLDER/reimported
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by makc_ar »

.
Does not work
GUILTY GEAR 2 OVERTURE example tools, bat, pkm: https://mega.nz/#!kwwgUBbA!DocIffx_4frT ... VcmlPXsJyI
Last edited by makc_ar on Tue Jun 21, 2016 1:46 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by aluigi »

Remove -w -r from pack.bat, this is not a reimporting feature of quickbms.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by makc_ar »

Ok remove -w -r from pack.bat. I have EVENT folder only File0007.dds texture (EVENT\File0007.dds)

Hmm...
Image



EDIT:
Solved!

dump.txt to pack
Image
Image

Maybe make new hash sum to pack in ravioli_reimporter.bms?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by aluigi »

Can you upload your dump.txt?

In the meantime do NOT use the reimporting script because your offsets are wrong.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: GUILTY GEAR 2 -OVERTURE- .PKM

Post by makc_ar »

Hmm...wromg (ANSI) dump.txt?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Reimporter for Ravioli Scanner

Post by aluigi »

Yeah the russian codepage with > resulted in the character 0xff instead of the comma.
Script 0.1.1 :)
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: Reimporter for Ravioli Scanner

Post by makc_ar »

Thanks a lot aluigi