ShadowTheHedgehogHacking / 2P-ShdTH

2P split screen in 1P modes
23 stars 0 forks source link

2 Player Shadow The Hedgehog

A multiplayer mod for Shadow the Hedgehog NTSC-U (GameCube)

About

This project aims to get 2 Players working in Shadow The Hedgehog (GameCube)'s 1P modes.

Story Mode, Select Mode, Expert Mode, Last Story.

Important Notes

How to play / Setup

This mod is only compatible with the NTSC-U GameCube version.

Please verify you are using a 1:1 Shadow The Hedgehog NTSC-U ISO (steps in Building the ISO).

You can find a setup tutorial video by searching for "Shadow 2P Mod v2.2 - How To Setup by dreamsyntax" on YouTube

Xdelta ISO patch

Building the ISO / Setting up Dolphin

NOTE: Even if you plan to play on real hardware, you will need Dolphin to build the Custom ISO

  1. Get the latest beta or dev Dolphin - dolphin-5.0-20201 or newer
  2. Before launching dolphin, create an empty file portable.txt in the same folder as Dolphin.exe
  3. Ensure you have the US version of ShadowTheHedgehog:
    • Right click the game in Dolphin, click Properties.
    • Click the Verify tab. Click Verify Integrity.
    • Hash should match this:
    • CRC32: f582cf1e
    • or
    • SHA-1: 5dc81ad9c97549394e30bedc252bfa37d4db1de0

Extraction of Game / FST Format

  1. Open Dolphin
  2. Right-click Shadow The Hedgehog in the game list
  3. Select Properties
  4. Select FileSystem Tab
  5. Right-click "Disc"
  6. Select Extract Entire Disc...
  7. Select a new folder where you will store the game content and modify its files

Replacement of Files & Converting FST to ISO

  1. Open the newly extracted folder and merge/overwrite the sys and files files with the two folders in ISO_EDITS.
  2. Make any additional changes you want (ex: Sonic over YellowAndroid, other CharacterMods, or any other changes you want
  3. Open Dolphin
  4. Open Config (next to Graphics and Controllers)
  5. Select Paths Tab
  6. Select "Add" for Game Folders
  7. Navigate to the folder where you extracted the game
  8. Open the sys folder, and select "Select Folder"
  9. Close the confirmation pane, your games list should populate a new 0 filesize game of Shadow The Hedgehog. The 0 filesize entry is the FST format game.
  10. Right click the FST format game and pick Convert File...
  11. The Convert window will appear, click "Convert..." and name it game.iso for Nintendont, or 2PShdTH-2021-06-26.iso for Dolphin.
  12. Move/Save the ISO to the Path Dolphin detects your games. A new 2P Mod Shadow entry should appear in your Dolphins game list with greater than 0 filesize. Use this when playing the game.

Configuring for Dolphin

Skip this section if playing on Nintendont

  1. Close Dolphin if it is open
  2. GUPE8P.ini needs to be moved/copied to <Dolphin.exe Directory>\User\GameSettings\
  3. If you did not make portable.txt earlier, instead you will find the folder at Documents\Dolphin Emulator\GameSettings\
  4. Unpack the SD Texture Pack v1.1 in <Dolphin.exe Directory>\User\Load\Textures\ (the unzipped texturepack folder should be named GUPE8P)
  5. If you want to use the 100% Save, place 8P-GUPE-SHADOWTHEHEDGEHOG.gci GCI file at <Dolphin.exe Directory>\User\GC\USA\Card A\
  6. Open Dolphin
  7. Open Config, Enable Cheats
  8. Open Graphics, Click Advanced Tab, Check/Enable Load Custom Textures and Prefetch Custom Textures

Dolphin 2P Mod Tweaks / Cheats Config

  1. Right click the game and choose Properties
  2. Choose the Gecko Codes tab
  3. Here you can enable/disable some of the codes and customize some tweaks, such as enabling Independent Respawns.
  4. Note some codes are embedded in the dol and are not able to be disabled.

Dolphin Performance & Enable Texture Pack Configuration

Select Graphics
    Under General:
        Set Backend to Direct3D 11 or Vulkan (as of 5.0-10912 Direct3D 12 can cause crashes for 2P-ShdTH)
        Set Aspect Ratio to Force 16:9 or Stretch to Window
    Under Enhancements:
        I recommend 3x Native if on a 1080p monitor, settings here are optional. If you are on a low end PC leave as 1x Native.
    Under Hacks:
        Check/Enable everything (big performance gain)
    Under Advanced:
        Check/Enable Load Custom Textures and Prefetch Custom Textures

Dolphin FPS optimization (CPU variable)

    Adjust clockspeed while running the game (Note: Dolphin only saves this change for next run if your game is NOT running; You should find the value that runs best then close the game, set it again and it will stay there):

    It varies per system, some run better with underclock/overclock

    I recommend trying 80%, 120%, 165%, 189%, 217%, 230%, 287% 
    Note that higher clockspeeds may result in audio distortions, if it occurs lower the clockspeed.
    I run 217% on an AMD Ryzen 7 3800X, and ran 165% on a Intel i5-3570k with both having great FPS for most levels
How?:
    Select Config
    Select Advanced Tab
    Adjust CPU Clock Override slider

I recommend loading in Glyphic Canyon, have one player stay at the start and the other go to the first area with enemies and Knuckles.
Try adjusting the slider here to reach 60fps. (It will be ~30fps before adjustments)

Configuring for Nintendont

Skip this section if playing on Dolphin

This assumes you are familiar with Nintendont

Done so far:

Other Known Issues (Not planned to be fixed)

Dev

Credits

Thanks