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
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
upthorn
efc6f73169
Merge branch 'PluginDev'
2018-12-22 10:43:12 -08:00
upthorn
aba1da071d
Completely refactored PluginAPI to extend ApiHawk. Ecco2AssistantPlugin is now an external tool.
2018-12-22 10:40:30 -08:00
alyosha-tas
afebde0d3e
A7800: change 'trigger' to 'button'
2018-12-14 18:23:24 -06:00
feos
3857ccc18f
fix #1388
2018-12-04 19:57:01 +03:00
feos
8e58777c70
tastudio: update branchview buttons on any selection change
...
fix crash on branch dbl-clk without selection
2018-12-04 00:53:53 +03:00
feos
c85bb39d98
tastudio: branch loading now can behave as it does for regular rerecording!
...
Old control scheme for Branches ON:
- Loading in read+write (recording) mode restores the branch input and truncates it after the branch frame
- Loading in read-only (playback) mode only makes emulation jump to the frame of the branch, disregarding its savestate and timeline
Old control scheme for Branches OFF:
- Loading a branch ALWAYS restores its entire input
TASEditor adds to this that you only start recording after you load a branch in rec mode, but I don't think this is important here.
2018-12-04 00:16:14 +03:00
feos
d03e12590e
tastudio: make state-save hotkeys usable if the slot is empty, just add a branch
2018-12-03 23:27:21 +03:00
feos
731584344d
tastudio: BranchesRestoreEntireMovie and LoadBranchOnDoubleclick
2018-12-03 22:33:42 +03:00
adelikat
12c11eec5d
lua method - client.getconfig(), returns the current config object, note that you can actually use this to set primitive config values, do so at your own risk
2018-12-01 09:20:08 -06:00
zeromus
615d7848f9
basic bot - fix failure to fully use selected memory domain ( fixes #1305 )
2018-11-30 10:14:35 -06:00
feos
0433b10d31
Revert "This fixes a bug in TAStudio where you cannot use '<'to get to frame 0" ( #1382 )
...
I'm committing the proper fix after this
2018-11-28 22:03:16 +03:00
adelikat
870c5c186a
Hex editor - remember last domain used, and load it automatically if available, fixes #1345 , fixes#508
2018-11-18 11:18:42 -06:00
adelikat
b73e9d2f7a
Merge pull request #1371 from TASVideos/rewind_frame0
...
This fixes a bug in TAStudio where you cannot use '<'to get to frame 0
2018-11-18 11:07:11 -06:00
adelikat
06bb89791f
Add a nag when attempting to record a quicknes movie (but allow the user to continue), fixes #1353
2018-11-18 10:05:12 -06:00
adelikat
c8265f6c10
allow snes9x movies to be recorded (still nag, but allow the user to continue)
2018-11-18 09:52:35 -06:00
alyosha-tas
4794c1bd46
Add files via upload
2018-11-18 09:04:56 -06:00
alyosha-tas
ae21d1748f
Add files via upload
2018-11-18 09:03:49 -06:00
adelikat
db50cfc648
Merge branch 'lua-polygon-pos'
2018-11-18 08:28:05 -06:00
adelikat
7d708029ad
drawPolygon - change x,y to offsetX,offsetY, make them truely optional by fixing a subtle order of operations problem
2018-11-18 08:27:32 -06:00
adelikat
ee9e21bcb2
Merge pull request #1180 from AntyMew/lua-polygon-pos
...
Lua: Add optional position parameters to `DrawPolygon`
2018-11-18 08:12:01 -06:00
adelikat
1d82ab4e3a
Merge pull request #1326 from nog5/master
...
lua: drawText() vertical alignment "top" and "bottom" was backwards
2018-11-18 07:55:22 -06:00
zeromus
5a38882f9e
refix CDL autosave
2018-11-13 03:21:19 -05:00
zeromus
026bd3e1e5
more cdlogger ux improvements; fixes #1346
2018-11-13 02:06:39 -05:00
zeromus
872af8517f
improve CDL autoloading (should fix #1346 , but this is all a mess. I dont know)
2018-11-12 18:50:58 -05:00
zeromus
68f97a708d
fix more mess in cdl file management
2018-11-12 18:12:00 -05:00
zeromus
25dcc8d05d
try cleaning up some garbage in CDL file management
...
see #1346
2018-11-12 02:25:51 -05:00
alyosha-tas
9ebe0d2531
Cheats: Toggle shortcut key function
2018-10-28 09:45:39 -05:00
Isotarge
e808618981
TAStudio: Squish some more exceptions
...
- Opening a TASProj or closing BizHawk with the Virtual Pad open
- Opening TAStudio with small window size saved in settings
2018-10-19 12:35:14 +10:30
cah4e3
2820187883
fix to #1345
2018-10-10 23:36:03 +03:00
alyosha-tas
bdc241d658
GBHawk: Fix Virtual Pad
2018-10-08 18:54:12 -05:00
Asnivor
2565f49c89
Merge branch 'AmstradCPC' into master
2018-09-19 14:56:41 +01:00
nog5
6b3071d8a7
lua: drawText() alignment fix
...
The vertical alignment "top" and "bottom" was backwards
2018-09-14 23:16:35 +02:00
Asnivor
92f187fce1
RAMWatch: Enhancements ( #1315 )
...
fix #1257
2018-09-14 08:28:38 +03:00
Asnivor
8a10ba6372
EmuHawk: ToolManager.IsAvailable<T> ( #1294 )
2018-09-10 22:08:44 +03:00
nog5
c012f56e45
lua: forms.drawText() horizontal alignment "right" fix ( #1316 )
...
The lua function forms.drawText() horizontal alignment "right" did the same as "center"
2018-09-10 21:18:31 +03:00
feos
fbdea8282d
add missing zxs mnemonics
...
tastudio: properly handle Show X menu items
2018-09-10 20:22:41 +03:00
Asnivor
3e8326da50
Lua: client.getversion() - #1314
...
fix #1271
2018-09-10 19:24:36 +03:00
feos
47a66db995
tastudio: break keys into as many menus as needed, and show their ranges
...
the code looks somewhat crazy
2018-09-09 21:13:42 +03:00
feos
1b6d6988fc
tastudio: break the keys menu into 2 dropdowns
...
WIP
2018-09-09 19:46:55 +03:00
feos
0893d96a7e
tastudio: menus for keys
2018-09-09 17:41:57 +03:00
feos
ef89b7bf67
tastudio: don't create player menus if we don't even have players
2018-09-09 16:48:25 +03:00
feos
1455e4cad7
tastudio: hide a few computer columns by default
2018-09-09 15:38:45 +03:00
feos
86999815f7
tastudio: show branch screenshot on the right if it's offscreen
...
fix #1311
2018-09-08 19:32:27 +03:00
feos
5721894dbf
lua console context menu: copy and select all
...
fix #1284
2018-09-08 12:41:26 +03:00
feos
c2e2e9a1f7
tastudio: fix #1310
...
we don't need statecount info to be THAT up-to-date
2018-09-07 23:33:07 +03:00
Asnivor
c4167555ae
MultiDiskBundler: Address request in ticket #764 ( #1275 )
2018-08-16 17:58:48 +03:00
Asnivor
531833c7b0
CPCHawk: Initial project outline (may or may not come to something eventually)
2018-07-03 14:53:09 +01:00
adelikat
51e4a13384
Hex Editor - fix exception if autoload is set on table files when no files are in the recent menu
2018-06-23 11:35:20 -05:00
adelikat
24937b21ca
Merge pull request #1192 from Scepheo/1138-lua-draw-on-load
...
Draw Lua script when loading
2018-06-23 10:20:00 -05:00
feos
08e33f7ec1
tastudio: make current branch track its new pos upon reordering
2018-06-23 00:47:46 +03:00
feos
cea1a04425
tastudio: select newly created branch
...
makes button action experience smoother
2018-06-23 00:31:16 +03:00
Scepheo
37ace00fea
Extract Lua file enable logic for toggling and reuse when loading for the first time. Fixes #1138 .
2018-05-06 23:05:50 +02:00
Callie LeFave
be2085ecfb
._.
2018-04-16 16:56:56 -04:00
Callie LeFave
a10d0ec6cc
Fix CI build
2018-04-16 16:44:18 -04:00
Callie LeFave
0d9ced7d83
Lua: Add optional position parameters to `DrawPolygon`
2018-04-16 16:15:37 -04:00
feos
ae6ce00d7c
I've heard bad things about ElementAt()
2018-03-27 19:01:17 +03:00
alyosha-tas
dcf3673f5c
RAM Watch: Update values when clear changes is pressed
...
-fixes #1156
2018-03-26 14:56:10 -04:00
Asnivor
e2eac983a1
Merge pull request #1149 from TASVideos/master
...
Bringing ZXSpectrum branch up to date with master
2018-03-19 15:52:55 +00:00
Isotarge
b28d159023
Hex Editor: Speedup FindPrev/FindNext
2018-03-19 00:56:36 +10:30
alyosha-tas
519e14aa1a
RamWatch: Fix column settings fixes #1137
2018-03-15 19:27:24 -04:00
zeromus
0a18040aff
remove pointless redundant function name from LuaMethodExampleAttributes
2018-03-13 21:05:30 -04:00
zeromus
205714df95
cleanup #1122 -related lua examples documentation stuff
2018-03-13 21:04:34 -04:00
zeromus
65bc534395
Merge remote-tracking branch 'remotes/azreally/Xadrophonix'
2018-03-13 20:39:42 -04:00
zeromus
2203270868
Merge remote-tracking branch 'remotes/origin/pr/1131''
2018-03-13 20:37:48 -04:00
zeromus
b179a30d99
Merge remote-tracking branch 'remotes/origin/pr/1080'
...
# Conflicts:
# BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
merges PR #1080
closes PR #1080
(let's see if either of these can do it)
2018-03-13 16:33:53 -04:00
Asnivor
5a2b0ae6a6
Added joysticks 2 & 3 and removed TapeControls from VirtualPad schema (they are not needed there)
2018-03-13 19:16:12 +00:00
feos
a751131787
tastudio: disable shift+up/down, it breaks float editing mode
2018-03-12 21:41:11 +03:00
feos
61bf9b67a8
tastudio: a whole bunch of actions shouldn't be possible with no selection
2018-03-12 21:41:11 +03:00
alyosha-tas
c839bffc33
A2600: Add Driving controller and fix coleco Super Action Controller
2018-03-12 09:12:41 -04:00
feos
560092ffae
tastudio: allow scrolling/jumping to marker 0
2018-03-11 20:05:33 +03:00
feos
661a15dc2c
tsm decay: remove states within internal state gap
...
states settings: clamp things harder
2018-03-11 17:57:30 +03:00
feos
7162de1d3c
tastudio: let's just report state count
...
will help to sort out possible decay bugs
2018-03-11 14:59:58 +03:00
Azreal
6032063518
Now looks good :)
2018-03-10 03:00:44 -08:00
Azreal
26c0b1fff2
Continuing...
2018-03-10 02:49:39 -08:00
Azreal
96a35fe71b
My first commit - add file "EmuLuaLibrary.Tastudio.cs" to examples (not all have a examples yet)"
2018-03-10 02:33:41 -08:00
feos
7fedbac9c3
lua: fix #1119
2018-03-09 13:35:42 +03:00
feos
e8103a1c53
tastudio macros: don't die from colons in paths when saving to file
...
disable macros menu items when there's no selection
2018-03-08 22:58:18 +03:00
TASeditor
6580c2abef
Tastudio: drawing stuff, selection, patterns, add column lua function ( #1125 )
...
* alt+columnclick draws pattern
* selection: taseditor logic
* shift/ctrl keys restructure to taseditor
shift + up/down: move frame courser up/down by one
shift + pageup/pagedown: move frame courser to next/prev marker
ctrl + left/right: add/remove selection at last selected row
ctrl + shift + left/right: add/remove selection at first selected row
* Alt+drawing pattern
still not working with drawing upwards
* pattern drawing
upwards drawing working except it doesn't update last row.
TODO: Disallow Alt click to focus on menu.
* pattern: last input ignoring fixed
* Lua columnms
TODO: Don't save them into tasproj
* no need to update float edit stuff or cell changes when its not needed
* Shift+clicking draws input from first selected row to clicked cell
* fixed pattern drawing on empty cells
2018-03-08 22:15:47 +03:00
feos
40e28f2f98
tastudio: enable paste menu items when clipboard is available
2018-03-08 19:23:26 +03:00
feos
b2642cd0d9
tastudio: let's try this super annoying method to introduce *intended* control scheme to users
2018-03-08 15:31:07 +03:00
feos
f81f41f6f7
tastudio: fix #916
2018-03-08 14:44:09 +03:00
feos
bf8c21663d
State manager decay ( #1128 )
...
* Finally use exponential decay algorithm for greenzone
* Works in both directions (unlike fceux taseditor)
* Stop using last accesses states for anything
* When dropping states per project save, account for state gap better
* Use _states.Keys[i] instead of _states.ElementAt{i).Key in speedy parts, because it's apparently tons faster
* Use StateIsMarker() where it's supposed to be used
* Markers are still left untouched
* Branch states are still dead (probably forever)
2018-03-08 12:24:35 +03:00
Asnivor
90c1e293bf
Implemented multi bundler functionlity and multiple tape controls
2018-03-05 11:17:22 +00:00
Xadrophonix
d91bd35a95
Second pool of examples.
2018-03-04 14:07:06 -08:00
Xadrophonix
4bcd69924b
All required contents for: https://github.com/TASVideos/BizHawk/issues/1122
2018-03-02 12:06:01 -08:00
Masterjun
605ca5816a
Lua: fix client.openrom
2018-03-01 01:06:15 +01:00
feos
0fe703c9b7
tsm: redo the algo from scratch, probably not last time
2018-02-27 01:28:24 +03:00
frequem
d0d73766bd
Fixed some filenames causing problems on case-sensitive systems
2018-02-21 20:19:33 -05:00
feos
7ae374df01
tastudio: fuck this
2018-02-21 02:06:25 +03:00
TASeditor
36900b15d4
tastudio lua: setinput functions, onbranch callbacks ( #1098 )
2018-02-10 14:58:46 +03:00
Asnivor
7c82d6d526
Merge pull request #1106 from TASVideos/master
...
Bring ZXSpectrum branch up to date with master
2018-02-06 08:45:48 +00:00
vadosnaprimer
fb692806c3
tastudio: supposedly fix #1090 question mark
2018-01-10 22:32:22 +03:00
vadosnaprimer
d074880242
tastudio: MarkerView.ShrinkSelection()
2018-01-10 22:06:43 +03:00
vadosnaprimer
5bff769fe9
tastudio:
...
- scroll to new marker and new branch
- don't kill selection per marker removal
2018-01-10 22:06:41 +03:00
zeromus
c17f793733
in 1809d19ecb
@vadosnaprimer made the disk capacity for greenzone disabled, but for some reason old settings files may still be setting a value into it, or maybe old tasprojs or something, so I just put a big limit on it so things dont crash. /shrugs
2018-01-09 14:21:58 -06:00
vadosnaprimer
eea6740722
lua: client.isturbo() and client.isseeking()
2018-01-06 13:30:47 +03:00
Ashafix
07da0170fa
unified camelCase for Lua functions, changed Lua test script
2017-12-24 11:42:51 +01:00
Ashafix
4d063f6061
new library for communicating with other programs via Lua
2017-12-24 00:24:22 +01:00
Asnivor
6d22b06c21
Added virtual pad to UI
2017-12-04 14:05:04 +00:00
vadosnaprimer
fcb7588724
use actual Clamp()
2017-12-01 18:19:29 +03:00