spider spiderdave.com
These are Lua scripts for emulators. TAS-related scripts and tools are specifically excluded, as they're the most popular use for emulator lua scripts, and there are plenty of better places for that kind of thing. Below is a collection of emulators with lua support.

If you have a useful script you'd like to see here, contact me.
Name Platform Download Docs
BizHawk Multi-system Download Lua Function Library
VBA-ReRecording GBx Download Lua Function Library

freem's Scripts#
SpiderDave (Administrator)Friday, Dec 7th 2018 12:31 AM

Game: Various
Author: freem
Site: https://github.com/freem/fceuxLuaScripts
Emulator: FCEUX

Download

Various Lua scripts (and related files) for NES games.

Contents:

   connectedNES - Scripts for the connectedNES demo ROM
   RCProAm - Scripts for R.C. Pro-Am
   SuperDodgeBall - Scripts for Super Dodge Ball
   Tennis - Scripts for Tennis
The Addams Family - Level Selector v2#
SpiderDave (Administrator)Tuesday, Oct 10th 2017 1:56 PM

Game: The Addams Family
Author: ventuz
File: addams_family_level_select.lua
Emulator: FCEUX

Download

From the author: "This is a lua script for "Addams Family" for FCEUX 2.1.4a (it must be this version, newer looks wrong, idk what other version works) What does this lua do, allow you teleport across different level / rooms. Press Start to see this. Can be done by controller input."

Note: I tested it on FCEUX 2.2.3 and it seems to work fine on the European version.  USA version works though the text is cut off at the top.  Sometimes it puts you through the ground or other strangeness, but loading the level again with the script fixes it. --SpiderDave

sprite test#
SpiderDave (Administrator)Monday, Jul 3rd 2017 1:44 PM

SpiderDave_sprite_test.lua

Game: Various
Author: SpiderDave
Emulator: FCEUX

Download

Displays tile values of sprites.

• Tested in FCEUX 2.2.3
• Works for most games.
• Requires Lua-GD EDIT: No longer required.
• Make sure to download the Spidey folder too.

Windows:
FCEUX folder:
   gd.dll
   freetype6.dll
   libgd2.dll
   libpng13.dll
   jpeg62.dll
   libiconv2.dll

Lua scripts folder:
   SpiderDave_sprite_test.lua
   Spidey
       SpideyStuff.lua
       default_font.lua
       hexgrid.png
       hexgrid.gd
Zelda Randomizer Map Marker#
SpiderDave (Administrator)Thursday, Jun 8th 2017 7:07 PM

Zelda Randomizer Map Marker

Game: The Legend of Zelda
Author: Gannio
Emulator: FCEUX

Download

This script allows the player to map the location of area secrets on the map using the 2nd player's controller.
Various#
SpiderDave (Administrator)Saturday, Apr 15th 2017 9:59 PM

Game: Various
Author: haseeb-heaven
Site: https://github.com/haseeb-heaven/LuaScripts_NES
Files: Lua Scripts NES.zip
Emulator: FCEUX
License: See README

Download

Various scripts for:
• Super Mario Bros
• Battle City
• Mighty Final Fight
• Yie-Ar Kung-Fu
Lag Remover#
SpiderDave (Administrator)Wednesday, Dec 9th 2015 4:04 AM

Game: All (well, most)
Author: SpiderDave
Site: http://pastebin.com/DNJbimpL
Emulator: FCEUX

Download
UPDATE: This script really isn't needed anymore since newer versions of FCEUX have an overclocking option.  Try it!

Removes lag from games by speeding things up when lag is detected.  This makes the sound
missing, clicky, or garbled.  Can't really fix this since when the game lags, the sound doesn't.

