I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
-
- Posts: 6
- Joined: Sun Apr 19, 2015 6:20 am
I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
Hi everyone. Nice to meet you all.
I open this thread to ask for help with RPW_DATA.CPK file of dai-3-ji super robot taisen Z(PS3).
First I try unpack the cpk file to 0000000.xml as qucikbms with script 0.3a.
And some modified the file and try reimport xml. to cpk file, but it's not active with error message.
I think it need speical scripts....
Please help me..I want edit the game...
I open this thread to ask for help with RPW_DATA.CPK file of dai-3-ji super robot taisen Z(PS3).
First I try unpack the cpk file to 0000000.xml as qucikbms with script 0.3a.
And some modified the file and try reimport xml. to cpk file, but it's not active with error message.
I think it need speical scripts....
Please help me..I want edit the game...
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen
Unfortunately you can't use the script to reimport that file because the compression algorithm is available only in decompression mode, so there is no way to recompress the data.
*edit*
The code in the crilayla.py is only decompression so a compression is not available.
*edit*
As far as I know there are also some tools to rebuild the CPK archives:
https://github.com/kirisetsz/cpktools
*edit*
The code in the crilayla.py is only decompression so a compression is not available.
*edit*
As far as I know there are also some tools to rebuild the CPK archives:
https://github.com/kirisetsz/cpktools
-
- Posts: 6
- Joined: Sun Apr 19, 2015 6:20 am
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen
aluigi wrote:Unfortunately you can't use the script to reimport that file because the compression algorithm is available only in decompression mode, so there is no way to recompress the data.
*edit*
The code in the crilayla.py is only decompression so a compression is not available.
*edit*
As far as I know there are also some tools to rebuild the CPK archives:
https://github.com/kirisetsz/cpktools
Thank you for the information and interesting
I hope this problem will be solved.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen
I have a very good news: QuickBMS 0.6.3 will have the recompression algorithm
-
- Posts: 6
- Joined: Sun Apr 19, 2015 6:20 am
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen
aluigi wrote:I have a very good news: QuickBMS 0.6.3 will have the recompression algorithm
I really appreciate your kindness.
You are good programer.
-
- Posts: 6
- Joined: Sun Apr 19, 2015 6:20 am
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
Hi. dear
I activated the new vcrsion Quickbms(0.6.3).
First i selected Script 0.3a.
And selected the original file.(RPW_DATA.CPK)
Last selected edited the file(00000000.xml)
But It's not reimported.
Something I wrong used Quickbms?
I activated the new vcrsion Quickbms(0.6.3).
First i selected Script 0.3a.
And selected the original file.(RPW_DATA.CPK)
Last selected edited the file(00000000.xml)
But It's not reimported.
Something I wrong used Quickbms?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
Read section 3 of quickbms.txt.
Probably you modified the location of the original file or its name and so quickbms is unable to find the edited file.
Probably you modified the location of the original file or its name and so quickbms is unable to find the edited file.
-
- Posts: 2
- Joined: Mon May 04, 2015 9:45 pm
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
You do not need to repack the file 0000000.xml.
But the header of the file need to be as CPK.
You can load the file by connecting the header of other CPK file and 0000000.xml and editting the file size of the header.
For example I used RPW_DATA.CPK of dai-3-ji super robot taisen Z Digoku-Hen (PS3) by following procedure;
a.Copy 00000000-0000096F in RPW_DATA.CPK of Dai-3-ji Super Robot Taisen Z Digoku-Hen (PS3).
b.Paste the data to a new file.
c.Copy all data in 0000000.xml (extracted data from RPW_DATA.CPK of Dai-3-ji Super Robot Taisen Z Tengoku-Hen (PS3)).
d.Paste the data to 00000970 in the file created in "b".
e.Edit the file-size
e1. 000000F4 07 B3 90 -> 08 B0 30
e2. 0000010C 07 B3 84 -> 08 B0 24
e3. 00000114 07 B3 84 -> 08 B0 24
e4. 0000091A 07 B3 84 -> 08 B0 24
e5. 0000091E 07 B3 84 -> 08 B0 24
f.Rename the file to "RPW_DATA.CPK" and replace original "RPW_DATA.CPK".
Final version of Dai-3-ji Super Robot Taisen Z Tengoku-Hen (PS3) is 1.02 now.
I reccomend to replace "RPW_DATA.CPK" included in 1.02 pkg not in original BD.
But the header of the file need to be as CPK.
You can load the file by connecting the header of other CPK file and 0000000.xml and editting the file size of the header.
For example I used RPW_DATA.CPK of dai-3-ji super robot taisen Z Digoku-Hen (PS3) by following procedure;
a.Copy 00000000-0000096F in RPW_DATA.CPK of Dai-3-ji Super Robot Taisen Z Digoku-Hen (PS3).
b.Paste the data to a new file.
c.Copy all data in 0000000.xml (extracted data from RPW_DATA.CPK of Dai-3-ji Super Robot Taisen Z Tengoku-Hen (PS3)).
d.Paste the data to 00000970 in the file created in "b".
e.Edit the file-size
e1. 000000F4 07 B3 90 -> 08 B0 30
e2. 0000010C 07 B3 84 -> 08 B0 24
e3. 00000114 07 B3 84 -> 08 B0 24
e4. 0000091A 07 B3 84 -> 08 B0 24
e5. 0000091E 07 B3 84 -> 08 B0 24
f.Rename the file to "RPW_DATA.CPK" and replace original "RPW_DATA.CPK".
Final version of Dai-3-ji Super Robot Taisen Z Tengoku-Hen (PS3) is 1.02 now.
I reccomend to replace "RPW_DATA.CPK" included in 1.02 pkg not in original BD.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
Do you mean something like this?
Code: Select all
endian big
set MEMORY_FILE compressed "eNrtlc9rE0EUx18aISoUqi0ioYcIihZCaKpQBRHDbtqsbtqQbKpYD667k7jmxy67Ywl68SCCF70KXryKFwVP4h/g2b/Bv0B68qLvuzvJJoeCRw95MJ/5vvdm3uwMJE9r3C78IaKbWQbmtrVFlL3K8pAo4yqdoyIFxIE9xqkzjALUGrAJVwPqK4w21H2gCwTAM6x7AbzBkreIvQc+wv0C9Q34jiU/gJ9wDzmbWbAYOWARWEEsD1wAyk3GNaAC3AIawB2ggx2P7zHCPGME9znwEtnXwDu4H/YZnwnGIplOBCAt/Fbh4zFRPnE/nU/z2KMsR4u0NPGQ+kpH2PWdtmneIC3o1YTtipDagWtLofOwvIGgLa8vWt5TQZo/lGIodzudSMixF2cs30miUOOIFjpUk+MMS5WqprHqOGakMWM6hhrbaQ4SORaqfjdNQqsThvbDvnAbttMT7nSE72Srz5N2f8pzoviaEW2H/pMgooqUYZSsSuK6FwpH+qHHOn4fnvdEGHn+kJriwItFpe91h9TyQylcdSR279gD/gJDxxPXfZfPO+Cd/ICDAT8gaRxySA96uLDapp4vrQGPB7ZjthAn/tXUtY3Slc3S+kaxoJvm5VKZ9TrRq1+yRf+1zW1uc5vbJWdNaxqGtavF/T8z3f8z6PlFHjqPUdzVjtFZ4oTFWAby+4xzwMXZvkl31XiU9jf8wRrDjp/815vJVCP0ATNmjWj6fGqgLobSOcom+dM8loBlYHX2CJMMPe2a1ZEMbUdCT+o+UDXL0KruSXx7E3Unl1tNGjua/OwJtSNP+Ef7C/jbAQY="
get SIZE asize
append
log MEMORY_FILE 0 SIZE
append
goto 0x120 MEMORY_FILE
put SIZE long MEMORY_FILE
goto 0x140 MEMORY_FILE
put SIZE long MEMORY_FILE
goto 0x919 MEMORY_FILE
put SIZE long MEMORY_FILE
get SIZE asize MEMORY_FILE
log "RPW_DATA_NEW.CPK" 0 SIZE MEMORY_FILE
-
- Posts: 6
- Joined: Sun Apr 19, 2015 6:20 am
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
Hmm.
Hello. MR. MANOHITO.
I dont understand "e.Edit the file-size"
Can you explain in detail?
Hello. MR. MANOHITO.
I dont understand "e.Edit the file-size"
Can you explain in detail?
-
- Posts: 2
- Joined: Mon May 04, 2015 9:45 pm
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
It is mean modifying the value indicate data size with hex editor manually.
I confirmed data size of 0000000.xml extracted from 1.02 pkg.
Windows Property menu showed 569,380 Bytes (08B024 hex).
In CPK files, the data size is indicated at following address;
0x000000F4
0x0000010C
0x00000114
0x0000091A
0x0000091E
I modified the value of the addreesses to "08 B0 24" with hex editor manually.
And only at 0x000000F4, I modified to "08 B0 30".
I confirmed data size of 0000000.xml extracted from 1.02 pkg.
Windows Property menu showed 569,380 Bytes (08B024 hex).
In CPK files, the data size is indicated at following address;
0x000000F4
0x0000010C
0x00000114
0x0000091A
0x0000091E
I modified the value of the addreesses to "08 B0 24" with hex editor manually.
And only at 0x000000F4, I modified to "08 B0 30".
-
- Posts: 6
- Joined: Sun Apr 19, 2015 6:20 am
Re: I want reimport a CPK file. [Dai-3-ji super robot taisen Z]
I see.
I worked 1.01 version. So i couldn't find the parts.
I will try 1.02 version.
Thank you.
I worked 1.01 version. So i couldn't find the parts.
I will try 1.02 version.
Thank you.