         **************************************************************
         *       Exile II (PC Engine CD) - Un-Worked Design Patch     *
         *                 Version 1 (9 Feb. 2017)                    *
         *            by Supper (suppertails66@gmail.com)             *
         **************************************************************

This is a patch that fixes many issues introduced in the US version of the PC 
Engine CD/TurboGrafx-CD game Exile: Wicked Phenomenon (Japanese title: "Exile 
II: Janen no Jishou") by its publisher, Working Designs. The US version makes 
the game more difficult -- much, much more difficult, to the point that even 
most diehard Working Designs fans admit that it's just too frustrating to be fun 
-- by radically increasing all the enemy stats. This patch restores the gameplay 
from the Japanese version.

              ****************************************************
              *                     Changes                      *
              ****************************************************

* All enemies have their stats restored to what they were in the Japanese 
version.

Surprisingly for Working Designs, the increased enemy stats appear to be the 
only actual change to gameplay. Shop prices, equipment stats, etc. were left 
alone this time. Unfortunately, this one change was all it took to completely 
destroy the game.

Other changes in the US version (the added parallax scrolling in most levels, 
the obfuscated real-world locations, the horrible horrible made-up script) have 
been kept.

For specific details on the alterations in the US version, such as tables of 
stat changes and so on, see this page (which I may or may not have written yet): 
https://tcrf.net/Exile:_Wicked_Phenomenon

              ****************************************************
              *               Patching Instructions              *
              ****************************************************

--- WHAT YOU'LL NEED ---
* A BIN/CUE or ISO/WAV format disc image of the US version of Exile: Wicked 
Phenomenon (PC Engine CD/TurboGrafx-16).
* If you're on Windows, the xdelta patching utility (http://xdelta.org/) is 
provided in this distribution. On other platforms, you'll need to acquire 
version 3.0.8 or later on your own.

--- AUTOMATIC PATCHING METHOD (WINDOWS) ---

If you're using Windows, move your disc image files into the same directory as 
the program and do one of these as appropriate:
  * If you have a BIN/CUE disc image, drag and drop the BIN file (or IMG file) 
onto binpatch.bat.
  * If you have an ISO/WAV disc image, drag and drop the ISO file onto 
isopatch.bat. Note that your ISO/WAV files must use standard naming and 
numbering, e.g. "File 01.wav", "File 02.iso", etc.

If everything works, this should produce the patched game under the name 
"Exile2UnWorked_##". To play it, make sure the file "Exile2UnWorked.cue" 
(included with the patch) is in the same directory as everything else and then 
load it in an emulator, or burn it to a CD for use on real hardware.

If this doesn't work, try using the manual patching method below to diagnose the 
problem.

--- MANUAL PATCHING METHOD---

--- CONVERTING FROM BIN/CUE TO ISO ---
If you have a BIN/CUE image (or the equivalent IMG/CUE), you'll need to convert 
it to ISO/WAV before you can patch it. I'd recommend using BinChunker (a.k.a. 
bchunk -- homepage http://he.fi/bchunk/) to do this.

* On Windows, you can use the included bchunk.exe (courtesy of elmer). If you 
don't want to use bchunk, there are also many "shareware"/commercial utilities 
that can do this task, though they may or may not output the same ISO as bchunk.
* On Linux, it should be available from your distro's repos, or of course you 
can build from source.
* On Mac, you can build from source, or perhaps get binaries wherever Mac people 
get their binaries from.

To convert, open a command prompt and navigate to the folder containing the 
BIN/CUE, then run the following command:

bchunk -w Exile2US.bin Exile2US.cue Exile2US_

(substituting the names of your BIN/CUE files, obviously -- remember to put 
quotes around them if they have spaces in them. **Don't rename them** -- this 
will cause the conversion to fail unless you also modify the CUE file itself.) 
This should generate a series of files: Exile2US_01.wav, Exile2US_02.iso, 
Exile2US_03.wav, Exile2US_04.wav, and so on up to Exile2US_28.wav.

--- PATCHING STEPS---
1. First, !!!***verify that your ISO has the correct MD5 hash***!!! It should be 
aea35f2109dbd767dedd2868cd473a9d. If it isn't, the patch almost certainly won't 
work. You can obtain this by using the md5sum utility on *nix, or the FCIV 
utility (https://support.microsoft.com/en-us/kb/889768) on Windows.

2. Use xdelta to apply Exile2UnWorked.xdelta to your ISO. If you're using the 
command line, this would look something like:

xdelta3 -d -s Exile2UnWorked.xdelta Exile2US_02.iso Exile2UnWorked_02.iso

If you use a GUI wrapper, it should be self-explanatory, but make sure the 
output file is named Exile2UnWorked_02.iso.

3. Verify that the patched ISO has an MD5 hash of 
e0cbe24d42bfd60a11ff73e1fb04c148.

4. That's technically all the patching required, but assuming you want to play 
on an emulator, we now need to make sure the CD audio files are properly 
associated with the ISO or it will likely hang when it needs to play them. 
First, make sure your patched ISO is named Exile2UnWorked_02.iso, then rename 
the audio files produced from the BIN/CUE conversion process to 
Exile2UnWorked_01.wav, Exile2UnWorked_03.wav, etc.

5. A CUE file named Exile2UnWorked.cue is included with this patch. Move it to 
the same directory as your ISO and WAV files.

6. Test that the game works by loading Exile2UnWorked.cue in your emulator.

--- TROUBLESHOOTING ---
* If the patched ISO won't run, check the MD5 hashes of your original ISO and 
the patched ISO. The correct hashes are given in the steps above. If either of 
them doesn't match, try a different method for converting the BIN/CUE to ISO, or 
using a BIN/CUE generated by a different program.
* If your ISO has associated sound files in some format other than WAV (or your 
emulator doesn't support WAV files), you'll need to either convert them to WAV 
or modify the CUE file to use a different format. In the latter case, change 
(for example) all occurences of WAVE to MP3, and make sure the filenames are 
correct.
* If the game works fine but crashes when CD audio should play, your audio files 
aren't properly associated with the ISO. Check that your filenames match what's 
described in Exile2UnWorked.cue.

              ****************************************************
              *                  Known Issues                    *
              ****************************************************

* The "PLAYER" and "ENEMY" text in the HUD becomes slightly corrupted on the 
Egypt boss level. This is a bug in the original US game itself, and probably 
won't be fixed.

              ****************************************************
              *                 Version History                  *
              ****************************************************

Version 1 (2/9/17)
  * Most bosses and one regular enemy were still giving out the reduced EXP and 
gold values from the US version; this has been fixed.

Version 0 (1/31/17)
  * Initial release.

              ****************************************************
              *                  Special Thanks                  *
              ****************************************************

* elmer, both for his help smoothing out the kinks in the patching process and 
for his advice and support in learning to deal with the PCE CD.
* The many authors of PCE docs over the years.
* Everyone on ROMhacking.net who provided feedback and support.
