I want to make the NS version of Titan Journey MOD, because the texture TEX.nvn cannot be converted into dds or png, which causes troubles in production.Please do me a favor, thank you very much.
Just checked briefly. I don't want to get involved into this, so if anybody wants to help with making converter that will swizzle texture, here you have some informations:
MAGIC = "TEX\x01"
size of file without first 12 bytes - offset 0x8
size of texture - offsets 0xC and 0x30 (my guess is that 0xC stores size of whole texture in case if texture is 3D, and 0x30 only for each 2D texture - since this texture is not 3D, both are the same)
width - 0x18
height - 0x1C
those are dimensions of texture after processing it (unswizzle and cut). Since this is swizzled texture, dimensions must pass equation "x % 16 = 0" and iirc texture cannot be smaller than 64x64, so if provided dimensions are 565x637, the real dimensions are 576x640
Everything else is a mystery. Somewhere must be stored mipmap count and texture depth (in both cases it will be 1 for provided texture). At 0x78 it may store texturelayout value in log2(x) form - you can confirm that by checking textures with height lower than 256. If it's lower than 128, it should be 2. If it's lower than 256, it should be 3. For anything else it must be 4.
My God, thank you, I succeeded. But now how to switch back to TEX format
Post automatically merged:
I tried to make a new model, and it was very successful, but there seems to be a problem with the location of the texture?
Post automatically merged:
I succeeded, and it was very smooth, but my operation was quite cumbersome. I still hope to have an EXE script. Finally, thank masagrator for his advice, which has made me so successful. Thank you!
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
The romhacking community is always a source for new ways to play retro games, from completely new levels or stages, characters, quality of life improvements, to flat...
Retro handheld manufacturer Anbernic is releasing a refreshed model of its RG35XX handheld line. This new model, named RG35XX 2024 Edition, features the same...
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...