Commit Graph

43 Commits

Author SHA1 Message Date
adelikat 40e5106064 oops 2019-11-14 18:01:52 -06:00
adelikat 673073e650 data drive the import movies dialog filter 2019-11-14 18:00:33 -06:00
adelikat af50d74b98 simplify movie import code more 2019-11-14 17:00:47 -06:00
adelikat f93766e5bb Movie import cleanup 2019-11-14 16:35:29 -06:00
adelikat 0043c1de1e Movie Import cleanup - use IMovie more, don't redundantly save in Pjm and Psx importers, cleanups 2019-11-14 15:59:01 -06:00
adelikat eb1b658f6e movie import - cleanup 2019-11-13 20:52:20 -06:00
adelikat fb8111d630 convert .mmv import to new style, properly import game gear flag 2019-11-13 20:52:19 -06:00
adelikat 641c3e9f82 convert .smv importer to new style, also convert to bsnes instead of snes9x 2019-11-12 14:59:07 -06:00
adelikat 33d53638e9 convert Vbm importer to new style 2019-11-10 14:35:58 -06:00
adelikat dce39c1cff convert GMV importer to new style 2019-11-10 13:20:13 -06:00
adelikat b1bdb8c7ea port fmv importer to new style 2019-11-10 12:48:51 -06:00
adelikat f9eadf104b delete unused movie import code 2019-11-10 12:18:28 -06:00
adelikat c5ecba326f convert YMV importing to new way, and also fix it, it's been broken for a long time, if it ever worked 2019-11-10 12:14:50 -06:00
adelikat c1516de259 Convert mc2 to new import style, properly support pcecd flag, and number of controller ports 2019-11-10 11:35:45 -06:00
adelikat ced5b313a5 Leagcy movie import - remove more fm2 and lsmv specific code 2019-11-10 11:10:45 -06:00
adelikat 6086f98fa0 convert lsmv importer to new style 2019-11-10 10:55:53 -06:00
adelikat 223795887e remove importer support for .mcm, .nmv, .vmv, .zmv. These are very dated and with very few movies out in the wild 2019-11-10 10:02:26 -06:00
adelikat 6d535a11ee Convert fcm importer to new style, input parsing seems to have been broken this whole time, this commit doesn't fix that, just converts it 2019-11-10 09:55:27 -06:00
adelikat d0f54f88ee delete some fm2 specific legacy importer code 2019-11-10 09:05:17 -06:00
adelikat 8baa400d34 fix up new fm2 import and use it instead of the old one. FDS is still not supported, nor peripherals, but they weren't supported in the old one either 2019-11-10 09:00:27 -06:00
adelikat 46ea09da10 MovieImport - cleanup, and properly wire up the new style importers. Pjm, Pxm no longer broken 2019-11-09 14:43:49 -06:00
adelikat 93562eb935 cleanup FileLoader.cs 2019-11-09 13:40:15 -06:00
adelikat 7d554f06d3 return an IMovie instead of Bk2Movie from ImportFile 2019-10-31 16:08:05 -05:00
adelikat 3b25fdc8ca simplify some movie import code 2019-10-31 16:08:05 -05:00
YoshiRulz 9d0ee22885
Use string interpolation 2019-03-20 15:01:12 +10:00
alyosha-tas 6dbbc9256a Movie Importer: Display Failure Message 2018-11-10 17:23:45 -06:00
adelikat 9cb44cad03 Fix some filenames from previous renames, and more attribute renames 2017-07-12 14:48:27 -05:00
adelikat 4ce583b141 Movie import - import smv's with snes9x sync settings but lsmv as bsnes, dont' set profile of bsnes. Set the core toggle based on which movie being imported (this could be annoying but so can a movie load exception) 2017-06-12 20:56:32 -05:00
adelikat 2a54517b52 more misc Client.Common cleanups 2017-05-17 13:18:26 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat e0985465b6 misc Client.Common code cleanups 2017-05-09 13:19:55 -05:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
adelikat 0959d5f0df When importing SNES .lsmv movies, add an extra input frame, fixes #721 2016-11-12 11:01:26 -06:00
adelikat 1b2f24502f fix when importing .fm2 and other "legacy" imports, add the .bk2 extension instead of replacing the old move with its old extension 2016-08-29 10:21:30 -04:00
Iris Ward 33c3d8b2fc Fix LINQ brainfart
Also tweak code alignment to use spaces rather than tabs
for alignment that doesn't affect indentation level.

Where(...).Count() > 0  ===>  Any(...)
2015-09-22 23:36:34 +01:00
Iris Ward 3f899b60c9 Formatting rules. Bleh 2015-09-22 01:02:49 +01:00
Iris Ward 0e010a2988 Implement reflection-based importer
The reflection-based importer, for file types that aren't imported via a
legacy bkm file, dynamically searches the current module (i.e.
BizHawk.Client.Common) for all IMovieImport instances with the
ImportExtension attribute.

This is difficult to truly test without more non-legacy import
implementations, but appears to work with a dummy .pjm file.

It may be desirable to instead search the current assembly instead of
the current module, but I think all implementations should probably go
in BizHawk.Client.Common, so I chose to search by module instead.
2015-09-21 18:13:58 +01:00
Iris Ward 189390f001 Refactored out the import-via-legacy code 2015-09-21 18:02:41 +01:00
zeromus b981e00889 fully support read-only movie opening. I hope this fixes #453 2015-08-05 17:00:39 -05:00
adelikat 6fb2599320 Disable new movie import system, since I won't be attempting that seriously any time soon 2015-02-05 22:34:41 +00:00
adelikat 124ee7b236 start a movie import refactor, and start implementing a new fm2 importer as a proof of concept, does not do anything useful yet (such as SyncSettings and input) 2015-02-05 02:19:46 +00:00
adelikat 60ed815b68 add some plumbing for a PJM importer 2015-02-03 00:24:38 +00:00
adelikat 1202305a47 move MovieImport.cs into an import folder in preparation to break it up 2015-02-03 00:15:36 +00:00