Commit Graph

3996 Commits

Author SHA1 Message Date
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
YoshiRulz b7249a99a5
Extract shell command helpers 2019-08-12 20:00:42 +10:00
YoshiRulz 080343f902
Only check matching assembly versions on Windows
Assembly version check shouldn't be necessary if installed with a package
manager.
2019-08-12 02:20:09 +10:00
alyosha-tas f058933342 Vectrex: Fix firmware 2019-08-03 09:26:30 -04: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 432abb27f6 Vectrex: expose menues 2019-07-06 08:56:25 -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
feos 2edf5c08f8
Merge pull request #1592 from TASVideos/tsm-interface
Tsm interface
2019-06-23 18:04:56 +03:00
feos 92847b1d1d Revert "tastudio: instead of capturing a tsm state after loading a branch, force greenzone creation when we're navigating past last greenzone frame"
This reverts commit ade701f873.
2019-06-18 20:41:32 +03:00
feos 84facd4c03 Merge branch 'master' into release
# Conflicts resolved:
#	BizHawk.Client.EmuHawk/tools/TAStudio/BookmarksBranchesBox.cs
#	References/OpenTK.dll.config
2019-06-18 19:41:31 +03:00
adelikat 02a3e4ceaf move Subneshawk menu to the nes submenu and enforce that you can not have quicknes=true and subneshawk=true, put "experiemental" on the menu item because while it is being officially "released" it is a very big edge case and I dont' want to confuse average TASers into thinking this is a core they should use for normal use cases 2019-06-17 18:22:55 -05:00
feos ef4cda38d1 n64: stop measuring resolutions array with a magic number 2019-06-17 20:07:36 +03: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
James Groom 067477ce18
Merge branch 'master' into clean_docs 2019-06-14 13:28:39 +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
YoshiRulz 3d097e3f04
Run jpegoptim on *.jpg and oxipng -so6 on *.png 2019-06-10 19:09:26 +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
YoshiRulz 2642ef4049
Remove empty docs 2019-06-06 16:41:10 +10:00
adelikat 0216359c1f This image is pretty bad, we can do better 2019-06-02 18:31:09 -05:00
YoshiRulz ceb490828f
Fix docs "not placed on a valid language element" 2019-05-29 21:04:12 +10:00
YoshiRulz 268ed1a69d
Fix malformed docs 2019-05-29 20:58:01 +10: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
feos 05b770fcff
Merge pull request #1569 from TASVideos/isavailable_rewrite
Rewrite ToolManager.IsAvailable
2019-05-25 19:45:33 +03:00
feos 8efcda388f
Merge pull request #1542 from Ashafix/audiosync
added new command line parameter audiosync
2019-05-25 10:34:01 +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 35056ae2d9
Remove #if WINDOWS, using runtime check where applicable 2019-05-18 20:17:02 +10:00
YoshiRulz 1887420244
Refactor CurrentOS usage in Sound 2019-05-18 15:51:37 +10:00
YoshiRulz cefba8e16e
Refactor CurrentOS usage in Throttle 2019-05-18 15:45:49 +10:00
YoshiRulz e208edd573
Refactor ScreenSaver 2019-05-18 15:42:32 +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
YoshiRulz 436b6452fb
Misc. refactoring 2019-05-18 15:14:08 +10:00
YoshiRulz 752f8cfd49
Don't bother checking for Windows prereqs on Unix 2019-05-18 14:34:15 +10:00
YoshiRulz 2d5b069793
Inline PlatformSpecificMainLoopCrashHandler and implentations
UnixMono copy contained workaround for a bug that has since been fixed
2019-05-18 14:27:50 +10:00
alyosha-tas ca5585dfaa A2600: boost grip controller 2019-05-05 07:53:28 -04:00
feos 1ee19f17e1 OpenAdvanced_OpenRom wasn't working since 2.2.1
nobody noticed because nobody uses it. then why do we have it? maybe it could be fixed by better routing. yet again nobody uses it.
2019-05-03 11:34:53 +03: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
James Groom f599b33ee2
Don't change cell selection while context menu is open (resolves #1551) 2019-04-21 14:24:58 +00: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
Asnivor f0384b7e83 ChannelF: Extreme WIP! I promise nothing... 2019-04-16 16:10:56 +01:00
Ashafix 3946075024 added new command line parameter audiosync 2019-04-15 09:28:54 +02:00
zeromus 6ea20e9e9b fix emuhawk app.config to allow running on network shares
fixes #1537
2019-04-12 14:04:42 -04: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
James Groom cff8c855a4
Use string interpolation 2019-03-26 17:57:33 +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