Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mudora

The Book of Mudora

The monoliths left by the Hylian people are inscribed with ancient script. If you find an inscription you cannot read, use this book and its meaning will become clear.

mudora is an ALttPR ROM inspection tool. It shows the item locations for a given ROM and can perform item searches if you're stuck. In addition to displaying item locations, mudora can attempt to solve the game for you, providing a shortest path candidate to defeat Ganon (defined as the path with the fewest required chests).

Warning

Using this tool to cheat on races makes Link sad. Link fainting

Usage

Web UI

Build a local web UI bundle:

go run ./cmd/mudora-web/build

Serve the UI with your favorite HTTP server, such as Python's built-in server:

# Assumes you've built a web bundle against a cloned repository, serving on port 8080
python -m http.server 8080 --directory ./cmd/mudora-web/web

CLI

go run ./cmd/mudora <flags>

Compile a binary from source and place it on PATH if you prefer:

go build ./cmd/mudora

Then use with mudora <flags>.

Print out the item locations for a ROM

mudora -rom <ROM>

Print the playthrough path for a ROM

mudora -rom <ROM> -solve

Display the start screen code for the ROM

The start screen code are the items that are listed at the top of the start screen for a randomized game. They serve as a visual identifier confirming you're playing the right seed if you share ROMs, such as during a race.

mudora -rom <ROM> -hash

Print the alttpr.com permalink for the ROM

All ROMs have an internal game ID that can be used to permalink the ROM download on https://alttpr.com. The game may or may not exist yet (especially true if you generated the ROM locally).

mudora -rom <ROM> -permalink

Read continuous bytes at an address

You can also use Mudora to read the ROM directly for convenience. Values are printed in hexadecimal.

Read 16 bytes starting at 0x1234.

mudora -rom <ROM> -read-bytes -start-byte 0x1234 -byte-count 16

It's a bit eaiser to use the shorthand for these flags:

mudora -r <ROM> -rb -sb 0x1234 -bc 16

Available Flags

  -bc int
        shortand for -byte-count
  -byte-count int
        byte count for -read-bytes
  -hash
        print ROM hash items
  -permalink
        print the alttpr.com permalink hash embedded in the ROM
  -r string
        path to ALttPR ROM file (shorthand)
  -rb
        shortand for -read-bytes
  -reachable
        print all reachable items
  -read-bytes
        read raw bytes (requires -start-byte/-byte-count)
  -rom string
        path to ALttPR ROM file
  -s    shorthand for -solve
  -sb string
        shortand for -read-bytes
  -solve
        print the shortest path to Ganon's Tower
  -start-byte string
        start byte for -read-bytes
  -v    shorthand for -version
  -version
        print the mudora version

Contact

Ty Porter

tyler.b.porter@gmail.com

Releases

Packages

Contributors

Languages