psp game how to repack corpse party bloodcovered through quickbms

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
OneCombo
Posts: 67
Joined: Mon Jul 20, 2015 1:12 pm

psp game how to repack corpse party bloodcovered through quickbms

Post by OneCombo »

Here is unpack script

-----

endian little
comtype lzss "12 4 2 0 0"
goto 0x00000004
get FILES long
goto 0x00000014
for i = 0 < FILES
savepos CPOS
get OFFSET long
get SIZE long
get NAME string
goto OFFSET
getdstring IDSTR 4
if IDSTR == "lzss"
get FSIZE long
math OFFSET += 8
math SIZE -= 8
clog NAME OFFSET SIZE FSIZE
else
log NAME OFFSET SIZE
endif
math CPOS += 144
goto CPOS
next i

---

It is QuickBms unpack script.

This game called Corpse Party Blood covered Repeated Fear (Japan version)

So i want to repack script..

But i can't how to make script.

I meed to your help.
Last edited by OneCombo on Tue Jul 21, 2015 7:35 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: psp game how to repack corpse party bloodcovered through quockbms

Post by aluigi »

You can try the reimport mode of quickbms (reimport.bat and section 3 of quickbms.txt) because the script seems valid for reimporting.
OneCombo
Posts: 67
Joined: Mon Jul 20, 2015 1:12 pm

Re: psp game how to repack corpse party bloodcovered through quockbms

Post by OneCombo »

Mistake post...
Last edited by OneCombo on Tue Jul 21, 2015 7:45 am, edited 2 times in total.
OneCombo
Posts: 67
Joined: Mon Jul 20, 2015 1:12 pm

Re: psp game how to repack corpse party bloodcovered through quockbms

Post by OneCombo »

aluigi wrote:You can try the reimport mode of quickbms (reimport.bat and section 3 of quickbms.txt) because the script seems valid for reimporting.


I want to use reimport.bat

But when i localize this game

The files size is changed.

So, i need to repacking script...

This is problem...

If the files size not changed, i can try reimpert.bat

But i can't...

Files size become bigger than original files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: psp game how to repack corpse party bloodcovered through quickbms

Post by aluigi »

Do NOT open new threads about the same topic.

Maybe upload a sample of the original archive in case someone wants to write a packer (I doubt but who knows).
OneCombo
Posts: 67
Joined: Mon Jul 20, 2015 1:12 pm

Re: psp game how to repack corpse party bloodcovered through quickbms

Post by OneCombo »

aluigi wrote:Do NOT open new threads about the same topic.

Maybe upload a sample of the original archive in case someone wants to write a packer (I doubt but who knows).


I'm so sorry about that.

Sample...

Packing file's size is over 500mb

How to upload?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: psp game how to repack corpse party bloodcovered through quickbms

Post by aluigi »

If it's a problem to upload it then use the filecutter script:
http://aluigi.org/papers/bms/others/filecutter.bms
OneCombo
Posts: 67
Joined: Mon Jul 20, 2015 1:12 pm

Re: psp game how to repack corpse party bloodcovered through quickbms

Post by OneCombo »

aluigi wrote:If it's a problem to upload it then use the filecutter script:
http://aluigi.org/papers/bms/others/filecutter.bms


I tried to reimpot.bat

I imported files (same size)

But game is freezed...

I think should make the repacking script...

What should i do?

Help.