Posts: 5
Threads: 2
Joined: Apr 2025
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!
Posts: 6
Threads: 1
Joined: Aug 2024
(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.
Posts: 20
Threads: 0
Joined: Jan 2025
04-13-2025, 03:35 PM
(This post was last modified: 04-13-2025, 03:36 PM by ikskoks.)
(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
Posts: 5
Threads: 2
Joined: Apr 2025
04-13-2025, 05:10 PM
(This post was last modified: 04-13-2025, 05:13 PM by yuugs.)
(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!
Posts: 20
Threads: 0
Joined: Jan 2025
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.
Posts: 5
Threads: 2
Joined: Apr 2025
(04-14-2025, 03:40 PM)ikskoks Wrote: 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.
Oh, I see! Thanks, I got reversebox installed. last question, I promise; how do I use the script on the image file? Running swizzle_psvita_dreamcast.py through IDLE or the cmd line doesn't seem to do anything. Do I need to write my own script and import the un-swizzle file into it?
Posts: 20
Threads: 0
Joined: Jan 2025
Yesterday, 02:50 PM
(This post was last modified: Yesterday, 02:52 PM by ikskoks.)
Quote:how do I use the script on the image file? Running swizzle_psvita_dreamcast.py through IDLE or the cmd line doesn't seem to do anything. Do I need to write my own script and import the un-swizzle file into it?
Yes, fastest and easiest way to do it is to write a custom script that handles all the operations you need.
To make it even more straight-forward you can use some IDE like PyCharm and set up a new project.
Please see some examples from readme file, especially "ReverseBox Demo" https://github.com/bartlomiejduda/Tools/...seBox_Demo
Posts: 5
Threads: 2
Joined: Apr 2025
(Yesterday, 02:50 PM)ikskoks Wrote: Quote:how do I use the script on the image file? Running swizzle_psvita_dreamcast.py through IDLE or the cmd line doesn't seem to do anything. Do I need to write my own script and import the un-swizzle file into it?
Yes, fastest and easiest way to do it is to write a custom script that handles all the operations you need.
To make it even more straight-forward you can use some IDE like PyCharm and set up a new project.
Please see some examples from readme file, especially "ReverseBox Demo" https://github.com/bartlomiejduda/Tools/...seBox_Demo
Thank you!!! I understand all this way better now. Time to learn to program >  c
|