Commit Graph

1931 Commits

Author SHA1 Message Date
feos ec3c862f4a tastudio: account for loading files with "All Files" filter.
todo: input import.
2016-02-05 23:35:57 +03:00
feos 40b8a82034 tastudio:
- don't clear selection on Cut
- don't mindlessly unpause the emulator if autorestore is off and we're editing input via menu
2016-02-05 23:35:56 +03:00
Adam Sturge c9dd10e8c0 Added comparison type column. Tied to debug issue where the column disappears from settings before being added to UI, couldn't figure it out without removing the [ConfigPersist] attribute from the Settings variable 2016-02-03 21:37:08 -08:00
hegyak 73e705f0f3 Added Multiline Cheat Code handling for all supported cores. Added GBA Slide code handling. 2016-02-03 14:01:57 -08:00
Adam Sturge 9959d61949 Added comparison type dropdown. Updated Cheat model to contain reference to comparison type 2016-02-02 20:32:46 -08:00
adelikat 8168031bed Make TargetZoomFactor a per systemId setting 2016-01-31 21:05:08 -05:00
zeromus 5e89e563d0 overhaul lua sandboxing so that each lua script has its own sandbox. elaborate tracking of winform/event ownership to ensure that lua doesnt receive calls without going through the owner's sandbox. add win32-specific speed hacks for currdir set/get at higher speed. There may be bugs in this commit, but I think we're on the right track now. 2016-01-31 19:54:55 -06:00
adelikat 30c7b32bc1 Lua Console - when a lua exception occurs we also want to update the script status icons 2016-01-31 19:02:02 -05:00
adelikat 0ff2db5c8d Lua - ResumeScripts - loop through only running scripts, to avoid sandbox calls for non-running scripts 2016-01-31 14:31:29 -05:00
adelikat 51e12040d1 Ram Watch - fix logic that determines whether to show Freeze or Unfreeze in the context menu 2016-01-31 11:55:00 -05:00
adelikat 9cb0072f0f Ram Search - also fix leadings zeros in the Difference box 2016-01-31 09:15:17 -05:00
zeromus 42c0b62261 fix some lua currdir bugs, but its all broken, dont pay any attention to it 2016-01-31 03:18:34 -06:00
zeromus da865e28b8 try sandboxing currenty directory harder 2016-01-31 02:40:48 -06:00
adelikat 0013646db5 Rip out obsolete notion of a WatchList domain, change ram watch menu item to Default Domain, who's functionality is simply to decide the default domain used when adding a new watch, also add some Visual Studio designer shenanigans for a previous commit I made that broke it 2016-01-30 22:17:31 -05:00
adelikat 5ddd9e097b clean up some warnings 2016-01-30 21:28:49 -05:00
adelikat aaf4d39b58 Ram Watch/Search - misc code cleanup 2016-01-30 21:21:17 -05:00
adelikat 6f75ef6dba Move another function to ToolFormBase 2016-01-30 21:07:03 -05:00
adelikat 894a9c2318 Rework ToolHelpers from a static object to ToolFormBase that inherits form and have a lot of tools inherit it, in hopes of moving a lot of copy pasta into a base class, move a few functions that show up a lot there 2016-01-30 20:24:53 -05:00
zeromus 0da6e745e5 move EnvironmentSandbox and LuaSandbox to Client.Common 2016-01-30 18:37:30 -06:00
adelikat 1e57a0a221 Lua Console - remember column widths 2016-01-30 19:20:52 -05:00
adelikat fdae465089 Lua - refresh the lua console when a script exits 2016-01-30 18:50:05 -05:00
adelikat 7bb3e04105 Ram Search - fix having lots of leading zeros in the different by box 2016-01-30 18:28:29 -05:00
feos 7409a32658 lua: attempt to use sandbox in callbacks. 2016-01-30 23:26:27 +03:00
adelikat b6406fe523 lua - client.displaymessages() 2016-01-30 12:08:37 -05:00
Suuper 6f95431637 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2016-01-29 12:30:04 -06:00
Suuper 81b2a5d597 Fixed #533. (Use TryParse, don't try to use a value that can't be parsed.)
Made numpad minus key work when typing a float value.
Made current typed float value display (so that "-" can show up).
2016-01-29 12:22:28 -06:00
AdamSturge fa6ed30ba5 Merge pull request #559 from TASVideos/feature/reduce-basic-bot-ui-size
reduced basic bot window size
2016-01-27 18:50:35 -08:00
feos d39aa6433e tastudio: implement SeekingCutoffInterval 2016-01-27 16:18:20 +03:00
feos 1c6a40dec9 tastudio: seek progress bar:
- stop dividing by zero!
- ignore if seeking closer than 2 frames ahead (todo: make cutoff configurable)
2016-01-27 15:44:42 +03:00
feos 1b8ef3738a tastudio:
- history form: canonical colors, show the current item better, report marker operations
- markers: adding markers updates dialog, don't ever remove marker 0
- tsm: attempt to fix exception in AllLag()
2016-01-27 12:53:26 +03:00
Hathor86 f145f3cc68 Polar Coord
- Add polar coordinates to VirtualPadAnalogStick
- Update N64 pad Schema as VirtualPadAnalogStick is a bit larger
- Add Clamp method to NumberExtensions (allows a IComparable<T> value to be restriced between 2 specified other values)
2016-01-23 22:56:41 +01:00
zeromus d7186c9e6f remove c#6isms 2016-01-21 21:22:26 -06:00
Adam Sturge 40a38703c1 reduced basic bot window size 2016-01-20 21:44:17 -08:00
adelikat 8ea6c2cc66 Merge pull request #556 from AdamSturge/master
Create movie directory and basic bot compare to UI
2016-01-20 21:09:22 -05:00
adelikat 36250ee782 Basic Bot - have the clear button clear out the attempts and frames values 2016-01-20 17:56:08 -05:00
Adam Sturge 19ae023d8e Changed case of event listeners for comparison UI elements 2016-01-17 17:46:48 -08:00
Adam Sturge 16aae180e5 Save/Load bot data now accounts for comparison values 2016-01-17 17:44:39 -08:00
Adam Sturge c172590ce4 Reset comparison values when new is pressed. Adjusted camel casing on UI elements 2016-01-17 17:20:12 -08:00
Adam Sturge f67b8e5bdf Added update code for _comparisonBotAttempt 2016-01-17 17:01:17 -08:00
Adam Sturge a7f24179cb Added UI components for specifying comparision values. Added logic to control enabling them. 2016-01-16 16:22:39 -08:00
pjgat09 e4a4a9606c Lua forms: Added a scrollbars argument for creating a textbox. 2016-01-15 21:19:25 -05:00
zeromus 364a1498c1 fix compile errors in hyper HD edition commit 2015-12-31 11:38:35 -06:00
hegyak 1b3c05d6ea Super Ultra Mega HD BizHawk GameShark/Action Replay/Code Breaker Final Hyper Edition Arcade Remix EX + α GBA Code detection method. 2015-12-31 06:13:07 -08:00
Hathor86 2876f63dd8 ExternalTools: Allow several tools running simultaneously 2015-12-30 11:00:56 +01:00
feos dc3a133d0b tastudio: fix upward drawing. 2015-12-26 13:17:22 +03:00
adelikat ac1c7d0992 HexView - setting up some API 2015-12-24 15:46:57 -05:00
adelikat 60692450e8 New Hex Editor - add the plumbing for the HexView widget, that will use the GDIRenderer as the basis for the drawing. 2015-12-24 11:15:29 -05:00
Connor Olding 9a45066e27 Fix selections in HexEditor text columns 2015-12-23 21:29:48 -08:00
adelikat d470703a40 Add an Experimental Tools submenu that only shows in Developer Builds and move autohawk there. Add a NewHexEditor tool (in the experimental section), which is currently just a bare bones winform with all the necessary plumbing set up 2015-12-23 21:11:25 -05:00
Connor Olding f0c939d87c reimplement strings for OSD watches
also fixed saving separators
2015-12-23 17:18:39 -08:00
hegyak 55eef165aa Add one to the VersionInfo.cs 2015-12-20 12:44:50 -08:00
feos a77a224f9b hexeditor: make secondary highlight color depend on primary
fixes custom color mismatch
2015-12-20 23:07:13 +03:00
feos 65415608e5 hexeditor tweaks:
- don't show chars between scrollbar and right label border
- don't add existing items to _secondaryHighlightedAddresses
- view scrolls after offscreen mouse selection
- spacing becomes more comprehensible
- display number of selected addresses if more than 1
2015-12-20 23:07:11 +03:00
hegyak 69a5b6fb52 SNES Cheats: Properly Support GameGenie codes. Fix a bug with Byte Vs. Word cheats.
GBA Cheats: Add Check for DEADFACE to return without conversion and issue warning about this.  Add Skeleton for Action Replay MAX code conversion.  Needs detection.
2015-12-20 09:52:08 -08:00
adelikat 752235b848 NES Music ripper tool - clean it up slightly to be more presentable 2015-12-20 12:51:05 -05:00
adelikat 223295cd87 Make platform specific game genie tools not released, so they don't show up in the toolbox 2015-12-20 12:49:14 -05:00
adelikat 01e72a2d94 Change macro input to released = false 2015-12-20 12:46:17 -05:00
adelikat 7654374682 Cheats - use the integrated tool instead of the one-off platform specific tools 2015-12-20 12:38:59 -05:00
adelikat 13418e963b GameShark - reposition and resize things slightly, there was a bit too much unused space for no reason 2015-12-20 11:49:50 -05:00
adelikat fdc530626d Rework the ordering of the tool menu items, and make GameShark default window style "CenterParent" 2015-12-20 11:45:39 -05:00
feos 23b3784123 lua: gui.defaultTextBackground() 2015-12-20 14:28:31 +03:00
pjgat09 84428afc58 Lua forms textbox: Ctrl+A now selects all text 2015-12-19 22:16:29 -05:00
zeromus 260ad45a88 fix lua's reboot_core function... maybe 2015-12-19 21:14:13 -06:00
pjgat09 d54e53d329 Lua forms.setproperty: Convert the passed value to an enum if applicable 2015-12-19 00:01:06 -05:00
hegyak f8a3dca089 Correct a dumb bug in Genesis GameGenie code conversion. 2015-12-18 15:50:14 -08:00
pgrimsrud bb327261ae Add a return value to the main function for various purposes.
Add Lua function ExitCode to allow script writers to terminate the client with an exit code.
2015-12-15 22:39:42 -07:00
Hathor86 a7074c6341 ExternalToolManager and BizHawkExternalToolattribute
Add those 2 classes in order to help handling of external tools
- Also fix value setting in watches constructor
- Bugfix in loading externaltools (they loaded multiple times)
- Add new version of Hello World external tool
Whitespaces noise in RamWatch.cs... :s The code hasn't changed
2015-12-13 21:38:35 +01:00
feos 2535207a40 tastudio: actually implement seeking progressbar. 2015-12-13 00:00:23 +03:00
hegyak f40b2acd47 Comment a MessageBox out. 2015-12-10 04:52:45 -08:00
hegyak 2f2bfc0656 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-10 04:43:05 -08:00
zeromus 0218d6d321 fix toolbox 2015-12-10 06:08:00 -06:00
Connor Olding a7dd0b2386 Adjust Registered Functions window: anchors, minimum size 2015-12-10 03:35:12 -08:00
hegyak 84e3e02c1e Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-09 17:01:18 -08:00
feos 2a6a2a7a8a tastudio: properly report saving progress.
also attempt to report seeking progress.
report occurs, but progressbar doesn't show up...
2015-12-10 01:38:06 +03:00
feos ea1368c819 tastudio: display changes in a loaded file too. 2015-12-09 19:58:09 +03:00
hegyak 9c210e5fa4 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-08 16:05:37 -08:00
Hathor86 708bb4fa93 Final stuff to WatchList
Now fully use comparer class. That saves memory and offer extensibility
ItemCount property obsolete => Moved to Count property (which did the same thing)
Moved ConfigPersistAttribute.cs, IToolForm.cs, IToolFormAutoConfig.cs back to common
2015-12-09 00:54:54 +01:00
feos 8a6ddfbf3f tastudio: actually use initial state from anchored movies.
don't seek to whatever frame such a movie was created from.
2015-12-08 23:38:00 +03:00
hegyak bcac7f5f18 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-07 09:27:37 -08:00
feos 72b650d606 tastudio: properly save/load column settings.
wrap MainForm savestate functions that tastudio can now control into IControlMainform.
2015-12-07 20:05:04 +03:00
hegyak 1a15403690 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-05 19:56:13 -08:00
Hathor86 12388cbe3d ExternalTool bug fix: wasn't able tool load serveral dll 2015-12-06 00:52:07 +01:00
zeromus 35066b69ef tastudio - fix behaviour of menu by special hacks involving ALT key 2015-12-05 11:32:56 -06:00
feos 84ea239180 tastudio: better check if it was engaged.
baka-yoke branch messages.
2015-12-05 18:33:35 +03:00
feos abd118253f tastudio: Save State hotkeys (finally) control branches:
- save/load by slot number (select that branch if it exists)
- save/load current slot (selected branch)
- select branch by slot number
- select next/previous branch
- bind 2 default tastudio hotkeys
keep selection when branch gets removed.
2015-12-05 17:07:24 +03:00
hegyak 0e0877aa4d Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-05 04:29:46 -08:00
feos 6d4c5ef17f preparations for state hotkeys functioning with tastudio branches.
typos.
2015-12-05 14:48:04 +03:00
feos 7fe4f4e1de context menu too. 2015-12-05 14:48:03 +03:00
feos 8411161930 tastudio shortcuts.
select all is never used, select between markers is frequent, simplify the latter.
clone and delete are used in pair, give them similar shortcuts.
insert and clear are rare, but are simple enough to drop modifiers.
insert # of frames is even rarer, make it the hardest shortcut.
2015-12-05 14:48:02 +03:00
adelikat 48487f2a90 Sort out and fix problems with Ram Search watch files showing up in the Ram Watch recent list 2015-12-04 23:18:46 -05:00
hegyak a4993b50c3 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-04 20:13:55 -08:00
adelikat c1b8e6c1d1 Cheats - fix bug where it was using the recent ram watch list instead of the recent cheats list 2015-12-04 23:03:13 -05:00
hegyak 8d724f0d14 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-03 17:44:14 -08:00
feos 4bc74ce36e tastudio: arrow keys start making sense.
up/down - scroll tasview.
ctrl-up/down - move selection.
shift-up/down - append selection.
removed ctrl-shift-R, duplicate of ctrl-shift-F.
2015-12-03 23:06:28 +03:00
feos 69970c5ae5 tastudio: select the new cell on every rightclick.
only enabled for branches and markers, since in tasview we use rightclick to start advance/rewind.
involved some hackery, like killing context menu while OnMouseDown of the given listview, then going back to InputRoll's OnMouseDown and actually selecting a new cell. can we figure out a hovered cell while context menu is still active? also, it'd make sense to do this for leftclick as well, but without context menu hiding, there doesn't seem to be a way to force updating of listviews from InputRoll.
2015-12-03 21:16:55 +03:00
hegyak b2c9fddfb9 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-02 14:07:02 -08:00
Hathor86 31cc08a954 More WatchList comments
Finished coments on WatchList object
2015-12-02 22:48:30 +01:00
feos 0f6ef723bf tastudio: fix bug with ScreenshotPopupControl's alpha channel.
it was forgetting to discard alpha, and when creating a bitmap it dropped anything but lua hud, since it does have alpha bits that nothing else has, and with no lua hud involved, it showed all normally, since it didn't have to drop colors with zero alpha. lol.
2015-12-02 22:21:05 +03:00
hegyak addb22ea39 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-01 16:48:23 -08:00
Hathor86 32271899c3 Comments on Watch derived class; started on watchlist
+ Moved WatchList.cs to specific directory (just a matter of ordering)
+ Mark some properties and methods in watchlist as obsolete
+ Create Comparer class that are used for sorting (Only domain and
address atm, other a still stored with linq). Unlike OrderBy in LINQ, it
doesn't create a new list for sorting (so it saves memory), furthermore,
it runs faster.
Finally, change to type of Watch.Address from nullable lon to regular
long (the rare times watch.Address.Value was used, there wasn't any
check of null and so, program would have crashed -
InvalidOperationException -)
2015-12-01 22:18:55 +01:00
feos ef563a77e0 tastudio: differentiate between marker with text and regular marker.
both have buttons and context menu items.
if mass adding regular markers, give a warning for 50+.
marker with text can only be added one at a time.

