Post subject: addons for snes9x?
Joined: 10/14/2010
Posts: 18
ok, im pretty new to all this but i have mupen 64 and an addon that brings the controller up in a separate window so i can control what im doing that way. im just curious if theres one of these nifty things for snes. the reason i ask is i tried to start a run of super metroid and found it sorta difficult holding all the keys i needed to hold while tapping the the frame skip key.
i wanna go fast
Skilled player (1652)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
There currently is not a tool like that which I am aware of. I'm sure someone could whip up a pretty simple Lua script using FatRatKnight's buttons script for you. I'll see what I can do. I've been meaning to try that script.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Skilled player (1827)
Joined: 4/20/2005
Posts: 2161
Location: Norrköping, Sweden
Here's a (very simple) lua script with which you can easily record many button presses.
Language: lua

while true do --set the input you want pressed to 1 --leave everything else as 0 --as the script is running, the input you have set to 1 will be pressed Y=1 X=0 A=0 B=1 left=0 right=1 up=0 down=0 L=0 R=0 start=0 select=0 --don't touch anything below here key1={} if Y==1 then key1.Y=1 end if X==1 then key1.X=1 end if A==1 then key1.A=1 end if B==1 then key1.B=1 end if left==1 then key1.left=1 end if right==1 then key1.right=1 end if up==1 then key1.up=1 end if down==1 then key1.down=1 end if L==1 then key1.L=1 end if R==1 then key1.R=1 end if start==1 then key1.start=1 end if select==1 then key1.select=1 end joypad.set(1,key1) snes9x.frameadvance() end
Having some kind of button system is probably better, but until then, hopefully this script can help.
Tompa
Any
Editor, Expert player (2216)
Joined: 8/15/2005
Posts: 1942
Location: Mullsjö, Sweden
There's an autohold function in SNES9X that is awesome. Go to Config -> Controls -> Configure Controls... Find Joypad #1 Turbo in the list and set a button for Autohold. Then hold the autohold button and press the buttons you want to be held in. No need for any lua stuff.
Editor, Skilled player (1202)
Joined: 9/27/2008
Posts: 1085
DarkKobold wrote:
There currently is not a tool like that which I am aware of. I'm sure someone could whip up a pretty simple Lua script using FatRatKnight's buttons script for you. I'll see what I can do. I've been meaning to try that script.
It'll fail for this application -- Snes9x doesn't have run-while-paused lua code. Well, 1.43 and 1.51 don't. 1.52 just barely does, but it's lacking in many lua tools at the moment, to my knowledge. But basically, if you get it to work, I will ask: How?
Joined: 10/14/2010
Posts: 18
thanks alot guys, right after i posted this i started looking around and found out about the auto hold command but couldnt figure out where it was lol (noob!!!!) so thnx for the details on that..... but i dare say the addon would be sick :)
i wanna go fast