Commit Graph

2501 Commits

Author SHA1 Message Date
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
vadosnaprimer cea50c1ab1 fix #1072
thanks for helping, .net
2017-11-30 19:53:52 +03:00
alyosha-tas 0cfd2c59d0 Gameboy GPU Viewer: Always set upper byte of palette 2017-11-26 15:46:21 -05:00
alyosha-tas 13ec13a556 GBHawk : Initial support for GPU Viewer 2017-11-25 21:16:14 -05:00
alyosha-tas 76dca1147d
Merge pull request #1052 from YoshiRulz/ramwatch-displaycol
Add display type column (resolves #683)
2017-11-14 09:51:05 -05:00
YoshiRulz f983c91eb0 Add display type column (resolves #683) 2017-11-10 14:32:30 +11:00
alyosha-tas 40658e99cf Hex Editor: Update Big Endian Effect 2017-11-09 08:41:35 -05:00
vadosnaprimer 1809d19ecb smart state gap for greenzone. fix #915
disable disk capacity setting
2017-11-05 22:34:58 +03:00
vadosnaprimer fbbe42d7fa tastudio: drop logic that shrinks branch screenshot popup
the fact that it was screwing up osd text (that's not pixel based by design) causes more problems than smaller popup was ever intended to solve. and it's not branch or tasproject size, because screenshots are stored in the same resolution as your emulator screen. so I don't even know which problems it was solving. if it was made to shrink because originally it couldn't expand outside tastudio, this has been resolved a while ago, and we can afford covering as much user screen as they already cover with emuhawk. unless they complain, then it can return as an option.
2017-11-05 17:33:12 +03:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
alyosha-tas 0fd046de0d Update HexEditor.cs 2017-10-21 09:55:03 -04:00
alyosha-tas 745e42a753 Hex Editor: Fix Cheat display
Fixes #1026
2017-10-21 09:52:07 -04:00
feos 1bd535c31f tastudio: don't trigger right button up events if left button is still held down 2017-10-07 23:40:54 +03:00
feos 7529570ab8 tastudio: unbreak things if user cancels movie conversion on file open 2017-10-07 23:17:02 +03:00
feos 84412eafd9 tastudio: do normal seeking while recording too. needs testing
if you go to a frame while recording and unpaused, it will seek to that frame (not touching input since rec mode is suspended), and after it reaches it, it will unpause and restore rec mode
2017-10-07 15:20:30 +03:00
Tastyfish 200ab8f8d8 GB Printer support for Gambatte, output color improvements 2017-08-29 18:16:02 -04:00
Tastyfish e780e74f45 A frontend for the GB printer 2017-08-29 18:16:02 -04:00
alyosha-tas b5b2e442c8 Schema: Remove EMU7800 2017-08-25 09:39:40 -04:00
adelikat 3f8aa0e018 Lua - implement tastudio.getbranches() and tastudio.getbranchinput(), fixes #843 2017-08-05 11:04:00 -05:00
adelikat cd5f6e66e1 Atari 7800 - sort out system id stuff 2017-08-04 17:17:14 -05:00
adelikat 56859e9581 MemoryCallbacks - Change "domain" to "scope" 2017-08-03 20:03:40 -05:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
adelikat 62c2e0fc6a TAStudio - remove ability to edit the platform id when editing the header 2017-07-30 14:21:40 -05:00
alyosha-tas 61b300b65a Update EMU7800 schema
Facilitate testing between cores
2017-07-29 20:22:44 -04:00
alyosha-tas d0c658b380 Update A7800Hawk schema with BW 2017-07-29 19:22:11 -04:00
adelikat 89b57288e7 Cheat Code Converter - when creating NES game genie codes with a compare value, set comparison type to Equals, instead of relying on "None" to default to Equals 2017-07-28 18:13:32 -05:00
adelikat 51eed83cce lua - tastudio.getselection() - make key of the lua table an index 2017-07-24 08:44:15 -05:00
nattthebear 4a2618470e saturnus: three dee virtual pad fix axis 2017-07-23 19:40:20 -04:00
zeromus d5770fb8a3 re-apply "keepalive" GC fixes to luainterface mode in emuhawk; maybe it will actually work now and not result in crashes. at least we should check it. 2017-07-22 23:41:30 -05:00
adelikat 8ea7993e04 Multidisk bundler - Remove GEN as an option for now 2017-07-22 16:39:21 -05:00
alyosha-tas 7a0295e48f Update A7800 Hawk Schema 2017-07-21 19:28:44 -04:00
adelikat db6858f2fe Merge branch 'pceperipherals' 2017-07-20 08:11:51 -05:00
nattthebear cf8013af4a sameboy: Add more features for the merciless slave driver 2017-07-19 18:48:11 -04:00
adelikat eaaf424a2c PCE - refactor virtual pad logic to use the controller deck 2017-07-18 11:16:42 -05:00
adelikat f60a4a07e7 UI for multi-disc Sega-CD support. Note that the ui will technically allow you to bundle a mix of dics and carts, but tom loading for now will only take multiple discs. 2017-07-17 20:36:04 -05:00
adelikat f424a22033 Tastudio - fix recent menu - fixes #920 2017-07-17 11:20:59 -05:00
zeromus afda5dbb62 set a value in the switchable lua library to indicate whether it's NLua or LuaInterface; effectively undo 8bc067cbbe for LuaInterface 2017-07-15 16:36:18 -05:00
adelikat af653725bb PCFX - multi-disc support 2017-07-14 19:46:05 -05:00
adelikat b67c104de7 Saturn - multi-disc support 2017-07-14 19:40:27 -05:00
adelikat 3f16f8bd79 pc-fx - virtualpads 2017-07-14 14:21:50 -05:00
zeromus d271fe6542 Merge pull request #885 from Trivial-Man/master
Create LuaPictureBox class and implement it
2017-07-14 12:21:54 -05:00
Trivial-Man 8e0926449f Fix LuaPictureBox
Got left out when fixing other files. Sorry.
2017-07-13 22:48:37 -06:00
Trivial-Man 7b8818c35b Resolve issues with Master
- Uses NLua instead of LuaInterface
- Uses LuaMethod instead of LuaMethodAttribute
- All LuaCanvas Lua calls now begin with lowercase

- Also allows LuaPictureBoxes added through forms to be compatible with addClick
2017-07-13 22:32:27 -06:00
adelikat b968dbf81b pizza boy sgb - virtualpad support for the other controllers 2017-07-13 20:45:54 -05:00
zeromus d54fee4d91 Merge branch 'master' into master 2017-07-13 19:17:09 -05:00
adelikat 367b243990 Pizza Boy - preliminary SGB virtualpad support 2017-07-13 12:22:58 -05:00
adelikat 6d77f5a3c0 virtual pads for picoDrive 2017-07-13 12:02:08 -05:00
adelikat 9cb44cad03 Fix some filenames from previous renames, and more attribute renames 2017-07-12 14:48:27 -05:00
adelikat 6e06947a33 rename ToolAttributes 2017-07-12 14:44:14 -05:00
adelikat 5d855ef60b more attribute renaming 2017-07-12 14:40:10 -05:00
adelikat 5978db7036 Lua - forms.setsize() - add a description instead of just TODO 2017-07-11 08:17:49 -05:00
adelikat 597708765a Lua canvas - use LuaMethodAttribute (if available) when registering canvas methods, also fix casing of a few methods for consistency, fixes #908 2017-07-10 14:59:05 -05:00
adelikat 9581ce6a93 rename LuaMethodAttributes to LuaMethodAttribute so as not to be a bad person 2017-07-10 14:02:08 -05:00
zeromus 0f686a0de1 * revert strict string checking behaviour from nlua Revision 10f4d0ce78a2a3cb9b727ac55c8705385f0ded7e (we dont want it, probably)
* do a better job porting old commits from bizhawk (should fix memory leaks, optional arguments)
2017-07-10 12:59:06 -05:00
adelikat 5781746251 Lua - use the proper Log method in some lua libraries 2017-07-10 11:24:32 -05:00
zeromus 3417453b43 use NLua+KopiLua instead of LuaInterface 2017-07-09 23:51:02 -05:00
adelikat af3ab7c208 TraceLogger - Turn off core tracing when closing, TooManager - check for disposed tools before running NewUpdate(), fixes #911 2017-07-09 13:19:09 -05:00
zeromus cc33617f74 fix crash in snes virtualpad when mouse is used 2017-07-09 11:40:55 -05:00
adelikat f53624f336 tastudio greenzone settings - don't check for if 64 bit process 2017-07-09 09:39:36 -05:00
adelikat 9a5ae16c7d remove the 32bit gpgx, and refactor things to only use the 64 bit version. keep 64bit stuff in a gpgx64 folder to avoid git auto-rename detection shenanigans 2017-07-09 09:21:03 -05:00
adelikat a2a27fb634 Merge branch 'a26peripherals' 2017-06-30 08:36:49 -05:00
Trivial-Man 8a2056193d LuaCanvas: Add SetLocation function
Allows the user to reset the location of the canvas window at will while a script is running
2017-06-29 20:16:02 -06:00
Trivial-Man 22200171e7 LuaCanvas: Include GetMouseX & Y functions
Gets the X and Y coordinates for the mouse cursor relative to the canvas
2017-06-29 20:07:21 -06:00
Trivial-Man 1a1ae98a2e EmuLuaLibrary.Gui: update createcanvas
createcanvas now takes additional parameters that specify where the canvas window should be created
2017-06-29 20:03:18 -06:00
Trivial-Man 5900f9b1ec LuaCanvas: add parameters for specifying location
Constructor now takes in arguments for setting the x and y coordinates of the canvas window
2017-06-29 20:01:31 -06:00
Trivial-Man eb6676e0ba EmuLuaLibrary.Forms: add more PictureBox functions
Adds the functions for getting the mouse x and y coordinates from PictureBox components.
2017-06-29 19:59:27 -06:00
Trivial-Man fdc30ccd12 LuaPictureBox: Add GetMouse
A simple function that gets the point the mouse cursor is at relative to the LuaPictureBox's upper left corner
2017-06-29 19:52:40 -06:00
adelikat aaaeb95a05 Atari 2600 - update paddle virtualpads with the new float ranges 2017-06-29 13:46:17 -05:00
adelikat f5cb35a862 Atari 2600 - vritual pad and mnemonics for paddles 2017-06-28 14:27:15 -05:00
adelikat d862ad8232 Atari 2600 - Virtual support for new controller configurations (Paddles just stubbed out), add Left and Rigth Difficulty toggle buttons to the console buttons section 2017-06-28 07:23:36 -05:00
adelikat 3d443b3e2f Cheats - change button name from Game Genie to Code Converter. Cheat Code Converter - show a not supported message if user tries to enter a Game Genie code for SNES since we do not currently support that scenario 2017-06-27 21:06:36 -05:00
Trivial-Man d3834fff49 Merge branch 'master' into master 2017-06-25 18:45:41 -06:00
Trivial-Man 2ddadeae24 Add PictureBox component and methods for drawing on it 2017-06-20 01:20:27 -06:00
Trivial-Man b0e39406a6 Use LuaPictureBox functions in LuaCanvas
Also add in the missing error logs and correct some typos in LuaMethodAttributes.
2017-06-20 01:18:35 -06:00
Trivial-Man 089c487f26 Use LuaPictureBox for the LuaCanvas 2017-06-20 01:16:57 -06:00
Trivial-Man 28acb602ae Create LuaPictureBox component 2017-06-20 01:12:13 -06:00
adelikat 4982af7521 Merge branch 'master' into waterbox2
# Conflicts:
#	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.ISaveRam.cs
2017-06-19 10:04:46 -05:00
adelikat 162e851468 Saturn - virtualpad support for Mission and Dual Mission 2017-06-18 16:05:46 -05:00
adelikat 5c71fc2e34 Saturn - Wheel - virtual pad support 2017-06-18 15:03:51 -05:00
adelikat 7e98cd6ec9 Saturn - mouse - make button names consistent with other cores, virtual pad support 2017-06-18 15:03:50 -05:00
adelikat b22787fc44 Saturn - 3d pad - set mids for analog ranges, finish virtualpad support 2017-06-18 15:03:49 -05:00
zeromus 4e1decfa21 add LuaCanvas DrawArc missing from last luacanvas PR merge 2017-06-15 15:01:50 -05:00
Trivial-Man eff9308bbf Add drawing features
Brings canvas up to feature parity with LuaLibraryBase
2017-06-15 11:41:27 -06:00
nattthebear 1314912cf8 libsnes: Hack about a bit to make the graphics debugger function again. It probably crashes somewhere... 2017-06-13 17:55:07 -04:00
adelikat 97d7dd7f42 merging master into waterbox2 this one was messy may be regressions 2017-06-13 08:16:25 -05:00
adelikat ac6b18c137 tastudio - change performance profile nag to a snes9x nag 2017-06-12 20:56:32 -05:00
alyosha-tas 3c46604f28 Add files via upload 2017-06-11 18:15:11 -04:00
adelikat d18a512db8 Saturn - virtualpad support for 3d controller, however, analog stick needs some fixes to support the large analog range of the stick 2017-06-11 14:45:18 -05:00
adelikat 5406da7406 Saturn - start virtualpad support - multitap logic in place, only standard controllers currently 2017-06-11 09:36:01 -05:00
nattthebear 36be9e9fc7 snes: waterboxification phase 2 2017-06-10 14:16:25 -04:00
adelikat e298863b3d VB - virtual pad support, slight fix to button order on controller config 2017-06-06 11:38:43 -05:00
adelikat b39c2dccf0 NGP - mnemonic for Option button, Virtualpad support 2017-06-06 11:07:16 -05:00
adelikat 87ce1086cb snes9x - virtualpads 2017-06-04 19:44:25 -05:00
adelikat 95353188c7 Merge branch 'master' into waterbox2 2017-05-31 13:38:01 -05:00
adelikat 1164868063 GB config dialogs cleanup 2017-05-31 08:52:55 -05:00
nattthebear f99a080e60 Merge remote-tracking branch 'origin/master' into waterbox2
# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.cs
2017-05-29 14:35:30 -04:00
feos 3ba4adb6bc tastudio: finish moving column click edits to taseditor logic 2017-05-29 20:20:44 +03:00
adelikat 3c7707a6a0 lua - add gui.clearImageCache, also add a param to drawImage that can force it to not be cached if desired 2017-05-29 11:09:19 -05:00
nattthebear 7f2e06b0b5 clean things up and make gpgx fully (?) multi-instance correct 2017-05-28 13:46:08 -04:00
adelikat 4db328f7ad Hex Editor - Find box - remember Hex vs Text radio selection 2017-05-28 10:13:34 -05:00
adelikat f81f745fcc Some luaconsole refactoring and moving more logic into LuaImp 2017-05-24 15:59:05 -05:00
adelikat 19dde8018a InputRoll cleanups 2017-05-24 11:45:57 -05:00
adelikat 74b2cca967 more tastudio cleanups 2017-05-24 10:50:25 -05:00
adelikat b03e224c5e TAStudio cleanup 2017-05-24 10:49:35 -05:00
adelikat 50b5f4a1a9 Virtualpad misc cleanups 2017-05-24 09:07:03 -05:00
adelikat 47f2371953 Misc cleanups 2017-05-24 09:06:31 -05:00
adelikat 4d1dd215e6 Lua Console - temp fix to fix recent regression of lua scripts disappearing on reboot core 2017-05-24 08:30:30 -05:00
adelikat 770f27dfd4 Console lua library functions - check if LuaConsole is loaded on these calls. Currently the console should always be open if a script is being called but this is a preparation commit to eventually support running lua scripts without the lua console loaded 2017-05-23 13:05:36 -05:00
adelikat 4919fc5182 don't reference GlobalWin.LuaConsole in LuaConsole! 2017-05-23 13:04:28 -05:00
adelikat facd845453 Lua Console - Move StartLuaDrawing() and EndLuaDrawing() to LuaImp since they exclusively LuaImp logic 2017-05-23 12:40:40 -05:00
adelikat 6196d81b5d Move _luaList from LuaConsole to LuaImp 2017-05-22 16:47:27 -05:00
adelikat 8d91557f4e cleanups in ToolManager 2017-05-22 14:23:14 -05:00
adelikat a6414ff05c Mainform cleanup round 2 2017-05-22 14:23:13 -05:00
adelikat f89bcf4bfa cleanup of Lua some related files 2017-05-19 11:05:21 -05:00
adelikat 31e68a38f9 Cleanup EmuHawk lua library code 2017-05-19 09:47:18 -05:00
adelikat 7f269d25df Make lua library dependent services private 2017-05-19 08:58:23 -05:00
adelikat 0d4313af91 general Cheat code cleanup 2017-05-18 15:16:02 -05:00
adelikat 75affd8940 Lua console code cleanup 2017-05-18 14:53:03 -05:00
adelikat 4c48542b98 fix null reference exception when LuaSandbox attempts to use the Logger 2017-05-18 14:27:22 -05:00
adelikat a9ba93fcf3 C64 virtual pad - fixing mapping of joypad B buttons 2017-05-13 16:45:18 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
zeromus 8bc067cbbe lua: fix memory leak causing crash after a few dozen script loads/resets 2017-05-10 01:58:19 -05:00
adelikat e839a1c163 Add lua canvas methods to documentation 2017-05-07 16:33:48 -05:00
adelikat c33fbfddf4 Colecovision - virtualpad support for new controller options 2017-05-07 10:04:15 -05:00
zeromus ac767a2acc clarification to the saveram flushing system 2017-05-06 17:50:36 -05:00
J.D. Purcell 8b2b12585a Mostly whitespace cleanup to reduce difference with mono-portable branch. 2017-05-02 23:09:50 -04:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 20d2a7d198 Lua - tastudio onquery callbacks - attempt to better clarify the expected lua function that is taken as a parameter 2017-04-30 12:05:27 -05:00
adelikat 436a853c96 Fix typo - Scema -> Schema 2017-04-29 15:41:27 -05:00
adelikat 19f45dcc85 VirtualPads - PSX Multitap support 2017-04-29 14:57:27 -05:00
adelikat ba4af238b7 VirtualPads - PSX NeGcon support, also slider controls now support vertical orientation 2017-04-29 14:47:51 -05:00
adelikat f6f967a723 VirtualPad - start PSX NeGcon support 2017-04-27 16:52:50 -05:00
adelikat a20e01ab69 Remove the obsolete MemoryDomain.FromByteArray() method 2017-04-24 13:55:20 -05:00
adelikat a86ad73ade Comment out some temporarily short-circuited code to remove some warnings 2017-04-24 12:59:24 -05:00
adelikat cc5ff74689 Fix debugger throwing exceptions on opened on a core that does not implement IDisassemblable 2017-04-23 11:42:26 -05:00
adelikat 30aa86cd7e Intellivision - more cleanup 2017-04-23 11:10:26 -05:00
feos 8dcf9fb61a tastudio: tweak editing selection by clicking column header
instead of reverting every button state, apply the reverted state of the first selected frame to all the selection
2017-04-23 14:47:10 +03:00
adelikat 1184e8ed05 lua - implement tastudio.getselection(), tastudio.insertframes(), tastudio.deleteframes() 2017-04-22 20:50:03 -05:00
adelikat 76f77390ca SNES - virtual pad support for all the controller types and combinations 2017-04-22 11:55:21 -05:00
adelikat e3ae4b1410 LibsnesCore reformating round 2 - sort out private fields vs pulbic properties 2017-04-19 12:19:16 -05:00
adelikat 8f3d1613a0 misc code cleanups in ram watch tool files 2017-04-19 07:50:25 -05:00
alyosha-tas 88348f03fa Genesis game genie code fix here as well
other half of fix to #777
2017-04-18 07:14:18 -04:00
adelikat 28da1e215f misc code formatting improvements in random files in EmuHawk 2017-04-17 15:23:31 -05:00
alyosha-tas 31ba7bc3dd Update GenGameGenie.cs
Fix #777
2017-04-15 19:49:15 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00
adelikat 1e05e8a29d Virtual Pad - add tilt controls to GBA when mGBA is the core. Fixes #830 2017-04-13 13:06:12 -05:00
adelikat e23dc983f0 Merge pull request #826 from lenalia/master
Added horizalign and vertalign to DrawText
2017-04-11 16:43:20 -05:00
adelikat fc59710dab some code cleanup, mostly introducing C#6isms, also add a customized resharper+stylecop settings file in case anyone is using resharper 2017-04-10 10:30:05 -05:00
J.D. Purcell a786f73154 Fix some places using 'int' instead of IntPtr. (#828) 2017-04-08 18:36:29 -04:00
lenalia 117ce07aaf Added horizalign and vertalign to DrawText 2017-04-04 21:20:33 -04:00
shanehoman 58e1b52369 expose MainForm.SaveRam() method to lua 2017-04-02 23:12:38 -07:00
feos 54320865c0 tastudio: don't update branches if no movie was loaded 2017-03-18 18:15:21 +03:00
feos 216c7ea487 tastudio screenshot popup: act more like taseditor in terms of time
only update opacity by 1/8th every 40ms. allows to skip fading in if mouse moves around at regular speed, and only pops up if deliberately hovering over the cell

also reduce magic numbers a bit
2017-03-18 18:14:23 +03:00
feos 1827f44fb8 tastudio: detach screenshot popup timer since it crashes 2017-03-18 17:18:36 +03:00
feos e99b52342c tastudio: bind autosave and screenshot popup timers to controls
also annihilate _saveBackgroundWorker
2017-03-17 21:55:43 +03:00
feos a9cda4a21f tastudio: dynamically resize usertext column 2017-03-15 21:46:46 +03:00
feos 2fa40bac04 tool positions: tolerate slight accidental offscreen by resetting to 0 instead of ignoring
todo: check bottomright offscreen too someday?
2017-03-15 19:49:32 +03:00
feos 4eaa04d412 tastudio: branch text edit popup follows mouse pointer 2017-03-15 19:24:27 +03:00
feos 6e99227c72 tastudio: Clone() for branches. fixes UserText cancellation
also cancel backup and osd message if text edit was canceled
2017-03-15 19:17:47 +03:00
feos d254ad01d8 tastudio: add branch undo feature
the fact that it's separated from changelog is because there's no way to extend the latter, but *also* it's intended, as we want branches to be independent from changelog manipulations

todo: figure out branch text edits
2017-03-14 22:49:55 +03:00
feos c6d1aad25f tastudio: actually change branch screenshot bitmap 2017-03-14 22:15:20 +03:00
feos 868c02175c some more topmosts and sound mutes 2017-03-14 22:13:51 +03:00
feos a30b89039f more topmost modal dialogs 2017-03-12 14:50:24 +03:00
feos fed9380e33 tastudio: rewinding was turning rec mode off 2017-03-08 20:42:24 +03:00
feos 853432da26 tastudio lua: add recording mode functions
finally fixes #793
2017-03-08 19:56:44 +03:00
feos a124fd72a1 tastudio: add jump to branch frame (aka read-only loading) 2017-03-08 19:32:09 +03:00
feos 31ccc9f413 tastudio: hide when going from branch 0 to header cell 2017-03-08 16:49:55 +03:00
feos 0ec0910207 tastudio: move screenshot popup to yet another control to allow fading
avoid false branch 0 hover when entering branch view from the top

todo: hide screenshot when moving upwards to header cell
2017-03-08 16:31:49 +03:00
zeromus 498b2b4dd9 hex editor: add import binary tool (quick and dirty way to effect .sav importing in many cases) 2017-03-01 15:06:58 -06:00
feos 5c91c2f98c tastudio: allow exporting a named state 2017-02-24 21:58:41 +03:00
adelikat 5d4c8020c2 Delete more stuff 2017-02-22 10:12:14 -06:00
adelikat f35717aae2 Remove yet more unused code 2017-02-22 10:11:08 -06:00
adelikat 7653b86f44 Remove some unused code 2017-02-22 10:09:44 -06:00
adelikat c61d432fd6 Don't position tools to last saved position if that position is not visible on screen 2017-02-21 16:57:47 -06:00
feos b5730bda3a clarify lua doc 2017-02-19 11:56:17 +03:00
feos 03ea4f9126 tastudio: fix #806 part 2 2017-02-19 11:43:35 +03:00
feos d19fcb62ab tastudio: fix the first half of #806 2017-02-19 10:31:30 +03:00
feos 60d69db588 tastudio: stop crashing upon movie platform mismatch
make the error window topmost
2017-02-19 00:26:42 +03:00
zeromus f458648fad improve rewind in tastudio by leaving editmode intact but taking care not to clobber frames. take special pains to ensure that (reverse) frame progress vs smooth rewind semantics stay as expected. 2017-02-16 00:29:28 -06:00
feos 5bc643f1fd tastudio: shrink the branch image like you should 2017-02-09 23:10:41 +03:00
feos 821baeb649 tastudio: captured state 0 was useless if movie conversion happened at frame>0
capture it after core reboot
2017-02-09 22:51:52 +03:00
adelikat 5277be6833 Ram Search - update the size and display type dropdowns on restart. Fixes #762 2017-02-07 18:54:58 -06:00
feos 230dcc2356 tastudio: make ToggleReadOnly() toggle read-only
this allows movie.getreadonly() return valid value
2017-02-07 19:03:46 +03:00
zeromus ea2188dc46 make tastudio.setplayback correctly restore the recording flag after it finishes seeking from the greenzone to the target frame 2017-02-07 00:01:14 -06:00
feos c739755e9b tastudio: hide whatever starts with "Key " by default
ideally, there should be separate Keys menu items in SetUpToolStripColumns() as well, moving them to a separate dropdown and hiding/showing all at once
2017-02-05 15:20:05 +03:00
zeromus d87a2b27a2 make lua's new tastudio.setplayback re-enable the record flag if it was set (the existing logic leaves it disabled I think as security against the GUI use case where users might stomp their video seeking while playing in record mode). future work: add lua control for the record mode flag 2017-02-05 04:20:07 -06:00
zeromus 539cdc29f3 add SetPlayback to tastudio lua library. Can't be 100% sure it works, but it seems to be working OK. it may hang everything up if you seek through a really long redzone..... 2017-02-04 21:40:29 -06:00
zeromus a70e6e2fc4 fix #790 (Scroll wheel missing from input.getMouse()) 2017-02-04 20:52:32 -06:00
adelikat 0480ea3f44 when toggling a script on, update on screen lua drawing stuff. On gui.clearGraphics() immediate update the screen 2017-02-04 15:54:04 -06:00
adelikat 3b197b8fdf lua console - roll back commit that disposes scripts when closing the window, apparnetly luainterface doesn't want you to dispose of disposable things 2017-02-04 15:30:13 -06:00
adelikat 0c7cedd2ac lua - tastudio.setmarker() - make marker message optional 2017-02-04 15:11:43 -06:00
feos 5d3435e6e6 tastudio: update caption as well 2017-02-04 23:36:17 +03:00
feos ae15073180 tastudio: fix regular movie opening from tastudio 2017-02-04 22:33:52 +03:00
adelikat 3d805a3541 null check for previous commit 2017-02-04 10:45:32 -06:00
adelikat 923565c350 Lua console - dispose of scripts when closing the console window 2017-02-04 10:32:36 -06:00
feos 51f21691fd tastudio: fix #788 2017-02-04 16:09:13 +03:00
adelikat c050eaa8c7 lua console - fix the edit button to account for relative vs absolute pathing 2017-02-02 17:48:32 -06:00
feos f860c5d8b1 tastudio: try to fix opening a bk2 directly 2017-02-01 20:41:15 +03:00
feos 7d469c08a8 tastudio: show bsnes performance mode warning
addresses #788
2017-01-31 00:00:09 +03:00