Commit Graph

2501 Commits

Author SHA1 Message Date
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
feos bc990061b7 tastudio: refactor out a variable
fix autorestore triggering while drawing on future frames
2019-06-12 22:34:16 +03:00
feos b90e4b9838 tastudio: fix seek progressbar not to disappear on (every other) middle-click and || button
mainform: show pause icon first, even if we're seeking, because seeking is mostly a tastudio feature and its status is reported by tastudio already. fixes #1456
2019-06-10 23:34:19 +03:00
YoshiRulz 9b1eaca7be
Re-allow PadInputType.AnalogStick with reversed ranges
N64 standard controller in virtual pad no longer crashes
2019-06-11 05:11:24 +10:00
YoshiRulz 0d610301ec Use a new order for socket connection instructions (resolves #1174)
patch by @Ashafix
2019-06-10 21:32:42 +10:00
zeromus 6a548220bd
Merge pull request #1462 from brian-armstrong/brian/mem_callback_addr_value
Studies show that PR's with threads exceeding 40 posts suffer a 50% greater chance of never getting merged for each additional post
2019-06-10 02:01:06 -04:00
feos f5bcdc4aba fix #1513
OSD info on branch hover is mandatory, so I'm not removing it. drawing the branch OSD-framebuffer on the emulator screen is barely possible without butchering everything, so I'm not doing it. instead, keep both core and client framebuffers and use them where they make sense: osd FB shows up on hover, core FB goes to emulator screen on branch load.
2019-06-09 20:34:14 +03:00
Brian Armstrong 2c6ecb68bd Merge branch 'master' into brian/mem_callback_addr_value 2019-06-06 02:11:04 -07:00
Brian Armstrong d41bd867b8 flags 2019-06-06 02:04:47 -07:00
Maximilian Peters 80c0fe571b Squash merge #1505 - set socketServer IP/port via Lua (resolves #1495) 2019-05-29 15:06:38 +10:00
James Groom 27a4062ea2
Merge pull request #1568 from TASVideos/unix_prep
Preparation for Unix port
2019-05-29 15:01:27 +10:00
alyosha-tas 65e350ef7d Fix #1553 2019-05-27 10:56:58 -04:00
feos de9582f0e7
Revert "Rewrite ToolManager.IsAvailable" 2019-05-26 23:01:40 +03:00
James Groom d11e35dc44
Add CurrentOS check paired with the one in MainForm.Events.cs 2019-05-20 23:32:46 +10:00
YoshiRulz 5a60e7f926
Rewrite IsAvailable, call to Assembly.GetTypes is now lazy 2019-05-20 18:38:09 +10:00
YoshiRulz df232e6184
Add additional CurrentOS checks 2019-05-19 14:46:50 +10:00
YoshiRulz 58c738957c
Rename PlatformLinkedLibSingleton and children 2019-05-18 15:40:46 +10:00
YoshiRulz d76e1a8a8b
Refactor PlatformLinkedLibSingleton and replace RunningOnUnix with CurrentOS 2019-05-18 15:30:29 +10:00
alyosha-tas ca5585dfaa A2600: boost grip controller 2019-05-05 07:53:28 -04:00
alyosha-tas 7c3d4f7e48 use previous value 2019-04-27 10:30:50 -04:00
alyosha-tas d726a6476f Fix #1555 2019-04-27 07:59:10 -04:00
alyosha-tas 1976e8e027 Disassembler: mouse wheel scrolling 2019-04-21 19:01:13 -04:00
YoshiRulz 2bb63c2bf1
Fix go to address UX in RAM Search 2019-04-22 01:09:18 +10:00
alyosha-tas 655729f29c TAStudio: orderly shutdown if starting TAStudio returned nullEmulator. 2019-04-21 08:46:50 -04:00
YoshiRulz 6f1d61420d
Catch OverflowException when parsing address (hex str), resolves #1549 2019-04-21 05:18:42 +10:00
adelikat 8132afec8b
Merge pull request #1536 from Ashafix/sleep
Added sleep functions for Lua to client module (resolves #1177)
2019-04-12 12:51:25 -05:00
Ashafix 598723266e added sleep functions for Lua to client module 2019-04-12 19:03:14 +02:00
zeromus 41c57e5217 fix repeating sound buffer when calling client.SetSoundOn 2019-04-08 16:09:26 -04:00
James Groom 6b56a65d11
Add MutableIntRange and float.RoundToInt and refactor AnalogStickPanel 2019-04-01 14:41:08 +11:00
James Groom 779975f689
Use nameof 2019-03-28 14:17:14 +11:00
YoshiRulz e6374ef477
Use string interpolation 2019-03-19 00:06:37 +10:00
feos d54146791e fix #1509 2019-03-14 19:30:52 +03:00
James Groom c49799bb5b
Fix erroneous s/watch\.//i 2019-03-15 00:08:43 +10:00
alyosha-tas 6d0973ca7e
Merge pull request #1429 from YoshiRulz/master
Inconsequential changes (no whitespace)

looks good to me
2019-03-09 17:32:10 -06:00
alyosha-tas e5d94f3d7c Genesis: fix VDP viewer, fixes #1449 2019-03-09 17:16:00 -06:00
zeromus 5b552af5d5 change >= 0x80 -> '.' remap in hex editor to >= 0x7F (fixes #1503) 2019-03-03 01:14:33 -05:00
alyosha-tas ead1d8d08c GGHawkLink: Virtual Pad 2019-02-10 08:59:28 -06:00
alyosha-tas 4f17934d6c GGHawkLink: Initial Commit
- Make necessary access changes in SMS
- Implmement multi-disk bundler support
- Initial Video and sound support
2019-02-09 09:55:45 -06:00
adelikat 143c172cf0 debugger - dissassembler - wire pageup/pagedown to incement/decrement 2019-02-02 17:08:26 -06:00
Brian Armstrong a8f293eec8 Call mem callbacks with addr, value 2019-01-24 03:23:21 -08:00
feos 766de68e18 tastudio: don't tell about clipboard if it's empty 2019-01-23 17:24:42 +03:00
feos ce3e3d2ed3 lua docs: couple hints 2019-01-23 15:42:02 +03:00
adelikat 5b26300e50
Merge pull request #1419 from upthorn/master
Extend APIHawk with a lua-like system of api libraries
2019-01-19 17:24:08 -06:00
alyosha-tas c4b3a7c3b8 TAStudio: Update window name when using saveas, Fixes #1444 2019-01-19 14:47:12 -06:00
alyosha-tas 6e1a19b5f8 TAStudio: Ask to override existing bk2 file when exporting 2019-01-19 14:02:45 -06:00
alyosha-tas 2bddf3663e TAStudio: Fix some bugs in new from menues 2019-01-19 13:30:42 -06:00
upthorn 435d717f7b Merge branch 'master' of https://github.com/Upthorn/Bizhawk 2019-01-14 17:10:45 -08:00
YoshiRulz c0a28a320b
Inconsequential changes (no whitespace)
Remove useless semicolon, remove useless `? true : false`, move period to next
line
2019-01-07 22:02:02 +10:00
feos 56e77f4907 tastudio: allow to actually unbind markers from input, and unbind by default 2019-01-05 21:48:40 +03:00
feos cd2d63b04a tastudio:
- don't use branch laglog after loading it. it's useless because we invalidate if needed anyway
- PauseOnFrame being null started to crash seeking, fixed
- make use of movie alias in branchbox
- capture tsm state after loading the branch

todo: if we load a branch in the middle of invalid greenzone, advancing won't draw new greenzone even tho states are being created. laglog doesn't seem to allow gaps either. unsure how to resolve
2019-01-05 21:30:06 +03:00
upthorn 71215adf0d Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-01-04 04:58:58 -08:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
zeromus 9d14c1f214 fix ugly cleartype mangling on lua canvas drawtext, unintended goof-up in code. fixes #1411 2018-12-30 02:32:38 -05:00