sorry for my bad english.i am try to extract nltx file,but it don't work with nltx.bms,please help.
this is sample files.
please help me with extract nltx file
-
- Posts: 11
- Joined: Fri Sep 07, 2018 1:37 pm
Re: please help me with extract nltx file
If someone wants to pick this up, here's some info I have from extracting .nltx for a different game 1.5 years ago.
(viewtopic.php?f=7&t=8503 is that topic, but the old nltx.bms doesn't work here.)
Can't be bothered to research any further into this again, lol.
(viewtopic.php?f=7&t=8503 is that topic, but the old nltx.bms doesn't work here.)
Can't be bothered to research any further into this again, lol.
- .nltx files contain single textures.
- texture width is a 4-byte little endian number at offset 0x18
- texture height is a 4-byte little endian number at offset 0x1C
- texture data is contained in a YKCMP archive at offset 0x80
- bms now has support for ykcmp extraction
- alternatively, https://github.com/iltrof/ykcmp can also extract
that data with:Code: Select all
ykcmp.exe -a 0x80 nltx-file [output-file]
- the result is raw pixel data, in one of the DXT formats, I assume
- in the topic 1.5 years ago the .nltx files had raw RGBA data,
but it's definitely different here
- in the topic 1.5 years ago the .nltx files had raw RGBA data,
- the pixel data is swizzled
- no clue about the algorithm, OP should at least say which game this is from
-
- Posts: 29
- Joined: Wed Jul 18, 2018 11:10 pm
Re: please help me with extract nltx file
iltrof wrote:If someone wants to pick this up, here's some info I have from extracting .nltx for a different game 1.5 years ago.
(viewtopic.php?f=7&t=8503 is that topic, but the old nltx.bms doesn't work here.)
Can't be bothered to research any further into this again, lol.
- .nltx files contain single textures.
- texture width is a 4-byte little endian number at offset 0x18
- texture height is a 4-byte little endian number at offset 0x1C
- texture data is contained in a YKCMP archive at offset 0x80
- bms now has support for ykcmp extraction
- alternatively, https://github.com/iltrof/ykcmp can also extract
that data with:Code: Select all
ykcmp.exe -a 0x80 nltx-file [output-file]
- the result is raw pixel data, in one of the DXT formats, I assume
- in the topic 1.5 years ago the .nltx files had raw RGBA data,
but it's definitely different here- the pixel data is swizzled
- no clue about the algorithm, OP should at least say which game this is from
The game is Labyrinth of Refrain: Coven of Dusk from NS verstion.