1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-04-25 13:03:23 -07:00
mm/Lua
2021-01-20 23:32:45 +01:00
..
data more consistency and capitalization 2019-11-27 07:52:22 -08:00
lib preliminary support for OoT 0.9 2021-01-20 23:32:45 +01:00
menus bad commit messages incorporated 2018-02-06 12:22:26 +01:00
.gitignore print to file 2015-12-26 23:22:15 -08:00
cheat menu.lua disable input-eating in cheat menu (broken) 2020-07-29 16:07:21 +02:00
count flags.lua be super strict about globals 2016-01-13 09:21:24 -08:00
inject.lua fix injection point for OoT 1.0 (#1) 2018-11-28 03:52:19 +01: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 update lua text monitor for previous commit 2016-09-27 12:20:56 -07: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 update info on calculating exits 2018-05-03 19:50:43 +02:00
monitor misc.lua ignore more known stuff 2016-01-26 01:12:20 -08:00
monitor rooms.lua print the actual address of each setup 2016-10-03 14:02:20 -07:00
monitor scene flags.lua update lips; set up proper modules 2016-01-13 07:56:18 -08:00
README.md improve readmes 2016-11-10 17:54:30 -08:00
RNG index.lua add RNG reversal script 2019-07-02 09:44:53 -07:00
setup hundred.lua update lips; set up proper modules 2016-01-13 07:56:18 -08:00
setup race file.lua note default epona angle 2018-04-28 05:14:12 +02: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 underscore contain serialized tables (generally from monitor scripts) and usually won't make sense out of context.