fix #504
2015-12-01 19:36:13 +03:00
hegyak 9cfef3f063 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-11-30 16:00:46 -08:00
feos d8ec9e6878 tastudio: editable HoverInterval for BranchView (stored to TAStudioSettings).
when comparing, we want them to show up instantly.
2015-11-30 23:45:06 +03:00
hegyak 020c71557b Add some code for Slide Code Handling for Action Replay MAX.
TODO: Detect Action Replay MAX codes Vs. GameShark/Action Replay codes.
2015-11-29 14:22:23 -08:00
feos eb41e8a8e0 lua: remove registered functions on toggle option. 2015-11-29 22:56:28 +03:00
feos 0be8f8c564 lua: another pixelFont tweak. 2015-11-29 22:56:26 +03:00
Hathor86 e7de250fb2 Comments on ByteWatch
Also moved nullable value type to non nullable (with exception
prevention).
2015-11-29 17:13:32 +01:00
feos fbd1d6d8e2 Lua: autoload recent scripts too (unless there's a recent session to autoload).
pixelText bg tweak.
2015-11-29 13:29:48 +03:00
Hathor86 1e2f4e12be Watch refactoring
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01:00
feos 128c09e7b4 progress with lua:
- added fceux and gens/snes9x pixelated fonts
- added gui.pixelFont() function for them (no resizing, so perfectly scalable)
- added background to drawText and pixelText (halo was painfully slow, so just a box)
- reordered fore and back colors for gui.text (no need to specify back every time we want to change fore). thought its back color was shadow, that is obsoleted by halo now, whose color we can't change. anyway, it's way slower than simple text functions, so they should be used mostly.
- option to toggle all scripts if none is selected. greatly reduces routine when heavily tweaking a script, and is just generally pretty.
2015-11-28 22:19:15 +03:00
Hathor86 d4b4c06f0c Draft of API
So, I create a new dll named BizHawk.Client.ApiHawk and moved few stuff
to it.
Also moved some stuff to BizHawk.Client.Common. Don't think it can be
desiociated.

I started comment Watch and rearrange code (put some #region etc...

It compiles and it seems working :)
2015-11-26 23:05:29 +01:00
feos 2ce108e310 lua: ability to SetBranchText.
doesn't make much sense to add text to existing branches from lua, but highly useful to set some text to a new branch.
and we also have a default branch text variable now.
2015-11-26 00:12:25 +03:00
feos 796a62f883 tastudio: moved branch and marker popups to their controls.
marker add called from MarkerControl doesn't check TasView selection anymore: current frame has higher priority, and if we don't want a marker on it, we use TasView's doubleclic or menu to mark selection.
sight MarkerControl cleanup.
2015-11-25 23:28:46 +03:00
feos 344cd94aa2 tastudio: MarkerControl buttons (and commands).
also moved marker context menu from TAStudio to MarkerControl.
2015-11-25 00:10:34 +03:00
feos 33144e18c7 tastudio: add buttons to branch view. 2015-11-24 20:43:43 +03:00
feos 1f1382ceb7 tastudio: attach usertext to branches, make it editable from menu.
moved branch functions and menu items around.
2015-11-23 23:27:27 +03:00
hegyak 9b0a94dd8e Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-11-22 16:04:05 -08:00
hegyak 280b7a84c7 Clear the Text Box inputs for GBA. 2015-11-22 16:03:22 -08:00
Hathor86 f3771e7b98 Ambigous call fixed
This bug occured sometime, when we try to call Load() by reflection
without parameters.
2015-11-22 23:45:57 +01:00
hegyak 3f12ae3485 Correct a small bug in GBA Game Shark code adding. Description is NOT code. 2015-11-22 13:51:10 -08:00
Hathor86 dee47067ad Merge pull request #540 from Hathor86/CustomTool-Improvement
Custom tool improvement
2015-11-22 20:49:10 +01:00
hegyak 2055e375aa Add Game Shark and Action Replay Code GBA code handling. Action Replay MAX, Codebreaker, GameShark SP, and Xploder codes are not detected or handled, yet. Action Replay MAX does have a decryption key set. 2015-11-22 11:37:42 -08:00
feos 5715dc2a84 tastudio: add user text area to screenshot control.
padding height is autocalculated based on string and bitmap width.
todo: add branch user text and use it for the above.
2015-11-22 22:31:08 +03:00
Hathor86 6f18e44fe7 Code Formating
Just more sexy
2015-11-22 17:56:08 +01:00
feos 2723739a02 tastudio: screenshot control tweaks.
- don't cut it on the left if tasview is narrow, push it right instead
- don't hide it instantly if it spawns right under the mouse cursor, hide it if mouse leaves *it*, not branch control
- keep consistent Y position
2015-11-22 19:54:21 +03:00
Hathor86 7d2e02b94b Debugging and POC
Change some logic into ToolManager for better practice
Adjust the look of toolstrip items
Update comments
2015-11-22 17:37:00 +01:00
feos 099e37ad76 tastudio: load session and rebuild columns on every file load.
it was only loaded on tastudio launch, so whenever it's not autoloading a recent project, loading one with different syncSettings would cause ! columns.
2015-11-22 17:17:01 +03:00
feos 33ac38fe5d tastudio: do right-click frame move only on Alt
right-scrolling should not fire frame drag AND greenzone invalidation (every time we accidentally move the mouse over the frame column)
2015-11-22 12:44:24 +03:00
hegyak 7ec0e74c3f Add Support for Game Genie to GameBoy, Game Gear, Nintendo Entertainment System and Sega Master System. 2015-11-21 05:55:09 -08:00
Hathor86 d92eed5845 Menuing
Change the menu item name
Change interface name
turn menu item into a submenu dynamically filled
2015-11-21 01:03:48 +01:00
hegyak 570e0aeb34 Add SNES Game Genie Handling. Added start of NES Game Genie handling. Minor code cleanup in GameShark.cs
Also updated .gitignore to have Output/Gameboy on the list
2015-11-20 07:25:09 -08:00
Hathor86 bae4d53cbf merge remote master 2015-11-20 13:14:38 +01:00
hegyak c4016affee Add SMS Action Replay handling. 2015-11-19 11:07:52 -08:00
hegyak a3b7770333 GameShark for N64 Corrected. Genesis Game Genie and Action Replay Added. Made Code detection smarter for several systems. 2015-11-19 09:34:09 -08:00
zeromus bc2e8c773d fix crash in loading hex editor (openadvanced regression) 2015-11-18 21:17:34 -06:00
hegyak 1e878f700c Corrected GB/GBC Code Handling. Added SNES Action Replay code handling. 2015-11-16 09:22:58 -08:00
hegyak b3166094ca Added PSX and Saturn GameShark Code Support. 2015-11-16 06:49:00 -08:00
hegyak ca2a98c029 Improve GB/GBC GameShark Parsing. Make N64 Parsing robust. Start on PSX handling. 2015-11-15 19:35:05 -08:00
zeromus 0ff2a2eb49 fix crashy bugs in snes gfx debugger 2015-11-15 18:02:20 -06:00
hegyak 59766d07c0 Further Cleaned up the GameShark N64 Code Behaviors. Byte and Word Recognized. 2015-11-15 12:25:32 -08:00
hegyak 3596407791 Changed the Byte Detection method for N46 Cheats. 2015-11-15 11:37:30 -08:00
hegyak afa4ec30b6 Clean up GB/GBC GameShark Handling. Improve N64 Code Recognition. 2015-11-15 11:09:55 -08:00
hegyak 26758d00fd Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-11-15 06:27:53 -08:00
hegyak 0c8c5f81c6 Added N64 GameShark Support. 2015-11-15 06:25:55 -08:00
Hathor86 c7dcb42b94 Merge from maser@TASVideos 2015-11-15 11:27:00 +01:00
zeromus 22192e700b attempt to make it possible to store movies on disk instead of in memory 2015-11-15 02:27:48 -06:00
hegyak 77e6239992 Correct/Cleanup the GameShark Tool.
Conflicts:
	BizHawk.Client.EmuHawk/tools/GameShark.cs
2015-11-14 15:15:47 -06:00
zeromus fae4d27bed Revert "Cleanup GameShark.Designer.cs"
This reverts commit 9864d8190c, reversing
changes made to 0630be922b.
2015-11-14 15:11:13 -06:00
hegyak 9864d8190c Cleanup GameShark.Designer.cs 2015-11-14 12:13:39 -08:00
hegyak 6c9006241d Correct/Cleanup the GameShark Tool. 2015-11-14 12:10:23 -08:00
adelikat 0630be922b Tools - add a SupportedSystems attribute to ToolAttributes, if specified by a tool, the IsAvailable and Load Calls will check that the current system id is in the list 2015-11-14 14:59:56 -05:00
hegyak c112a2b0a2 Added GameShark Converter. 2015-11-14 04:49:45 -08:00
zeromus 283cb4ae50 fix loading of roms from commandline 2015-11-12 17:47:39 -06:00
zeromus 53eae133e7 fix #537 Annoyance with "always on top" 2015-11-12 17:32:49 -06:00
Hathor86 5c36c16160 Fixing merge 2015-11-08 22:57:54 +01:00
Hathor86 cc2c888870 Merge remote-tracking branch 'refs/remotes/TASVideos/master'
Conflicts:
	BizHawk.Client.EmuHawk/MainForm.Designer.cs
	BizHawk.Client.EmuHawk/MainForm.cs
	BizHawk.Client.EmuHawk/tools/CDL.Designer.cs
	BizHawk.Client.EmuHawk/tools/CDL.cs
	BizHawk.Client.EmuHawk/tools/CDL.resx
	BizHawk.Common/InstanceDll.cs
	BizHawk.Emulation.Common/CodeDataLog.cs
2015-11-08 22:41:51 +01:00
Isotarge 02c04d0088 Fix forms.destroyall() and call it when lua console closes
Fixes #454
2015-11-07 01:38:44 +10:30
adelikat 26f1c2c2ec Cheat Dialog - fix issue #535 - domain list does not update when changing cores 2015-11-04 22:23:27 -05:00
zeromus 4942ae7905 CDL - revise UI 2015-11-04 02:08:11 -06:00
zeromus be4af1ec2f when editing watches, populate the edit dialog with the actual memorydomain of the watch you're editing, instead of mainmemory 2015-11-03 03:24:25 -06:00
Hathor86 f70a2c8c6c Merge from TASVideo 2015-11-01 22:01:19 +01:00
zeromus 1ce0437c3d CDL - add .cdl file map to dialogbox display 2015-11-01 11:23:33 -06:00
zeromus 70e0954f28 CDL - major refactor complete. muuuuch better. 2015-10-28 03:51:53 -05:00
adelikat 400e4f4800 Add an empty ICodeDataLogger emulator service, make it a required service for CDL.cs 2015-10-27 19:03:56 -04:00
zeromus 35b6d8c1d6 CDL - support GPGX. still need to make enable toggle, to win back speed 2015-10-27 16:31:43 -05:00
zeromus e8d307c33a CDL - add consistency check to GB, fix probably bugs in varying cartram sizes, change GB memdomain from "Cart RAM" to "CartRAM" (hope this doesnt cause a problem) 2015-10-26 21:42:48 -05:00
zeromus 7cf79aae8c CDL - add byte counter, fix bug resetting GB 2015-10-26 19:36:26 -05:00
zeromus fbe010a18d CDL reorg 2015-10-26 19:24:20 -05:00
zeromus 10bbf6e9d0 implement GB CDL 2015-10-26 19:16:38 -05:00
zeromus bef877365c make CDL generic, and prep for GB CDL 2015-10-26 19:15:21 -05:00
feos ef07f8b0b0 tastudio: account for mouse speed when advancing/rewinding.
this way you get farther if you right-scroll fast, and still navigate precisely otherwise.
2015-10-25 20:48:51 +03:00
feos a4b3a57af2 tastudio: update RowCount before scrolling to frame.
fixes loading a branch whose movie length is longer than current.
2015-10-25 20:24:33 +03:00
feos 19add0ec93 tastudio: save/load TasSession variables in .tasproj.
right now only includes current frame and branch. current scroll is not needed as we GoToFrame anyway, current selection seems pointless.
2015-10-25 17:53:25 +03:00
zeromus 84be5d211c fix IndexOutOfRangeException in SNES Graphics Debugger #529 2015-10-24 18:04:35 -05:00
feos 3f1a3907b5 tastudio: put branch states to a separate greenzone file.
default scroll speed to 3.
2015-10-24 12:47:34 +03:00
adelikat dc00fd0a4b Merge pull request #528 from BordynConfused/master
BasicBot got smarter
2015-10-22 18:57:34 -04:00
zeromus 93e7c91ee9 clean up lua console pause/stop behaviour a little bit and add listview icons to make it more clear what's going on 2015-10-22 16:28:52 -05:00
BordynConfused 30f6b659f2 BasicBot got smarter
BasicBot can now search for values that are greater than, less than, or
equal to the best run values.
2015-10-22 13:21:20 -05:00
feos 4e7d03d9a3 tastudio: clean up garbage lua text and drawings.
- text was written twice if we update tools and PauseOnFrame (seek) within one frame.
- drawings didn't update during turbo even when RunScriptsDuringTurbo was on, but a whole bunch of accumulated drawings was appearing at once, when you do a normal advance after turbo mode.
2015-10-22 19:33:31 +03:00
feos 8a86737ff0 tastudio: color stated frames on WasLag too. 2015-10-21 19:00:24 +03:00
zeromus 7e0996b44b fix Memory watch: Strange rectangle #526 2015-10-18 22:13:41 -05:00
zeromus 32a1101713 fix hex editor not repainting when editing bytes to the same value as before 2015-10-18 18:44:57 -05:00
Isaac Miell 2e993dcc44 Monospaced font for BasicBot input display
Aligns input frame readout by using a monospaced font for the display
2015-10-18 11:34:27 +10:30
zeromus c3ff70b864 fix gameExtraPadding coordinate translation and revise lua autodoc for the concerned functions. Presently the entire assortment of functions is confusing, but at least it does something that works. 2015-10-16 19:17:23 -05:00
zeromus 9b222653f5 fix some lua autodoc 2015-10-16 18:28:23 -05:00
feos 9f2879acb6 genesis vdp viewer: allow scrollbars when shrunk. 2015-10-16 22:00:14 +03:00
zeromus 195197fb70 snes gfx debugger: fix crashes and malfunction in 16x16 tilemaps 2015-10-15 23:12:20 -05:00
zeromus 9410a6cb9d lua console - tweak output behaviour for script evaluation textbox 2015-10-15 18:32:59 -05:00
zeromus 169f36ee85 code formatting 2015-10-15 18:32:59 -05:00
zeromus 91f2d36a37 fix some flakiness in the cheat editor dialog. i can't describe it more precisely than that. 2015-10-15 01:21:05 -05:00
zeromus 3592d1418d lua - add client.SetSoundOn and client.GetSoundOn 2015-10-13 18:54:05 -05:00
zeromus 7e9c966887 fix some weirdly bloated dialog box resx files simply by deleting their icons and re-setting them 2015-10-13 00:14:12 -05:00
zeromus 21579c1c86 lua - add client.SetClientExtraPadding 2015-10-12 20:30:09 -05:00
Hathor86 b55a175556 Merge remote-tracking branch 'refs/remotes/TASVideos/master' into NewrRelease
Conflicts:
	Version/VersionInfo.cs
2015-10-11 19:51:03 +02:00
Hathor86 8f123527e8 Merge remote-tracking branch 'refs/remotes/TASVideos/master' into NewrRelease 2015-10-11 19:40:46 +02:00
adelikat 1ee56ea4ef Ram Search - fix save menu item adding to ram watch recent files instead of ram search 2015-10-11 09:53:32 -04:00
Hathor86 8ad8ad2c6a Start back from initial release branch
Just to have cleaner changes
2015-10-07 23:54:57 +02:00
feos ef5369a443 tastudio: "Erase branch states before all the rest" option.
fixed branch info loading.
2015-10-06 21:51:03 +03:00
feos e0c2e43e48 tastudio: add an option for (not) using branch states in tasproj.
clueless about what should go in its description.
fixed new guid being assigned to branches loaded from the project.
2015-10-05 22:11:45 +03:00
feos 31e476a3cd tastudio: load projects without branch state info.
fix some other crashes, kill selection when loading a file.
2015-10-05 19:08:21 +03:00
feos 89d919e6a9 tastudio: loop guid dup check.
don't remove marker 0.
update when going to frame 0.
don't check hasDuplicate against current states if branch is not current (what was it for at all?). releases Used per branch removal.
2015-10-04 21:10:40 +03:00
feos 2a8578c74f tastudio: keep the same identifier for updated branch.
ban context menu when there's no selection.
attempts to fix mysterious crashes in TasStateManager.
2015-10-04 18:00:04 +03:00
feos 4625bdce0f tastudio: a bunch of fixes.
- update branches per RefreshDialog()
- clear selection per right click if it's beyond movie length
- fix crash when load branch is called with null selection (can't stably reproduce, but it happens)
- assign guid to branches from the right place. this required setting some statics, don't know if it was right, but it works.
2015-10-04 13:39:14 +03:00
zeromus c9838d668a psx - hook up new controller configuration, to support 0-2 pads and 0-2 memcards. Not tested very well yet. no multitap this release. 2015-10-03 17:27:52 -05:00
Suuper d1fa718120 Put my AutofireStickyXORAdapter back and fixed the bug it had. 2015-10-03 09:36:07 -05:00
feos 29767ba522 tastudio: fix branchview bg updating. 2015-10-01 19:48:08 +03:00
zeromus 5b4845692a hex editor - clean up copy/paste. fix data scrambling bugs and handling of weird selection areas. copy now creates writes raw (non-byteswapped) values. add 'export' command which creates the text you have copied, complete with spaces. 2015-09-29 02:29:19 -05:00
zeromus bacd3f6704 hex editor - clear selection range when changing data size 2015-09-28 23:54:26 -05:00
feos 0bd4e99c8f tastudio: allow loading the current branch, since it might have been edited. 2015-09-25 21:17:07 +03:00
feos 60555db3cc tastudio: ColorZone for branches too. 2015-09-23 20:03:26 +03:00
zeromus cf1c53f3fb fix quicknes lua rendering being offset incorrectly sometimes. fixes #498 2015-09-16 14:02:45 -05:00
feos 4f07c908a0 tastudio: more branch work.
- change skipRemoval default to true, set to false only on state capturing
- put guid hashes to BranchStates
- setup a couple of functions using guid
2015-09-16 19:40:50 +03:00
feos b31c43321b tastudio: branches.
- update inputroll after branch operations
- properly remove BranchStates units
- don't load current branch
2015-09-14 20:45:27 +03:00
feos 62e25eadb0 tastudio: attempts to fix branch states.
relying on dynamic serial number was plain wrong, but TotalSeconds might be obsoleted by new branch field that doesn't change and is unique for each branch, like a counter of created branches.
todo: load branch states from tasproj, or at least not drop the states above divergent point when loading.
2015-09-13 23:36:47 +03:00
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