I modified source code of Gens to implement Movie recording.
I could easily implement movie rerecording as well.
I would like to know if someone is interested to use this feature.
EDIT 2005-08-08
New bugfix version (9f) and source released
EDIT 9e (2005-07-10)
-Fix a bug with 3 player movie playback
EDIT Version 9d (2005/07/03)
-3 player support (check this option when recording a new movie. To record with 3 players, set the first controller to teamplay and configure pads 1,1B and 1C (3 buttons setting only)
-Record new movie from now : Check this option when recording a new movie to make a savestate and record a new movie from it. To play back the movie, use the Play from savestate option and load the associated savestate.
-New autobackup : Use use this option, check it on the Misc option dialog box. A backup will be created when a savestate is loaded while playing a movie or when the option "Resume record from now" is selected. The backup filename is (movie name).bak.gmv
-New Input display : Show the keys being pressed ! To use this option, go to the Misc option menu.
-New option in Controller setup to allow left+right / up+down
-Other little features i forgot about.
EDIT : Version 9c
This version isn't as ready as I would like for public release but I won't be working in it until a long time. Furthermore, the official Gens with movie support is comming soon.
New in this version :
New in Version Test9c:
-44khz is now the default sound rate
-Response time of redefined keys improved when the game is paused.
-Quickload and quicksave enabled when the game is paused
-AVI framerate of PAL games fixed.
-Slowdown check in the menu fixed
New in Version Test9b :
- Slowndown mode with sound disabled is now more constant
- New option in Graphic menu: "Never skip a frame with auto frameskip".
- You can now advance frames one by one when the game is paused. To do it, first assign an Advance frame key in Options/Joypads... menu.
- You can now define a Movie path in Options/Directories... menu
- You can now disable the blue pause screen effect in Options/Misc... menu
- New framecounter. To activate it, go in Option/Misc... menu. Time is showed as minutes:seconds:frame. You can change its position too.
- Read-only is now disabled by default.
- If Read-only is disabled and you load a savestate while a movie is playing, the movie will switch to recording (like in Famtasia and Snes9X)
- Movies are automaticly closed on reset.
- A red circle will blink if a movie is being recorded.
Know bugs :
-Usual Gens problems
-Problems with AVI greater than 2GB
-Random freezing when loading savestates
EDIT : Version 9a
-Fix a random "ERROR OPENING MOVIE" bug.
-AVI dumping. Only for testing. See the .txt file to see how it works.
The rest of the announced additional features will come with TEST10.
EDIT : Version 9
-New GUI for movie options (idea from Snes9x WIP)
-Code cleanup (with help from Bisqwit)
-New movie core. Better than Version 8.
-New movie format including 2 new features :
-Author note to tell your name and the rom version
-Controller configuration. For information only.
All movie are still compatible with all versions. To convert a movie to the new format, use this tool :
http://step.polymtl.ca/~jyzero/gmvtool9.zip Drag and drop a gmv over the executable and follow instructions on screen
-Features that will wait a future release : AVI recording and movie comments
-A big thank you to Cherry, _Dan, FODA, Gigafrost, Jackic
and nifboy for private WIP testing.
EDIT : Version 8
-Bug fixed where movies longer than 65536 frames caused corruption
Previous savestates are incompatible, but previous movies are compatible.
EDIT: Version 7
-Bug fixed where movies bigger than 65536 bytes couldn't be saved
-Resume record from savestate fixed
-Changing visual settings bug fixed
EDIT: Version 6
Lot of changes. See readme file. This version is an almost total rewrite of the movie recording core. It might be more stable, however it drains more resources. Be sure to read the readme file before continuing any speedrun as some options have changed. Please reports any bug.
EDIT: Version 5
-Slow down speed is selectable
-Toggle slow mode is assignable to game key
-Pause is assignable to game key
-Bug fixed where Movie files would not load properly
EDIT: Version 4
-Quicksave and Quickload are assignable to gamekeys.
-Very slow mode (20% speed)
-Bug fixed in Play Movie where the last frame was currupted
Should be the last version, unless a major bug is found. Movies from previous versions are still compatible.
EDIT: Version 3
-Slow Mode (Auto frame skip only)
-Movie options now available with manual frameskip and sound disabled
EDIT: Version 2 : Play Movie bug fixed.
EDIT: UPDATE
Version 9f:
http://step.polymtl.ca/~jyzero/gens_movie_9f.zip
Test verion 9c
http://step.polymtl.ca/~jyzero/gens_movie_test9c.zip
Test version 9a
http://step.polymtl.ca/~jyzero/gens_movie_test9a_exe.zip
Source (current WIP)
http://step.polymtl.ca/~jyzero/gens_movie_9fsrc.zip
Test version 9
http://www.speedruns.org/downloads/gens_movie_test9_exe.zip Thanks to SpeedRunner for this mirror
http://step.polymtl.ca/~jyzero/gens_movie_test9a_exe.zip
Credits to Stéphane Dallongeville and other Gens developpers for his awesome emulator
Modified source files from Ipher's source code v2.12:
Beware ! Quick and dirty hack
EDIT : grammar
EDIT by Bisqwit: Now stick