Try it on your favorite laggy games: Castlevania II, Metroid (Mother Brain's room), etc.
LearningFFV.lua.lua#
SpiderDave (Administrator)Wednesday, Dec 9th 2015 4:04 AM

Game: Final Fantasy V
Author: Christopher DeMichiei
Site: http://www.thedeemer.com/Script.html
Emulator: FCEUX

Download

Display various stats.
Z2.lua#
SpiderDave (Administrator)Wednesday, Dec 9th 2015 4:04 AM

Game: Zelda II - The Adventure of Link
Author: Christopher DeMichiei
Site: http://www.thedeemer.com/Script.html
Emulator: FCEUX

Download

Display stats in game's own font.
bugs bunny birthday blowout.lua#
SpiderDave (Administrator)Wednesday, Dec 9th 2015 4:05 AM

Game: The Bugs Bunny Birthday Blowout
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/bugs bunny birthday blowout.lua
Emulator: FCEUX

Download

Display information, map
Rom Size Calculator#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:08 AM

Game: Any
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: rom size calculator.lua
Emulator: FCEUX

Download

Display ROM size
zelda 2 - 4matsy.lua#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:26 PM

Game: Zelda II - The Adventure of Link
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/zelda 2 - 4matsy.lua
Emulator: FCEUX

Download

Display stats, enemy info, life bars
zelda.lua#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:26 PM

Game: The Legend of Zelda
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/zelda.lua
Emulator: FCEUX

Download

Adds a life bar with animation
smb1lulz.lua#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:27 PM

Game: Super Mario Bros.
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/smb1lulz.lua
Emulator: FCEUX

Download

"Press up to cast MAGIC MISSILE!"

Hitboxes#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:27 PM

Game: Super Mario Bros.
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/smb1hitboxes.lua
Emulator: FCEUX

Download

Display hitboxes.

Area Scrambler#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:29 PM

Game: Super Mario Bros.
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/smb1areascrambler.lua
Emulator: FCEUX

Download

Scramble area, changing blocks and enemies (may freeze the game).

smb1.lua#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:27 PM

Game: Super Mario Bros.
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/smb1
Emulator: FCEUX

Download

Display movement speed information in a graph.
SMB Jetpack#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:28 PM

Game: Super Mario Bros.
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
File: nes/smb1jetpack.lua
Emulator: FCEUX

Download

Jump is replaced with a jetpack-style movement ability.
Xkeeper's emu-lua scripts#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:30 PM

Games: Various (Mostly NES, a few GBx)
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
Emulators: FCEUX, ?

Download
Many scripts for NES and a few for Gbx.  Details to be added later.

Tetris Mods#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:19 AM

Game: Tetris
Author: retrotails
Site: https://www.dropbox.com/s/79zw8wwa2q5jd39/tetris.lua?dl=0
File: tetris.lua.txt
Emulator: FCEUX

Download


Features:
* Smooth piece falling
* Skip pre-title screen early
* Custom text on loss
* More selectable music

Note: Currently, there seems to be an issue in the displayText function (It causes the "text" variable to increase in size until it causes the game to freeze).  A possible fix is to add "local text = text" after line 76.

Castlevania 2 Improvement#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:29 PM

Game: Castlevania 2
Author: SpiderDave
Emulator: FCEUX (please use this version.)

Download



















2018.11.8
Changes:

• Message speed increased
• New patterns for Dracula (needs work and balancing)
• Improved Death boss
• Improved Carmilla boss
• Skeletons can turn around
• Improved skulls, ghosts, medusa heads
• Improved floating eyes
• Hands are hidden until close.
• All fireballs should now face proper direction
• Don't re-fight Bosses
• Locked boss rooms
• Fireballs (except those created by script) are destructable
• Most special weapons now have a heart cost.
• Garlic disappears after a while.
• The cross is now equippable and works as a Banshee Boomerang
• Equip Dracula's ring and white dagger to use axes
• Fixed spelling "Prossess" -> "Possess"
• New top display
• Holy water burn effect. The bottle is also now blue.
• Diamond sprite graphics are changed, and trail added.
• Day starts at 1
• Changed lives display to mean "extra" lives (you can go down to 0)
• The period of invincibility when you get hit now starts when you land,
      •and the player flashes.
• Eye, Nail and Rib are always active if you own them.
• Experience is now gained when killing enemies, and experience system is reworked.
• Experience display shows total experience from all levels, not just current.
• Start at level 1; maximum level is 99.
• New "Level Up" toast.  Provides brief invincibility and health replenish on level up.
• Gold system added.  Gold is added automatically when killing enemies.
• Hearts no longer give experience and are no longer used to buy items.
• Maximum hearts lowered to 99 (these are now only used for special weapons).
• New reworked Sub screen

Debug and experimental stuff (may not be in the final version):
• Cheats
• Frame tester
• Bat mode

ToDo/Issues/Bugs:
• Snakes should turn before jumping
• Ferryman shouldn't bounce off the dock and leave
    • works most of the time; buggy.
• Custom projectiles need a better hit method.  Currently
      •It simply creates holy fire where the projectile was.
• Custom projectiles may disappear on non-enemy objects
      •such as moving platforms.
• Blood Skeletons
• Don't get items you already have (Dracula's parts, etc)
• Messages to fix: 0d 1e
• replace hp graphics when unloading script
• add mummy bandages
• overhaul menu system, make new sub screen
    • select weapons, relics, equipment
    • bestiary
    • map
    • clue list
• improve gold system
• add slash character to font
• add save system, remove lives?
• add production flag to remove all cheats/debug stuff
• test for rom.writebyte and show message to upgrade fceux if not there
• make garlic throw a bunch of garlic
• fix medusa heads, ghosts, etc.
• move selectable whip to a cheat option
• Change reflected fireballs to blocked fireballs (disappear)
• make bordia mountains useful (put something there)
• move respawn points to where you first entered the screen
• add stopwatch
• fix special weapons sometimes using hearts when you don't use them.

Bikkuri Nekketsu Shin Kiroku! Harukanaru Kin Medal Text Tool#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:20 AM

