Skip to content

Creates a customized attach.xbe from a game's default.xbe

License

Notifications You must be signed in to change notification settings

greguz/attach-xbe-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build-attach-xbe

Build an attach.xbe from a game's default.xbe with all game's info injected.

For XBE technical details see here or the PDF saved inside this repo.

The script will inject the full XBE manifest extracted from source xbe, and the XBX image (if present) into a newly-created attach.xbe. The attach.xbe used is the one contained inside Rocky5's Python script (and here we have some Frankenstein compiled JavaScript).

Download

See GitHub Releases.

Usage

Usage:
  build-attach-xbe [...OPTIONS] [SOURCE FILE]

Options:
  -h,  --help                     Print this help text and exit.
  -o,  --output [TARGET FILE]     Output file path, defaults to attach.xbe.
  -v,  --version                  Print version information and exit.

When the SOURCE FILE is not defined, a raw attach.xbe is generated (without any injection).

Build

npm i && npm run build

Used rollup with pkg to generate the executables.

FAQ

It works?

Yup, tested (and currently using) with UnleashX and LithiumX. Both title names and images are showing up correctly.

But I have a ISO file!

Use extract-xiso to extract the whole game's content, or use xbfuse (Linux only) to mount the ISO and access the files directly. Redump-style ISOs are also supported by both those projects.

I remember some JavaScript...

Fear not my friend, your brain is working correctly.

See v0.2.0 release on GitHub.

Coffee-time?

:)

"Buy Me A Coffee"

Special thanks to

About

Creates a customized attach.xbe from a game's default.xbe

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages