hyperbx / game-patches

Game Patches for the Xenia Emulator.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xenia Game Patches

This repository contains Game Patches available for the Xenia Emulator.

Contributing

  • When submitting a game patch, make sure to create a Pull Request for a file to be added to the patches folder in the repository.

  • If the game you are submitting a patch for already has a .patch file, then create a Pull Request to edit that file and add your name in author.

  • This new file must be named [Title ID] - Game Title.patch - For example, a patch file for Halo 3 must be called 4D5307E6 - Halo 3.patch

  • File must contain executable hash which can be obtained here

  • File must contain empty line at end of file.

Example of the contents that should be included in the file:

Example (Click to Expand)
title_name = "Rockstar Table Tennis"
title_id = "545407DF"
hash = "469639BD50D42E70"

[[patch]]
    name = "Rockstar Table Tennis - Crash Skip"
    desc = "None"
    author = "Gliniak"
    is_enabled = true
    
    [[patch.be8]]
        address = 0x8237A3DB
        value = 0x05

For Developers

Memory Breakpoints can be set in CE or MSVC with emit_source_annotations

This will show xex address when breakpoint is hit, although there is currently no way to set breakpoint on execution within the Xenia Debugger.

Xex loader plugins for Reverse Engineering tools:

Ghidra XEX Loader

IDA 6 XEX Loader

IDA 7 XEX Loader

Obtaining XEX hash

Run executable of chioce once. Close Xenia Canary, Open xenia.log and search for Module hash: you should see something like: Module hash: 66726C5BBBB02C28 for default as an example.

Module hash: 0000000000000000 for (xex name)

Installing

  1. Download the ZIP file.

  2. Extract the patches folder to where your Xenia Canary executable is located.

  1. To enable patches (if they're not already enabled by default), open the .patch file that corresponds to your game's ID with a text editor (Notepad, Notepad++, VSCode, etc.), and set is_enabled from false to true

Installing individual patch

  1. Open patch file on GitHub

  2. Click Raw and save page as.

  3. Place file into patches folder.

  4. Enable patch if not already enabled by default.

About

Game Patches for the Xenia Emulator.