Posts for BetaTester

Post subject: gens.emulateframeinvisible normal show the GUI
Joined: 1/31/2011
Posts: 2
I'm trying to write functions to speedup the emulator, but the codes do not work, gens.emulateframeinvisible (), and nothing of these works. In older versions of Gens, these functions worked, but not work in the last build. Exemple: gui.register(function() gens.emulateframeinvisible() end) Running this script, the emulator remains displaying images. How to disable the GUI?
Post subject: LUA 6 Buttons in Gens 11b
Joined: 1/31/2011
Posts: 2
Hello, I am newbie I tried creating a LUA-macro in the Gens11b, and did not work A, B, C keys works X, Y, Z not works You need some code to enable a 6 buttons? Even changing the configuration of the controls in Gens11b, but not work my 6 buttons LUA macro ROM = Ultimate Mortal Kombat 3 OS = Windows XP 64Bit SP2 Emulator = Gens11b ___________ lalaice = { {down=true,right=false},{down=true,right=false}, {down=false,right=true},{down=false,right=true}, {A=true},{A=true}, } lalacombo = { {A=true,B=true},{X=true},{X=true},{X=true},{X=true}, {X=false},{X=false},{X=false},{X=false},{X=false}, {X=true},{X=true},{X=true},{X=true},{X=true},{X=true}, {X=false},{X=false},{X=false},{X=false},{X=false}, {A=true},{A=true},{A=true},{A=true},{A=true}, {A=false},{A=false},{A=false},{A=false},{A=false}, {C=true},{C=true},{C=true},{C=true},{C=true},{C=true}, {C=false},{C=false},{C=false},{C=false},{C=false}, {Z=true},{Z=true},{Z=true},{Z=true},{Z=true},{Z=true}, {Z=false},{Z=false},{Z=false},{Z=false},{Z=false}, {Z=true},{Z=true},{Z=true},{Z=true},{Z=true},{Z=true}, {Z=false},{Z=false},{Z=false},{Z=false},{Z=false}, {left=true, Z=true}, {left=true, Z=true}, {left=true, Z=true}, {left=true, Z=true} } function doframewith (buttons) repeat joypad.set(buttons) gens.emulateframe() gens.wait() until abortmacro or not gens.lagged() end function domacro (buttonseq) abortmacro = false for i=1,#buttonseq do if abortmacro then return end doframewith(buttonseq[i]) end end gens.registerbefore(function() if alreadyin then return else alreadyin = true end if input.get().control then domacro(lalaice) end if input.get().shift then domacro(lalacombo) end alreadyin = false end)