X-Hax / SA-Mod-Manager

A new mod manager for the Sonic Adventure games.
MIT License
74 stars 17 forks source link

SADX: Convert Steam, EU version etc. to the 2004 US version #228

Open PiKeyAr opened 4 weeks ago

PiKeyAr commented 4 weeks ago

Here's a way to convert some versions of SADX that could be done right now. The stuff added in this commit is unfortunately not usable at the moment because FMV conversion is still required.

To detect applicable versions of the game:

1) Check if sonic.exe is present sonic.exe with the following MD5 indicates the game is already the US version and doesn't need conversion.

case "c6d65712475602252bfce53d0d8b7d6f": // US NOCD
case "3cd8ce57f5e1946762e7526a429e572f": // US original
case "4d9b59aea4ee361e4f25475df1447bfd": // US NOCD+ manifest
case "e46580fc390285174acae895a90c5c84": // US NOCD SA1 save icon + manifest
case "b215d5dfc16514c0cc354449c101c7d0": // US NOCD SA1 box icon + manifest
case "f8c0b356519d7c459f7b726d63462791": // US NOCD SA1 HD icon + manifest
case "a35eb183684e3eb964351de391db82e8": // US NOCD SADX icon + manifest

The following MD5 indicate versions that are subject to conversion:

case "ad6388fa1a703e90d0fc693c5cdb4c5d": // EU original
case "57f987014504e0f0dcfc154dfd48fead": // EU Best Buy
case "9c1184502ad6d1bed8b2833822e3a477": // EU Sonic PC Collection
case "6b3c7a0013cbfd9b12c3765e9ba3a73e": // Korean
  1. If sonic.exe is not present but there is a Sonic Adventure DX.exe with the MD5 of d526786ad2e3967d084c0b3e1f92cb47, then it's the Steam version which is also subject to conversion.

To perform the conversion:

  1. Download conversion tool from https://dcmods.unreliable.network/owncloud/data/PiKeyAr/files/Setup/data/steam_tools.7z and unpack the whole archive to a temporary folder.
  2. Execute SteamHelper.exe with the following arguments and wait for the process to exit. SteamHelper.exe "Path to the game" "Path to the folder containing SteamHelper.exe"

Example: SteamHelper.exe "D:\SADXSteam" "D:\Temp\steam_tools"

  1. Verify the result: a successful EXE conversion is indicated by the presence of a sonic.exe with the MD5 of c6d65712475602252bfce53d0d8b7d6f and DLLs in the system folder. Additionally, MPG files in the system folder indicate a successful FMV conversion.