Riesz Posted April 8, 2024 Posted April 8, 2024 (edited) The character sprites in the Switch game Tengoku Struggle -strayside- are in a format called rtex that I haven't been able to find any information about. Would anyone be able to help with this format? I zipped up one directory for one sprite from the game. rin_ps1_unif_up.zip Edited April 8, 2024 by Riesz
BloodRaynare Posted April 8, 2024 Posted April 8, 2024 (edited) I have the Noesis python plugin that I wrote for this format (A friend asked me to rip the images of some otome game on Switch too). tex_RTEX.py Put the py script to <Noesis folder>\plugins\python Note: Image width/height parsing might be incorrect so do report if the images are looking weird. Edited April 10, 2024 by BloodRaynare script V2 1 1
Riesz Posted April 9, 2024 Author Posted April 9, 2024 (edited) On 4/8/2024 at 2:03 AM, BloodRaynare said: I have the Noesis python plugin that I wrote for this format (A friend asked me to rip the images of some otome game on Switch too). tex_RTEX.py Put the py script to <Noesis folder>\plugins\python Note: Image width/height parsing might be incorrect so do report if the images are looking weird. I got some time to test it a bit more but it seems like the colours are slightly off with this plugin. I was able to find an old BMS script for rtex that dumps the textures to raw then I opened the raw in Irfanview. However the image transparency doesn't seem to be preserved, either when the bms dumps to raw or when opening in Irfanview - I'm not sure which step is stripping the transparency. The transparency is preserved when using the Noesis plugin. BMS script for rtex: rtex bms script.zip Original game files: enm_ps1_norm_bon1_up.zip Here are the differences. Noesis: BMS script to raw: Edited April 9, 2024 by Riesz
Solution BloodRaynare Posted April 10, 2024 Solution Posted April 10, 2024 (edited) 10 hours ago, Riesz said: I got some time to test it a bit more but it seems like the colours are slightly off with this plugin. I was able to find an old BMS script for rtex that dumps the textures to raw then I opened the raw in Irfanview. However the image transparency doesn't seem to be preserved, either when the bms dumps to raw or when opening in Irfanview - I'm not sure which step is stripping the transparency. The transparency is preserved when using the Noesis plugin. BMS script for rtex: rtex bms script.zip Original game files: enm_ps1_norm_bon1_up.zip Here are the differences. Noesis: BMS script to raw: Check the newer version of the script on the previous post. There's a typo on color mapping apparently (RBGA or BRGA instead of RGBA). Edited April 10, 2024 by BloodRaynare 1
Riesz Posted April 10, 2024 Author Posted April 10, 2024 11 hours ago, BloodRaynare said: Check the newer version of the script on the previous post. There's a typo on color mapping apparently (RBGA or BRGA instead of RGBA). Thank you! It works perfectly now!
Riesz Posted April 10, 2024 Author Posted April 10, 2024 I just want to post a little update that this script also works with rtex from Cupid Parasite and Jakou no Lyla so thank you again! 17 hours ago, BloodRaynare said: Check the newer version of the script on the previous post. There's a typo on color mapping apparently (RBGA or BRGA instead of RGBA).
Riesz Posted April 16, 2024 Author Posted April 16, 2024 (edited) Here's a little modification to the script that hopefully fixes a few rendering errors I encountered with a few rtex images for ui elements, screen transitions, etc. Some of the images were fully alpha so they weren't displaying properly before. tex_RTEX_BABA.py Edited April 16, 2024 by Riesz 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now