Suuper
a751412c1f
TasStateManager.cs -> fixed stateHasDuplicate
2016-02-20 13:43:24 -06:00
Suuper
8b5440d963
Fixed a few bugs in TasStateManager.cs
2016-02-20 12:34:13 -06: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
zeromus
a355f78631
don't load entire inputlog into a string when parking it in a savestate
2016-01-10 23:08:13 -06: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
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
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