1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-05 00:19:02 -08:00
mm/Lua
2016-04-09 01:54:43 -07:00
..
data fix a couple entrance names 2016-02-01 01:32:39 -08:00
inject nevermind 2016-04-08 10:15:15 -07:00
lib update lips 2016-04-07 10:29:21 -07:00
menus inline scene names alongside entrance lists 2016-01-17 15:06:58 -08:00
.gitignore print to file 2015-12-26 23:22:15 -08:00
cheat menu.lua preliminary OoT warp support 2016-01-17 12:54:37 -08:00
count flags.lua be super strict about globals 2016-01-13 09:21:24 -08:00
inject.lua allow dumb injection 2016-04-09 01:54:43 -07:00
monitor actors.lua be super strict about globals 2016-01-13 09:21:24 -08:00
monitor animations.lua be super strict about globals 2016-01-13 09:21:24 -08:00
monitor debug memory editor.lua be super strict about globals 2016-01-13 09:21:24 -08:00
monitor debug text.lua reorganize scripts 2016-01-12 16:05:31 -08:00
monitor epona.lua update lips; set up proper modules 2016-01-13 07:56:18 -08:00
monitor event flags.lua be super strict about globals 2016-01-13 09:21:24 -08:00
monitor exits used.lua add crappy exit value monitor 2016-01-19 16:35:07 -08:00
monitor exits.lua inline scene names alongside entrance lists 2016-01-17 15:06:58 -08:00
monitor misc.lua ignore more known stuff 2016-01-26 01:12:20 -08:00
monitor rooms.lua be super strict about globals 2016-01-13 09:21:24 -08:00
monitor scene flags.lua update lips; set up proper modules 2016-01-13 07:56:18 -08:00
README.md remove m64p stuff for now; it's too broken 2016-01-13 09:33:41 -08:00
setup hundred.lua update lips; set up proper modules 2016-01-13 07:56:18 -08:00
setup race file.lua update lips; set up proper modules 2016-01-13 07:56:18 -08:00
test chests.lua reorganize scripts 2016-01-12 16:05:31 -08:00
test movement.lua be super strict about globals 2016-01-13 09:21:24 -08:00

Zelda 64 Lua Scripts

These are written for the latest revision of Bizhawk.

Note that some scripts lack full support for Ocarina of Time.

Scripts

cheat menu.lua

Provides an onscreen UI for many features. Has four different input methods; refer to the comment near the start of the script. Generally, it's opened with L and navigated with the D-Pad.

count flags.lua

Simply counts the number of scene flags globally set.

inject.lua

Assembles and injects code into the game.

m64p entry.lua

Ignore this for now. This is a rough interfacing script for passing to mupen64plus, and serves no purpose on Bizhawk.

setup hundred.lua

Instantly gives you all the items in the game, etc.

Does not set scene/event flags, except the one required for the Great Spin Attack.

setup race file.lua

Sets up a race file.

A race file is a save in which the first cycle has been completed, the Deku Mask has been acquired, and some other details.

test chests.lua

TODO

test movement.lua

Tests the fastest form of basic movement in Majora's Mask. Run it in the Clock Town Great Fairy's Fountain.

Monitors

monitor actors.lua

Lists actor data onscreen, and focuses the camera on them. Actors may be selected using the D-Pad.

monitor debug memory editor.lua

(Ocarina of Time) Used for determining which values listed by the in-game debug memory editor are constant.

monitor debug text.lua

TODO

monitor epona.lua

used to investigate this glitch with unloading Epona.

monitor event flags.lua

Monitors event flags, and announces which bits are being changed, and if they have ever been seen changing before.

monitor exits.lua

Dumps information on the current exit value; scene name, entrance, entrance with unused offset; using human-readable English names.

Provides the function dump_all_exits(fn) which produces a large csv file.

monitor misc.lua

Monitors unknown regions of memory. Currently, this region is a chunk of save data, ignoring known addresses.

monitor rooms.lua

Parses and dumps the currently loaded room headers.

monitor scene flags.lua

Monitors the current scene's flags, and announces which bits are being changed, and if they have ever been seen changing before.

watch animations.lua

Monitors Link's used animations.

Libraries

See the README in the lib directory for information.

Data

Any data (that isn't provided by the games themselves) is located in the data directory.

Much of this should be self-explanitory. However, files beginning with an underscores contain serialized tables (generally from monitor scripts) and usually won't make sense out of context.