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.

Shrek Team Action .res file

Featured Replies

  • Author
  • Localization

z4ruz, posted Thu Jun 17, 2021 5:54 am (64739)


It seems to be already written, just need to find it and try.
  • Author
  • Localization

emanuelect, posted Thu Jun 17, 2021 11:16 am (64743)


It wasn't scripted, 2 games were released under the name shrek 2. the script that was created is for shrek 2, not shrek 2 team action.
  • Author
  • Localization

z4ruz, posted Thu Jun 17, 2021 1:00 pm (64745)


Search by magic (string inside file).
  • Author
  • Localization

emanuelect, posted Thu Jun 17, 2021 1:29 pm (64747)


Image
  • Author
  • Localization

grandshot, posted Thu Jun 17, 2021 7:27 pm (64756)


Format is XPR0, but have differences. Can you provide more samples?
  • Author
  • Localization

grandshot, posted Fri Jun 18, 2021 5:09 pm (64775)


All provide samples is a single textures. You can open it with TextureFinder.

Image

Set Shift to 2048 for skip header and 8888 = 24 8 as pixelfomat.
For most part of textures width is 320. If other would have another sizes, you should be found them by changing Width parameter manually. I can't see width\height params in format.

But, textures 10_1_L, 10_1_R, 10_2_L, 10_2_R is a regular DDS format. So you can try resave getted with TexFinder textures as uncompressed DDS R8G8B8A8, changing extension to *.res. That may work.
  • Author
  • Localization

emanuelect, posted Fri Jun 18, 2021 9:26 pm (64779)


Apparently the file contains more than just the book image. I started a new game and the whole landscape behind it was missing.
  • Author
  • Localization

emanuelect, posted Fri Jun 18, 2021 9:55 pm (64780)


No, it didn't, the sight distance set to low, that's why I couldn't see the landscape. However, the book page is not showing.
  • Author
  • Localization

grandshot, posted Sat Jun 19, 2021 3:41 pm (64792)


Try texture size 320x448 instead of 320x449. TexFinder have fault in tex sizes.
  • Author
  • Localization

emanuelect, posted Sat Jun 19, 2021 9:44 pm (64796)


I meant that you can't see the page in game. Is there any way to open the file with gimp? It would make it easier for me to translate it and put it back into the game.
  • Author
  • Localization

grandshot, posted Sat Jun 19, 2021 11:00 pm (64797)


emanuelect wrote:
I meant that you can't see the page in game.


That's may happend because texture size must be 320x448 pixels. TextureFinder saves texture not so correct, to 320x449 pixels. Texture size of pages may be hardcoded in engine, so if size not equal 320x448, its exception and nothing drawing.

Try file in attach, will this work or not.
  • Author
  • Localization

emanuelect, posted Sun Jun 20, 2021 11:18 am (64804)


does not work
  • Author
  • Localization

grandshot, posted Sun Jun 20, 2021 5:23 pm (64807)


QuickBMS script for convert textures to DDS. Unzip to the quickbms.exe folder. Change path in xpr_textures_converter.bat to your res folder and execute (make a backup of folder before, of course).
DDS files with the res files names will be created.
After, when you done your work, execute the BAT file again for repack dds to res files.

Remind, what edited DDS must be saved to RGBA8 format, without compression and mipmaps.
Script support only these bookpage textures (320x448 px), all other will be skiped. It's because that res format not contain texture size info, how already noticed. Calculate size easy only for square textures. For non symmetric that's hard.

xpr_textures_convert.zip

  • Author
  • Localization

emanuelect, posted Sun Jun 20, 2021 7:16 pm (64809)


Thank you very much, it works!
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.