Commit Graph

820 Commits

Author SHA1 Message Date
andres.delikat 97ef68e64e Record movie dialog now allows user to type in name of file to record, and will auto fill in directory path if user does not. Play movie now uses the PreLoad function so length calculation is significantly faster 2011-05-18 01:49:20 +00:00
andres.delikat 250f424629 Start a MovieConvert class for converting fcm, mmv, and such to .tas files 2011-05-18 01:30:25 +00:00
brandman211 6e98bfc978 Created an efficient frame calculation. 2011-05-18 01:24:26 +00:00
andres.delikat 2b41592c9b Load rerecord count when loading a movie 2011-05-18 00:08:51 +00:00
andres.delikat bee9eaf6f3 Movie finished mode savestate logic implemented though resuming recording after a movie is finished results in a desynced movie 2011-05-17 23:52:10 +00:00
andres.delikat 5a082bad2f Save input log into savestates. Also add more informative messages & frame counter for better debugging 2011-05-17 22:44:31 +00:00
andres.delikat e5af4418da Movies - CheckTimelines function, disabled until rerecording is smoothed out better 2011-05-17 01:10:04 +00:00
andres.delikat 311af36737 Add read-only checkbox to Play Movie dialog. Record movie dialog sets the emulator to read+write. 2011-05-17 00:27:22 +00:00
andres.delikat b9ec7e626e Various tweaks related to movie code 2011-05-16 17:58:59 +00:00
andres.delikat 2331e12c9f Movies - add hotkeys for play movie, record movie, stop movie, playbeginning, toggle read-only. Made multitrack tab just a movie tab. Other misc cleanups 2011-05-16 17:07:09 +00:00
andres.delikat 85e52c3bcb Some refactoring of savestate + movie code and laid out the logic for how these situations should be handled 2011-05-16 15:38:48 +00:00
andres.delikat 4a549631e5 Movie class - refactor time calculations. Make PCE_NTSC = PCE. Remove any 60.0 or 50.0 const ints in favor of the default case. Made a decision that time should be calculated based on the console framerate not the fps at which bizhawk will emulate. Thus SMS uses a ~60.1 fps 2011-05-16 13:56:22 +00:00
offspring131313 386b26ccbe Reverted some changes I thought was improving the readability, but was really just breaking the correctly programmed stuff =D 2011-05-16 07:44:03 +00:00
beirich 003a71cb5a PAL PCE has the same timings as NTSC 2011-05-16 04:07:05 +00:00
offspring131313 644106575e Refactored Movie folder. Added some functions, merged some functions, and added some comments regarding some questions I have about a few of the functions. 2011-05-16 03:55:17 +00:00
offspring131313 96b80f4789 Added a single variable in MainForm from which to derive the Emulator Version number. Just call MainForm.EMUVERSION
Only updated the new method for deriving this in MovieHeader, I'm unaware of anywhere else this information is requested as I'm still learning the system.
2011-05-16 02:54:53 +00:00
andres.delikat 24a713ee1f Implement record movie dialog enough to choose a movie and begin recording. Needs a way to set header info & settings 2011-05-16 00:56:16 +00:00
andres.delikat a91e7007a7 Play Movie - fixes so that .mc2 & .fm2 get the right system ID on load, and fix the rounding of the fractional part of the movie time 2011-05-15 23:25:25 +00:00
andres.delikat 229852d06c Play movie dialog now shows completion time. It also reads the entire movie in order to determine this. I have stressed tested this yet, it is probably very slow. 2011-05-15 22:59:54 +00:00
zeromus 1800fcb965 disc: add some subcode infrastructure 2011-05-14 21:56:54 +00:00
zeromus 87cd0730e6 disc: clarify behaviour of ReadLBA 2011-05-14 20:14:21 +00:00
andres.delikat 99babf743f Movie class has a GetSeconds() function that returns the number of seconds based on frames / fps. It is loaded with lots of fps formulas for various consoles. 2011-05-14 12:46:41 +00:00
andres.delikat 3dbf342dbe Set system ID in input log 2011-05-14 02:34:18 +00:00
andres.delikat 8b313774eb Play movie auto-finds fm2 & mc2 2011-05-14 01:37:45 +00:00
kylethomson 122b35f6c3 Adding lua function lists. 2011-05-14 01:05:26 +00:00
andres.delikat 8814385916 Fix GetExePath function to remove "file:\\" from the directory string. That was causing directory code to freak out. Play movie dialog now successfully creates the movie directory and searches for movie files 2011-05-14 00:33:25 +00:00
kylethomson a82bb3718b Do controller binding in a loop, to reduce the repetitive code 2011-05-14 00:15:31 +00:00
andres.delikat dc288f4f3b Attempt to have the Play movie dialog preload movies in the Movie directory 2011-05-13 20:47:59 +00:00
andres.delikat 12adf89ca1 On movie playback - input display = gray (todo: make the color configurable in message config 2011-05-13 20:19:12 +00:00
andres.delikat 3ccd1b1f66 Restore input to the user after StopMovie or going into Movie Finished Mode 2011-05-13 20:02:28 +00:00
andres.delikat d95681c39e Rerecord count display 2011-05-13 19:07:11 +00:00
andres.delikat fe0363d80b Movies - Add all current valid movie file extensions to drag & drop, Hook up movie finished mode to frame loop & frame counter display, clean up some logic regarding the toggling of InputLog and UserMovie 2011-05-13 17:03:05 +00:00
andres.delikat 6825c9f84c Drag & Drop for .tas files, refactor play movie function 2011-05-13 01:44:20 +00:00
brandman211 d356b2f72f Added items to the Recent Movie selector. 2011-05-13 00:46:25 +00:00
andres.delikat 06f771292f Play Movie dialog - hook up details list 2011-05-13 00:17:59 +00:00
andres.delikat c6c96af860 Get virtual list view stuff hooked up on Lua Console 2011-05-12 23:58:06 +00:00
brandman211 b89412f2f8 Implemented Courier, a monospace font, as the font. 2011-05-12 23:57:37 +00:00
andres.delikat 890fa7fbe0 Display rerecord count on the frame counter message for now. I will eventually make it its own display option 2011-05-12 22:51:25 +00:00
andres.delikat 769a5d10ec bizhawk now compiles 2011-05-12 22:45:35 +00:00
brandman211 5bd6ea629f Finished my report. 2011-05-12 21:59:04 +00:00
andres.delikat f64767d223 oops, didn't check this in 2011-05-12 21:00:52 +00:00
andres.delikat ca457d4ce3 Implement Play Movie from beginning, add author & rerecord header params to file reading/writing code. 2011-05-12 21:00:04 +00:00
brandman211 67ae0cae5e Added a log for what syncs and what doesn't. 2011-05-12 18:40:20 +00:00
brandman211 c66b44923a -Fixed the reading of movie files for SMS and PCE. They did not consider the reset flag.
-Considered the case in which only some controllers are recorded, and prevented the errors that case would cause.
2011-05-12 18:28:38 +00:00
brandman211 3e6c2bda2d -Fixed PCE mnemonics. 2011-05-12 17:43:21 +00:00
andres.delikat 1813829c5f More movie code fixes 2011-05-12 17:29:34 +00:00
andres.delikat ced976a65d Misc cleanups on movie code 2011-05-12 16:56:30 +00:00
andres.delikat 477999f99d Fixes to movie code 2011-05-12 01:33:51 +00:00
andres.delikat 7d135a5d62 Lot's of fix ups to the Play Movie dialog and the Movie class. Cleaned up behavior of main form to allow for a user movie and an input log when the user movie is not active. Currently selecting a movie for playback crashes though. 2011-05-11 01:47:28 +00:00
andres.delikat c09260cc72 Various fixes to play movie dialog & movie class 2011-05-10 00:38:20 +00:00