https://github.com/faithvoid/script.xbesoundtrackpatcher
XBMC4Xbox script to hex edit .XBE files to point soundtracks towards F:/ instead of E:/.
https://github.com/faithvoid/script.xbesoundtrackpatcher
Last synced: 8 months ago
JSON representation
XBMC4Xbox script to hex edit .XBE files to point soundtracks towards F:/ instead of E:/.
- Host: GitHub
- URL: https://github.com/faithvoid/script.xbesoundtrackpatcher
- Owner: faithvoid
- Created: 2024-11-13T19:54:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T09:03:16.000Z (over 1 year ago)
- Last Synced: 2025-04-13T23:02:10.369Z (about 1 year ago)
- Language: Python
- Size: 87.9 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## XBE Soundtrack Patcher for XBMC
A utility that modifies the hex of .XBE files to read soundtrack files from "F:\TDATA\FFFE000" instead of "E:\TDATA\FFFE000". Includes ST.DB viewer to view contents of each individual ST.DB file.
## Installation:
- Install script to "Q:\scripts\XBESoundtrackPatcher" (must be installed there as script paths are hardcoded!)
## How to use:
- Run the script
- Select "Copy ST.DB folder (E: to F:)" if you don't already have a soundtrack folder set up on your F:\ partition.
- Select "Patch .XBE Soundtrack (E:\ to F:\)"
- Select the game .xbe you'd like to modify (make sure you're using an extracted copy of the game you're patching, attach.xbe files will not work!)
- Select the folder you'd like to save the modified .xbe in and what name you'd like to save it under.
- ???
- Profit.
## Bugs:
- Track count currently doesn't show up in ST.DB viewer, will fix ASAP!
- You tell me.
## Why?
The F:\ partition on most modded Xboxes tends to be much larger than the default E partition, so this is a great way to maximize how many songs you can have at once on your Xbox, or keep different soundtracks seperate with a little modification!
## TODO:
- Ask the user to set a custom directory to load soundtrack files from (as long as it's the same amount of characters, any custom directory should be okay! ie; F:\SOUND\TONYHWK instead of E:\TDATA\FFFE000 for a custom Tony Hawk soundtrack folder).
- Test Dual-HDD support (if you'd like to test this yourself, replace "patcher.py" with "patcherdualhdd.py". This will default to the first partition of your secondary HDD.). Requires a dashboard capable of reading from a secondary HDD, like LithiumX, for file management.
- Add write support to ST.DB viewer(?) (trying to figure it out is giving me a migraine so any help is appreciated)
- Use as a basis for a savegame patcher? (possibly useful for getting around the 240 save game limit, or storing a "secondary profile")
## Credits:
- Sifaw99 on OGXbox for the original documentation of what hex values had to be modified!
- root670 & kickerofbottoms - ST.DB research (the ST.DB viewer script uses a lot of pystdb code!)