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.

*.Rtex (Nintendo Switch)

Featured Replies

  • Author
  • Localization

amVspR, posted Fri Dec 10, 2021 8:43 am (68113)


Please help me extract/view this file, seem like it's a texture.
Game Name: Cupiarasite
Console: Nintendo Switch
Format extension(s): RTEX
Type: image

First 8 or more bytes of the file(s):
52 54 45 58 00 00 00 00
Rtex sample: https://mega.nz/file/Q0okADCR#3cZPSNOgG ... 0-JJZG3-p8
  • Author
  • Localization

aluigi, posted Fri Dec 10, 2021 11:44 am (68120)


It's a raw image compressed with zlib.
This script decompresses the content:
Code:
idstring "RTEX"
get ZERO long
get X short
get Y short
get X short
get Y short
get BITS long
get ZSIZE long
math ZSIZE - 6
goto 0x22
get SIZE long
reverselong SIZE
savepos OFFSET
get NAME basename
string NAME p "%s_%dx%dx%d.raw" NAME X Y BITS
clog NAME OFFSET ZSIZE SIZE
  • Author
  • Localization

amVspR, posted Fri Dec 10, 2021 12:20 pm (68121)


Thank you so much! I was able to extract it. But the output file, when I opened it in PTS, is like the attachment [almost all black with white lines]. Is there anyway to fix it?
  • Author
  • Localization

aluigi, posted Fri Dec 10, 2021 1:09 pm (68122)


Unfortunately that's out of my knowledge. Hopefully other users can help you :)
  • Author
  • Localization

NIS_help, posted Thu Mar 10, 2022 12:01 am (70397)


Apologies for bumping this thread, but I'm trying to extract Cupid Parasite files. (specifically the BGM ones!) Using the script I was able to extract some files, but I'm unable to view them in Photoshop, ImBatch, or other image programs.

Here is the files I want to extract, along with my result from trying to extract the uploaded example (which I'm unable to view in Photoshop as well)
https://mega.nz/file/MYMRyYRD#iN-8rJAWy ... uJX4LaYyEo

My question is- did I a) save the script wrong, b) lack a way to open the working extracted files, or c) is there another issue with my files? Any help would be greatly appreciated!
  • Author
  • Localization

rabatini, posted Thu Mar 10, 2022 1:45 am (70400)


use mummrar grapchics tool.
i already upload it in this forum.

the image is 4096 x 1280
32bits
rgb

to extract just use the offzip of aluigi.

just run the .bat file.
but the script that he provide above works as same.

here the results:

Image

offzip.zip

  • Author
  • Localization

NIS_help, posted Thu Mar 10, 2022 2:47 am (70403)


Thanks for the response- I searched for Mumm-Ra's Game Graphics Tool and this is what I found: viewtopic.php?f=7&t=1439

But, there's no download... Is there a link to the actual tool anywhere? I can't seem to find it.
  • Author
  • Localization

rabatini, posted Thu Mar 10, 2022 3:02 am (70404)


NIS_help wrote:
Thanks for the response- I searched for Mumm-Ra's Game Graphics Tool and this is what I found: viewtopic.php?f=7&t=1439

But, there's no download... Is there a link to the actual tool anywhere? I can't seem to find it.


download/file.php?id=12101
  • Author
  • Localization

Riesz, posted Fri May 27, 2022 4:09 pm (71693)


Since I made use of the info here, I just wanted to post a comment about another way to process the .raw image files.

Irfanview has a plugin that supports raw and it's very easy to use, just input the dimensions listed on the filename after running ALuigi's script.

Image

E.g. base_image_1968x1128x32_000000d8.raw
Image width: 1968
Image height: 1128
BitsPerPixel: 32

Then you can do a batch conversion from Irfanview into png with transparency or whatever format you want.

Image
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.