Commit Graph

2553 Commits

Author SHA1 Message Date
alyosha-tas 61038a13ae O2Hawk: Expose Core and start running code 2019-11-18 17:33:55 -05:00
adelikat 23f283aef8 create file watch on new script 2019-11-17 13:04:09 -06:00
adelikat b65f7ae8d9 Lua console - hack to fix reloading a script if it is not enabled 2019-11-17 12:51:08 -06:00
adelikat 16f977a87c Lua console - respect the "reload scripts on load" flag in some places that were ignoring it 2019-11-17 11:25:23 -06:00
adelikat 9f2ea48d2b Ram Watch - clear and update on screen drawing better 2019-11-17 09:53:19 -06:00
adelikat 901e9f2ceb InputRoll - when RowCount changes, deselect rows that may no longer exist, fixes crash on Lua Console when removing lua scripts (and lots of other bugs most likely) 2019-11-17 09:26:18 -06:00
adelikat c9f7838833 Lua console - put a cap on number of messages that can hit the console window in a give pass through lua scripts, set it arbitrarily at 50, fixes #376 2019-11-16 14:56:17 -06:00
adelikat c1ba930e64 Lua Console - fix double click toggle and unify logic between double click and toggle menu items 2019-11-16 12:01:43 -06:00
adelikat 6024af5dbc lua console - a bit of cleanup 2019-11-16 11:55:05 -06:00
adelikat dad8919b50 Lua functions list - unify ctrl+c and copy context menu item logic and fix bugs in both 2019-11-16 11:24:33 -06:00
YoshiRulz 6e809adc66
Disable Lua script loading on Unix (resolves #1735) 2019-11-17 02:26:23 +10:00
YoshiRulz a7ffdd948e
Add DelegatingLuaLibrary and set up ApiHawk instantiation 2019-11-16 17:19:04 +10:00
adelikat adf834480a remove .bkm as a standard movie type, require user to run the importer 2019-11-14 21:39:15 -06:00
feos 8a7e495039 allow suppressing more OSD savestate reports from lua 2019-11-10 17:09:10 +03:00
YoshiRulz ae12b0e23c
Revert some changes from #1237 and #1380 that aren't needed anymore 2019-11-04 19:53:14 +10:00
YoshiRulz 8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup 2019-11-04 14:30:05 +10:00
J.D. Purcell fec63fb66a Spaces -> tabs, fix mixed newlines. 2019-11-03 20:58:36 -05:00
J.D. Purcell 6eb44acd4f Fix noise from last merge. 2019-11-03 18:04:31 -05:00
adelikat e4e10646bf Merge branch 'master' into MoreUnixMonoCompatWork
# Conflicts:
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Common/BizInvoke/MemoryBlock.cs
2019-11-03 16:09:22 -06:00
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
adelikat b9ade1a555 Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-03 12:55:53 -06:00
adelikat 46385174da Hex editor - more cleanups 2019-11-03 12:46:39 -06:00
adelikat 7472e112ab Hex Editor - simplify key press logic even more 2019-11-03 12:25:36 -06:00
adelikat d57e8f790b Hex Editor - simplify keypress logic 2019-11-03 11:56:02 -06:00
adelikat c0c1c32b72 Hex Editor - more cleanup 2019-11-03 11:53:52 -06:00
adelikat 6de6e7b055 make nibbles logic more respectable 2019-11-03 11:48:31 -06:00
adelikat dfb87801af Hex Editor - restore funcionality to show typing in progress, in a way that doesn't suck 2019-11-03 11:31:53 -06:00
adelikat 2835694546 Hex Editor - fix crash when typing values into the hex editor with no address highlighted 2019-11-03 11:20:50 -06:00
adelikat 4d6d951286 Hex Editor - more cleanup 2019-11-03 11:18:23 -06:00
adelikat f047a19530 Hex Editor - consolidate highlighted address variables 2019-11-03 11:14:08 -06:00
adelikat 2ba579cfdf Hex Eidtor - rip out swap bytes crap and re-fix BigEndian functionality. Someone will have to explain why swap is needed. And do a not terrible implementation that leaves a non-funcitonal menu item! 2019-11-03 10:58:41 -06:00
adelikat 9fb8499ffe Hex Editor - lots of cleanups 2019-11-03 10:46:45 -06:00
adelikat 39586a5bf0 Remove NewHexEditor (can be developed on a branch instead) 2019-11-03 10:20:07 -06:00
J.D. Purcell fae50bc807 TAStudio: Fix crash when ctrl+clicking with no previous row selected. 2019-11-03 10:51:24 -05:00
adelikat ae7221988b cheats code cleanup 2019-11-02 11:25:11 -05:00
adelikat f967ebc3a7 cleanup Communication.cs 2019-11-02 10:33:26 -05:00
James Groom cdf42777dc
Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-02 18:15:46 +11:00
J.D. Purcell 39b54f7202 Fix missing UI usings. 2019-11-02 00:38:50 -04:00
adelikat fdd0076485 Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-01 20:59:40 -05:00
adelikat 5d6c33f080 remove TAStudio ui that was picking the renderer (it's automatic now) 2019-11-01 15:56:26 -05:00
adelikat 9141b0ed19 tool manager - don't go looking for tools outside of the EmuHawk assembly, I suspect this will actually fix the appveyor build issue, indirectly. 2019-10-31 21:03:19 -05:00
adelikat 5f1c76b285 Revert "ReflectionTypeLoadException troubleshooting."
This reverts commit e15e32eb78.
2019-10-31 20:52:50 -05:00
J.D. Purcell e15e32eb78 ReflectionTypeLoadException troubleshooting. 2019-10-31 20:16:01 -04:00
adelikat 6c7653e158 Merge branch 'master' into MoreUnixMonoCompatWork
This doesn't compile because of Input.cs, didn't know what to do. Also search for Merge TODO for some commenting things that probably need to be deleted
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs
#	BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs
#	BizHawk.Client.EmuHawk/tools/ToolHelpers.cs
#	BizHawk.Client.EmuHawk/tools/ToolManager.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs
#	BizHawk.Common/BizInvoke/DynamicLibraryImportResolver.cs
2019-10-31 17:01:19 -05:00
adelikat c78b6df363 remove Autohawk tool, this doesn't do anything and never caught on as an idea 2019-10-29 13:01:07 -05:00
adelikat abcda424dc fix a typo in a message box message, a few other cleanups in the vicinity 2019-10-29 12:50:28 -05:00
adelikat d65092e967 Misc cleanups in tool dialogs - mostly the use of expression body (C#6/C#7isms) 2019-10-29 09:27:56 -05:00
adelikat 0b965dffc5 misc cleanups 2019-10-29 08:23:45 -05:00
J.D. Purcell 28c0586c8b InputRoll horizontal - WIP. 2019-10-27 21:00:52 -04:00
adelikat 5c674e5f8f Watch UI classes - some cleanups, mostly C#7isms 2019-10-27 18:02:06 -05:00
J.D. Purcell 90724bb777 Work on InputRoll horizontal mode a bit. 2019-10-27 17:55:53 -04:00
adelikat f579961823 marker control - no need to set Color.White, that is the default 2019-10-27 10:14:29 -05:00
adelikat cbace55d01 Tastudio - misc cleanups 2019-10-27 09:59:05 -05:00
adelikat aaee3cf48c Tastudio - fix splitter restore logic on restore defaults 2019-10-27 09:34:32 -05:00
adelikat 6604e5dc17 InputRoll - cleanup and fix some typos 2019-10-26 17:16:15 -05:00
adelikat b54be19e9e InputRoll - reorg - put in its own folder, break out column and cell classes into separate files 2019-10-26 16:49:52 -05:00
adelikat 4d576ea9da Hex Editor - improve performance a bit when there are highlighted or frozen addresses by not newing up brushes and pens on every draw 2019-10-26 15:08:54 -05:00
adelikat 437c2f067a TAStudio - Consolidate the two restore defaults menu items. Restore splitter positions when restoring defaults 2019-10-26 11:40:04 -05:00
J.D. Purcell 6395089a9c TAStudio.ListView.cs: Fix missing alpha values. 2019-10-25 18:02:31 -04:00
YoshiRulz b5d188ad5e
Migrate RAM Search to PAVLV 2019-10-25 22:04:56 +10:00
YoshiRulz fb29663ce6
Platform-agnostic VirtualListView 2019-10-25 21:11:54 +10:00
YoshiRulz d0159ee565
Port InputRoll by adding GDI+ implementation
also available for Windows users via a toggle in TAStudio
2019-10-25 19:17:50 +10:00
adelikat c0e2529b20 tastudio - don't nag about inaccurate cores if autoloading a file 2019-10-24 15:49:23 -05:00
J.D. Purcell 1df41efc0d Consolidate core accuracy warning dialog. 2019-10-21 23:54:16 -04:00
alyosha-tas bc76a4a040 Cheats: typo fix 2019-10-21 14:30:34 -04:00
alyosha-tas 3f216fb4a4 Disable cheats hotkey 2019-10-21 14:18:25 -04:00
J.D. Purcell 4445a425a2 ToolManager cleanup. 2019-10-20 10:47:23 -04:00
J.D. Purcell 7e38bf61c9 ToolManager.IsAvailable fix. 2019-10-20 10:17:13 -04:00
alyosha-tas ff35dfab57 fix #1697 2019-10-20 09:42:54 -04:00
alyosha-tas db1dc74591 Mostly Fix #1696 2019-10-19 21:28:06 -04:00
adelikat ccdf616d46 convert Tastudio UndoHistory from VirtualListView to InputRoll 2019-10-19 20:03:05 -05:00
adelikat 7fc4e82ef9 Debugger Breakpoints - use ListView in virtual mode instead of VirtualListView 2019-10-19 20:03:05 -05:00
adelikat 9100526a0c Convert debugger to use InputRoll instead of VirtualListView 2019-10-19 19:16:45 -05:00
adelikat 701533f4fe convert CDL tool to use InputRoll 2019-10-19 18:17:21 -05:00
adelikat 279726d52c convert TraceLogger to use InputRoll 2019-10-19 18:17:21 -05:00
adelikat b84413b947 LuaFunctions dialog - use listview in virtualmode instead of virtuallistview 2019-10-19 14:26:45 -05:00
adelikat 9a4de3b70d remove some now unused methods 2019-10-19 10:55:37 -05:00
adelikat 6c22e1c4c6 Lua console - implement saving/loading of column info 2019-10-19 10:45:42 -05:00
adelikat f802f48754 Lua console - implement double click toggle 2019-10-19 10:11:04 -05:00
adelikat 571c172bd4 remove image stuff from lua console .resx 2019-10-19 09:54:38 -05:00
adelikat d6972d1252 Lua Console - use InputRolle, fix all kinds of bugs with using Separators 2019-10-19 09:50:21 -05:00
adelikat 83032a363b Ram Watch - hack for backwards config compatibility 2019-10-19 09:16:45 -05:00
YoshiRulz 881974b495
Re-enable the Lua Console on Unix 2019-10-19 15:31:58 +10:00
adelikat 5826d584cc convert cheats dialog to use InputRoll 2019-10-18 21:43:34 -05:00
adelikat 5b5a238590 Ram Search - allow column resize 2019-10-18 21:41:50 -05:00
adelikat 6977ac20a1 Ram Search - remove some code that i don't think is necessary with inputroll 2019-10-18 21:21:44 -05:00
adelikat 109b0fd8fe Ram Search - allow multi-select 2019-10-18 21:20:50 -05:00
adelikat d76531064e Ram Search - show Prev column by default 2019-10-18 20:07:16 -05:00
adelikat 3d33c3fa21 Ram Search - fix GoTo Address 2019-10-18 20:04:15 -05:00
adelikat a51bca38f0 convert RamSearch to use InputRoll 2019-10-18 18:56:21 -05:00
adelikat d898c321f2 make ram watch wider by default as input roll takes a bit more width for the text, fix changes default column width 2019-10-18 10:05:26 -05:00
adelikat b3e6d1b49f Ram Watch - wire up column sorting 2019-10-18 10:05:26 -05:00
adelikat 488b8457b0 Ram watch - this hack is no longer needed, inputroll doesn't have this issue 2019-10-18 10:05:26 -05:00
adelikat f875bf656d Ram Watch - more configuration settings 2019-10-18 10:05:26 -05:00
adelikat 3e1f783c27 Ram watch - fix multi-select 2019-10-18 10:05:26 -05:00
adelikat 9c574c2124 Ram Watch - cleanup 2019-10-18 10:05:26 -05:00
adelikat cfab768846 Ram Watch - saving/loading column settings 2019-10-18 10:05:25 -05:00
adelikat 5b83b9e019 Ram Watch - Wire up column hiding/showing 2019-10-18 10:05:25 -05:00
adelikat d3353f6acf Convert Ramwatch to use InputRoll instead of VirtualListView, rough in, still lots of todos 2019-10-18 10:05:25 -05:00
J.D. Purcell d3b62009e6 BasicBot: Fix DPI scaling issues. 2019-10-13 14:49:25 -04:00
J.D. Purcell 1ebdfa149a Fix NullReferenceException in ToolManager.IsAvailable and remove unnecessary try/catch. 2019-10-13 14:21:15 -04:00
J.D. Purcell eed94c11cc TAStudio: Improve control alignment and fix branches/markers not showing due to DPI scaling. Fixes #1151. 2019-10-13 13:04:23 -04:00
James Groom 90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
squashed PR #1591
2019-10-13 15:50:57 +00:00
YoshiRulz 0e9cc431d9 Rewrite IsAvailable, call to Assembly.GetTypes is now lazy 2019-10-13 15:27:37 +00:00
J.D. Purcell 9b8db26086 TAStudio: Disable DPI scaling at least until I find a proper fix. It's ugly but now usable at 150% scaling. 2019-10-12 23:27:42 -04:00
J.D. Purcell 0dcb0b9bb4 Fix DPI scaling issue in custom message boxes (Snex9x/QuickNES accuracy warnings). 2019-10-12 22:34:53 -04:00
adelikat 357cdf5df7 WatchEditor - some code cleanup 2019-10-04 13:29:08 -05:00
adelikat febdadc49e Ram Search - some cleanup 2019-10-04 13:19:14 -05:00
adelikat 093c86fb86 Ram watch - rename some properties to match naming style 2019-10-04 13:08:39 -05:00
alyosha-tas d2fe217869 GBHawk: expose 4x core 2019-10-04 13:52:29 -04:00
adelikat 3c0b793d97 lua console - fix a few other places where not having an association with .lua will throw an exception 2019-10-04 12:09:23 -05:00
adelikat 80150f70be Lua console - misc cleanups, remove some unused code 2019-10-04 12:06:23 -05:00
adelikat cf6c8c6dde Lua console - don't throw exception when opening a .lua file if the user has not associated a .lua file with an application. Fixes #1683 2019-10-04 11:52:46 -05:00
adelikat f81547b5ee Ram watch - more cleanup, remove unused and commented code, and some nitpicks 2019-09-28 09:17:00 -05:00
adelikat 19645e54bc Ram watch - a few cleanups, and change spaces to tabs 2019-09-28 09:11:41 -05:00
adelikat 5531c8731c Ram watch -update watch counter when duplicating a watch. Fixes #239 2019-09-28 09:11:26 -05:00
alyosha-tas 79c4b1e846 GBHawkLink3x: Initial Commits 2019-09-08 16:35:39 -04:00
YoshiRulz 0840687d4e
Allow disabling frame skip from Lua (resolves #1655) 2019-09-02 15:20:09 +10:00
YoshiRulz e3e51678b7
Improve docs in SavestateLuaLibrary (resolves #1649) 2019-08-28 15:11:14 +10:00
Chuck Ries 9e2ea95691 Fix TM and TS checkboxes for OBJ in SNES Graphics Debugger
Fixes an issue that caused the TM and TS checkboxes for the OBJ layer to
always be the opposite of what is correct.
2019-08-22 11:21:01 -07:00
YoshiRulz 8c53a06a6b
Port GetRelativePath 2019-08-17 16:03:27 +10:00
alyosha-tas b429cdd9ac Basic bot, spaces back to tabs 2019-07-28 09:27:41 -04:00
ShinobiWannabe 3edd6600be Fix merge issue
duplicate function
2019-07-15 23:00:41 -04:00
ShinobiWannabe 8c2eb9cd57 Merge branch 'master' into basicbot_tasstudio_issue 2019-07-15 22:54:50 -04:00
ShinobiWannabe bb0e0522f2 Icon change, and changed _lastAdvancedFrame to private
Had to put code back in to sync it.  Changed a variable to private and changed Copy icon on copy cutton to "duplicate".
Note: To fix the error with the pull request for being ahead x commits and behind x commits, must merge from upstream/master which got the missing commits.
2019-07-15 22:38:54 -04:00
ShinobiWannabe ac125fc19d Added Help MenuItem
Goes out to tasvideos page for the basic bot
2019-07-14 05:47:56 -04:00
ShinobiWannabe f7f3f65a19 Copy Best Input to Clipboard
Added a Copy button in the Best Attempt group.  There is a tooltip on the copy button that explains it literally copies the input and can be put into a text file or into TasStudio.
2019-07-14 03:51:26 -04:00
ShinobiWannabe 68a58c1dd5 CurrentBotAttmpt.Log will not go over amount of frames.
Restricting the Update function from adding additional _currentBotAttempt inputs.  Checks if Emulator.Frame advanced from last Update.  Works fine if you are not flipping through multiple branches in TasStudio. Doing that results in some other Ram Watches being off sometimes.
2019-07-12 21:08:12 -04:00
alyosha-tas 9fe277a3ff Vectrex: a bit more controller and frame cleanup 2019-07-10 06:58:41 -04:00
alyosha-tas 84b0917f65 Vectrex: Add schema and do some miscellanous clean up 2019-07-09 20:01:45 -04:00
alyosha-tas e9ca6f82bc Trace Logger: Fix exception when scrolling 2019-07-05 10:06:00 -04:00
adelikat 512b03f1b4 misc cleanups in tastudio files, mostly typos and redundant code 2019-06-28 17:51:03 -05:00
adelikat db0af57f54 fix unreachable code warning 2019-06-28 16:51:29 -05:00
adelikat 46a23e2b19 fix a few more warnings 2019-06-28 14:38:17 -05:00
adelikat 5075160355 some cleanups 2019-06-15 18:38:56 -05:00
adelikat 3ec2ec325a IStateManager - refactor indexer to not return a keyvalue pair, since it by design will try to return the exact frame, returning the frame is redundant 2019-06-15 16:43:21 -05:00
adelikat 394a6d86b5 According to the TSM api, the indexer will never return null, check length instead 2019-06-15 16:38:33 -05:00
adelikat cd0c237e31 simplify some tastudio logic 2019-06-15 16:26:16 -05:00
adelikat 5366b854a6 remove unnecessary savestate clone 2019-06-15 16:20:57 -05:00
adelikat eaef336492 rip out IStateManager.MountForWriteAccess() and simplify 2019-06-15 16:06:35 -05:00
adelikat 2a8b4504cd Simplify 2019-06-15 15:43:22 -05:00
adelikat e0a51eaab1 Rename IStateManager.StateCount -> IStateManager.Count 2019-06-15 14:49:43 -05:00
YoshiRulz 7cbd1decc1 It was a bug 2019-06-14 16:26:31 +00:00
YoshiRulz 1c0622d272 Move polar<=>rect conversion to new class 2019-06-14 16:26:31 +00:00
YoshiRulz 7e244be91a Inline event subscription 2019-06-14 16:26:31 +00:00
YoshiRulz 63f6be07fe Remove unused string.Format call 2019-06-14 15:54:17 +00:00
YoshiRulz 3fa0f71a24 Inline ToHexString extension where param numdigits is constant 2019-06-14 15:54:17 +00:00
YoshiRulz a6c1e69630 Use ToHexString extension 2019-06-14 15:54:17 +00:00
YoshiRulz a2a5ec7566 Replace $"{a}{b}" and similar with concatenation 2019-06-14 15:54:17 +00:00
feos 2423f44540 tastudio: drop laglog from branches since they don't have greenzone anymore 2019-06-13 19:39:52 +03:00