Post subject: lua scripts- where are they and tips
Active player (434)
Joined: 2/5/2012
Posts: 1687
Location: Brasil
where are they uploaded in the site? i want to learn lua scripting so i'm first reading the tutorials,but i think it would help to see some code that works already since i'm really unable to see how it's being implemented in the TASing,preferably to a simple game that's known.I don't know if it makes any difference but i want to apply them to snes and gba emulators.
TAS i'm interested: megaman series: mmbn1 all chips, mmx3 any% psx glitched fighting games with speed goals in general
Pokota
He/Him
Joined: 2/5/2014
Posts: 778
There isn't really a single repository for lua scripts. You "can" upload scripts to userfiles, bu-u-ut you can also use stuff such as the code tag on the forums to post lua scripts directly there.
Language: lua

while true do console.log("main loop active") emu.frameadvance() end
I actually have a dedicated thread for lua shenanigans over in the bizhawk subforum, called "Adventures in Lua" if you want to check that out. Outside of that, lua scripts generally end up in the threads for the games they're made for.
Adventures in Lua When did I get a vest?
Masterjun
He/Him
Site Developer, Skilled player (1970)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Sometimes you can find Lua scripts in the Game Resource page of that game.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Site Admin, Skilled player (1236)
Joined: 4/17/2010
Posts: 11264
Location: RU
Bizhawk and fceux include a whole bunch of lua scripts in the downloadable zips.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.