CPS3 Conversion Tool: official sets, Darksoft packs, MAME and MiSTer, with widescreen

djanice1980

Student
Joined
Mar 3, 2021
Messages
42
Reaction score
85
Location
75189
I have put together a small program for moving CPS-3 games between the forms they are used in. It has a window, so no command line is needed, and it is free and open source.

Download (Linux and Windows): https://github.com/djanice1980/cps3-conversion-tool/releases/latest
Step-by-step instructions with pictures: https://github.com/djanice1980/cps3-conversion-tool#common-jobs-step-by-step

What it does

- Recognizes a set. Load one of your own MAME NO CD sets and it tells you the game and the revision, and whether my widescreen patch fits it.
- Writes a game into a bank of a Darksoft UltraSIMM pack, as the Standard SH2 file and the Custom SH2 file in one go, with Darksoft's own changes for his BIOS (so the region still comes from the UltraBIOS menu) and with the byte sums the test menu's SIMM check wants.
- Can put the widescreen patch in on the way. The patch adds a SCREEN MODE item (NORMAL / WIDE) to the game's test menu. There are patches for New Generation, Red Earth / Warzard, JoJo's Venture 981202, JoJo HFTF 990913 and 3rd Strike 990512 and 990608. 2nd Impact has its own wide setting already.
- Makes the Custom SH2 file from the program alone. A security-CPU board with key 0 needs to know which halfwords of the program are instructions. The tool works that out by following the code, with no play tracing. While checking it against Darksoft's files I found a few mistakes in their tables; the tool's own tables do not have them. Details are in the README of my widescreen project.
- Goes back. One button copies a bank, or all eight, from your untouched Darksoft pack over a pack you changed, byte for byte.
- Writes MAME sets and MiSTer files (for Jotego's jtcps3 core) of the widescreen game straight from an official set. These leave Darksoft's region change out, because MAME and the MiSTer run the official BIOS, so the region setting works as in the unpatched game.
- Converts your own program. A hack or homebrew written for a Standard SH2 can be turned into a Custom SH2 version, and the other way round, and there is a MAME test that reports any instruction the table got wrong.

What you need

Your own Darksoft pack and, for some jobs, your own official sets. The tool contains no game data and I cannot help with finding any. Always work on a copy of your pack; the tool only writes when you tick the write box.

What is tested, and what is not

- Everything the tool writes was tested in MAME: the widescreen Custom SH2 files of six games were run against my released widescreen pack for 40,000 frames per script, in NORMAL and in WIDE, with every data read checked against the table.
- Nothing has run on a real board with the security CPU. I only have a Standard SH2 board. If you have a Custom SH2 board and try a file, I would very much like to hear how it goes.
- The MiSTer files have not run on a MiSTer. The tool checks that they assemble to the right program, no more.
- The Windows program was only tested under Wine so far, not on a real Windows PC.

It is the window version of the tool in my widescreen project (https://github.com/djanice1980/CPS3-widescreen) and writes the same files as that one.

Thanks to Darksoft for the UltraSIMM kit and for explaining how his tables were made. None of this would exist without his work.
 
Back
Top