Page 1 of 2

Help with chunzstd.

Posted: Wed Oct 10, 2018 10:50 pm
by mita996
Friends, I've extracted FIFA 19 Nintendo switch and got chunzstd. compressed files. Is there anybody who can help me with this?

https://www.mediafire.com/file/tw37qiwq ... s.rx3/file

Re: Help with chunzstd.

Posted: Thu Oct 11, 2018 5:05 am
by Bigchillghost
Here's a BMS decompressor for the zstd-compressed rx3 image container.
RX3Decompressor.zip
The pixel formats look weird so I didn't add the unpacking code.

Re: Help with chunzstd.

Posted: Thu Oct 11, 2018 4:20 pm
by mita996
Bigchillghost wrote:Here's a BMS decompressor for the zstd-compressed rx3 image container.
RX3Decompressor.zip
The pixel formats look weird so I didn't add the unpacking code.

Works fine, but there is some difference. Can you take a look at this files
https://www.mediafire.com/file/8is7iqa2 ... s.rar/file

Re: Help with chunzstd.

Posted: Fri Oct 12, 2018 1:04 pm
by Bigchillghost
Always remember to format your URL with the corresponding BBCode tag.

Re: Help with chunzstd.

Posted: Wed Mar 06, 2019 10:57 pm
by mita996
Can you take a look buddy this file. I can decompress it with the rx3 decompressor.
https://www.mediafire.com/file/l23a41d2 ... s.rx3/file

Re: Help with chunzstd.

Posted: Thu Mar 07, 2019 12:43 pm
by Bigchillghost
Well there's indeed a small issue in the code where the script trys to read past the end of the file. But QuickBMS didn't consider it an error? Might just be lucky. It's fixed now in v0.1.2 script.
mita996 wrote:
Wed Mar 06, 2019 10:57 pm
I can decompress it with the rx3 decompressor.
So what's the problem?

Re: Help with chunzstd.

Posted: Thu Mar 07, 2019 5:45 pm
by Acewell
mita996 wrote:
Wed Mar 06, 2019 10:57 pm
Can you take a look buddy this file. I can decompress it with the rx3 decompressor.
https://www.mediafire.com/file/l23a41d2 ... s.rx3/file
here is Noesis python script to open the decompressed rx3 file. :D
tex_FIFA19_Switch_rx3.zip
supports dxt1, dxt5 and ati2, top level mip only.

Re: Help with chunzstd.

Posted: Thu Mar 07, 2019 8:15 pm
by mita996
Acewell wrote:
Thu Mar 07, 2019 5:45 pm
mita996 wrote:
Wed Mar 06, 2019 10:57 pm
Can you take a look buddy this file. I can decompress it with the rx3 decompressor.
https://www.mediafire.com/file/l23a41d2 ... s.rx3/file
here is Noesis python script to open the decompressed rx3 file. :D
tex_FIFA19_Switch_rx3.zip
supports dxt1, dxt5 and ati2, top level mip only.
Buddy, there is a strange thing, I've decompressed other fifa's like fo4, and the files are perfect (512 kb) for hair for example and the textures are bright. These files are 684, and they are shiny.
for example, the second image is the correct one, ignore resolution of the image: https://i.postimg.cc/7Zmpd2tB/image.png

Re: Help with chunzstd.

Posted: Thu Mar 07, 2019 8:18 pm
by mita996
Bigchillghost wrote:
Thu Mar 07, 2019 12:43 pm
Well there's indeed a small issue in the code where the script trys to read past the end of the file. But QuickBMS didn't consider it an error? Might just be lucky. It's fixed now in v0.1.2 script.
mita996 wrote:
Wed Mar 06, 2019 10:57 pm
I can decompress it with the rx3 decompressor.
So what's the problem?
Accidentaly, I made a mistake in tipping, I can't decompress, even with the updated script:
- 0 files found in 0 seconds
coverage file 0 0% 8 146611 . offset 00000008

Press ENTER or close the window to quit

Re: Help with chunzstd.

