Commit Graph

2567 Commits

Author SHA1 Message Date
zeromus a3ff5b0d8c improve discohawk reliability 2015-09-10 16:54:02 -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
zeromus d69a17b25e fix #495 2015-09-08 15:56:20 -05:00
zeromus 21da5ad45a allow user to suppress doubleclick-to-toggle-fullscreen behaviour 2015-09-08 14:03:52 -05:00
adelikat 23f7d6fb1a Basic Bot - make available in release builds 2015-09-07 10:33:09 -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 08978978d0 issue #493 - add option to not display OSD messages 2015-09-05 16:48:37 -04:00
adelikat ba87d19d5c Input roll - some small cleanups 2015-09-05 16:37:52 -04:00
adelikat a85c60e716 Input Roll - more avoiding calculated fields in loops 2015-09-05 15:44:08 -04:00
adelikat ed4ccdbfc6 InputRoll - don't call LastVisibleIndex, a calculated field, in a for loop, seems to be a nice speedup 2015-09-05 15:27:59 -04:00
adelikat e9d7c7c88c InputRoll - more shenanigans 2015-09-05 15:09:55 -04:00
adelikat 747c0fddda InputRoll - remove a todo 2015-09-05 14:33:34 -04:00
adelikat b45f34dc3e InputRoll - code cleanup - make NormalFont readonly and remove redundant use of this.NormalFont 2015-09-05 14:21:58 -04:00
adelikat 76db52966e InputRoll - on paint method, calculate visible columns once and pass into draw functions rather than making a new list in every method on every draw 2015-09-05 14:00:08 -04:00
adelikat dec25850c5 InputRoll - a small cleanup 2015-09-02 19:39:57 -04:00
adelikat fceb4487c9 InputRoll - tiny optimization - don't calculate lastvisiblecolumnindex during a for loop 2015-09-02 19:38:33 -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 ed26eb002d InputRoll - break off drawing methods into a separate file 2015-09-02 18:46:23 -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
adelikat 8d6dfcc7c1 Fix misnamed reference to an icon 2015-09-02 17:14:52 -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 bd796a9cb9 add kitchen sink icon for help > features 2015-09-01 11:56:37 -05:00
zeromus c99cc7fa2a fix #484 2015-08-31 14:50:26 -05: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
zeromus f0c34517e1 display manager: sort out all the y-flipping madness and fix some bugs in gdi+ with screenshot and prescaling 2015-08-30 09:20:03 -05:00
zeromus d9b765ac89 display a warning reminder that client restart is needed when changing display method 2015-08-30 09:20:01 -05: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
zeromus 90e8abd2df change interaction of throttle and frame advance / continuous frame advance 2015-08-25 16:41:54 -05:00
zeromus e4679a90e2 straighten out the skipframes menu which was completely bolloxed 2015-08-25 16:41:53 -05: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
zeromus 109ee3981b support xpad guide button 2015-08-24 15:05:06 -05:00
zeromus f20a77790d Merge pull request #486 from zeromus/master
d3d display method
2015-08-24 13:12:15 -05:00
zeromus 7e828d5618 d3d display method 2015-08-24 13:10:50 -05: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
zeromus 970f0f50ac display message when hotkey unthrottle item is clicked 2015-08-17 23:51:08 -05:00
zeromus 2adb3deac7 combine throttle OSD messages into a unified representation 2015-08-17 23:49:24 -05:00
zeromus 2255425fb9 add unthrottled and 400% speed menu item 2015-08-17 23:37:23 -05:00
zeromus 3f78e2e70f add feature to display config > misc tab for disabling display of screen and hud for true maximum turbo performance. also display FPS in window caption during that mode, so you can still tell what's going on 2015-08-17 23:26:19 -05:00
zeromus 243dcefc7e don't render audio if SoundEnabled=false. This makes unthrottled scenarios run faster when sound is disabled, as you would be expecting 2015-08-17 23:14:40 -05:00
adelikat adbe7a2340 add .unf to the Open Rom dialog 2015-08-17 16:27:40 -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 3cbea04448 fix error in IPCKeyInput 2015-08-14 19:10:55 -05:00
zeromus aa8b87129b add IPCKeyInput, since we chose to use dinput for keys, so people can send input to the process somehow. way easier and safer than changing to use win32 keystroke messages 2015-08-14 18:07:19 -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 8a1fd67497 refactor psx controller P# assignment to reusable code 2015-08-10 17:07:44 -05:00
zeromus 0cd3a82862 psx - improve framebuffer clipping method, add deinterlacer settings, fix some PAR for PAL games; fix bugs in GameExtraPadding handling 2015-08-09 13:57:45 -05:00
zeromus d0f56ac98d lua - add client.SetGameExtraPadding(left,top,right,bottom) 2015-08-09 13:57:45 -05:00
adelikat d662d9a700 clean up the NESSyncSettingsForm 2015-08-07 17:15:50 -04: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 a283b2d1b9 fix threading bug in movie scanner 2015-08-05 16:37:17 -05:00
zeromus 3ec314d20b TasStateManager: don't touch disk unless opened for 'write access' 2015-08-05 16:36:44 -05:00
zeromus 15fab8e5d2 sequentially number screenshots taken in the same second 2015-08-05 09:47:00 -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
zeromus 4e673df06f psx - continue fiddling with framebuffer cropping mode 2015-08-02 15:37:04 -05:00
zeromus 8fc5acfdcd psx - add clip to framebuffer option 2015-08-02 11:35:19 -05:00
adelikat 0b4dfb0ba0 lua - fix client.ext() 2015-08-01 15:38:43 -04:00
adelikat 2e3b27494f when loading a movie via commandline, don't nag about lacking sync settings 2015-08-01 11:13:22 -04:00
adelikat f487a1f937 when loading a movie via commandline, check for importable movie types and import them 2015-08-01 10:55:19 -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
zeromus 26da2a0733 add prototype of new PSX Controller config dialog 2015-07-27 12:18:21 -05: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
adelikat 490adc905e Support recording movies that start from SaveRam, note: as of this changeset tastudio does not support this concept and may interact in weird ways with saveram-anchored movies 2015-07-26 15:41:22 -04: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