ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Dec 15, 2018 11:27 am

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Wed Jun 06, 2018 5:20 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
Hi Aluigi,

Thank you for your job and sorry for my little bad english knowledge :D

I want to localization the prince of persia 2008 XBOX360 game.
The assassin_creeed2.bms was perfect to extract the LocalizationPackage_English file, but when i reimport the extracted file with the same script, the script asks for me:
Do you want to use the experimental reimporting of chuncked MEMORY_FILE <y/N>?
If I choose the NO, the method is running ERROR:
54 log MEMORY_FILE OFFSET SIZE
If I choose the YES, the method is working, but the reimporting file is almost empty...not valid LocalizationPackage_English file.

Aluigi, can you help me for this problem?
Thank you

I attach the original file


Attachments:
LocalizationPackage_English.rar [202.97 KiB]
Downloaded 23 times
Top
   
PostPosted: Wed Jun 06, 2018 8:17 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
Sure, I have updated the script to version 0.1.1 for not using the MEMORY_FILE, now there are more chances of successfully reimporting the files.
Try it:
http://aluigi.org/bms/assassin_creed2.bms


Top
   
PostPosted: Wed Jun 06, 2018 8:54 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
aluigi wrote:
Sure, I have updated the script to version 0.1.1 for not using the MEMORY_FILE, now there are more chances of successfully reimporting the files.
Try it:
http://aluigi.org/bms/assassin_creed2.bms


Thank you Aluigi, this is perfect!
You are great ;)


Top
   
PostPosted: Fri Jun 08, 2018 7:14 am 

Joined: Sun Nov 12, 2017 12:30 pm
Posts: 53
cockafej wrote:
aluigi wrote:
Sure, I have updated the script to version 0.1.1 for not using the MEMORY_FILE, now there are more chances of successfully reimporting the files.
Try it:
http://aluigi.org/bms/assassin_creed2.bms


Thank you Aluigi, this is perfect!
You are great ;)



Could you share the tool that was used to export and reimport the texts?


Top
   
PostPosted: Fri Jun 08, 2018 3:28 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
Graveyard wrote:
cockafej wrote:
aluigi wrote:
Sure, I have updated the script to version 0.1.1 for not using the MEMORY_FILE, now there are more chances of successfully reimporting the files.
Try it:
http://aluigi.org/bms/assassin_creed2.bms


Thank you Aluigi, this is perfect!
You are great ;)



Could you share the tool that was used to export and reimport the texts?


Hi,

I am not using any tools for the texts.
I extract the localization_pack file from *.forge file with the scimitar.bms
For the extract from the localization_pack file to the "raw" texts with this updated assassin_creed2.bms

I am going to modify the "raw" texts with HEX editor manually... :-(
Easy, but very slowly...
I have not founded any tools for the "raw" texts modify.


Top
   
PostPosted: Fri Jun 08, 2018 7:03 pm 

Joined: Sun Nov 12, 2017 12:30 pm
Posts: 53
cockafej wrote:
Graveyard wrote:
cockafej wrote:

Thank you Aluigi, this is perfect!
You are great ;)



Could you share the tool that was used to export and reimport the texts?


Hi,

I am not using any tools for the texts.
I extract the localization_pack file from *.forge file with the scimitar.bms
For the extract from the localization_pack file to the "raw" texts with this updated assassin_creed2.bms

I am going to modify the "raw" texts with HEX editor manually... :-(
Easy, but very slowly...
I have not founded any tools for the "raw" texts modify.



OK thank you for the attention. Good luck in the venture. :D


Top
   
PostPosted: Sat Jun 09, 2018 9:31 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
aluigi wrote:
Sure, I have updated the script to version 0.1.1 for not using the MEMORY_FILE, now there are more chances of successfully reimporting the files.
Try it:
http://aluigi.org/bms/assassin_creed2.bms


Hi Aluigi,

Can you help me?
The updated script is perfect, but i need a little modify.
When I reimport the ectracted files, before I have to modify the original file with hand (the old size to new size). So it can import the script the modified datas.

You can change the script to does it itself?

Thank you :-)

Attachment:
Error.jpg [106.43 KiB]
Downloaded 1 time


Top
   
PostPosted: Sat Jun 09, 2018 9:41 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
If you have not modified that file, remove it from the folder so quickbms will not try to reimport an unchanged file.
If you modified it try to reduce the "entropy", "aaaaa" is a low entropy that compresses better than "abcde".


Top
   
PostPosted: Sat Jun 09, 2018 10:19 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
aluigi wrote:
If you have not modified that file, remove it from the folder so quickbms will not try to reimport an unchanged file.
If you modified it try to reduce the "entropy", "aaaaa" is a low entropy that compresses better than "abcde".


But, this is only 1 file. i can't remove it from folder.

When i extracted the file with the script, it have told it is extracted 1130 files... (but only 2 files, because it merge this files):

*_0
*_1

you can make a new assasin_crred2.bms script, what does not merges this 1130 files?

The original file is here:
https://www59.zippyshare.com/v/hHGYzGL5/file.html

Thank you Aluigi


Top
   
PostPosted: Sat Jun 09, 2018 10:34 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
That's a misunderstanding caused by how quickbms counts the files because here the files are splitted in chunks and till the current quickbms every file writing operation is considered as one file (which is correct) but it's confusing if they are chunks.

The upcoming quickbms will not have this problem, I improved the final statistics some weeks ago.

So yes you are right you can't remove a part of the file.
Unfortunately I don't have a solution because quickbms already uses the compression algorithms with their highest compression ratio, but sometimes different settings give better results on some files.


Top
   
PostPosted: Sat Jun 09, 2018 10:44 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
Thank you, then i'm still trying... ;-)


Top
   
PostPosted: Sat Jun 09, 2018 10:59 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
Anyway note that your offsets in the image you post are not the same of the original values from 0002e09a they are all screwed.
That's something bad, have you tried to use reimport2.bat maybe?
99% of the chunked files aren't valid for reimport2, only the normal reimport can be used.
Yeah technical stuff... I know.


Top
   
PostPosted: Sat Jun 09, 2018 11:06 pm 

Joined: Wed Jun 06, 2018 4:39 pm
Posts: 10
Yes i have tried the reimport2, but only 700 files reimported. The rest is error... skipping :-(


Attachments:
Error2.jpg [247.86 KiB]
Downloaded 1 time
Top
   
PostPosted: Sat Jun 09, 2018 11:20 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9473
Do not use reimport2 for the archives of this game (there is no way for quickbms to recognize if an archive is valid or not for reimport2).
No other solutions.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited