Commit Graph

1667 Commits

Author SHA1 Message Date
feos 4fd55da52a tastudio: various fixes.
- saving and loading tasproj markers
- flagging changes after branch operations
- clearing InputRoll selection
2015-09-13 11:44:15 +03:00
zeromus 5406fc9cfa remove a likely old and senseless developer build check breaking the genesis cheat decoder command from the cheats dialog only (fixes #494) 2015-09-10 16:59:08 -05:00
adelikat 98bc140a84 Issue #385 - Lua - add memorysavestate library for making and loading savestates in memory, with save, load, remove, and clearall methods 2015-09-09 20:47:56 -04:00
adelikat e3c40ea2ef Basic Bot - make the UpdateValues call much much faster 2015-09-07 10:29:40 -04:00
adelikat eaaac167f1 Basic Bot - ability to set datasize and endianness of ram values 2015-09-06 23:23:04 -04:00
adelikat 81df9f1224 Basic Bot - don't show quicksave loaded osd message 2015-09-06 22:49:23 -04:00
adelikat 7b8cde51a9 Basic Bot - restart logic 2015-09-06 22:29:46 -04:00
adelikat 811f8c96e6 Basic Bot - StatusBar and Text title stuff 2015-09-06 22:21:12 -04:00
adelikat 462ad5547c Basic Bot - icon! 2015-09-06 21:56:23 -04:00
adelikat 05b639035e Basic Bot - icons! 2015-09-06 20:58:07 -04:00
adelikat 23a3edb3ea Basic Bot - clear stats context menu option 2015-09-06 20:45:48 -04:00
adelikat b34449a820 Basic Bot - Run btn validation 2015-09-06 20:37:46 -04:00
adelikat e73737a20a BasicBot - add sliders to probabilities 2015-09-06 20:28:37 -04:00
adelikat e4d6557145 BasicBot - Remove a todo 2015-09-06 20:18:57 -04:00
adelikat d25c51f033 Basic Bot - save total attempts and frames into .bot files 2015-09-06 19:54:16 -04:00
adelikat cf0c529601 BasicBot - memory domain picker 2015-09-06 19:37:15 -04:00
adelikat 9116a94002 Remove option from menu item that wasn't wired up and I decided to not provide 2015-09-06 18:04:35 -04:00
adelikat 2290becddf Basic Bot - turbo when botting, normal speed when playing, save and load frame length in bot files 2015-09-06 18:00:39 -04:00
adelikat 004a65c92e Basic Bot - UI and code reorg 2015-09-06 17:39:11 -04:00
adelikat 028c505fdc Tastudio - clear marker and branch selections when starting a new project 2015-09-06 14:56:12 -04:00
feos ff0844413c tastudio: update branch view on project load. 2015-09-06 16:40:22 +03:00
adelikat 6db5a01f54 Basic Bot - implement New menu item 2015-09-05 23:47:27 -04:00
adelikat 92a7773b3a Basic Bot - ability to save and load bot files 2015-09-05 23:39:51 -04:00
adelikat b8295f1d98 Basic Bot - ability to replay best attempt 2015-09-05 22:04:26 -04:00
adelikat 74025d82c9 Clean up ToolHelpers.cs and reduce a lot of boilerplate code 2015-09-05 21:39:57 -04:00
adelikat df2dd2df9b Cheats - fix up open and save file dialog file/directory logic 2015-09-05 20:53:02 -04:00
adelikat 3d28d0dc5d Cheats - refresh list when toggling the status of a cheat 2015-09-05 20:47:28 -04:00
adelikat 3886205bbc TAStudio - fix right-click autohold 2015-09-05 19:52:00 -04:00
adelikat 30f170312d Tastudio - add menu items for created Savestate-anchored and SaveRam-anchored movies instead of them only appearing in the context menu under narrow conditions 2015-09-05 19:25:27 -04:00
adelikat 4f58ec09fd Tastudio - starts movie from saveram - allow saveram-anchored movies since they are supported on the backend, but do not allow savestate-anchored mvoies 2015-09-05 19:06:13 -04:00
adelikat 45db096154 Tastudio - 'start movies from now' - allow movies that start from savestate since that feature is supported already in the backend 2015-09-05 18:28:05 -04:00
adelikat 03aeacae39 Tastudio - also prohibit making a movie from "now" if it is a saveram-anchored movie 2015-09-05 18:26:34 -04:00
adelikat 477afb8bf7 Tastudio - Only allow 'Start from here' option on the currently emulated frame 2015-09-05 18:10:21 -04:00
adelikat 6d4dea9a14 Don't attempt to remember tool window size/position if tool is minimized/maximized, this fixes issue #491 but also fixes the bug in every tool (unless there is a tool that does not implement IAutoToolFormConfig that I missed in this changeset) 2015-09-05 17:05:14 -04:00
adelikat 0e11ae4316 Tastudio - store icon Resources in variables to keep from churning while drawing, big speed up to tastudio 2015-09-02 19:00:52 -04:00
adelikat 951129048d Move InputRoll to the CustomControls folder 2015-09-02 18:27:34 -04:00
adelikat 888423df58 InputRoll - some misc formatting and cleanups 2015-09-02 18:23:29 -04:00
adelikat c64e1ccdd9 Fix hiding of Reset and Power columns 2015-09-02 17:53:02 -04:00
feos 0949bcb1bb tastudio: hide Power and Reset columns by default. 2015-09-01 21:24:13 +03:00
feos a998d472cf tastudio: optional icons for states and markers.
Settings -> Icons.
2015-09-01 21:24:12 +03:00
zeromus 5e40adf1f7 fix #490 2015-08-31 11:37:46 -05:00
adelikat 89664c4a7e Basic Bot - misc UI improvements 2015-08-30 20:53:22 -04:00
adelikat 9ab2edd39f Basic Bot - progress! Now has the ability to bot, still todo: ability to replay the best attempt, saving and loading of bot files, and make the ui nicer 2015-08-30 17:57:40 -04:00
adelikat 80dd120b9d Basicbot - some progress, nothing useable yet 2015-08-29 20:19:56 -04:00
adelikat 9e36096472 oops, forgot to check these files in 2015-08-27 08:19:36 -04:00
adelikat bba170a6b2 Sketching out the UI of Basic Bot 2015-08-26 22:41:34 -04:00
adelikat d6a998b6de Start the Basic Bot tool, a tool that will be based upon the design in Fceu.16 (programmed by Luke). This check in is just the boiler plate stuff 2015-08-26 21:55:55 -04:00
adelikat 407f44bf96 Fix issue #461 - broken by Tastudio autofire patterns, THIS BREAKS TAStudio autofire patterns, they need to be fixed, in a way that doesn't break autofire 2015-08-24 20:51:53 -04:00
adelikat f9e2b924cd proof of concept means it should only be in developer builds 2015-08-24 19:57:54 -04:00
adelikat 2a1c9e8602 TAStudio - anchor icons on frames with savestates, proof of concept. InputRoll - add offsetx,y values to queryItemIcon and queryItemText, also support ability to draw icons and text in the same cell 2015-08-24 18:30:45 -04:00
feos c270b78ecb tastudio: ColorZone, taseditor style
- frame column lighter than input
- 2/4p column not so dark
- semi-pale for logged, but not stated frames (taseditor does it!)
2015-08-24 20:51:48 +03:00
adelikat 84cd3e9efa Hex Editor - re-calculate address positioning on memory domain change 2015-08-23 14:04:00 -04:00
adelikat 674b9b4c07 Hex Editor - issue #481 - keep scroll bar position when resetting the current rom as opposed to changing to a new one 2015-08-23 12:59:27 -04:00
adelikat 7edd746f68 Hex Editor - when saving domains to file, account for roms in archives 2015-08-23 12:34:13 -04:00
Suuper 1f4b0d5d77 -More work on TasStateManager
-Fix: SaveStateSettingsForm was setting the disk capacity to 1 mb on load if it had been set to 0.
2015-08-17 11:32:46 -05:00
Suuper f76c49ce1b -Fix: Loading a TasProj caued it to be saved immediately after. (Some old TasProj files are now broken.)
(Saving process for movies still needs some cleaning.)
-Fixed setting input log by reference when loading a branch
-Fix: TasStateManager wouldn't decrease Used when deleting a RAM state from a branch.
-Removed a useless call to Movie.Save()
-Fixed a bug with creating a savestate anchored tasproj.
2015-08-17 09:14:08 -05:00
Suuper b054032694 TasStateManager: Improve performance of StateToRemove
A lot of work on tracking states, still lots to do.
2015-08-16 11:28:03 -05:00
Suuper 65a9b0bfdd Fix my last commit. 2015-08-15 10:16:00 -05:00
Suuper d6e3553449 TAStudio: Fixed displayed maximum state capacity.
Clear states to stay within the new limit when settings are changed.
2015-08-15 10:07:56 -05:00
zeromus 5bf21e391c TasStateManager uses a new data structure to write all states to one auto-deleting file per TasStateManager instance. TasStateManager is now IDisposable; this needs to be followed rigorously (I didn't do that). 2015-08-13 21:51:51 -05:00
Suuper 078bd102e8 TasStateManager should work with branch states on disk now.
Also now tracks the RAM/disk space used by branch states.
Added bookmarks to branches.
2015-08-13 13:03:22 -05:00
Suuper 4ce346661b Branch states on RAM should work. (Disk states will break things.) 2015-08-13 09:42:04 -05:00
zeromus d0f56ac98d lua - add client.SetGameExtraPadding(left,top,right,bottom) 2015-08-09 13:57:45 -05:00
feos 551acd8c9e tastudio: shift is occupied, alt is not. use alt for marker drag!
the need to draw selection in patterns is too weak, so we can safely leave alt-clicks and alt-draws to input columns only (when it's implemented).
2015-08-06 20:24:56 +03:00
feos e687c4ab1a tastudio: don't count rerecords while drawing 2015-08-06 20:03:30 +03:00
zeromus b981e00889 fully support read-only movie opening. I hope this fixes #453 2015-08-05 17:00:39 -05:00
zeromus 3ec314d20b TasStateManager: don't touch disk unless opened for 'write access' 2015-08-05 16:36:44 -05:00
zeromus 5402f1ff9e dont reorder cheats list when editing cheats 2015-08-04 22:25:58 -05:00
adelikat 15303fd49f Tastudio - branches - fix crash when dropping a branch onto an invalid area 2015-08-04 21:54:43 -04:00
adelikat 226fcbb829 Tastudio - when showing branch number on a frame and there are multiple branches, grab the most recent by timestamp 2015-08-04 21:45:11 -04:00
adelikat a686465911 Tastudio - Branches - show timestamp not movie length, and save/load the timestamp to the .tasproj 2015-08-04 21:41:31 -04:00
adelikat 64126fbad3 issue #469 - lua - forms.newform() - add an onclosed callback optional parameter 2015-08-04 20:17:04 -04:00
adelikat 2373e5bcd5 Support .xml disc bundling for PSX, note: this is sloppy code and mostly copy pasta, sorry. 2015-08-04 17:19:21 -04:00
adelikat ad821c90d5 lua - implement client.exit() 2015-07-31 18:44:53 -04:00
feos a8fc79910f tastudio: clamp newCell for dragged branches.
this fixes another OOB crash.
2015-07-31 00:30:40 +03:00
Suuper 0d87c8330c TAStudio: -Put lag log and change log back into branches.
-Bugfix: clearing states in a savestate-anchored movie threw an exception
-Clear disk states when clearing states
2015-07-30 15:14:34 -05:00
Suuper e78b39208b InputRoll: Bugfix with my new code. 2015-07-30 15:14:32 -05:00
feos 78f4084411 tastudio: color frame column the same as player 2.
this visually separates frame number column from input.
could have been done by aligning frame text to the right, but it's not possible right now.
2015-07-30 21:09:07 +03:00
Suuper a0eea10de5 InputRoll: Fix a bug with cell highlight colors, and make highlighted shading weaker. 2015-07-30 13:01:52 -05:00
adelikat 09f472ea91 Tastudio - ability to click drag branches to reorder them 2015-07-29 22:15:00 -04:00
adelikat 23b1199bbd Tastudio - show branch numbers on the navigation column for frames that correspond to branches 2015-07-29 19:45:51 -04:00
feos e6fdac6923 tastudio: current branch tweaks.
- make bg color readable, and match the plaback cursor one
- set last updated or added branch as current
2015-07-29 21:38:10 +03:00
adelikat fd8d4e4678 Tastudio - branches - cap the framebuffer display size to 320 width 2015-07-28 20:46:11 -04:00
adelikat 6e9b10d4fd remove debugging try/catch 2015-07-28 20:04:25 -04:00
adelikat 6bcbf82b7c Tastudio - ability to move markers by shift+click dragging them 2015-07-28 20:03:03 -04:00
adelikat a219e7150e Tastudio - add an option to create a saveram anchored movie from a selected frame, just like the savestate anchored movie feature, it uses the current movie to create a verification log 2015-07-27 19:25:48 -04:00
Suuper 2d64e0d115 TAStudio: -Scroll by painting doesn't require FollowCursor anymore
-Undo History form display bug fixes.
-Removed menu item to combine consecutive recordings/draws
2015-07-26 14:54:31 -05:00
Suuper d22a0db61e TASTudio: Fix hovering over column headers 2015-07-26 13:44:30 -05:00
adelikat d6d901820f Tastudio - undo dialog - don't show default icon 2015-07-26 08:16:04 -04:00
Suuper f72eadb76e TAStudio: -Fix: Undo/Redo didn't always jump back to valid frame.
-Performance boosts with multiple selected rows
2015-07-25 22:49:52 -05:00
Suuper 7a0103963d TAStudio: -History form's Auto Scroll now scrolls to current undo step instead of the last item in the list
-Allow user to cancel setting wheel scroll speed
2015-07-25 22:49:51 -05:00
adelikat db1130a8a3 Tastudio branches - ability to update a branch 2015-07-25 21:56:24 -04:00
adelikat a2edd3a018 Tastudio - Branches - fix screenshot hover, and also set the screenshot hover size to a "1x" resolution for the given core 2015-07-25 21:31:06 -04:00
Suuper 91c12d06b6 TAStudio: -Show button name and frame of painted input in undo log.
-Don't scroll to follow cursor while mouse button is held.
2015-07-25 20:15:35 -05:00
Suuper 00f38094b2 TAStudio: -Gave default values to my recently added TAStudioSettings settings.
-Properly check Always Folor Cursor menu item.
2015-07-25 20:01:02 -05:00
Suuper 6ca7080a85 TAStudio: Fixes to how scrolling while painting input works. 2015-07-25 19:56:13 -05:00
adelikat 0963c17206 Tastudio branches - when removing the selected branch, clear the selection color 2015-07-25 20:55:23 -04:00
adelikat c969c57ee9 Tastudio - remember split container settings, and also restore defaults 2015-07-25 20:21:31 -04:00
adelikat 4564cc5c6b Tastudio - make right side fixed when resizing 2015-07-25 18:48:46 -04:00
adelikat f747563f74 Tastudio - split container between input log and the right side controls 2015-07-25 18:33:58 -04:00
adelikat ce6623ba39 Tastudio - split container for bookmarks vs markers 2015-07-25 17:03:13 -04:00
adelikat aeccf2e310 Tastudio Branches - Fix null reference excepting when navigating after branch load 2015-07-25 16:36:36 -04:00
adelikat 3ffd7a528f Tastudio branches - give the length column a bit more length 2015-07-25 16:28:51 -04:00
adelikat bac2ba42a6 Tastudio branches - a slight code improvement 2015-07-25 15:42:28 -04:00
adelikat 1070fceaa5 Tastudio Branches - when removing the current branch, clear the CurrentBranch flag 2015-07-25 12:07:22 -04:00
adelikat 1a5814b7a8 Tastudio branches - tweaks to hover effect 2015-07-25 12:01:26 -04:00
adelikat 59c7349900 Tastudio branches - screenshot hover - fixes and cleanups 2015-07-25 11:08:23 -04:00
adelikat b67fda05f5 Tastudio - Branches - show frame buffer when hovering on the branch #, still a lot of tweaking to do 2015-07-25 08:59:39 -04:00
adelikat 3ea0d66785 InputRoll - support a cell hover event 2015-07-25 08:57:44 -04:00
Suuper 70538adfac -Follow Cursor settings are now saved. 2015-07-25 03:33:23 -05:00
Suuper f20da940fa TAStudio: Right-click shift+ctrl didn't jump to greenzone. 2015-07-25 03:28:21 -05:00
Suuper 4b669662b4 InputPromt: Signed and Unsigned behavior was backwards.
TAStudio: -Handle wheel scroll speed when changing orientation.
-Save wheel scroll speed setting.
-DrawInput setting was not being properly loaded.
2015-07-25 03:20:16 -05:00
Suuper 072aeb93d5 TAStudio: added an option to have the mouse wheel scroll TasView faster 2015-07-24 15:13:39 -05:00
Suuper e499503a60 TAStudio bugfixes: -Invalidated 'green' frames were displaying as white; also removed two unused color variables.
-When painting input upwards, the last frame hovered over wasn't set.
2015-07-24 14:49:00 -05:00
scrimpeh 9b6ff71cac Enably NES Music Ripper only with NESHawk, also throw out vestigial method in HotkeyConfig. 2015-07-24 18:26:14 +02:00
Suuper 3c3cdc4590 Fixed a display bug cauased by player highlighting
(also renamed a variable and changed comment lines)
2015-07-23 13:30:25 -05:00
Suuper f9cd2f4075 -TAStudio: Players' 2, 4, etc input columns have darkened bg colors.
-LagLog is now moved over to new savestate-anchored movies
2015-07-23 12:55:22 -05:00
adelikat 72d73cd754 Tastudio - branches - convert listview to inputroll 2015-07-22 17:26:25 -04:00
Suuper 01290d2e59 -Allow creating savestate-anchored movie from savestate-anchored movie
-Fix marker placement in savestate-anchored movies
2015-07-22 15:08:50 -05:00
Suuper 52544efec9 -Branches now have their own undo history 2015-07-22 14:31:47 -05:00
Suuper 6f105f6ee8 -Better fix of lag log clearing.
-Current branch is now highlighted in BranchView
2015-07-22 14:14:33 -05:00
Suuper 635ad9c01d -Fixed LagLog.Clone (was putting LagLog in the new WasLag)
-Fixed lag log being cleared on re-loading branch
2015-07-22 13:17:24 -05:00
zeromus 50aaa61d2c case insensitive lua functions library docs search 2015-07-22 12:13:30 -05:00
adelikat 8a4e33981c Ram Watch - only show the Read/Write breakpoints context menu items if the selected address(es) are on the system bus, and only show if all the criteria to use them are available rather than showing and disabling them. 2015-07-21 22:30:38 -04:00
adelikat dca259fff2 Tastudio branches - progress on loading the frame buffer when loading a branch 2015-07-21 20:31:51 -04:00
adelikat 4629233c74 Merge branch 'master' of https://github.com/TASVideos/bizhawk 2015-07-21 19:45:26 -04:00
nattthebear 862f82b1b2 Screenshots on tasproj branches 2015-07-21 19:41:57 -04:00
adelikat dbd545c0cd Merge branch 'master' of https://github.com/TASVideos/bizhawk 2015-07-20 20:10:04 -04:00
zeromus 0787a3be47 rework virtual pad analog widget to support n64 and psx simultaneously 2015-07-19 21:46:52 -05:00
adelikat 952b8f267a Tastudio - branches - purty icons for the context menu 2015-07-19 22:12:35 -04:00
adelikat 6000a499e7 Tastudio - Branch context menu item available if pointing at the current frame 2015-07-19 21:57:41 -04:00
adelikat 125a16ec67 Tastudio - refresh branches listview when loading a new/existing tasproj 2015-07-19 20:49:23 -04:00
adelikat bcab41c676 Tastudio - branches - show branch time calculation 2015-07-19 10:50:14 -04:00
adelikat 4188f2105e Tastudio - branches - ability to load a branch, currently the frame buffer does not have OSD info 2015-07-19 10:37:53 -04:00
adelikat 2201d01982 Merge branch 'master' of https://github.com/TASVideos/bizhawk 2015-07-18 22:20:51 -04:00
adelikat 1af28239dc Tastudio - lots of progress on branches 2015-07-18 22:20:38 -04:00
adelikat bf3587bd5b Tastudio - wire an instance of tastudio into Bookmark control 2015-07-18 16:13:38 -04:00
adelikat 2c7fd7edea Tastudio - add a bookmark widget, doesn't do anything yet 2015-07-18 16:10:56 -04:00
scrimpeh 7e23b06dd3 Debugger/Breakpoints - Add edit and duplicate Breakpoint buttons, refine AddBreakpoint dialog 2015-07-18 20:41:06 +02:00
zeromus f8497507f7 proof of concept: handle VirtualItemsSelectionRangeChanged on VirtualListView to fix some bugs when shift+clicking. Better fix is to correct all this stuff at the base class level and turn it into a more normalized event that works the way you expect. 2015-07-18 12:32:48 -05:00
adelikat 140ce0af16 TASTudio - when showing the marker naming pop up, clear out all the states that would have been done by the mouse up event that hasn't happened yet, prevents being able to highlight frames while the pop up is open 2015-07-18 12:33:03 -04:00
adelikat aebd7f3dae Tastudio - fix column click 2015-07-18 11:07:36 -04:00
adelikat bc553605ac Tastudio - when drawing auto-held column background, take horizontal scrollbar into account 2015-07-18 10:47:20 -04:00
Suuper 194d988a5f Put frame clears and macro placements in undo batches
Better undo descriptions for right-click edits
2015-07-16 14:40:00 -05:00
scrimpeh 73686d53dc Debugger/Disassembler - Fix adding one blank row to the disassembler view. 2015-07-16 21:18:13 +02:00
Suuper bc8717c9f9 Fixed right-click input painting in TAStudio. Also removed mouseWheelTimer as it is no longer needed. 2015-07-16 13:57:51 -05:00
Suuper 46e8bdeefa A quick attempt at fixing frame scrolling up with wheel. Not perfect, but better. 2015-07-15 15:11:32 -05:00
Suuper b9865db397 Fix: TAStudio was still seeking after edits with "Auto restore" disabled and while unpaused.
Fix: The bug where editing while seeking changed PauseOnFrame came back again.
2015-07-15 15:01:08 -05:00
Suuper 07a8a4c1d3 Removed SuppressGreenzoning because TAStudio should not allow the user to be on a frame that isn't "greenzoned". It will now jump back to the greenzoned area immediately when an edit invalidates part of the greenzone, and pause there until mouse up.
This fixes a bug which caused TAStudio to generate and keep invalid savestates.
2015-07-15 14:26:56 -05:00
Suuper f1b23b9ed3 Bugfix: Editing while seeking could set the seek frame to an earlier frame. 2015-07-14 15:14:00 -05:00
adelikat a9af8e4f3c InputRoll - wire up RowScroll and ColumnScroll events, still todo: make a custom EventArgs argument and pass useful info through it 2015-07-14 14:13:21 -04:00
Suuper e3a8c33be5 -Fixed typo in variable name (SupressGeenzonging)
-Removed state capture from TasMovie.RecordFrame
-Fixed: States weren't captured while left mouse button was still down from clicking a frame.
-TAStudio now automatically captures after loading a new movie.
2015-07-13 22:06:21 -05:00
feos 510ebf519a tastudio: moved scrolling catch up and refresh to the end of TasView_PointedCellChanged().
can drag selection offscreen too now.
todo: drag things above the view.
2015-07-14 00:40:05 +03:00
feos a2cb4373a9 tastudio: scroll to frame appended by offscreen dragging.
need to figure out scroll speed, as it is too high unless drawing VERY slowly.
2015-07-13 22:06:24 +03:00
Suuper 228a24efb0 Fixed my previous commit/push; feos' change is back.
Improved "StartAtNearestFrameAndEmulate".
2015-07-13 14:02:21 -05:00
Suuper d84da62432 Tidied up TAStudio's "GoToFrame" and fixed a runaway seek in "StartAtNearestFrameAndEmulate" 2015-07-13 13:49:12 -05:00
feos feb14ad948 tastudio: don't jump to playback when advancing/rewinding
offscreen marker goto is the only SetVisibleIndex() call that should show playback
tastudio: cursor is not a marker anymore
2015-07-13 20:37:12 +03:00
feos de699656d6 tastudio: introduce fast scroll idea via timer
seek frame is reset only if paused OR 100ms since last scroll haven't elapsed
2015-07-12 21:54:31 +03:00
adelikat f9dad99484 Tastudio - fix crash when loading a tasproj with a different controller configuration than the current 2015-07-12 12:45:30 -04:00
adelikat 58f8ad7c12 Issue #422: Virtual Pads - analog stick - when sticky option is off, and the emulator is unpaused, do not snap to 0 until the mouse button is released 2015-07-10 14:36:29 -04:00
adelikat a8bf7f1828 oops 2015-07-10 10:26:51 -04:00
adelikat a9c460802b add an option to run lua scripts while turboing instead of bypassing them. Make this option true by default (a change to the current behavior). Add a checkbox in the customize dialog to toggle this option. 2015-07-09 20:14:52 -04:00
adelikat 7ecf96772c tastudio/lua - implement tastudio.setlag() 2015-07-09 13:16:55 -04:00
adelikat 9455aec767 Tastudio/lua - implement tastudio.onqueryitemicon() 2015-07-09 12:47:59 -04:00
adelikat b0ea42f5a7 Tstudio - some reorg 2015-07-09 12:35:48 -04:00
feos 53c415a843 tastudio: keep track of rerecords, increment them in InvalidateAfter()
markers: fix input roll context menu command removing Markers
gpgx: updated dll
2015-07-09 00:48:04 +03:00
scrimpeh 60c3734e8c Ram Watch - Fix moving up and down blocks of identical Watches 2015-07-05 18:55:43 +02:00
adelikat 19423092cd Tastudio/lua - implement tastudio.ongreenzoneinvalidated 2015-07-02 14:51:42 -04:00
adelikat 105b8d3a64 Tastudio - cell height padding of 0 instead of 1 2015-07-02 14:37:28 -04:00
Tom Rochette a783ef75f6 Simple Lua sandbox.
Uses an EnvironmentSandbox to restore the Environment.CurrentDirectory. Will also catch any script exception and redirect them to the Lua console.

With this change, I've tried to replace all the places where Lua is executed so that if an exception occurs, it is catched, sent to the console and a callback is executed if necessary.

This also fixes a small issue where any callback generating an exception would crash BizHawk.
2015-07-01 22:38:19 -04:00
adelikat c53cef6cf9 tastudio/lua - implement tastudio.onqueryitemtext 2015-07-01 19:46:14 -04:00
adelikat f847e905d2 tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color. 2015-07-01 19:01:29 -04:00
Tom Rochette de98e0ed66 [#405] Set Environment.CurrentDirectory when executing Lua events within a WinForm.
Since events are not executed within the LuaConsole.ResumeScripts method, those did not have Environment.CurrentDirectory available for the executing script.

The fix is simple: when a lua script instantiates a LuaWinForm (through forms.newform), we store the current Environment.CurrentDirectory in the LuaWinForm object.
When a button or checkbox is triggered, it calls WinForm.DoLuaEvent which will set up the Environment.CurrentDirectory for the duration of the callback and then set it back to the initial Environment.CurrentDirectory.
2015-06-30 22:35:59 -04:00
adelikat e50f81d54c Tastudio - remove a line of code that makes the emulator spaz out when mousewheeling up very fast, I don't think removing this breaks anything, I suspect it was only there from some defensive programming and overthinking 2015-06-29 22:08:31 -04:00
adelikat 8911049f68 Merge pull request #447 from TomzxForks/fixes/lua-console-output-resize
Add a split container to LUA console window.
2015-06-29 21:35:46 -04:00
adelikat b991493c97 backing out of last change, it was not well thought out 2015-06-29 17:09:47 -04:00
adelikat 947f18d971 Hex Editor - super hack, allow keyboard events even when scrollbar has focus, to workaround the fact that the scrollbar mysteriously gets focus from numpad buttons 2015-06-29 17:06:46 -04:00
adelikat a2c73eb793 Remove some commented and useless 2015-06-29 16:23:59 -04:00
Tom Rochette c03a162bc1 Add a split container to LUA console window.
With the split container, resizing the window will properly reformat the output section as well as allow users to resize it.
2015-06-29 00:28:35 -04:00
ConHuevosGuey d97d94ecbc Made size nullable...now requires a size input. 2015-06-28 13:25:28 -05:00
ConHuevosGuey 229865c443 Added a 'Draw Axis' function to lua GUI library 2015-06-28 13:23:07 -05:00
adelikat 13044547e4 Tastudio - fix issue #446 - don't greenzone between the mouse down and mouse up events when editing input 2015-06-28 10:43:45 -04:00
adelikat cd4955fbe5 Tastudio - fix autoload 2015-06-27 07:49:37 -04:00
scrimpeh 716cf12f6a Debugger - Tiny insignificant fixes 2015-06-27 13:03:24 +02:00
scrimpeh 0e4a641a81 Debugger - Fix a lot of stuff regarding Breakpoints 2015-06-26 22:12:09 +02:00
pasky1382 703dc33cc0 Small correction.
Removed the link to the key names that did not contain correct information, this list of key names is not used in Bizhawk for lua's input.get()
2015-06-22 13:40:22 +00:00
adelikat 46feea39cd TAStudio - account for a button name of "P" rather than assume it is a player number indicator, fixes issue #431 2015-06-21 16:13:35 +00:00
adelikat 7e2cfa0dd5 Multi-Disk bundler - fix various issues with the form, most significantly the wrong system Id for AppleII 2015-06-21 12:51:48 +00:00
adelikat aa75bd52e9 When adding an address to ram watch from another ram tool, don't load ram watch if it is already open 2015-06-21 00:21:36 +00:00
scrimpey 17ce177e5f Debugger - Make Register Boxes use Hex input. 2015-06-19 20:32:05 +00:00
adelikat 1631297cdd Start AutoHawk, just a stub with the anticipated required services and a config object 2015-06-15 22:12:24 +00:00
adelikat 6517178e6d lua - savestate.looad() - if path does not exist put a helpful error message rather than a vague .net error 2015-06-15 01:17:02 +00:00
adelikat 59eb3dc2f2 Fix SNES Game Genie Add button (issue #420) 2015-06-06 22:26:32 +00:00
adelikat 9f0e4f0735 Apple II VirtualPad - fix up names now that we have them 2015-05-18 01:34:35 +00:00
adelikat 549e9650ae oops, didn't mean to check this in 2015-05-18 00:38:27 +00:00
adelikat 9024df91f5 Virtual pad for Apple II, many of the names will have to be cross referenced with the core when those buttons are added 2015-05-17 23:05:12 +00:00
adelikat 7af274c1cc MultiDiskBundler - don't autofill stuff if the current "rom" is a .xml file 2015-05-17 20:37:19 +00:00
adelikat a04a80bfce add "new" to LuaCanvas.Refresh() because I"m tired of seeing the warning 2015-05-17 20:33:27 +00:00
adelikat 5354be978a remove DualGBFileSelector tool 2015-05-17 20:32:49 +00:00
adelikat c9f4a27fcd Multi-Disk bundler - add a system picker, with GB and Apple II as they are currently the only systems that support this 2015-05-17 20:26:25 +00:00