Rolanmen1
720b1cc2ba
Joypad.Set - Added Slot Number As An Optional Parameter
2012-03-29 19:53:16 +00:00
Rolanmen1
1c6b792a28
Joypad.Set Nox Fixed
2012-03-29 19:16:25 +00:00
Rolanmen1
4337ea9d63
Joypad.Set() correctly implemented.
2012-03-29 19:03:14 +00:00
adelikat
5203286f34
Lua - movie.getrerecordcounting() and movie.setrerecordcounting() implemented
2012-03-29 03:16:55 +00:00
andres.delikat
50e357f345
Lua - start work to implement lua.get/setrerecordingcounting functions
2012-03-29 03:09:46 +00:00
andres.delikat
de7bd1f346
Lua - implement anchor parameter to gui.alert()
2012-03-29 02:45:38 +00:00
andres.delikat
78ee40a546
Lua - remove mainmemory.readbyte() and mainmemory.writebyte(), these are not preferred since there are equivlant functions, and unlike the memory library, they are not useful for compatibility with scripts form other emulators.
2012-03-29 01:44:01 +00:00
Rolanmen1
b295d7cd23
Record Movie - User Can Choose To Save Movie Files As .tas or ."consolebeingran".tas
...
Play Movie - Same As Record Movie
2012-03-28 12:40:42 +00:00
adelikat
71396ad4b7
Lua - sort the functions in the lua function list (both in the console dialog, and console.luafunctionslist())
2012-03-28 12:26:43 +00:00
Rolanmen1
f7f4e64985
Joypad.Get recieves a numeric parameter to return only the specified controller. Is there other way to know of what controller is a button other than the first 2 characters of the string?
2012-03-28 08:35:43 +00:00
adelikat
b585a0a23a
fix savestate.registerload
2012-03-28 01:24:32 +00:00
adelikat
c88a6b4b7a
Lua - savestate.registersave/load - pass state name as a string (ex:"quicksave0"). Put event after the save/load not before. Event no longer fires on non-saveslot events
2012-03-28 01:03:50 +00:00
adelikat
397f289493
Lua - savestate.registersave/load - show exception message on error
2012-03-28 00:13:25 +00:00
adelikat
8bc8ec0e5b
Lua - output registersave/load error messages to the lua console not the screen
2012-03-27 23:58:56 +00:00
andres.delikat
655af69326
Lua - savestate.registerload() implemented
2012-03-27 21:17:20 +00:00
andres.delikat
0330e1f742
Lua - implement savestate.registersave()
2012-03-27 21:09:36 +00:00
andres.delikat
83fe222ba9
Lua - movie.getinput() - fix
2012-03-27 20:10:05 +00:00
andres.delikat
489086716d
Lua - Better output for movie.getinput()
2012-03-27 19:21:10 +00:00
rolanmen1
3e84fc9936
Lua - Implemented movie.getinput()
...
NOTE: There may be uknown errors.
2012-03-27 15:45:50 +00:00
zeromus
46a638ee96
fix bug in lua coroutines which made error propagation get mixed up and possibly result in a bunch of other subtle bugs
2012-03-27 07:25:36 +00:00
Rolanmen1
adfa18694e
Text Alignment Parameter Can Be Either Int Or Either A String
2012-03-27 01:49:27 +00:00
brandman211
cba68551d0
-Removed LuaVarArgs from gui_text. I think this function is pointless and over complicates things; let me know if you agree based on this example.
...
-Fixed DrawMessages, which was setting y = x, making the y parameter of gui.text useless.
2012-03-26 14:48:05 +00:00
adelikat
7daf318134
gui.text() - add a 5th parameters "anchor" that will anchor the text to top, left, bottom, or right. Same functionality as the message config anchor option.
2012-03-26 02:58:24 +00:00
rolanmen1
5283b4c06c
Avoid Crashing After Trying To Delete A Script With Errors.
2012-03-25 15:34:09 +00:00
rolanmen1
75c0a9f7d3
Script Errors Now Appears In OutputBox.
2012-03-25 09:47:31 +00:00
Rolanmen1
e9e988a83e
When Loading An Script With An Error, BizHawk Won't Crash. For Some Reason I Couldn't Show The Script Error In The OutputBox.
2012-03-24 21:55:37 +00:00
zeromus
e7eb6d8dcd
fix input.get
2012-03-24 18:39:55 +00:00
adelikat
96fc783107
Lua - implement input.get()
2012-03-24 15:55:22 +00:00
zeromus
5f39ba5bbd
add emu.yield, which when used allows a script to run while emulation is paused and interact with the gui/main window in realtime
2012-03-23 23:03:39 +00:00
zeromus
216a44e3f0
add input.getimmediate
2012-03-23 22:52:02 +00:00
zeromus
bc3e8606a2
refactor lua scripts to be more flexible
2012-03-23 19:44:47 +00:00
zeromus
0372969f13
change lua to use lua coroutines for multiple scripts instead of .net threads
2012-03-23 18:24:29 +00:00
adelikat
2e5ec4fdcb
Fix bugs in input config regarding atari controllers, fix auto-fire controllers for atari (both controllers)
2012-03-23 02:15:58 +00:00
rolanmen1
dcaf724dae
Fixed A Bug When Saving A Session That Prevented Them To Be Loaded Correctly.
2012-03-21 12:51:52 +00:00
brandman211
22feb43b78
joypad_set works.
2012-03-19 19:10:30 +00:00
brandman211
78d8effcfc
Made joypad_get independent of mnemonics. Here's the Lua script I used to test:
...
while true do
joypad.set("Up", true)
local buttons = joypad.get()
local result = {}
for index, value in pairs(buttons) do
table.insert(result, index .. ": " .. tostring(value))
end
gui.text(0, 36, table.concat(result, "\n"))
emu.frameadvance()
end
For some bizarre reason, after a while, the ordering of the buttons goes from stable to chaotic, making it impossible to read the buttons pressed. adelikat says not to worry about this because order is meaningless in Lua. Still, this is very curious...
TODO: Set using a ClickyVirtualPadController and Global.StickyXORAdapter.SetSticky(Controller + " Up", false)...whatever that means.
2012-03-19 14:52:23 +00:00
brandman211
a4a8dec005
Lua glue for zeromus.
2012-03-19 03:39:56 +00:00
adelikat
c92f1b556c
Lua - implement movie.filename(), movie.getreadonly(), movie.setreadonly()
2012-03-18 19:52:28 +00:00
adelikat
e695263eba
Lua - implement movie.isloaded() and movie.length()
2012-03-18 19:33:38 +00:00
adelikat
951721bb39
remove joypad.set and add joypad.get, as set was not built and get was
2012-03-18 19:14:50 +00:00
adelikat
44daaa0841
Lua - Implement savestate.save
2012-03-18 18:24:24 +00:00
adelikat
dac438ec02
Lua Console - Better dialog for lua functions list, stop and start sound on calling list
2012-03-17 02:18:09 +00:00
Rolanmen1
21fbe4f16e
Unwanted Exception When Turning Off All Scripts Fixed
2012-03-13 21:36:20 +00:00
adelikat
22f0b358aa
Make lua files run again
2012-03-12 01:57:38 +00:00
taotao54321
41b1d3c82a
Lua: now setrenderplanes() works also with SMS.
2012-03-11 17:25:25 +00:00
taotao54321
575c44f470
Now setrenderplanes() works also for SuperGrafx.
2012-03-11 09:51:23 +00:00
taotao54321
f25ddb2fce
Lua: now setrenderplanes() takes variable arguments
2012-03-11 09:16:09 +00:00
taotao54321
30b0dc6780
PCE: added settings to show/hide BG/OBJ for TurboGrafx (not for SuperGrafx)
...
Now setrenderplanes() works for TurboGrafx (not for SuperGrafx)
2012-03-11 06:50:46 +00:00
taotao54321
beb0b5a74d
Lua: added setrenderplanes(). For now, it works only for NES.
2012-03-11 05:47:38 +00:00
taotao54321
3dffd0b9b6
cosmetics (added trailing commas to make it easy to add new lua functions)
2012-03-11 05:13:12 +00:00