Posted: Fri Mar 08, 2019 12:09 am
by Acewell
mita996 wrote:
Thu Mar 07, 2019 8:15 pm
Buddy, there is a strange thing, I've decompressed other fifa's like fo4, and the files are perfect (512 kb) for hair for example and the textures are bright. These files are 684, and they are shiny.
for example, the second image is the correct one, ignore resolution of the image: https://i.postimg.cc/7Zmpd2tB/image.png
the one on the left is dxt5 likely with alpha layer and the one on right is dxt1 no alpha likely.
the dxt5 image is probably being displayed with the alpha layer overlay which dulls the look. :)

also, the original rx3decompressor bms script decompressed both your samples in this thread fine,
make sure you using latest version of QuickBMS always. :D

Re: Help with chunzstd.

Posted: Fri Mar 08, 2019 9:18 am
by mita996
Acewell wrote:
Fri Mar 08, 2019 12:09 am
mita996 wrote:
Thu Mar 07, 2019 8:15 pm
Buddy, there is a strange thing, I've decompressed other fifa's like fo4, and the files are perfect (512 kb) for hair for example and the textures are bright. These files are 684, and they are shiny.
for example, the second image is the correct one, ignore resolution of the image: https://i.postimg.cc/7Zmpd2tB/image.png
the one on the left is dxt5 likely with alpha layer and the one on right is dxt no alpha likely.
the dxt5 image is probably being displayed with the alpha layer overlay which dulls the look. :)

also, the original rx3decompressor bms script decompressed both your samples in this thread fine,
make sure you using latest version of QuickBMS always. :D
Thank you guys :) :). I was using old quickbms, that's why I got error. Is there a way how can I fix those alpha layers, so they look perfect and not dull?

Re: Help with chunzstd.

Posted: Fri Mar 08, 2019 12:34 pm
by Bigchillghost
Acewell wrote:
Thu Mar 07, 2019 5:45 pm
here is Noesis python script to open the decompressed rx3 file.
Nice work Ace! :D

Alright this is made just for fun — or if anyone feels it helpful — an rx3 unpacker/convertor to pvr format preserving all mipmaps:
RX3Unpacker.zip

Since BC5 encoded pvr images won't load by my PVRTexTool I'll save also the raw data as an rx3l file.

Re: Help with chunzstd.

Posted: Sat Mar 09, 2019 2:11 pm
by mita996
Bigchillghost wrote:
Fri Mar 08, 2019 12:34 pm
Acewell wrote:
Thu Mar 07, 2019 5:45 pm
here is Noesis python script to open the decompressed rx3 file.
Nice work Ace! :D

Alright this is made just for fun — or if anyone feels it helpful — an rx3 unpacker/convertor to pvr format preserving all mipmaps:
RX3Unpacker.zip


Since BC5 encoded pvr images won't load by my PVRTexTool I'll save also the raw data as an rx3l file.
Superb, does it means that can fix the dull textures, actully convert dxt5 to dxt1?

Re: Help with chunzstd.

Posted: Sat Mar 09, 2019 2:33 pm
by Bigchillghost
mita996 wrote:
Sat Mar 09, 2019 2:11 pm
Superb, does it means that can fix the dull textures
I don't have the texture file you're talking about. But the results of the two in this thread look fine to me.
mita996 wrote:
Sat Mar 09, 2019 2:11 pm
actully convert dxt5 to dxt1?
No, there's no actual convertion between different pixel formats. All data is taken from the file directly, but a pvr header is added.

FIFA 19 & FIFA Online 4 (.rx3)

Posted: Sat Mar 09, 2019 5:58 pm
by Acewell
and just because, here a rx3 to dds bms script. :D
*script updated August 5, 2019*
FIFA19_FIFAOnline4_rx3todds.zip
the normal map (ATI2) dds files can be open in "Compressonator" or "Noesis". :)
supports chunzstd, chunkzip and chunlzma types

mita996 wrote:
Sat Mar 09, 2019 2:11 pm
does it means that can fix the dull textures, actully convert dxt5 to dxt1?
you can convert dxt5 to dxt1 easily with Photoshop and Nvidia's texture tools.