Commit Graph

2325 Commits

Author SHA1 Message Date
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