Right now, using KFRandomizer is a bit confusing. So I've written this guide to try and help make the process a bit more understandable.
You're going to need a few things to follow this guide:
- A computer running 64-bit Windows or Linux
- The latest build of KFRandomizer (we'll talk about how to get that in a bit)
- CDmage 1.02.1 (you can download it here!)
- Wine, if you're under Linux, for running CDmage
You can probably follow this tutorial under macOS by using Wine for both CDmage and a Windows build of KFRandomizer.
ImJecht has made a pretty straightforward video on how to set up and use the randomizer here! Though he used Windows for the video, it's relatively easy to follow along on Linux given you know how to get CDmage working under Wine.
Note: To download the project's automatic builds, you will need a GitHub account! It's really easy to make one, so don't worry if you don't have one yet.
To download the latest build of KFRandomizer, head on over to the project's GitHub Actions page. Once you're there, click on the first item in the "All workflows" list. In the image below, the latest build at the time of writing is highlighted in green. Follow the link in that position.
You'll arrive at the GitHub Actions page for that run. A variety of tools will be available here, but you just need to download te appropriate build for your system. Select the correct one from the list of builds as highlighted in green in the picture below:
Unpack the files in a folder of your choice. After that, run the KFRandomizer executable (KFRandomizer on Linux, KFRandomizer.exe on Windows). You'll get a screen like this:
You will notice the randomizer is asking for an FDAT.T file. This is a file that's inside the King's Field CD. To obtain and replace this file, we'll use CDmage.
First, copy your King's Field CD image somewhere else. This copy will be the image we'll randomize. Next up, open CDmage. You'll be greeted by a screen like the one below:
Drag your image's .cue file or open it by going to File -> Open... and you'll get something like this:
(If you don't see "Track 1" on the left side, double click "Session 1".)
Double click "Track 1". "CD" and "OP" will appear under it. Double click "CD". "COM" will appear under "CD". Double click "COM". Your CDmage screen should look like this:
Right-click FDAT.T then click "Extract files...". CDmage will ask you what folder to extract. Choose a folder of your choice and hit Extract. Now keep CDmage open and let's head back to the randomizer!
Now we're ready to randomize! In the randomizer, click "click to choose..." where it says "Your FDAT.T file:" and pick the FDAT.T file we just extracted. Choose what options you want for the randomizer and then click "Randomize!". The program will copy FDAT.T to its memory and randomize it according to your chosen options, and when it's done it'll let you know.
The program will then ask you where to save the randomized FDAT.T. You can name it anything but I'd advise you to choose wisely. Once you've saved it, let's switch back to CDmage.
Now we're back in CDmage, right-click FDAT.T and click "Import File...". Select the randomized FDAT.T that you saved in the last step. That's it! Now you can run your copy of the image in an emulator or burn it to a disc and play it on a modded PlayStation! Have fun :)
Do you think this guide could be improved? Open an issue with your suggestions! :D