Game: Bikkuri Nekketsu Shin Kiroku! Harukanaru Kin Medal
Author: SpiderDave
Emulator: FCEUX

Download

This script takes Japanese text as it's being printed to the screen
and attempts to print the romanized text to the console.  Sort of an experiment.
Super Mario Bros. 2 Instant Character Switching#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:28 PM

Game: Super Mario Bros. 2
Author: SpiderDave
Emulator: FCEUX

Download

Instant in-game character switching by pressing select.

Changes:
 • Change character in game by pressing select
ToDo/Issues/Bugs:
 • Pressing select when not in game can cause undesired effects, such as
  distorted graphics, wrong palette.
 • Luigi gravity isn't quite perfect
 • Character switching can be abused in some ways, like continuing a
  princess float with another character, or switching mid-jump with toad
  to get a higher jump with Luigi.  A good fix would be to make switching
  only possible on the ground, or have switching cancel a jump.

Bionic Commando Rocket#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:20 AM

Game: Bionic Commando
Author: SpiderDave
Emulator: FCEUX

Download

This script lets the player select a rocket pack instead of the Bionic Arm.  I've fixed a number of issues, but there may be some bugs, especially with the jump option.

Street Fighter 2010 Improvement#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:20 AM

Game: Street Fighter 2010 - The Final Fight
Author: SpiderDave
Emulator: FCEUX

Download


This script is designed to improve some of the control issues, as well as other issues.
Fixes:
* Time limit for final stage increased from 200 to 300
* Time limit reset after cut scene on final stage
* Ability to shoot multiple times in the air
* Ability to shoot up in the air
* Ability to shoot down in the air without doing a backflip jump
* Changed ground kick shot to attack low
* Remove delay from start of walking state
* Jump straight up while on wall by pressing A + up
* Backflip off wall by pressing A + up + away from wall
* Press start to skip target screen (Currently may require more than one press)
* Display quote when script is started while title screen is showing
Cheats:
* Invincibility
* Infinite HP
* Full power
* Infinite time
* Press select to warp to next level
Power Blade Enhanced#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:21 AM

Game: Power Blade
Author: SpiderDave
Emulator: FCEUX

Download



This script is intended to make the game a little more challenging and fun.  Some enemies are modified, but the main feature is adding guest enemies.  At the moment, you can add the eagles from ninja gaiden and the flying shells from megaman.  The guest enemy positions can be saved and loaded with the script.  Currently you will have to add them yourself, but I'd like to save several modification files in the future.

Changes:
* (Many changes, to be detailed later)
battlekid.lua#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:21 AM

Game: Battle Kid: Fortress of Peril
Author: BillyWM
Site: https://github.com/BillyWM/FCEUX-Lua-Script-Collection
File: battleKid.lua
Emulator: FCEUX

Download

* Auto-savestate in each new room.
* Minimap
* Drag and drop
Rewind#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:08 AM

Game: Any
Author: BillyWM
Site: https://github.com/BillyWM/FCEUX-Lua-Script-Collection
File: rewind.lua
Emulator: FCEUX

Download

Rewind script; press select to rewind.
RCR Bot#
SpiderDave (Administrator)Saturday, Dec 12th 2015 2:08 AM

Game: River City Ransom
Author: BillyWM
Site: https://github.com/BillyWM/FCEUX-Lua-Script-Collection
File: RCR-bot.lua
Emulator: FCEUX

Download


Bot; The game plays itself.
RCR Stats Display#
SpiderDave (Administrator)Tuesday, Apr 5th 2016 6:29 PM

Game: River City Ransom
Author: BillyWM
Site: https://github.com/BillyWM/FCEUX-Lua-Script-Collection
File: RCR-statDisplay.lua
Emulator: FCEUX

Download

Display stats.
Metroid Enhanced#
SpiderDave (Administrator)Friday, Apr 7th 2017 11:38 PM

Game: Metroid
Author: Neill Corlett
Site: http://www.neillcorlett.com/metroidlua
(Note: site is down, try here)
Emulator: FCEUX

Download

This is a Lua script for FCEUX that adds some new stuff to an old game, Metroid:

• Equipment menu that lets you toggle powerups, including the Ice and Wave beams
• Maximum energy tanks raised from 6 to 7
• Start out with full health and missiles
• Minimap and large map on pause screen, with mouse interaction (tooltips / click elevators to navigate between areas)
• Clear time and item percentage
• Max missiles display
• Countdowns on broken blocks
• Popup boxes when you collect a powerup
• Mouse input on password screen
Bullet Avoider TWO THOUSAND#
SpiderDave (Administrator)Friday, Apr 7th 2017 11:43 PM

Game: Any
Author: Xkeeper
Site: https://github.com/Xkeeper0/emu-lua
Files: nes/superbulletdodger0002.lua, nes/superbulletdodger0003.lua
Emulator: FCEUX

Download
What happens when you take a ROM that only plays music and code a game around it? Something like this!