Commit Graph

15001 Commits

Author SHA1 Message Date
adelikat 4e9b780539 Lua - implement tastudio.loadbranch #fixes #1650 2019-11-24 13:55:46 -06:00
adelikat 74e1f97ebb cleanups in BookmarksBranchesBox 2019-11-24 13:00:03 -06:00
adelikat a3428128ef EmuLuaLibrary.Tastudio - organize methods some 2019-11-24 12:56:57 -06:00
adelikat 6972046509 EmuLuaLibrary.Tastudio clenaup 2019-11-24 09:37:32 -06:00
adelikat 289971c9e9 .tasproj - convert Session saving/loading to json. This is a breaking change, and older versions will silently fallback to defaults 2019-11-23 21:55:29 -06:00
adelikat b4c4c3b870 .tasproj - use json to save/load statemanager settings. This is a breaking format change, earlier .tasproj will load and silently fallback to default settings 2019-11-23 21:43:23 -06:00
adelikat 707419bba1 some TasMovie cleanups 2019-11-23 21:33:48 -06:00
feos 5ca08b6c29
Camhack support (#1725)
for the camhack to work we have to save a state, hack memory, advance twice to see the changes, then load the state to prevent desync. since we can omit the framebuffer in savestates, loading them can happen without updating the screen, so the hacked camera remains visible.

advancing 2 frames automatically is done like tastudio does it when it seeks to a frame, only from lua now.

and the most questionable part is "invisible emulation", which is how Gens calls this IIRC, when everything that can distract or slow us down is skipped: sound, video, tools updates.

new lua functions:
- client.invisibleemulation()
- client.seekframe()

* for a test, mGBA core uses fake video and audio buffers and renders to them when we want to "skip" rendering. proper setup would involve actually skipping rendering those inside the core.
* allow disabling video and audio updates for gpgx too (proper approach, no fake buffers involved)
* add the script for Sonic Advance
2019-11-23 12:27:14 +03:00
adelikat 825f10d52c Lua console - simplify some 2019-11-22 18:54:52 -06:00
feos d15dc56e15 address #1631 for gambatte 2019-11-20 21:25:55 +03:00
feos 4e389ab1ec address #1631 for subneshawk 2019-11-20 21:10:21 +03:00
feos 4a0ec76c84 tastudio: disable [Ctrl+]Home/End
those are very obscure accelerators that you hit if you miss Ins/Del while editing, and that screws up the editing flow in various ways. if this functionality is needed, it will be enabled with potential miss-hitting in mind. I can't imagine a situation where you'd need them tho.

close #1600
2019-11-20 20:37:24 +03:00
feos b70c49892c omit autosaving if we have the default project name
close #1599
2019-11-20 20:04:03 +03:00
alyosha-tas 2fbf3c3b19 O2Hawk: system management work 2019-11-18 22:17:29 -05:00
alyosha-tas 8b2150dbd3 O2Hawk; Start cleaning up bugs 2019-11-18 18:36:51 -05:00
alyosha-tas 61038a13ae O2Hawk: Expose Core and start running code 2019-11-18 17:33:55 -05:00
alyosha-tas 8b9968da60 O2Hawk: more groundwork 2019-11-17 22:29:17 -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 4c57718f7d Move autoloading of tools to the Shown event fixes #334 2019-11-17 11:35:53 -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 a2ed0361c4 a newer Nuget.exe and a NuGet.config 2019-11-17 08:55:37 -06:00
adelikat ad4ca38e16 include NuGet.exe so nuget restore works in dist .bat files 2019-11-17 08:27:48 -06:00
adelikat c854ea90b9 remove some obsolete BufferExtensions, and unused ones 2019-11-16 16:55:28 -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 eb1d87933b Fix Nintento (breaking config change but we've already thoroughly broken compatibility since last release), partially addresses #971 2019-11-16 12:42:18 -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 358ad68357 use some C#7isms in InputRoll.cs 2019-11-16 11:41:34 -06:00
adelikat f47854e1d4 GdiRenderer begone! GdiPlusRenderer has significantly more performance and is not OS specific 2019-11-16 11:29:29 -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
YoshiRulz 27b2d1b6ad
Mirror cleanup from cf4dd6770 onto the Lua APIs 2019-11-16 16:52:32 +10:00
YoshiRulz fab882b7a5 Move most API interfaces and implementations to BizHawk.Client.Common 2019-11-16 17:28:25 +11:00
YoshiRulz 13e4b5396d Rename IMovie to avoid name collision 2019-11-16 17:28:25 +11:00
adelikat 9e30d64954 InputRoll - always redraw when RowCount is set, fixes #1729 2019-11-15 18:10:10 -06:00
adelikat 4d92a0a43d ApiHawk - fix bug in GB/GBC detection 2019-11-15 17:30:57 -06:00
adelikat cf4dd6770c ApiHawk - cleanups 2019-11-15 17:29:38 -06:00
adelikat 00952dedf7 ApiHawk - some cleanup, and fix typo: TotalExecutedycles -> TotalExecutedCycles, note: this is a breaking api change 2019-11-15 17:09:59 -06:00
adelikat 5a1341dd47 misc cleanups 2019-11-15 17:00:43 -06:00
adelikat e974006ea6 RamSearchEngine - simplify some 2019-11-15 16:47:54 -06:00
adelikat ab9c7699ec misc cleanups 2019-11-15 15:15:13 -06:00
adelikat c4658c3e85 remove Bkm as a IMovie implementation and remove all code other than what is necessary to import it 2019-11-14 21:41:37 -06:00
adelikat adf834480a remove .bkm as a standard movie type, require user to run the importer 2019-11-14 21:39:15 -06:00
adelikat 8dfbd752ae SmvImport - remove useless If 2019-11-14 21:03:50 -06:00
adelikat 2a3c9b741e Cleanups 2019-11-14 18:18:46 -06:00
adelikat 40e5106064 oops 2019-11-14 18:01:52 -06:00