Commit Graph

65 Commits

Author SHA1 Message Date
adelikat 28da1e215f misc code formatting improvements in random files in EmuHawk 2017-04-17 15:23:31 -05:00
adelikat 117e0b07e7 Pass the core instance to the record movie dialog 2016-12-04 12:51:48 -06:00
adelikat 604ed74ff9 remove some usages of VideoProviderGlue by checking for VideoProvider availability before doing some dependent processes 2016-12-04 10:30:51 -06:00
zeromus d7186c9e6f remove c#6isms 2016-01-21 21:22:26 -06:00
Adam Sturge 2f11a3adca Updated brace alignment 2016-01-15 19:16:35 -08:00
Adam Sturge 7949e2e182 Added Directory.Exists check for Movie director when clicking the browse button 2016-01-15 19:14:59 -08: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
goyuken 82fcd0bc5e refactor IVideoProvider into a service. uses in mainform and friends are still hacky 2015-01-14 22:37:37 +00:00
adelikat e2033c9d2e AsStatable() and also update statusbar saveslots on CloseRom() 2014-12-05 00:52:16 +00:00
adelikat bdccb6d400 Record Movie - remove the "Now" option if the core doesn't implement IStatable 2014-11-30 17:37:22 +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
goyuken ff54192fdc fix missing movie extension for game names that have a . at Length-4 2014-11-30 04:02:31 +00:00
goyuken daf74eb91b framebuffer in movie anchor states 2014-10-27 01:14:47 +00:00
adelikat 33eb056221 Fix record movie dialog defaulting to tasproj after tastudio is opened 2014-10-18 21:08:05 +00:00
adelikat 3880c45398 Fixing Recording from "now", for the 500th time 2014-08-16 15:01:53 +00:00
adelikat 0397ea1ff4 Remove the CustomControls/Util file and move all the classes into the Form Extensions file, since they were all extension methods for window form objects 2014-07-27 15:22:30 +00:00
adelikat ee93e988bc a small and pointless code refactor in the record movie dialog 2014-07-21 18:14:27 +00:00
adelikat cb3e340a1a Movie stuff 2014-07-08 15:15:35 +00:00
adelikat 7e39e67b1f tastudio - more fixes to startup logic, still convolted, buggy and wrong, but better! 2014-07-08 13:46:59 +00:00
adelikat 893a8b16e5 Record Dialog - Fix crash when movie folder does not already exist 2014-06-29 20:07:21 +00:00
adelikat 711c9b52e4 Hack for FilesystemSafeName to remove . if it is the last character in the name (Such as Super Mario bros.) since this method is used for path building 2014-06-20 18:36:03 +00:00
goyuken 71ddbde18d bk2 savestate anchor stuff 2014-06-20 00:39:46 +00:00
adelikat 9f7685a211 small cleanup on RecordMovie 2014-06-14 00:46:41 +00:00
adelikat 124afa8f10 another slight improvement to Record Movie code 2014-06-13 16:58:05 +00:00
adelikat 9f2dc300ea Record movie - another slight simplification 2014-06-13 16:47:57 +00:00
adelikat 1ed4c93eea Record Movie dialog - Remove erroneous .state option in the SaveFileDialog filter. That was never a valid thing to do, how did it manage to stay like that all these years?
Also, some code cleanup
2014-06-13 16:45:33 +00:00
adelikat 05b3f369eb Now that SGB is the BoardName, don't save a SGB row in the movie header 2014-06-12 21:27:49 +00:00
adelikat b26b26efbe More movies 2.0 work 2014-06-12 20:42:46 +00:00
adelikat e0a9fcd650 More movie 2.0 stuff 2014-06-11 02:56:57 +00:00
adelikat 47d5b1e2e2 Movie Savestate blob from IMovieHeader to IMovie, Movie and TasMovie just use the MovieHeader object as usual, but at least the calling code no longer expects that 2014-06-11 00:41:20 +00:00
adelikat 6b2889957a Some refactoring of movie code to make the Header less implementation specific, and start Movie2.cs which will be a Movie 2.0 implementation 2014-06-08 22:12:15 +00:00
adelikat 7e9b13f5c3 Some movie refactoring - moving a function into the importer class, remove MovieExtension from the config file and instead add it as a movie property, add some todo comments in places regarding movie 2.0 2014-06-08 19:36:33 +00:00
adelikat 33d847e8ac rip out hacks that I put in to work around Game.Name being null 2014-05-23 16:22:24 +00:00
adelikat c9c2329651 Record Movie - refactor to check if Global.Emulator has a DisplayType property defined, and if so, use that to populate the PAL header, rather than a bunch of ifs on core type. Refactored ReflectionUtils to be Extension methods in their own namespace, added methods for checking and getting values from a public property 2014-05-20 15:39:43 +00:00
goyuken 16a347565b movie: rework how sinksettings are saved/loaded 2014-05-18 17:15:51 +00:00
adelikat 20ed09e86c Rip out more obsolete setting stuff 2014-05-18 16:35:23 +00:00
adelikat 5634b085cf Store sync settings into the movie file, note: this does not include logic for deserializing sync settings and passing them to the core when loading a movie 2014-05-18 15:07:50 +00:00
adelikat 5b678feec4 Record Movie - if Global.Game.Name is null use the filename as the default suggested name 2014-05-18 01:20:56 +00:00
zeromus 75971792b5 n64 and snes "record from now" are now fixed 2014-04-25 02:31:11 +00:00
zeromus c47a0c7426 make movie header savestates be binary, have their own key, and be stored in base64 form (actually, natt was right, they were stored as text, it's just that the "text" savestates from some cores are a ToHex'd byte array) 2014-04-25 02:19:46 +00:00
adelikat c74019a54d Add a CoreAttributes class with a CoreName field, and apply it to all cores, when recording a new movie, add a core header line that captures this name 2014-04-22 00:38:59 +00:00
adelikat b9b8f0a04a Record Movie dialog - remove the "Now" option for N64, until movies 2.0 2014-04-15 23:19:06 +00:00
adelikat d44649bf82 Record Movie dialog - fix bug where user selection in SaveFileDialog was not updating the filename textbox 2014-03-23 16:53:49 +00:00
goyuken 9d0e22292d GPGX: show "PAL" flag properly in movie files 2014-02-21 00:30:52 +00:00
goyuken 2171d4cd00 n64: support new settings system. regression: n64 video plugin settings are no longer stored in movie 1.0 files nor read from them 2013-12-26 23:04:22 +00:00
goyuken cff6a517f5 coleco to new settings system 2013-12-24 23:32:43 +00:00
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
adelikat 5fc78efe85 Fix exception when a "Starts from Now" movie is made with the record movie dialog when the folder selected does not already exist 2013-12-22 19:06:57 +00:00
zeromus 483cf96853 rename PathEntries.WatchPath etc. to PathEntries.WatchPathFragment to better convey the idea that it isnt a fully-qualified path, so its less likely to get used on accident 2013-12-13 05:20:50 +00:00
adelikat fd149237ee TasMovie - implement saving of movie log into files, make header have the proper movie version (v2!), Change file "Movie" to "Header". TAStudio - implement Save and Save As menu items 2013-12-10 01:45:45 +00:00