Difference between revisions of "Lua Scripts"
(→DKC1 Scripts) |
(→Bizhawk Scripts) |
||
Line 12: | Line 12: | ||
This script shows the hitbox of each entity as well as various other information! The 5 categories shown here from left-to-right are: id, x speed, y speed, x position, and y position. All values shown on-screen are in hexadecimal. | This script shows the hitbox of each entity as well as various other information! The 5 categories shown here from left-to-right are: id, x speed, y speed, x position, and y position. All values shown on-screen are in hexadecimal. | ||
− | [[File: | + | [[File:Wiki_array+hitbox.png|400px]] |
Download the Lua script by Amaraticando and RainbowSprinklez here! | Download the Lua script by Amaraticando and RainbowSprinklez here! |
Revision as of 15:26, 1 December 2022
Contents
What is Lua?
Lua is a programming language that is built-in to many emulators. It is used primarily for TASes, but has many applications. The ones provided here work for Snes9x rr only unless otherwise specified. If you have any ideas for future Lua scripts, contact Kipples_ or Rainbowsprinklez.
How to Use
Download and unzip the file where you'd like. In Snes9x rr v1.51, go to File>Lua Scripting>New Lua Script Window. From here, hit browse and navigate to the .lua file you unzipped. Finally, hit run! You should notice white numbers/letters appear at the top of your screen!
Download snes9x here! First one! [1]
DKC1 Scripts
Bizhawk Scripts
This script shows the hitbox of each entity as well as various other information! The 5 categories shown here from left-to-right are: id, x speed, y speed, x position, and y position. All values shown on-screen are in hexadecimal.
Download the Lua script by Amaraticando and RainbowSprinklez here!
File:DKC-hitboxes-bizhawk-v1.0+objects.zip
Useful (outdated but still OK) scripts
First up is a timer. Starts when you press L and ends when you press R. It clears when you load a save state. AND it could be used for any SNES game, not just DKC1. This only works on Snes9x rr.
Next we have an upgraded timer for you. This will show you your best. Also compatible with any game, this works exactly the way the other one does.
This is pretty special. This lua script makes you invincible to ANYTHING. However, there is a catch. The L button turns this feature on while R turns it off. It is useful off in practicing SJRs.
Fun Scripts
Inspired by Pichi's "cursed cart", this script enables X to fly! Enjoy!
DKC2 Scripts
To use these scripts, you will need a special snes9x emulator. Visit snes9x-rr and download "snes9x-1.51-rerecording-v7-win32.zip" (latest version when this was written). To use, save the text from the below pastebins to a .txt file then change the extension to .lua. Then simply open the rom, go to File-> Lua Scripting-> New Lua Script Window and load the script!
- Lua ID Script
- Lua Timer
- Lua ID Script for Bizhawk
- Bizhawk Haunted Hall Practice Script (J)
- Bizhawk Haunted Hall Practice Script (U)