Commit Graph

1587 Commits

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