Open Twisted6 opened 4 years ago
Hi.
Need auto upload builds to releases, it's annoying to upload by hands.
Uploaded, check it.
But it looks little broken.
Thanks again for the quick response. It's almost working perfectly but on one of the maps the bottom half is on the top and has been scaled weirdly. I've included examples of a working map and a cut map. https://www.dropbox.com/s/ay7hqqdpbmca02l/Screenshot%202020-05-05%2013.55.18.png?dl=0 https://www.dropbox.com/s/87mkqy1rymah11j/Mexico.jpg?dl=0
Lots of the DDSX files I've tried from Cuisine Royale had the FLG_REV_MIP_ORDER
flag set. That means the mipmaps appear in reverse order, from the smallest mipmap to the biggest. In DDS files, this must be the opposite order (from the biggest mipmap to the smallest). Thus, the mipmaps order must be reversed before writing the content to the DDS file.
I did the following changes to ddsx_unpack.py
to reverse the mipmaps order and it works for all the DDSX files I've tried for CRSED:
@jdoe1024 Thanks for patch! But better send it as attached file or pull request.
build https://github.com/klensy/wt-tools/actions/runs/510036724
I think i'll try https://docs.microsoft.com/en-us/windows/win32/direct3ddds/dds-file-layout-for-textures to use with non DXT1 textures.
Hey klensy, it's me again xD
I'm trying to open the DDSX map images using ddsx_unpack.exe but I can't get it to work. I've tried placing both oo2core_6_win64.dll and the latest oo2core_8_win64.dll in the same folder as ddsx_unpack.exe. The console pops up for a second and then closes. Am I doing something wrong or are these particular files just not supported? I've attached one of the ddsx files. mexico_4x4_minimap.zip