Hello! I'm attempting to make my own language patch for Wand of Fortune R for the PSVITA. I've managed to decrypt and unpack the files, and then used Random Talking Bush's BMS script from
this thread to convert the CG stills from TID to DDS. Unfortunately, all of the other images (presumably the sprites, backgrounds, etc.) have just become seemingly random pixelated garbage.
Here's a folder with an example of both the failed (529.DDS) and successful (1010.DDS) files (because I can't seem to attach them directly) Any help/advice would be appreciated!
(04-13-2025, 04:49 AM)yuugs Wrote: [ -> ]Hello! I'm attempting to make my own language patch for Wand of Fortune R for the PSVITA. I've managed to decrypt and unpack the files, and then used Random Talking Bush's BMS script from this thread to convert the CG stills from TID to DDS. Unfortunately, all of the other images (presumably the sprites, backgrounds, etc.) have just become seemingly random pixelated garbage. Here's a folder with an example of both the failed (529.DDS) and successful (1010.DDS) files (because I can't seem to attach them directly) Any help/advice would be appreciated!
The sprite seems to be swizzled. I was able to use
Kuriimu2's raw image viewer to view the example sprite with these settings:
![[Image: WBSaanm.png]](https://i.imgur.com/WBSaanm.png)
Doing this for every single sprite would be rather tedious, though. I don't know any scripts or tools that can automatically unswizzle these images, but if anyone else does, that would be great.

(04-13-2025, 03:35 PM)ikskoks Wrote: [ -> ] (04-13-2025, 12:34 PM)Otomecake Wrote: [ -> ]I don't know any scripts or tools that can automatically unswizzle these images, but if anyone else does, that would be great. 
This can be automated with ReverseBox library https://github.com/bartlomiejduda/ReverseBox
(PS Vita swizzle is supported)
And if you want visual preview like in Kuriimu, you can use ImageHeat https://github.com/bartlomiejduda/ImageHeat
Thanks for the info! I'm sure this is a very stupid question, but how do I get ReverseBox working? Running the module in IDLE spits out all sorts of error messages, which I've inserted below.
Quote:Python 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47
3) [MSC v.1943 64 bit (AMD64)] on win32
Enter "help" below or click "Help" above for more information.
=========== RESTART: C:\Users\Grace\Desktop\ReverseBox-main\setup.py ===========
Warning (from warnings module):
File "C:\Users\Grace\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\_distutils\dist.py", line 289
warnings.warn(msg)
UserWarning: Unknown distribution option: 'test_suite'
Warning (from warnings module):
File "C:\Users\Grace\AppData\Local\Programs\Python\Python313\Lib\site-packages\setuptools\dist.py", line 759
self._finalize_licens
xpression()
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
See https://packaging.python.org/en/latest/g...l/#license for details.
********************************************************************************
!!
SystemExit: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
I've spent the last hour or so getting Python and setuptools working on my computer, but I've hit a brick wall.
(04-13-2025, 12:34 PM)Otomecake Wrote: [ -> ] (04-13-2025, 04:49 AM)yuugs Wrote: [ -> ]Hello! I'm attempting to make my own language patch for Wand of Fortune R for the PSVITA. I've managed to decrypt and unpack the files, and then used Random Talking Bush's BMS script from this thread to convert the CG stills from TID to DDS. Unfortunately, all of the other images (presumably the sprites, backgrounds, etc.) have just become seemingly random pixelated garbage. Here's a folder with an example of both the failed (529.DDS) and successful (1010.DDS) files (because I can't seem to attach them directly) Any help/advice would be appreciated!
The sprite seems to be swizzled. I was able to use Kuriimu2's raw image viewer to view the example sprite with these settings:
![[Image: WBSaanm.png]](https://i.imgur.com/WBSaanm.png)
Doing this for every single sprite would be rather tedious, though. I don't know any scripts or tools that can automatically unswizzle these images, but if anyone else does, that would be great. 
Thanks for the tip! Swizzle, huh? What a fun word for a terribly annoying phenomenon. I already have Kuriimu2 downloaded, but I didn't think to try it on this; I'll keep this in mind in the future!
Quote:but how do I get ReverseBox working? Running the module in IDLE spits out all sorts of error messages, which I've inserted below.
First you need to install Python 3.11, then you need to install ReverseBox with "pip install ReverseBox" command and then you can use it from the script.
Check out examples in the readme file as well.