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.

1bsr archives and pgsr files (sub-archives) [Plants vs Zombies 2]

Featured Replies

  • Author
  • Localization

aluigi, posted Mon Jun 29, 2015 3:26 pm (5999)


Script updated to version 0.2.

If the pgsr filesystem is compressed, quickbms will dump it as-is instead of using a memory file.
It's not correct but at least it allows reimporting.
  • Author
  • Localization

RayXu, posted Tue Jun 30, 2015 2:57 am (6018)


So can I use the script to reimport it?
  • Author
  • Localization

aluigi, posted Tue Jun 30, 2015 6:23 am (6021)


Yes the script allows reimporting, I decided to "sacrifice" the correct extraction of the files (the note about the compressed file system said before) in place of the possibility of reimporting the data.
So in some situations you may have a big file that contains 2 or more files inside it.

Note that the files are often compressed so, depending by the game, the result usually works but with some rare games it may not work. Considering that here the game uses zlib I guess it should work.

For using the reimport mode you have to follow the SAME steps you did for extraction.
With "SAME steps" I mean just selecting the same files and folders.

You can find additional information in section 3 of quickbms.txt.
  • Author
  • Localization

RayXu, posted Tue Jun 30, 2015 6:41 am (6022)


So I should just use the reimport.bat and choose the file I want to replace and then choose output folder as the archive?
  • Author
  • Localization

aluigi, posted Tue Jun 30, 2015 6:55 am (6023)


No, you must choose the script, the original archive and the original output folder you selected during the extraction.
The files are automatically found and reimported by quickbms.

So if during the extraction you selected c:\path\file1.rsb and the folder c:\patch\output now you must to the same.

In the folder you should leave only the file you changed and delete all the others.

Remember to make a backup of your original rsb archive.
  • Author
  • Localization

colorfulwish, posted Tue Jun 30, 2015 7:00 am (6024)


hello,I am the one who asked some question about this by e-mail,Thank you very much
  • Author
  • Localization

RayXu, posted Tue Jun 30, 2015 7:02 am (6025)


Oh, I see. Thank you . I'll try later.
  • Author
  • Localization

RayXu, posted Tue Jun 30, 2015 7:03 am (6026)


And I only need to choose the script ?(don't need reimport.bat ???)
  • Author
  • Localization

aluigi, posted Tue Jun 30, 2015 7:20 am (6027)


You must start reimport.bat and then selecting script, input file (that will be modified) and folder (that now acts as input folder).
It's really very easy.
  • Author
  • Localization

RayXu, posted Tue Jun 30, 2015 8:41 am (6029)


It works! Thank you so much, Luigi!
  • Author
  • Localization

RayXu, posted Wed Jul 01, 2015 2:05 am (6041)


I have just met a problem: I reimported the file that I edited, and I entered the game, it doesn't work anymore..P.S.The game updated a few hours ago, in the last version of this game, the reimported rsb still worked..
  • Author
  • Localization

aluigi, posted Wed Jul 01, 2015 2:10 am (6042)


Do you think that it's a problem affecting only some files or a sort of obstacle inserted by the developers?
I don't remember to have seen CRC or other strange fields that may be used to check if the content has been changed (the reimporting feature doesn't change the crc fields).
  • Author
  • Localization

RayXu, posted Wed Jul 01, 2015 2:15 am (6043)


Actually, I want to do a Localization on PvZ2, and I translated some of the text (\LawnStrings_ENUS\LOCALES\EN-US\PROPERTIES\LAWNSTRINGS.TXT), and the edited file is just as the same size as the original file. Then I reimported it into the rsb, however, the game doesn't run...
  • Author
  • Localization

RayXu, posted Wed Jul 01, 2015 2:19 am (6044)


Maybe because Game Strings are resources..And maybe the Game Company did let the program check the content..(Another story: Before 3.4.4 version of PvZ2, 'Arcade_Config.rton' is not compressed in rsb, because of all the hacking of the game, PopCap compressed the source code into the rsb...Maybe they do check if this file is changed)
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.