Commit Graph

173 Commits

Author SHA1 Message Date
feos 35a07f42eb subtitles:
- trim trailing spaces
- sort by frame and then by Y pos (to properly order multiline subs)
- concat multilines (optionally) on export
- option to skip color tag on export
todo: fix multiline ordering for export
2016-06-29 00:32:43 +03:00
feos 346c4e56b3 tastudio autosave:
- switch to appropriate method for backups
- option to save backup per file save
- menu command to save backup
2016-06-12 16:41:27 +03:00
zeromus bff0d5b95d add and hook up AWEMemoryStream option for movie storage. GUI is intentionally shoddy to convey sense that it's experimental. Has been cursorily verified but not thoroughly tested. 2016-02-10 01:09:43 -06: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
zeromus e1ddb51826 fix off-by-one-too-short-inputlog bug in MoviesOnDisk mode 2016-01-10 22:45:43 -06:00
Hathor86 f0ab9edc10 Attempt to fix OutOfMemory when saving states (I guess it works)
Just add an EnsureCapacity() before appending log.
I didn't have any crash yet compare to current release. Let's hope!
2016-01-03 00:52:37 +01:00
feos 9d491d9415 Bk2Movie: use intended method when adding a key.
fixes #520
2015-12-08 19:17:45 +03:00
Hathor86 c7dcb42b94 Merge from maser@TASVideos 2015-11-15 11:27:00 +01:00
zeromus 5afa44bbec common logic for tempfiles 2015-11-15 03:01:58 -06: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
zeromus b981e00889 fully support read-only movie opening. I hope this fixes #453 2015-08-05 17:00:39 -05:00
zeromus 5173541730 fix #460 2015-08-04 18:44:21 -05:00
adelikat 0205762409 lua - remove movie.insertframe() as it is no longer needed and was not coded in an acceptable way, if such a feature is needed in the future, it needs to be thought through better 2015-08-01 22:21:44 -04:00
adelikat 383a462207 lua - implement movie.InsertFrame(int index, string logEntry), for now, will only work on .bk2 movies (.bkm and .tasproj will crash) 2015-08-01 15:46:43 -04: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
adelikat 7c35d7b80d AppleII mnemonics - make L and R uppercase to be consistent with other alphanumeric buttons. I don't think this change breaks anything, other than cosmetics when looking at pre-existing Apple II movies 2015-06-21 16:20:39 +00:00
adelikat 0cb912cfb2 Apple II mnemonics 2015-05-18 02:01:57 +00:00
adelikat 0d59fd622e Apple II - mnemonics 2015-04-19 14:18:35 +00:00
SuuperW 9b8d2f70ab Various fixes 2015-03-22 16:55:34 +00:00
SuuperW 7360badb4a Added AutoFire support in TAStudio, fixed/improved patterns.
-A couple minor fixes
2015-03-08 04:42:04 +00:00
adelikat 159f1d9da2 don't crash in Bk2MnemonicConstants on a "P" key from a keyboard 2015-03-08 02:50:46 +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 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 dd28c386de Fixes to how firmware is added and loaded from movies 2015-02-26 21:58:44 +00:00
adelikat 1235246d19 Multitrack recording - support analog input 2015-01-25 19:21:50 +00:00
adelikat c8c563153c Bk2 input display generation - don't generate the mnemonic string twice, one time per function call will do 2015-01-11 15:50:01 +00:00
adelikat d560eb80b4 BK2 mnemonics - support up to 8 players by default (without the need for a platform override) 2015-01-11 15:44:12 +00:00
adelikat 4985b3853d PSX mnemonics -> Square = Q not S 2014-12-13 14:57:03 +00:00
adelikat 4304aa9d01 that was a bad idea 2014-12-13 02:26:15 +00:00
goyuken 10dee85cdb comments! 2014-12-12 23:11:49 +00:00
adelikat 536964bac2 a squarish mnemonic constant that is ascii 2014-12-12 02:07:46 +00:00
adelikat f447ab907b Bk2 mnemonic constants for some psx buttons, had to get creative on this one 2014-12-12 01:28:20 +00:00
adelikat 21ae27dd94 Bk2/TasProj movies - don't crash if syncsettings, comments, or subtitles are missing 2014-12-08 19:02:22 +00:00
adelikat d64be5ed76 SystemID is Lynx not LYNX, cuz I said so 2014-11-21 01:32:15 +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 aa38ad24a2 Bk2 movies - don't save when switching to play, note: when stopping a movie in play mode, the movie will not be saved unless there are changes, the Save() that was removed here masked problem with potential failure to save. As of this commit, bk2 movies rely on the Changes flag to be accurately set 2014-11-14 00:00: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 38f6661cc1 mnemonic constants for option 1 and 2 buttons on lynx 2014-11-02 14:11:14 +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
goyuken daf74eb91b framebuffer in movie anchor states 2014-10-27 01:14:47 +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
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 e00801d6f3 tasmovie - only save when stopping if there are changes 2014-09-27 23:56:23 +00:00
adelikat 734b8338bc Fix always getting a "movie was written to disk" message when stopping a movie, will now only say so if it actually was saved to disk 2014-09-27 23:44:59 +00:00
adelikat 06605346e0 FIx a nasty bug in bk2 and tasmovie that was saving a movie even if it was inactive 2014-08-24 18:07:14 +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 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 26c65d727d Fixed TAStudio crashing on truncating movie in greenzone. 2014-08-21 18:45:14 +00:00
goyuken 7afabc4a06 mnemonic stuff 2014-08-18 02:38:11 +00:00
adelikat 4afc5c4ec6 Fix multitrack movie recording 2014-08-10 02:21:08 +00:00
adelikat 157897ff55 Fix PCE virtualpad I, II, and Run buttons, also fix the mnemonic display for the Run button 2014-08-01 01:39:07 +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 c571d07069 Fix mnemonic constants for TI-83, super important changeset! 2014-07-17 02:06:51 +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
adelikat f79a674219 Remove GetInput() from IMovie 2014-07-13 22:17:31 +00:00
adelikat 40912a3c2b TAStuduio - implement Clear menu item and hotkey, properly invalidate greenzone on input painting and other already implemented editing events 2014-07-11 19:58:24 +00:00
adelikat 2072eac45f Some Changes flag management in movie objects 2014-07-11 18:06:18 +00:00
adelikat f8ee569bbb TAStudio - float painting 2014-07-11 16:26:19 +00:00
adelikat ee7831178a TAStudio - header editor 2014-07-11 02:31:43 +00:00
adelikat f3af2821bb TAStudio - populate greenzone during playback 2014-07-10 20:48:43 +00:00
adelikat f0425f3cc5 TAStudio - input painting for boolean input 2014-07-10 20:40:50 +00:00
adelikat 863d6f09ee small tastudio progress 2014-07-08 13:33:01 +00:00
adelikat 6d61db045f TasMovie - more reorg and restore state and lag capturing 2014-07-07 18:40:42 +00:00
adelikat c019ec3bf0 More reorg 2014-07-07 18:03:02 +00:00
adelikat f875792c74 TAStudio - column names for float values 2014-07-07 16:03:22 +00:00
adelikat 46d6279f1b TAStudio - some progress on dynamically displaying columns, and some fixups in movie code in general 2014-07-06 22:13:12 +00:00
adelikat 00f33d2ae9 Bk2 - implement the PokeFrame() method 2014-07-04 00:24:41 +00:00
adelikat 686610b047 Support analog range up to 9999, this is bad code but I hope to not have to do anything more clever anytime soon 2014-07-04 00:15:33 +00:00
adelikat 2bd52403a7 Bk2 movies - remove auto input log conversion on load, since load is too soon to do this as it will not use the controller definition of the new core instance that hasn't been loaded yet. As of this commit, it doesn't use the log key when reading input either, so log entry logic is dependent on mnemonic orders and such things from the controller definition. Will need to ponder a way to put this back in. 2014-06-30 12:50:46 +00:00
adelikat 893a8b16e5 Record Dialog - Fix crash when movie folder does not already exist 2014-06-29 20:07:21 +00:00
adelikat 6e7fefb7b4 Fix mnemonic lookups for C64 keyboard 2014-06-29 16:25:29 +00:00
adelikat 38b76ea5d9 fix N64 dpad mnemonics and virtualpad buttons, fix pce and snes virtualpad buttons 2014-06-29 13:05:10 +00:00
adelikat 01ba63dd09 Coleco/Intellivision - Replace patterns like "Key0" with "Key 0" in button names for consistency and remove a hack in bk2 code that accounts for it 2014-06-29 12:32:36 +00:00
adelikat 9e73db3daa A round of code cleanup on movie code 2014-06-29 03:03:27 +00:00
adelikat 6fce0bcad6 remove Time from IMovie and instead implement the logic in PlatformFrameRates 2014-06-29 00:57:33 +00:00
adelikat 055e88fea3 Remove Fps from IMovie 2014-06-29 00:48:36 +00:00
adelikat 90e95752e4 Wonderswan - Mnemonics and Virtualpads, virtualpads are a bit clunky with Standard and Rotated showing at all times, perhaps at some point we should be smart about knowing the rotated state 2014-06-28 19:07:18 +00:00
adelikat 88d4a2a5a8 Genesis mouse - mnemonics, default buttons and virtual pad 2014-06-28 12:45:12 +00:00
adelikat 1361e2ff23 Genesis - default controls for lightgun, mnemonics lightgun buttons, support lightgun and console buttons on the virtual pad 2014-06-28 12:31:28 +00:00
adelikat 3dfb65ee4b remove some debugging code and remove a warning as a result 2014-06-28 02:11:19 +00:00
adelikat fbb14175f9 Support Oeka Kids Tablet in virtualpads and bk2 mnemonics, oh yeah 2014-06-25 00:44:22 +00:00
adelikat 9045f8402c Virtual Pads - hook up Nes Power Pad and also hook it up to bk2 mnemonics 2014-06-25 00:11:59 +00:00
adelikat 8001a49afd Bk2 - tweaks to input log and input diplay logic 2014-06-21 18:25:16 +00:00
adelikat 5e14df9f30 BK2 - auto convert input log to the system's log key on load, using the input log's key as reference to do so, don't use the file's input log key on the fly 2014-06-21 17:27:35 +00:00
adelikat 10c48bb3f8 Bk2 - take the log key into account when replaying a movie input log 2014-06-21 14:33:33 +00:00
adelikat 0b21085a98 Bk2 - Rework how input logs are generated and read 2014-06-21 11:56:30 +00:00
goyuken 71ddbde18d bk2 savestate anchor stuff 2014-06-20 00:39:46 +00:00
adelikat 031eb5a282 Some input display fixes for bk2 format 2014-06-19 21:29:57 +00:00
adelikat 5145ef3f97 Movie imports now import to .bk2 2014-06-19 02:30:22 +00:00
adelikat 451049fee8 Fix some bk2 crash bugs 2014-06-18 19:18:35 +00:00
adelikat 6133164a7f Add GetInputState() to IMovie that returns an IController representing a frame of input and replace a lua method to use this instead of getting the inputlog as a string and processing it, still todo: obsolete the GetInput() method 2014-06-18 02:26:22 +00:00
adelikat 5cda104ea5 Start ToBk2() conversion method for BkmMovie 2014-06-17 01:24:44 +00:00
adelikat fcd4a4eb65 Bk2 - basic movie playback now works. You can now record shooting ducks 2014-06-17 00:33:33 +00:00
adelikat 37d6e0b8de Finish up Bk2 Mnemonic lookup 2014-06-16 16:56:09 +00:00
adelikat 1a4e6efcb4 bk2 progress - proof of concept for new mnemonics system 2014-06-16 01:39:36 +00:00
adelikat 6b73891a91 More bk2 progress 2014-06-15 14:44:26 +00:00
adelikat c807e27496 Some movie code reorg and cleanup 2014-06-15 13:03:24 +00:00
adelikat 1768350d65 Start Bk2LogEntryGenerator 2014-06-15 12:43:32 +00:00
adelikat 28dcf5c3a1 remove a reference to BkmLogEntryGenerator() I missed in last commit 2014-06-15 12:17:28 +00:00
adelikat 9ac32a688a Remove BkmLog.cs 2014-06-15 02:23:28 +00:00