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.

WWF SD!2 Know Your Role .BPE

Featured Replies

  • Author
  • Localization

NMCM, posted Sun Jun 19, 2016 12:47 am (14592)


I've been curious about re-compressing the files in smackdown games for a while but have read alot about twisting bytes. What I have attached below is an uncompressed pac, later compressed to the .BPE file format using alba. I've tried the same using quickbms but the later option seem to yield better results.

I'd like to know how to go about adding the .bpe header to the newly compressed file and check if it compressed fully and correctly.




Update: 00 is ucompressed and a is compressed sample.

I figured that there's no help when there's nothing to work with..so I...figured out how to attach the files :oops:
  • Author
  • Localization

NMCM, posted Sat Jul 16, 2016 1:51 pm (15347)


I was able to recompress an unmodified BPE file (unpacked with quickbms and the Yukes script) after fixing the swapped bytes in hex editor using daddydodo's bpe.exe tool:

I used vbindiff to compare the original and recompressed versions. There was only one byte swap needed.
Image

I added a header to the recompressed file using the original's header and checked if it would extract correctly with unrrbpe. I was able to extract the unpacked file without error.

My question is, should a modified bpe file (edited texture) appear differently in terms of bytes and structure?

Image

The goal is to reimport the modified bpe compressed files back into the game.
  • Author
  • Localization

eri619, posted Sun Jul 17, 2016 3:33 am (15374)


dont compress using alba,it uses a different compression method compared to the original bpe.c program.Yukes uses the original bpe.c algorithm for BPE compression.
  • Author
  • Localization

NMCM, posted Mon Jul 18, 2016 3:02 am (15403)


eri619 wrote:
dont compress using alba,it uses a different compression method compared to the original bpe.c program.Yukes uses the original bpe.c algorithm for BPE compression.


Right, it definitely gives a different result compared to the bpe.exe tool. My only issue is getting the newly compressed .bpe files to match the size of the original. If the files are unmodified, they retain identical sizes, but if I repacked an edited texture, the new file remains larger (usually a byte larger) than the original.
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.