BizHawk/BizHawk.MultiClient/output
brandman211 7e75d983ae Came up with a solution for the joypad.get() issue.
-adelikat has informed me that in FCEUX, savestates contained the button state of the frame on which you saved on. He claims that this is redundant because you could retrieve the state from the frame you're loading on, so BizHawk will not do this.
-As such, I just retrieved the input for the frame you're saving on before associating the data with the state.
--This essentially includes the missing info without having to depend on a movie frame to get the data from.
--In order for this to make sense, I made it so that the main joypad.get() doesn't run on a frame you're saving / loading on.
--Finally, in order to show the data from before the save frame when loading the data, I cached that data as well.
---The two above steps require collecting the data for a state once and using that until the frame is advanced or a state is loaded. Otherwise, I'd be able to increase the count significantly by saving multiple times.
-All this said and done, I think this script is perfect now, and is way more convenient to use than the FCEUX counterpart.

Notes:
-As mentioned before, it seems that the scripts are disabled when the console is reset / a movie begins playing. I don't like this to begin with, but worse yet, I noticed that this somehow makes the button data carry over from before the reset. Why is this?
-It seems that using gui.text in savestate.registersave/load causes the text to be written over the previous text instead of clearing the screen and then writing. Is this expected? How can I avoid overlapping text?
2012-03-28 17:06:25 +00:00
..
Lua Came up with a solution for the joypad.get() issue. 2012-03-28 17:06:25 +00:00
NES/Palettes NES graphics config - checkboxes & config for Allow > 8 sprites per scanline, and clip left & right sides. Hook up palette file selection, and autoload palette toggling. Checking in NES .palette files 2011-06-11 12:54:26 +00:00
7z.dll set svn:executable on BizHawk.MultiClient/output/7z.dll 2012-03-08 15:23:08 +00:00
MakeRelease.bat fix release script 2012-03-02 04:16:28 +00:00
NesCarts.7z nes-upgrade nescartdb 2011-09-25 09:47:33 +00:00
ffmpeg.exe improve nes rom detection log, and set svn:executable on some files 2012-03-07 19:14:15 +00:00
gamedb.txt atari-add player 2 controls? 2012-03-22 06:33:28 +00:00
gamedb_neshomebrew.txt [NES] fix some interrupt-related bugs to pass more cpu tests, add reset handling, improve iNES header handling some more 2011-03-20 02:12:10 +00:00
gamedb_pce_cd.txt pce-cd: fix Snatcher, Madou Monogatari, Tangai Makyo, ValisIII playable now 2011-09-25 23:34:53 +00:00
gamedb_pce_hucards.txt fix some PCE savestate desyncs 2012-03-12 00:14:44 +00:00
gamedb_sega_8bit.txt Add NBA Jam [Proto] SMS to gamedb 2011-10-03 13:01:27 +00:00
update_gamedb.bat significant PCE timing/compat improvements, still poking at a few things 2011-07-19 03:53:07 +00:00
wget.exe gamedb updater script tech. rearrange to suit your tastes. 2011-07-18 23:10:25 +00:00
zip.exe bat file for making a release 2011-05-30 03:21:51 +00:00