BizHawk/BizHawk.MultiClient
brandman211 d1b00e6d4d Added my converted ButtonCount.lua script (Original here: http://code.google.com/p/brandon-evans-tas/source/browse/Lua/ButtonCount.lua)
-As you'll recall, the script has 3 methods of keeping track of input:
--1. Tracking the button counts in real time. This took some minor adjustments, but seems to work fine.
--2. Parsing the button presses from a loaded, read-only TAS file when starting the script, if possible.
---This works well enough after a good amount of refactoring, but I only have it rigged to work for NES.
---As always, note that this method is very slow for big movies, which is why we only use it once.
--3. Caching the counts when saving a state and loading them when loading a state.
---savestate.registerload and savestate.registersave are not currently supported by BizHawk, so this is not functioning at all.
-I propose that a function called movie.getframe(frame) be added that gets status of all of the buttons, just like joypad.get(), for a given frame of a movie.
--This makes the would make method 2 trivial and fast.
--It would allow me to generalize the function for all platforms easily.
---Certainly there might be some discrepancies about which buttons should be disallowed, if any (Is Reset a button press?), but still. 
--If this method could somehow work for non-readonly movies, then I'd be able to use the movie to get the counts when I load a state that doesn't have cached data.
---Trust me when I tell you that this would be immensely useful for minimum button TASing. The process would be seamless, and all of these methods combined would provide perfect accuracy while being fairly efficient and only using intensive routines when absolutely necessary.

Note: Earlier, I came up with the idea for a function that lets you set what frame of the movie you are on, which would be useful for endless TASes like we've already discussed, adelikat. Do you still think this is worth having?
2012-03-27 06:44:47 +00:00
..
Gameboy Gameboy - implement memory domains (system bus only for now) and other small things 2011-06-27 01:05:30 +00:00
Input Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows 2012-03-12 04:44:34 +00:00
NEStools cleanup some transient junk in mainform, fix nametable viewer screenshots garbage pixels off by one bug, add shortcut buttons for common display area sizes (this last part was tricky since the nes graphics control dialog has a feature which prevents its size from changing in visual studio) 2012-03-25 08:52:52 +00:00
PCEtools PCE BG Viewer - GUI overhaul 2012-03-16 15:29:05 +00:00
Properties Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows 2012-03-12 04:44:34 +00:00
SMStools Added SMS specific menu: Graphics Settings 2012-03-11 17:08:25 +00:00
TI83tools TI83 Keypad - implement the 0 button, somehow it was missed 2012-02-21 03:45:25 +00:00
config Finished merging...499 lines. Not as good as I had hoped, but the file would have been significantly smaller if controller templates just used dictionaries and had just a little bit more consistency. 2012-03-25 07:10:11 +00:00
images Add an atari controller image for controller config dialog 2012-03-10 14:10:50 +00:00
movie fix input.get 2012-03-24 18:39:55 +00:00
output Added my converted ButtonCount.lua script (Original here: http://code.google.com/p/brandon-evans-tas/source/browse/Lua/ButtonCount.lua) 2012-03-27 06:44:47 +00:00
tools Show Errors On Lua In The Output Box More Accurately 2012-03-27 03:34:21 +00:00
AboutBox.Designer.cs nes-fix a little bug in MMC2 and support MMC4 while i am at it 2011-09-21 05:47:41 +00:00
AboutBox.cs add interim build indicator to aboutbox 2011-09-17 22:03:06 +00:00
AboutBox.resx nes-fix a little bug in MMC2 and support MMC4 while i am at it 2011-09-21 05:47:41 +00:00
ArchiveChooser.Designer.cs Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
ArchiveChooser.cs fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
ArchiveChooser.resx Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
AviWriter.cs avi size segmentation 2011-07-13 04:24:55 +00:00
BizBox.Designer.cs About box - add contributers 2012-03-11 01:22:02 +00:00
BizBox.cs A real about box 2011-07-31 02:13:24 +00:00
BizBox.resx Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
BizHawk.MultiClient.csproj make GetExeDirectoryAbsolute more robust (handle # in paths) 2012-03-21 06:38:19 +00:00
Config.cs -Made it so that the right controllers use the default settings. 2012-03-25 06:42:31 +00:00
ConfigService.cs try not to crash when size of arrays in config file changes 2012-03-24 17:47:52 +00:00
ExternalCoreSupport.cs forgot an add 2011-07-24 07:00:54 +00:00
Global.cs -Started refactoring InputConfig.cs as adelikat requested: 2012-03-24 19:45:50 +00:00
HawkFile.cs cleanup Controller class (remove old sticky and forcing code) 2011-07-24 20:37:10 +00:00
LogConsole.cs Bugfix for log console. 2012-03-09 21:36:55 +00:00
LogWindow.Designer.cs PCE - Implement PCECD system id in core and in game info. Also set cancel property of LogWindow winform 2011-09-24 17:05:34 +00:00
LogWindow.cs Removed unused LogWindow::ShowConsole() 2012-03-09 21:22:52 +00:00
LogWindow.resx Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
LuaImplementation.cs Text Alignment Parameter Can Be Either Int Or Either A String 2012-03-27 01:49:27 +00:00
LuaInterface.dll luainterface - throw exceptions when lua_resume errors 2012-03-27 03:15:57 +00:00
MainForm.Designer.cs name the context menu items better things 2012-03-24 03:18:02 +00:00
MainForm.MenuItems.cs try not to crash when size of arrays in config file changes 2012-03-24 17:47:52 +00:00
MainForm.Movie.cs Fix loading of post movie savestates (savestates made while in movie finished mode). Complete fix When in read-only. While in read+write it throws a loadstate error. This isn't ideal but at least prevents possible movie corruption. 2011-09-29 01:46:35 +00:00
MainForm.cs gui.text() - fix so that screen is clearned at the beginning of each frame, so that the text stays drawn when paused 2012-03-26 03:01:39 +00:00
MainForm.resources 2011-01-11 02:55:51 +00:00
MainForm.resx Disable NES Debugger menu item, and remove a commented out debug line I left by accident 2011-08-27 16:30:59 +00:00
MruStack.cs fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
NameStateForm.Designer.cs Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
NameStateForm.cs 2011-01-11 02:55:51 +00:00
NameStateForm.resources 2011-01-11 02:55:51 +00:00
NameStateForm.resx Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
PlayMovie.Designer.cs Play Movie dialog - Match Game Name option, checked by default. 2011-12-27 00:15:48 +00:00
PlayMovie.cs Removed .fm2 / .mc2 from the Play Movie dialog. 2012-03-27 01:39:06 +00:00
PlayMovie.resx Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
Program.cs 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
RecentFiles.cs fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
RecordMovie.Designer.cs Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
RecordMovie.cs Refix recording movies from "Now" so that the StartsFromSavestate flag gets properly stored into the movie file 2011-09-04 19:04:00 +00:00
RecordMovie.resx Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
RenderPanel.cs Revamp the Punchout stats using the anchor property of gui.text() 2012-03-27 02:17:17 +00:00
Rewind.cs pce-cd: support arcade card, fix cd-audio playback bug 2011-09-19 00:39:28 +00:00
RomGame.cs general cleanup.. remove a bunch of warnings.. improve log console system a bit.. add new icons for log console window.. remove old demo psx interop system and add new, simpler one, which isnt really tested yet but is way less annoying. 2012-02-24 20:38:35 +00:00
SavestateManager.cs M-M-M-MONSTER COMMIT! change Game-load api stuff 2011-08-04 03:20:54 +00:00
ScreenSaver.cs fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
Sound.cs Conditionally compile Windows code, make Throttle class portable, and add dummy input/audio implementations for non-Windows 2012-03-12 04:44:34 +00:00
Throttle.cs dont use so much cpu while paused and whatnot 2012-03-18 17:11:59 +00:00
Watch.cs Ram Watch - Implement separator feature + reading it from files. Todo: Insert Separator menu/toolbar item 2011-01-21 18:37:53 +00:00
lua51.dll fix input.get 2012-03-24 18:39:55 +00:00