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
feos
6d4c5ef17f
preparations for state hotkeys functioning with tastudio branches.
...
typos.
2015-12-05 14:48:04 +03: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
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
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
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
feos
855561ac19
tastudio: last preparation before new tasproject entry.
...
old branch states won't load anymore, as they were part of common greenzone and were cut off. current states should still be compatible.
2015-10-24 17:17:33 +03:00
feos
fd2e6848f1
tastudio: tsm never actually uses currentBranch, so why should it have it?
...
Revert "make sln version 2010 again." This reverts commit 48a59f1cef
.
It's now known that to make newer .sln compatible to VS2010, one should install SP1.
2015-10-24 16:29:37 +03: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
feos
d92d39f515
tastudio: don't truncate LagLog if the branch's one is shorter, but input is the same.
2015-10-21 19:00:25 +03: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
87dd32eeac
tastudio: found another bomb set by picking branch states by index. two actually.
2015-10-05 00:24:41 +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
adelikat
9f67d8e59b
TasBranchCollection - encapsulate unique identifier logic into TasBranchCollection
2015-10-04 10:43:36 -04: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
nattthebear
915abb9504
Stuff
2015-10-03 19:20:32 -04:00
feos
f3ad71af24
tastudio: duplicate hash check before adding.
2015-09-29 19:51:41 +03:00
feos
1175a86123
tastudio: use DivergentPoint() as a backup in case branches lose their states.
2015-09-23 19:43:21 +03:00
feos
b5582722c8
tastudio: fix yet another branch crash.
2015-09-16 23:19:03 +03:00
feos
6e16f0c5dc
tastudio: thanks for letting a ulong overflow backwards.
2015-09-16 21:44:42 +03: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
adelikat
227a35e474
Add a unique identifier to branches and save and load them to disk, still todo - use them in stuff
2015-09-15 20:42:27 -04:00
adelikat
a8409a9c86
TasStateManager - some cleanup
2015-09-15 20:03:50 -04:00
feos
ce3c9364df
tastudio: ban state removal per branch load.
...
todo: figure out way to skip removal internally in StateToRemove().
2015-09-15 21:47:59 +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
adelikat
b692acf2f9
TastStateManager - more exception prevention
2015-09-06 14:18:31 -04:00
adelikat
0a4ad42eaa
TasStateManager - more work arounds to deal with the scenario of removing branches, I doubt this is the correct approach, but I don't know what else to do, someone should revisit this
2015-09-06 13:39:14 -04:00
adelikat
f06e2d86da
TasStateManager - fix crashes when deleting and updating branches, these are all probably hacks that need to be revisisted
2015-09-06 13:23:40 -04:00
feos
3fccda33fd
tastudio: hail copypaste-driven development!
2015-09-06 18:02:50 +03:00
adelikat
0da8f3cac4
TasStateManager - don't modify while iterating
2015-09-06 10:56:31 -04:00
adelikat
2f3f5ad465
Tastudio branches - save and load markers to disk
2015-09-06 10:18:46 -04:00
zeromus
a7bf968554
fix TasStateManager clearing bug
2015-08-17 16:29:45 -05: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
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
432adc7874
..huh. fix building, and also change an int to a long where it was conceivably inadequate
2015-08-13 21:54:38 -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
feos
e687c4ab1a
tastudio: don't count rerecords while drawing
2015-08-06 20:03:30 +03:00
zeromus
4eb89c823d
fix slow big O in TasStateManager, causing performance catastrophe when state scavenging begins. But I'm not 100% sure I did it right.
2015-08-05 19:42:01 -05: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
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
07fddd31d7
Tastudio - tweak rerecord counting to what was probably intended, only increment rerecord count on Invalidate() if Invalidate() actually invalidated any states
2015-08-04 20:24:49 -04:00
feos
90cdbc1d1f
tastudio: fix crash when comparing branches with identical input and different length.
...
it was setting loop count basing on a longer branch (if it's current), the shorter one going OOB.
2015-07-31 00:04:01 +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
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
26f824625c
TAStuido - support saving and loading of saveram in saveram-anchored movies
2015-07-26 15:48:12 -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
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
adelikat
e73c7813bf
Tastudio branches - make a copy of a branches log, instead of referencing it!
2015-07-25 18:13:56 -04:00
adelikat
182ce33a3c
Tastudio branches - invalidate lag log on branch load for now, even though the information is saved in branches and is valid (todo: a better design or quit saving this info). Also don't load the changelog from branches, again, don't save this info if this isn't desired.
2015-07-25 18:02:58 -04:00
adelikat
df41eeffc3
Tastudio - branches - invalidate on branch load at the point the branch diverges from the current greenzone, not at frame 0
2015-07-25 16:24:38 -04:00
adelikat
819a13a6f0
Tastudio branches - save the OSD frame buffer to disk as the size that it is
2015-07-25 12:04:39 -04: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
nattthebear
e43e89e5cc
tasproj branch thumbnail: change load to simply load whatever size is present in the zip file.
2015-07-22 18:02:38 -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
nattthebear
862f82b1b2
Screenshots on tasproj branches
2015-07-21 19:41:57 -04:00
nattthebear
14db42c28a
Stuff. Sorry, I'm having a bad day.
2015-07-19 17:09:05 -04:00
nattthebear
e280e4f55c
TasMovie Branch internals
2015-07-19 15:57:40 -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
1af28239dc
Tastudio - lots of progress on branches
2015-07-18 22:20:38 -04:00
adelikat
ebe23ada64
Tastudio - save the lag log into regular mainform produced savestates
2015-07-18 09:48:14 -04: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
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
451fd779bc
tastudio: apply autohold to appended frames.
...
needs current frame to be emulated with autohold already to pick up the pattern.
2015-07-13 22:44:17 +03:00
adelikat
7ecf96772c
tastudio/lua - implement tastudio.setlag()
2015-07-09 13:16:55 -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
adelikat
19423092cd
Tastudio/lua - implement tastudio.ongreenzoneinvalidated
2015-07-02 14:51:42 -04: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
SuuperW
9d7a522576
Fix, fix, fix...
2015-03-23 20:15:35 +00:00
SuuperW
9b8d2f70ab
Various fixes
2015-03-22 16:55:34 +00:00
SuuperW
9328dd2f3a
-TAStudio automatically set Read-Only
...
-TAStudio no longer refreshes every frame if playback cursor isn't visible; slight performance boost
-Editing while in playback won't mess up the LagLog (states still do)
-Fixes to rotated display and HBar scrolling
2015-03-19 19:55:38 +00:00
SuuperW
91dc780103
Fixes/changed to state history saving.
...
State History Integrity Check now stops at the last state.
2015-03-17 01:02:38 +00:00
SuuperW
6783978f49
Bugfix: Extending movie by painting invalidated last frame
...
Moved GreenzoneCurrentFrame call to a new method called after frame advance.
Feature: Scroll to marker
Page up/down now scrolls by one page
Scrolling via dragging bar and via wheel now both have the same max value.
2015-03-16 20:42:14 +00:00
SuuperW
a3eadc8e5f
Various bug fixes, most to TasStateManager.
2015-03-16 16:36:00 +00:00
SuuperW
37590e7ea4
TasStateManager can now save states to disk.
2015-03-15 06:26:57 +00:00
SuuperW
c661591c5c
Smarter state management.
...
Don't focus on TasView if TAStudio doesn't have focus.
Bugfix: Scrolling with wheel didn't update pointed cell
Setting: Scroll to top/bottom/center
Follow cursor hotkey
2015-03-14 16:38:07 +00:00
SuuperW
1a0476892f
Bugfix: TasProjects without states loaded without a power on state.
...
Bugfix: There were several ways to edit movie in TAStudio without rewinding to edited frame.
Smarter state management.
2015-03-12 18:31:28 +00:00
SuuperW
c283f2d55a
Macro tool button select works
...
-Recent macros list now saves
-Macros can now be saved/loaded from TAStudio.
2015-03-11 16:14:02 +00:00
SuuperW
6013b9ed2b
Implemented feature: Auto-adjust Input according to Lag;
...
Added option: Hide WasLag Frames
-Changed implementation of TasLagLog
-Removed single-line Marker functions from TAStudio.
2015-03-10 17:11:29 +00:00
SuuperW
9891e73313
Added a couple Refreshes to TAStudio; Lag History is no longer completely cleared on making an edit.
2015-03-10 06:14:14 +00:00
SuuperW
e2f79254be
Changed TAStudio to not reference the no longer used StickyXORAdapter.
...
Chagned GetFloatValue to GetFloatState (to match SetFloatState)
2015-03-10 04:16:42 +00:00
SuuperW
7360badb4a
Added AutoFire support in TAStudio, fixed/improved patterns.
...
-A couple minor fixes
2015-03-08 04:42:04 +00:00
SuuperW
189ecfeb2e
TAStudio:
...
-Undo History UI, some history bugfixes
-Painting input past the movie no longer moves markers
2015-03-04 19:03:00 +00:00
SuuperW
1e0ce3b7c1
-Feature: Changing input past the movie now extends the movie.
...
-Implemented max undo levels feature.
-Started making TAStudio UI for undo history.
2015-03-03 21:10:48 +00:00
SuuperW
e4c4910b37
TAStudio:
...
-Several buggixes
-Feature: Right-click dragging frames to move/copy/clone. (Combine with Shift and/or Ctrl.)
2015-03-03 18:22:54 +00:00
christoph.boehmwalder
1d7a8e9b73
Fix a minor indexing bug
2015-03-03 17:01:54 +00:00
SuuperW
e40b10a0b6
-marker undo code moved to proper place
...
-undo history fixes
-feature: binding markers to input
-bugfix: TasView wasn't always refreshing when inserting/deleting frames
2015-03-03 08:32:39 +00:00
SuuperW
25e54f4390
-More StateHistory names
...
-Smarter state history management
TAStudio: A few bugfixes and performance boosts
2015-03-03 06:56:45 +00:00
SuuperW
2c876858f2
-Bugfix: TAStudio couldn't re-save a project.
...
-Bugfix: tasproj files without StateHistory couldn't load.
-Gave a bunch of StateHistory stuff proper names.
2015-03-02 23:43:52 +00:00
SuuperW
bff3d64a4a
-Various fixes, mostly to Undo/Redo.
...
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
SuuperW
6639bbd127
-Reverted a change to TasMovieMarker, made Undo/Redo moving markers re-sort the markers list.
...
-Added file that was supposed to be in previous commit
2015-03-01 15:41:54 +00:00
SuuperW
cf081ce1fc
TAStudio:
...
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
adelikat
240b89082b
Tastudio - fix capturing during the movie playback frame loop, used some duct tape for now, need a better solution
2015-02-24 21:56:01 +00:00
adelikat
6a02656417
Tastudio - track lag log history (1 level deep) and color "invalidated greenzone" using this information (a lighter shade of normal greezone colors)
2015-02-24 21:23:16 +00:00
adelikat
817b9d83aa
tabs to spaces, whitespace commits are the best
2015-02-24 20:15:43 +00:00
adelikat
634acd8fe1
TAStudio - Remove some code that captures lag and savestate info of the current frame when requesting input, because that's a bogus notion, such methods shoudln't have side effects. I was going to hack it for the scenarios where it needs to happen, but I couldn't find any downside to just deleting the code, if there's regressions traced back to this commit, let me know!
2015-02-24 03:06:15 +00:00
christoph.boehmwalder
c3f51f8b39
Made saving a little more convenient by putting it in its own thread. Might be very buggy still.
...
Also temporarily disabled reading TAStudio settings in PlaybackBox because of a NullReferenceException
2015-01-03 02:29:55 +00:00
adelikat
6d0a764a72
Tastudio - quick fix for crashing on startup, a better solution is needed eventually but this will work fine, it just isn't conceptually how we want to do things anymore
2014-12-21 23:53:40 +00:00
adelikat
f5cc38c9cd
AsInputPollable()
2014-12-05 00:59:00 +00:00
adelikat
e2033c9d2e
AsStatable() and also update statusbar saveslots on CloseRom()
2014-12-05 00:52:16 +00:00
adelikat
a83d714c42
Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable
2014-11-30 20:29:30 +00:00
adelikat
eed16fafc8
TasStateManager - don't check for null emulator nor IStatable, fail catastrophically if a core is not IStatable, they shouldn't have gotten this far if it wasn't
2014-11-30 17:54:21 +00:00
adelikat
76148ae111
Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc)
2014-11-30 16:42:58 +00:00
adelikat
2041b15260
Tasproj loading - don't attempt to read from empty files if they exist but are empty
2014-11-20 00:14:33 +00:00
adelikat
b4f7e13d1b
Tastudio - in non-developer builds, set the minimum savestate frequency from 2 to 1
2014-11-19 16:22:03 +00:00
adelikat
ea6966a911
Tastudio - fix loading of projects
2014-11-19 15:54:00 +00:00
adelikat
5349affbc4
Tastudio - support "out of order savestating" using saveslot states. Experiemental, could have bugs particularly off by one issues
2014-11-15 21:49:58 +00:00
adelikat
410078081c
Tastudio - fix lag lag to reflect the next frame
2014-11-15 14:55:44 +00:00
adelikat
80dae0d026
Tastudio - refactor lag log to be a list of frame,bool combinations instead of just a list of bools, note: this changeset reverts the list back to an "off by 1" where it corresponds to the current frame not the next frame, that will be solved in a later commit
2014-11-15 14:31:18 +00:00
adelikat
891d3933bd
Don't increment the Rerecord counter with loading a bk2 or tasproj movie, fixes the obvserved issue in issue 303. However, a bigger concern is why loading a movie and stopping it is causing the movie to be saved in the first place
2014-11-13 23:49:58 +00:00
adelikat
149a759a26
Tastudio - oops, fix major bug in r8145
2014-11-02 14:25:06 +00:00
adelikat
2f3f3d29fc
Tastudio - invalidate lag log when editing frame 0
2014-11-02 13:52:45 +00:00
adelikat
7f18d9ebc0
Fix bugs in last commit
2014-11-02 01:10:19 +00:00
adelikat
f7460d1821
Tastudio - make green/red drawing for lag correspond with FCEUX's taseditor. Rather than show what the lag counter is saying, show what the next frame will be. The logic here is that green means a frame in which an edit will have an effect on emulation and red means it will not.
2014-11-02 00:39:53 +00:00
adelikat
8197f96c98
TasMovie - make a TasLagLog class to simplify some code
2014-11-02 00:22:04 +00:00
adelikat
01909dfb98
Tastudio - When creating a savestate-anchored movie from an existing movie, copy the previous input into VerificationLog.txt
2014-11-01 14:01:21 +00:00
adelikat
900ce76a3b
TasMovie - add a VerificationLog.txt file in the tasproj, doesn't use it yet but it does properly save and load it, will save if there is any log entries, will load it if the file exists in the tasproj
2014-11-01 13:37:18 +00:00
adelikat
6611ddd9ba
Some fixups to TasMovie - mostly code cleanup but also some subtle bug fixes
2014-11-01 12:50:36 +00:00
adelikat
549b948ffd
Tastudio - add a context menu "create new project from here", it will take the currently selected frame and create a savestate-anchored project on this frame (keeping any input after this frame), and load this new project.
2014-10-30 23:29:21 +00:00
adelikat
e3b6d29956
Refactor last commit and some other code so that reset happens in a singular place when loading a state from the state manager
2014-10-26 23:37:42 +00:00
adelikat
59494767f5
Tastudio - refactor TasStateManager GetStateClosestToFrame() to return a KeyValuePair (frame number and savestate data) so the calling code has a clue which savestate was returned, reset counters if a savestate-anchored movie's "anchor" was loaded
2014-10-26 23:26:43 +00:00
adelikat
fa9971022b
TasStateManager - GetStateClosestToFrame() - state savestate anchored movies into account
2014-10-26 23:17:20 +00:00
adelikat
170bc4aab0
TasStateManager - Invalidate() - take savestate anchored movies into account
2014-10-25 19:33:28 +00:00
adelikat
b301546237
TasStateManager - take starts from savestate into account in the HasState() method
2014-10-25 16:11:40 +00:00
adelikat
429b298dc1
TastStateManager - take starts from savestate into account when deciding if there are any states
2014-10-25 16:05:11 +00:00
adelikat
c49e51d03f
When converting a movie to a tasproj, properly capture whether it starts from savestate and make the appropriate marker
2014-10-25 15:47:15 +00:00
adelikat
d0aee55059
Tastudio - a bit of simplifying some code
2014-10-20 19:04:59 +00:00
adelikat
3593588d5f
InputRoll - ColunReorder event handler, Tastudio - subscribe to this event handler and flag changes to the movie (since this information is saved into the tasproj file)
2014-10-19 14:46:01 +00:00
adelikat
ceb79a4c26
Tastudio - make a new project called default.tasproj rather than gamename, only use gamename when suggesting a movie in a Open/SaveFileDialog
2014-10-18 15:50:12 +00:00
adelikat
e1b0544668
TasMovie - fix stop movie, if there were no changes to the movie file it was IGNORING the request to stop, that was bad and was the cause of various subtle oddities
2014-10-18 15:17:49 +00:00
adelikat
305dea53ab
Tastudio - a dialog to change the default "greenzone" settings
2014-10-18 01:01:45 +00:00
adelikat
48eb40449c
Make TasStateManagerSettings use default values from the config, next step: a ui to change the config values
2014-10-17 22:47:30 +00:00
adelikat
f930622b5e
Move TasStateManagerSettings to its own file
2014-10-17 22:39:40 +00:00
adelikat
fe9dade094
tasmovie - don't capture information on GetInputLogEntry(), that is code that should have been been whaked when refactoring Everything ot UseGetInputState() instead. Still todo: get rid of this method alltogether
2014-10-16 23:11:29 +00:00
adelikat
e58e911d7e
Tastudio - when emuhawk is playing back frames, we must be logging lag and savestates in tasmovie if we do not have the information! This fixes a number of "spooky" bugs I've been finding!
2014-10-16 23:05:59 +00:00
adelikat
5436a7d24e
BinarySavestates - add a HasLump() method, and use it to check for clientsettings in tasproj since it may or may not have it
2014-10-15 15:55:41 +00:00
adelikat
3be3264d60
TasStateManager - make frequency based on savestate size, formula should be tinkered with to get best results on all platforms, also dont' ever capture frame 0 on savestate-anchored movies since the anchor will be returned when 0 is requested
2014-10-15 15:47:04 +00:00
adelikat
fc311c12e9
Tastudio - never remove the frame 0 savestate in non-savestate-anchored movies
2014-10-15 15:23:48 +00:00
adelikat
e6cec0f52f
Tastudio - Saving and loading of column info to the .tasproj file, loading is still problematic because it is being whacked by code that rebuilds the columns later, need to unspeghettify some things
2014-10-14 18:09:30 +00:00
adelikat
ce58f0e803
Tastudio/TasMovie - simplify some more code
2014-10-14 13:31:14 +00:00
adelikat
a639cfd275
remove some code in tasmovie that isn't necessary now
2014-10-14 13:24:15 +00:00
goyuken
4ee816e8bc
code to use 7zip (unmanaged) to write archives, not active for the moment, still stuff to do
2014-10-12 04:24:31 +00:00
adelikat
99e6b7ce27
Tastudio - for devleoper builds add a Greenzone Integrity Check menu item, runs through the movie and verifies the greenzone states are identical to the data gathered from emulating and replaying the movie and savestating
2014-10-05 14:11:30 +00:00
adelikat
cfff19b808
TasStateManager - add an InitialState property, not used yet and has limited value, but might help with clarity
2014-10-05 12:59:12 +00:00
adelikat
fda36d349d
a fix to the fix of last commit
2014-10-02 23:50:50 +00:00
adelikat
d0970c5ba4
fix last commit
2014-10-02 23:19:37 +00:00
adelikat
535ba7dc4a
TasStateManager - don't delete frame 0 greenzone, todo: refactor to store this (for non-savestate anchored movies) separately
2014-10-02 23:10:36 +00:00
adelikat
4addd7fcbc
Tastudio - implement a Clear Greenzone menu item
2014-10-02 22:58:36 +00:00
adelikat
e00801d6f3
tasmovie - only save when stopping if there are changes
2014-09-27 23:56:23 +00:00
adelikat
624ad32d4e
Tastudio - fix some go to frame logic, but probably broke stuff too
2014-09-22 23:24:34 +00:00
adelikat
ea3f86c11e
Tastudio - Fix some erroneous StateManager logic
2014-09-22 22:52:34 +00:00
adelikat
0ef72d3ab2
Tastudio - fix a bug in tastatemanager
2014-09-22 14:44:32 +00:00
adelikat
8b212da594
tastudio/lua - implement tastudio.getmarker(), tastudio.setmarker(), and tastudio.removemarker()
2014-09-21 15:17:29 +00:00
adelikat
e6d6dc7e51
Tastudio - more go to frame stuff
2014-08-30 00:40:53 +00:00
adelikat
c7949501b2
Tastudio - proof of concept for cachine the input state during a screen refresh. A huge speed up here, about 400-500%. Implementation is a bit sloppy but works
2014-08-29 02:58:52 +00:00
adelikat
86fc66820c
Oops
2014-08-29 02:40:45 +00:00
adelikat
c033b26ad0
TasMovie - don't create a Bk2MnemonicConstants object everytime a display value is requested, gives a modest speed up to tastudio performance
2014-08-29 01:59:08 +00:00
adelikat
bbc84471d8
TasStateManager - capture every other frame for now
2014-08-27 20:43:45 +00:00
adelikat
ed6aeeba45
TasStateManager - yes we want to clear
2014-08-25 22:04:05 +00:00
adelikat
3aec45448c
TasMovie - TasStateManager - pre-allocate the SortedDictionary size based on state size and memory usage capacity. Fixes the problem of performance grinding to a halt as the movie frame count increases
2014-08-24 22:50:21 +00:00
goyuken
63b533f15c
tasstatemanager: fix out of memory on save
2014-08-24 21:53:48 +00:00
goyuken
aab2a17947
tasstatemanagerstuff
2014-08-24 21:29:51 +00:00
adelikat
1d5cd2eb6d
oops, nevermind
2014-08-24 20:30:56 +00:00
adelikat
2a98534fe4
TasMovie - optimize greenzone adding, no longer gets slower and slower as frame count increases
2014-08-24 20:28:46 +00:00
adelikat
24bb942dd1
if TasMovie constructors (a hacky way for now)
2014-08-24 15:07:27 +00:00
kylelyk
4455d5deac
Editing Markers now is managed by TasMovie as a change to the movie file. Fixed bugs to do with adding and deleting markers.
2014-08-24 14:41:56 +00:00
kylelyk
b66db36046
Dialog Title now has a asterisk at the end if the movie has pending changes to be saved. Added UI functionality for Auto-pause At End of Movie; does work yet.
2014-08-23 18:02:02 +00:00
kylelyk
6fa3cf4d28
Inserting frames in TAStudio now inserts before FirstSelectedIndex like FCEUX and most other programs with insertion options.
2014-08-23 02:06:56 +00:00
kylelyk
25b512a9c7
Quick add to subversion.
2014-08-23 01:28:04 +00:00
kylelyk
92bdba7938
GreenzoneSettings.MaxStatesInCapacity is now updated at dialog load and is a integer instead of a decimal.
2014-08-22 17:04:31 +00:00
kylelyk
17489f6175
Added Name property to Bk2Movie, fixed off-by-one in greenzone truncation, TAStudio displays name of movie in dialog title.
2014-08-22 02:56:27 +00:00
kylelyk
9bcb5f835a
Fixed unable to edit subtitles while TAStudio is open.
2014-08-22 00:31:41 +00:00
kylelyk
464cde5efa
Fixed crash on copy rows in TAStudio. Replaced spaces with tabs in previous commits.
2014-08-21 22:53:03 +00:00
kylelyk
1b85a89b66
Markers on frames to be truncated are now deleted like in TAS Editor.
2014-08-21 21:24:25 +00:00
kylelyk
26c65d727d
Fixed TAStudio crashing on truncating movie in greenzone.
2014-08-21 18:45:14 +00:00
goyuken
7ac1d58a51
fix zipstate internals that caused movies that started from savestate to explode
2014-07-25 16:51:27 +00:00
adelikat
36fe0473f5
TAStudio - keep markers sorted by frame
2014-07-23 01:52:12 +00:00
adelikat
2ebba5ab07
Tastudio - implement playback controls
2014-07-17 19:00:28 +00:00
adelikat
816fac55fa
Tastudio - implement the Select Between Markers menu item
2014-07-17 18:38:30 +00:00
adelikat
103de3d34f
TAStudio - when creating a power-on movie make a savestate on frame 0, if starting from savestate, use the savestate from the movie as frame 0 in the greenzone
2014-07-17 18:21:12 +00:00
adelikat
b63a34249f
TAStudio - add the notion of the "pending" frame, the frame about to be emulated, for which you can click to add input that will be captured into the movie the next frame. Logic is still wonky when switching from play to record at the end of a movie, and frame 0 is still messed up but that's a different problem
2014-07-16 23:04:56 +00:00
adelikat
d8216ae0fc
Tastudio - remove marker button
2014-07-16 02:17:19 +00:00
adelikat
f286d07a9d
TAStudio - background color logic
2014-07-16 00:10:37 +00:00
adelikat
8c064875c2
TAStudio - ability to add markers, very crude implementation for now
2014-07-15 23:43:17 +00:00
adelikat
0b35490b16
Profile Config - don't show custom profile in non-developer builds, put saving logic in the ok button click event instead of drop down change event. Remove a warning in TasMovie.cs
2014-07-15 00:05:18 +00:00
adelikat
02a5337cd6
Movies - rework some things so that MovieSession is in charge of sending a movie into finished mode, as opposed to GetInutState() having the side effect of MovieFInished
2014-07-13 22:36:37 +00:00