gocha / Lua Script

I put lua scripts I've written here. Feel free to use them. I would be glad if you left a comment in discussion page.

Table of Contents

General scripts

Mersenne Twister: pseudo random number generator (mt19937.lua)

Original C source is mt19937ar.c.

LuaBitOp is required for bitwise operations. To use this module, put the following line at the beginning of your script.

require("mt19937")

mt19937.lua

XorShift128: pseudo random number generator (xorshift.lua)

Original C source can be found at プログラミング言語C++ - Klabo-Wiki.

LuaBitOp is required for bitwise operations. To use this module, put the following line at the beginning of your script.

require("xorshift")

xorshift.lua

EmuLua scripts for certain games

Semi-Automated Map Capture - SNES Madou Monogatari

SNESMadou_SemiAutoMap.lua

Super Mario World Sprite Info Display

A result of quick coding, it seems to be somewhat useble though.

smw-sprites.lua (this is old)

Super Mario World Cheat Script (smwcheat.lua)

This script provides you a few of cheat functions for Super Mario World (U).

smwcheat.lua

Gradius III (U/J) Mouse Input Interface (gra3mouse.lua)

This script is written as a sort of examples of input.get use. By using the script, you can play Gradius III with mouse control.

gra3mouse.lua

Tag: 個人ページ Lua