Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

assassin_creed2.bms reimport problem

Featured Replies

  • Author
  • Localization

cockafej, posted Wed Jun 06, 2018 5:20 pm (35655)


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 ?
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
  • Author
  • Localization

aluigi, posted Wed Jun 06, 2018 8:17 pm (35660)


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
  • Author
  • Localization

cockafej, posted Wed Jun 06, 2018 8:54 pm (35665)


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 ;)
  • Author
  • Localization

Graveyard, posted Fri Jun 08, 2018 7:14 am (35720)


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?
  • Author
  • Localization

cockafej, posted Fri Jun 08, 2018 3:28 pm (35733)


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.
  • Author
  • Localization

Graveyard, posted Fri Jun 08, 2018 7:03 pm (35737)


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
  • Author
  • Localization

cockafej, posted Sat Jun 09, 2018 9:31 pm (35748)


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 :-)

  • Author
  • Localization

aluigi, posted Sat Jun 09, 2018 9:41 pm (35749)


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".
  • Author
  • Localization

cockafej, posted Sat Jun 09, 2018 10:19 pm (35752)


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
  • Author
  • Localization

aluigi, posted Sat Jun 09, 2018 10:34 pm (35754)


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.
  • Author
  • Localization

cockafej, posted Sat Jun 09, 2018 10:44 pm (35755)


Thank you, then i'm still trying... ;-)
  • Author
  • Localization

aluigi, posted Sat Jun 09, 2018 10:59 pm (35756)


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.
  • Author
  • Localization

cockafej, posted Sat Jun 09, 2018 11:06 pm (35757)


Yes i have tried the reimport2, but only 700 files reimported. The rest is error... skipping :-(
  • Author
  • Localization

aluigi, posted Sat Jun 09, 2018 11:20 pm (35758)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.