Commit Graph

695 Commits

Author SHA1 Message Date
taotao54321 ecf9e6efc0 Now NESNameTableViewer, NESPPU, NESDebugger, Cheats, TI83KeyPad, TAStudio should save the settings correctly. 2012-03-09 20:10:01 +00:00
taotao54321 7779326535 Now Ram Search and Ram Watch remember the window position correctly 2012-03-09 19:32:43 +00:00
adelikat 4cfceab969 Add screenshot -> clipboard to Ctrl+C hotkey, and add message on screen 2012-03-09 17:31:37 +00:00
adelikat baf189b464 Movie Import dialog - combine .mc2 and .mcm into a Mednafen/PCEjin row instead of seperately (both .mc2 and .mcm have been used at some point in both emulators) 2012-03-09 16:31:14 +00:00
taotao54321 e0aa4b15da Added *.fcm and *.mcm to the filter of "Import Movie" dialog.
And some typo fix.
2012-03-09 12:10:41 +00:00
adelikat add74942f7 Stop and start sound before showing the load named state dialog. Fixes reported 'sound jitter' when using the Loadstate As hotkey. 2012-03-08 12:37:40 +00:00
Rolanmen1 f6d558d4b4 Skipping Lag Frames While Frame Advancing Has Been Implemented 2012-03-07 03:58:54 +00:00
zeromus c0ace9ce83 add a2600 core stub 2012-03-07 00:40:20 +00:00
pjgat09 e3ba08fefd Implemented the GMV importer. An error is returned for 6 button controllers, and third player input is currently thrown away. 2012-03-05 22:45:52 +00:00
offspring131313 099cf590b6 Can now make Animated Gifs Huzzah 2012-03-04 20:37:49 +00:00
adelikat 196ce3de45 Start an animated gif config dialog 2012-03-04 19:24:10 +00:00
offspring131313 357f6bff83 Just remembered that there was an issue with creating directories. *FIXED* 2012-03-04 19:07:52 +00:00
offspring131313 48266e670d Added a function for making Animated Gifs. No UI has been implemented to allow a user to use this functionality, but there is commented out code that I used to test it in MainForm.TakeScreenShot().
Instructions on how to use is in comments.
2012-03-04 19:02:28 +00:00
zeromus 263773cf8d multiclient-refine screenshot code, add screenshot->clipboard menuitem 2012-03-04 01:30:30 +00:00
adelikat 63b6004293 set back to interim build 2012-03-03 23:58:13 +00:00
zeromus 2d11f91d16 make pce cd bios use path configuration 2012-03-03 21:51:20 +00:00
adelikat f415bff02e --release version 1.0.0!--
update release date on about box, add forums link, change link for online help
2012-03-03 20:49:44 +00:00
adelikat ff6b6d6677 Open FIle dialog - reorder valid rom files, put genesis and gb as "experimental" and in their own section 2012-03-03 20:17:22 +00:00
adelikat 5d44836c92 File -> MOvie -> Import movies menu item 2012-03-03 20:14:20 +00:00
adelikat e3b3879954 FIxed Get/Set mneomnics to not break on null emulator, refactored the drag and drop for movies to allow the user to continue if they decline to open a rom from the open rom pop up 2012-03-03 18:24:34 +00:00
adelikat 3bfe716952 Fix drag and drop importing so it doesn't crash during null emulator. Also fixed the movie sram clearing function to not crash on null emulator. 2012-03-03 18:11:07 +00:00
zeromus f801d04a46 now remove traces of psx from the current project, so it doesnt confuse any users 2012-02-24 20:45:27 +00:00
zeromus fd6ac896fc general cleanup.. remove a bunch of warnings.. improve log console system a bit.. add new icons for log console window.. remove old demo psx interop system and add new, simpler one, which isnt really tested yet but is way less annoying. 2012-02-24 20:38:35 +00:00
brandman211 e40ca4c18d -ImportFile now has access to errorMsg, which will show a message box and not play the movie when assigned, and warningMsg, which will simply add a message to RenderPanel and move on as usual.
-Made it so that any of the exceptions thrown from the Import* functions get converted into a string and stored in errorMsg. Now I can investigate what's wrong with ImportFCM.
2012-02-24 07:48:06 +00:00
brandman211 145830d5a4 -Began working on the importer.
--Created ImportFile to decide what function to use for each filetype.
---It currently automatically writes to a .TAS file, but that option will eventually only be applied when specified in the GUI, hopefully completely external from this class.
--Made IsValidMovieExtension work.
--Created LoadText to do the majority of the work that both .FM2 and .MC2 need to be done.
--.MC2 seems to work perfectly, not that it was a hard conversion!
--.FM2 seems to convert most headers correct, except for subtitles, which replaces the beginning portions of each subtitle's text with 0 0 120 4294967295. Not sure what that's about, though this sure feels like deja vu...
--I still need to switch around the order of the buttons the frames are added, but I need to find out what way I can do this without reinventing the wheel.
-Added the FixMnemonic function to Movie.cs. It currently does nothing, but my goal is to have it correct the mnemonic for all frames in a movie file based on the position of the characters.
--As of right now, ImportFile uses this.
-MainForm.IsValidMovieExtension only checks whether or not its .TAS or not now.

TODO:
-Fix the FM2 subtitles.
-Shift around the FM2 buttons.
--After completed, test a .FM2 file that should sync and see if it works, with and without FixMnemonic being used.
-Make FixMnemonic actually do something.
-Refactor code? I originally thought it'd be best to treat Movie.LoadText just like any other importer, but I think at this point it might just be best to keep these things completely separate.
-Consider the possibility of working with the binary file importers.
--Yes adelikat, I am somewhat interested, especially considering how useful it would be to have a working .FCM importer so I can compare old runs when TASing. I already was hoping to learn about .VBM and .SMV for my ButtonCount.lua script. By the way, might this be bundled with bizhawk as it is with FCEUX 2.1.6? :)
2012-02-15 06:54:09 +00:00
andres.delikat ff5c9a2799 refactor movie convert into movie import. Currently this breaks movie conversion, as the main convert function now needs implementation 2012-02-15 00:43:21 +00:00
brandman211 a38afd4fb2 -Fixed NES movie mnemonics.
--.FM2 is no longer a valid movie extension, so it is no longer counted as such in IsValidMovieExtension.
-Reused the code from PCE controller setting for NES.
-Seem to support 4 controllers for the NES now.
-General code cleanups.

TODO:
-Input from the 3rd and 4th controllers doesn't seem to be polled properly. Figure out what's wrong here.
-The copypasta from PCE to NES could probably be made into one function. The same could be said about many other portions of this code...DRY.
-Now that the mnemonics are fixed, I will have to write a proper converter for FM2.
--Once this is done, I will try the same for PCE, even if it can currently run natively.
---Once this is done, IsValidMovieExtension might as well be removed in favor of only accepting .TAS files and converting everything else.
2012-02-14 04:28:47 +00:00
andres.delikat 8e241067e6 Lua - hook up savestate library and implement saveslot() and loadslot() methods 2012-02-03 12:18:27 +00:00
kylethomson 363b913e52 2012-01-29 03:32:18 +00:00
kylethomson ca1114311c Kill the lua thread as part of closing. 2012-01-29 03:22:05 +00:00
andres.delikat 5492a9fd19 Lua - gui.text() finished 2012-01-28 23:26:10 +00:00
andres.delikat 2e0ac111ab Proper checking if lua is running when doing thread waiting/set 2012-01-28 22:00:51 +00:00
andres.delikat 41708a8579 Lua - move threading code into the frame loops, now emu.frameadvance works per frame not per emulator loop 2012-01-28 21:43:55 +00:00
andres.delikat 5c2587ecfb Make last commit compile 2012-01-23 00:38:28 +00:00
kylethomson 588eed4474 Try again. 2012-01-23 00:20:23 +00:00
kylethomson a36005e8fc Fixed typo. 2012-01-23 00:18:23 +00:00
andres.delikat 7ac7f335f9 send FromCuePath a default CueBinPref object to make it compile. Todo: feed it a correct value?? 2012-01-22 23:56:49 +00:00
kylethomson 16ec704e41 Added Frameadvance with threading. Can't test, because CueFromPath is broken. 2012-01-22 23:44:53 +00:00
andres.delikat defbe971c4 Lua - open/close rom, open tool dialogs, fix memory_readbyte to read from a selected memory domain instead of hardcoded main memory (with main memory as the default), small fix ups to lua console 2012-01-22 22:42:40 +00:00
andres.delikat 78cc4d5cae Lua - started a client library for functions that control the multiclient. Added client.openramwatch() as a proof of concept. 2012-01-22 22:20:09 +00:00
andres.delikat 47f68a611b Lua - fix typo problem that caused exception throwing in last commit, implemented emu.pause, emu.unpause, emu.togglepause 2012-01-21 20:20:06 +00:00
andres.delikat 955cee21b6 Lua console - hook up lua file loading! Lua library - Added a console library with an implemented console.output(), registered all lua libraries, implemented movie.stop, movie.rerecords, movie.mode 2012-01-21 20:05:53 +00:00
andres.delikat d6a57e08c1 Toolbox - reload icons on rom open/close so that core dependent tools update. 2012-01-10 02:11:17 +00:00
andres.delikat c871eedbbc Debugger icon, add to gameboy debugger menu item, add gameboy debugger to toolbox (conditional on gb emulation) 2012-01-10 02:02:11 +00:00
andres.delikat ee440f140f Lua Console - hook up autoload, fix hotkey and toolbox to open lua console (not the old lua window dialog). Add TAStudio to the toolbox dialog. 2012-01-10 01:30:17 +00:00
andres.delikat 422e9c6daa Gameboy - fix ROM loading, and implement memory domains (WRAM banks, VRAM, HRAM, OAM) 2011-12-27 02:10:07 +00:00
andres.delikat b2748b7836 Genesis - hook up lag counter (shows all frames as lag currently), and hook core up to input config dialog (1 controller only currently) 2011-12-24 01:59:51 +00:00
beirich a95957dcf6 Add option for auto-savestates 2011-10-15 23:17:15 +00:00
beirich e801025d0f Fix some file extension stuff in Open Rom dialog; add .GEN extension 2011-10-14 03:40:34 +00:00
beirich 8fb8a35317 Genesis core revive! Get it back to where loading a genesis rom doesnt crash everything immediately 2011-10-01 17:06:25 +00:00
andres.delikat 2418947b69 Add "Toggle Menu" hotkey 2011-10-01 03:43:37 +00:00
beirich f3dc6068ce delete extra/external 68k core 2011-09-27 02:46:23 +00:00
andres.delikat b56f1ae062 on second thought, don't toggle the global config option on show/hide menu. Also make it a function in mainform 2011-09-24 23:12:43 +00:00
andres.delikat 9db06ca408 Add a menu option to show menu in fullscreen mode. Add a context menu item to show/hide menu. 2011-09-24 23:00:59 +00:00
zeromus 2f25237548 nes-fix rom status icon 2011-09-24 20:38:48 +00:00
andres.delikat 6bbab41b0c PCE - Implement PCECD system id in core and in game info. Also set cancel property of LogWindow winform 2011-09-24 17:05:34 +00:00
andres.delikat 871ba80a76 Make Save Named State derive the name by the same logic as slot 0 would (using game name and possibly movie name) 2011-09-24 16:25:16 +00:00
andres.delikat f06c4e0091 Don't save the frame buffer into savestates if the core is NES since it saves this data itself anyway 2011-09-24 16:19:38 +00:00
andres.delikat edb40f4087 Movies - fix bug where rerecord count value was getting added as a comment on load 2011-09-24 16:09:40 +00:00
zeromus 6e67055b16 oops 2011-09-21 05:48:57 +00:00
zeromus 6a570c89fc nes-fix a little bug in MMC2 and support MMC4 while i am at it 2011-09-21 05:47:41 +00:00
andres.delikat 80d01b6512 Add GUI menu item for toggling the log window as console option, and move said option to the config file 2011-09-21 00:48:40 +00:00
beirich f9d7ff62f4 pce-cd: support arcade card, fix cd-audio playback bug
add new emulation options to gui for SMS and PCE/CD
2011-09-19 00:39:28 +00:00
andres.delikat 6d9d77afbc autoload last saveslot menu option 2011-09-17 00:25:34 +00:00
andres.delikat b587ecffd9 move saveslot to config 2011-09-17 00:04:50 +00:00
zeromus e68acda91d dont crash throttling nullemulator 2011-09-16 00:40:33 +00:00
beirich 7a272192fb Add version IDs to the other working cores
Add toggle for saving screenshot with savestate. Update loadstate code to not die when encountering a state without a screenshot
2011-09-15 23:32:21 +00:00
beirich f7109d5f17 fix a stupid bug in pce-cd causing irqs to not be released 2011-09-15 05:10:23 +00:00
zeromus 8ee8711b1a client saves framebuffer into text states 2011-09-11 21:08:41 +00:00
andres.delikat 95c4e658ac Make interim flag (set to true currently) that flips a lot of settings all at once (such as disabling unfinished dialogs, setting the mainform text, and the about box (lol)) 2011-09-11 00:11:46 +00:00
beirich e67ff446da Fix new GameInfo to not default to in-database, special handling for 'null' games 2011-09-05 01:21:59 +00:00
zeromus 60f2b411b6 dont vsync when fastforwarding or unthrottling 2011-09-04 05:18:38 +00:00
andres.delikat 35d0ad1b31 NES - implement Clip Left & Right sides option 2011-09-04 01:58:16 +00:00
andres.delikat 721a514d26 NES Graphics Config - Ability to set the first and last scanlines. NES Core - refactor MyVideoProvider to accomodate new settings. Set to Top 8, Bottom 231 by default. 2011-09-04 01:12:12 +00:00
andres.delikat a84f881c5c Movies - Remove UserMovie and change all references to it to Global.MovieSession.Movie, fix error in CheckTime Line logic, read-only savestates should now work 2011-09-03 18:07:30 +00:00
beirich afaf5879f6 Improve CD-Audio w/ volume/fade support; put error messages in client when invalid system card selected 2011-08-30 04:02:52 +00:00
andres.delikat 4ef00921e9 Autofire Config - Add flag for the "Take lag frames into account" feature, true by default 2011-08-29 22:25:40 +00:00
andres.delikat aba919874d Autofire - take lag frames into account 2011-08-29 03:28:34 +00:00
zeromus 27136932c3 throttle diagnostics 2011-08-27 18:09:54 +00:00
andres.delikat 31c19e5043 Disable NES Debugger menu item, and remove a commented out debug line I left by accident 2011-08-27 16:30:59 +00:00
zeromus 9e97379d45 oops 2011-08-27 02:45:02 +00:00
zeromus dacc65eb0d 2010 cleanup 2011-08-27 02:31:43 +00:00
andres.delikat 0536a04f59 Update Status Bar save slots on LoadRom() 2011-08-26 23:54:15 +00:00
zeromus ce4837b326 cleanup some icon related things?? 2011-08-21 06:07:38 +00:00
zeromus 8c08bc84cb tweak multitrack logic 2011-08-21 04:44:40 +00:00
zeromus 9418dff3b2 refine direct3d missing error handling 2011-08-21 01:07:58 +00:00
andres.delikat 276c759d88 Fixed Loadstate stream issues, rerecording is now possible again 2011-08-20 19:27:00 +00:00
andres.delikat decd3b3071 oops, This code was committed unintentionally 2011-08-19 01:36:41 +00:00
andres.delikat 668a90fdc6 On SoftReset() reset core frame counter if no movie is active 2011-08-19 01:05:30 +00:00
kylethomson 2243c7dcad Fixed Multitrack-load crash.
Also, read-only can't be toggled while no movie active. 
Same for multitrack.
2011-08-17 02:06:50 +00:00
beirich 0a5157d9a6 Extremely preliminary TurboCD support 2011-08-14 18:20:13 +00:00
andres.delikat 124da117b8 Add default constructor to GameInfo to avoid null reference crashes, right click menu during null emulator now no longer crashes (and probably a number of other situations). Added BizHawk back to the Main form text property instead of 0 2011-08-10 23:50:01 +00:00
zeromus 5bf7b33f4a fix crash relating to null AutofireNullControls 2011-08-10 04:31:07 +00:00
andres.delikat 034b2e6e68 Autofire config dialog 2011-08-09 23:27:47 +00:00
andres.delikat cde05919ad Refactor autofire into an autofire controller. Added On & Off values that can be used to create any combination of On/Off patterns, hooked them to Global.Config values 2011-08-09 22:13:57 +00:00
andres.delikat 8fa630c0fa Autofire UI for PCE, GG, GB 2011-08-09 02:40:22 +00:00
andres.delikat 63b1f9b93a Input Config - autofire for SMS/GG/SG, disable autofire pulldown item for TI83 2011-08-09 02:16:46 +00:00
andres.delikat 4cd457ada6 Hook up autofire nes controls to the input config dialog 2011-08-09 01:38:51 +00:00
andres.delikat 9b2ba5c85c Basic implementation of Global.ActiveController, uses an ORAdapter to OR against Active Controller. Still TODO: setting up autofire controllers for platforms and a UI in the Controller Config 2011-08-09 00:51:46 +00:00
andres.delikat 0d01af5c7b Refactor autofire, remove the autofire adaptor. Added an autofire bool to IController and implemented it in the Controller object. Setting to true will turn the controller buttons into autofire buttons 2011-08-08 23:35:13 +00:00
zeromus 1f541be6df disc: cue+mp3/mpc/flac decoding 2011-08-08 01:48:31 +00:00
andres.delikat d92c27f89d Autofire Input Adaptor, currently no UI for it 2011-08-07 23:26:06 +00:00
andres.delikat fd36356536 Mainform Status Label - add a Cheats status button. Displays if there are active cheats, clicking it opens the cheat window 2011-08-07 02:12:41 +00:00
andres.delikat 6c252d08fa Fix so that cheat list isn't cleared after loading a .cht file automatically in mainform. Add a destructor to the Cheat Object that clears the corresponding memory pulse. Make a Clear() function on CheatList that clears the MemoryPulse, Cheat Window - Disable All Cheats clears the memory pulse even those not in the CheatList 2011-08-07 01:16:55 +00:00
andres.delikat 95c8e709b6 Cheats - more fixes, in particular saving & loading the .cht file from the same path! 2011-08-06 22:03:10 +00:00
andres.delikat d69abc909d Cheats - more refactoring by putting code into the CheatList object 2011-08-06 19:30:21 +00:00
andres.delikat c3d08b3b7b Pull the cheat list and some related functions out of the Cheats winform and into a CheatList object. Still some bugs to work out, but at least the cheat window doesn't crash when opened a 2nd time 2011-08-06 02:34:24 +00:00
beirich ff6323a362 client can handle opening/dragging a .cue, hashing the data sector, looking it up in the DB, and passing it to the correct core 2011-08-04 04:00:00 +00:00
beirich b27673f26c M-M-M-MONSTER COMMIT! change Game-load api stuff 2011-08-04 03:20:54 +00:00
beirich a1c562259d Client-side cheats system added, works on all cores with working PokeByte() 2011-08-03 03:00:19 +00:00
beirich 74a58186df fix Disc/Disc name collision
add function to disc-api to get game-ID hash from 1st data track
2011-08-03 00:57:01 +00:00
zeromus 19d0cc627e get some of the disc api interop stuff checked in 2011-08-02 08:26:33 +00:00
andres.delikat 11c5dd04ac Cheats Window stores the cheat list while not open, thus is should probably not erase it on load 2011-08-02 02:49:29 +00:00
andres.delikat bfd3956796 Redo Savestate context menu item implemented 2011-07-31 23:25:00 +00:00
andres.delikat 6711995c5b Undo savestate context menu item implemented 2011-07-31 22:29:56 +00:00
andres.delikat 3fc7e6c95f Backup savestates feature + toggle to turn it off 2011-07-31 21:39:54 +00:00
andres.delikat fc1e5224d8 refactor savestate functions a bit 2011-07-31 20:57:14 +00:00
zeromus f356d5b354 add core scanning system 2011-07-31 19:46:42 +00:00
andres.delikat 64e38e83c8 Movie Loadstate - GUID checking in read-only mode + fix a crash bug 2011-07-31 17:35:02 +00:00
andres.delikat 3481943b74 Overhaul movie savestate logic - cleaned up a lot of code, implemented GUID, Future Event, and Timeline checks to read-only situations. Prevented loading of state if an error occurs. Still TODO - GUID checks in read+write mode 2011-07-31 16:41:27 +00:00
andres.delikat ce3bb25409 Movie object cleanup, movie savestate handling cleanup, save GUID into movie savestates 2011-07-31 01:15:14 +00:00
andres.delikat 60a4ea4426 Refactor movie code - a Loaded property, removed a lot of code that was a work around for this needed feature, movie can not write to disk unless this property is true 2011-07-30 23:59:31 +00:00
andres.delikat ccae3cc1c9 Add NullGame as an inherited class of RomGame and assign Global.Game to this instead of null whenever a ROM is not loaded. This fixes using the record dialog with no game loaded and lots of other situations during Null Emulator. Also cleaned up the record dialog a bit 2011-07-30 23:20:49 +00:00
andres.delikat e121498c4c TAStudio - fix updating of nes control pad, add menu item "Update Pads on Movie Playback", different color for control pad button background when pressed 2011-07-30 17:59:18 +00:00
zeromus 85419ab656 fix recently crashing archive file loading 2011-07-28 05:24:33 +00:00
zeromus 4d648e13b1 fix rewind better maybe this time. 2011-07-26 06:34:45 +00:00
andres.delikat ef33763383 TAStudio - fix rewind 2011-07-26 01:08:38 +00:00
andres.delikat ac032d1b92 Refix rewinding in movie finished mode. It now properly restores the movie to playback mode. 2011-07-26 00:11:23 +00:00
zeromus 63e4eaef79 handle user input vs MovieMode.FINISHED better 2011-07-25 01:47:02 +00:00
andres.delikat 503ecac44c Path Config for PCE Bios 2011-07-25 01:30:18 +00:00
zeromus 08903b8985 fix rewind speed 2011-07-25 00:08:04 +00:00
zeromus 5580295085 movie input refactoring 2011-07-24 23:14:16 +00:00
zeromus 29b2e30c36 cleanup Controller class (remove old sticky and forcing code) 2011-07-24 20:37:10 +00:00
zeromus e4f9f76198 fix ti-83 virtual keypad 2011-07-24 20:23:27 +00:00
zeromus 198431b8a2 add StickyXORAdapter 2011-07-24 19:52:13 +00:00
andres.delikat 58e2e65c7f TAStudio - refix frame advance 2011-07-24 17:35:53 +00:00
zeromus 8a1e0c2b09 unmanaged core experiment 2011-07-24 06:45:05 +00:00
beirich c30529685d [PCE] regretfully implement sprite limit, fixing some anomalies 2011-07-24 03:32:39 +00:00
andres.delikat c73112cdf6 Play Movie Dialog - add a "include .state" checkbox. If checked it will show .state files that have input data 2011-07-23 20:52:47 +00:00
andres.delikat eda56bac8c Mainform cleanup - move all menu/event handling functions to Mainform.MenuItems.cs, move some more code to Mainform.Movie.cs, minor code cleanup 2011-07-22 01:34:21 +00:00
andres.delikat f4d02ff49e Some code cleanup on Mainform, also moved all the mainform movie functions to their own file 2011-07-22 01:14:13 +00:00
andres.delikat bc2293a482 Ripped out inputlog, for now 2011-07-22 00:19:25 +00:00
andres.delikat 72699b4ad7 another round of refactoring the Movie object 2011-07-17 17:52:39 +00:00
andres.delikat e6b2c794d4 Refactor the movie object, replacing Getfunctions with public properties, renaming of some functions, removing a duplicate function, other misc things 2011-07-17 14:39:15 +00:00
andres.delikat bc31a49c4a Fix prev/next slot functions to that they navigate to slot 0 2011-07-17 13:59:41 +00:00
andres.delikat 1ee864666b update status bar saveslots on NextSlot() and PreviousSlot() 2011-07-17 13:33:09 +00:00
andres.delikat 211889c73d Restore Inputlog recording 2011-07-15 03:25:32 +00:00
andres.delikat 7293cd05cc Add error messages to movie convert functions, and other small cleanups, refactor calls to them to handle error messages 2011-07-14 01:12:18 +00:00
zeromus bff3957c7e avi rez-change segmentation 2011-07-13 04:04:58 +00:00
andres.delikat a8c66418e7 Movie Convert - started implementing an error message system, did FCM and MMV 2011-07-13 02:11:20 +00:00
andres.delikat a228e05f38 Lots of little fixups to movie code, disable Disable Message config in Message Config as I won't be implmenting that before release 2011-07-13 01:29:13 +00:00
andres.delikat 1b4258947b AVI - status bar icon when avi is capturing 2011-07-12 00:37:24 +00:00
andres.delikat 06fd837cbd Hotkeys for Record/Stop AVI 2011-07-12 00:05:14 +00:00
andres.delikat bd71909f38 AVI cleanup - gray of menu items when appropriate, use default filename, and AVI Path config, add on screen messages, fix crash on Null emulator capture (snow is awesome yo), other misc things 2011-07-11 23:26:20 +00:00
zeromus 52f27634eb first draft of avi-writing: it works, unless you abuse it. 2011-07-11 07:35:14 +00:00
beirich 911b11a340 fix new crash in dump icon code when you close the open ROM 2011-07-11 03:12:20 +00:00
zeromus 9628ab3506 hook up nes dump status stuff, and also add a log window that we could use for console output in the near future but for now is just used to show you a detailed rom analysis report 2011-07-10 21:00:28 +00:00
andres.delikat b832d0f331 Hack icon for status bar 2011-07-10 20:48:07 +00:00
andres.delikat e6b6cce7ad Uncomment some movie code 2011-07-10 20:01:27 +00:00
zeromus f8f1906a3c make alt hotkeys more useful by preventing interference from windows menu system 2011-07-10 19:50:59 +00:00
andres.delikat 4ba6fb4122 Load up Rom dump status icon with various ROM statuses 2011-07-10 16:34:35 +00:00
beirich 6fc8d16e42 Wire up known bad/good rom status from GameDB 2011-07-10 16:06:12 +00:00
andres.delikat 74c8e09892 Add Record icon for when movie is in record movie, add green check for good rom dumps, add function for checking rom dumps (currently blank and always shows good) 2011-07-10 15:36:41 +00:00
zeromus 61f466ca8e fix more input stuff better 2011-07-10 07:39:40 +00:00
zeromus 2425b3c87a fix some input things 2011-07-10 06:24:04 +00:00
beirich c8727ae01f fix some gamedb stuff, add some genesis games to db, get genesis back to a state where it at least loads roms correctly 2011-07-10 04:54:18 +00:00
zeromus 4991b95def refine input stuff 2011-07-10 02:14:58 +00:00
andres.delikat de1a3fdc50 Fix TI83 screenshots. Fix screenshot naming code to use the filesystemsafe name, fix bug in screenshotas function 2011-07-10 01:55:37 +00:00
andres.delikat f89070f6ad Display subtitles option 2011-07-10 00:04:33 +00:00
andres.delikat f3e4cdcd16 Rip out "wasPressed" code, remove debug code left in by accident from inputwidget 2011-07-09 23:35:26 +00:00
zeromus 9355bc0f2e redo some of client input and hotkey handling 2011-07-09 22:09:39 +00:00
andres.delikat 43c9cd8047 Clicking statusbar pause button = toggle pause state 2011-07-09 21:13:18 +00:00
beirich 1496c9eb1d Switch Bizhawk Client from console to winforms application; make "Show Log Window" a user-togglable option 2011-07-09 19:54:24 +00:00
andres.delikat b25193ef84 Use blank image in the pause icon of the statusbar so that the icon size doesn't change 2011-07-09 18:39:48 +00:00
beirich 7c9d170248 fix input save crash 2011-07-09 18:08:10 +00:00
andres.delikat 16e332a72d Fix so that tool dialogs such as Ram watch update on loadstate, Ram Watch - AddWatch() triggers Changes() function, Separator no longer shows Change Count = 0 2011-07-09 00:26:23 +00:00
andres.delikat 29510ddd58 Fix saving of header data from record movie dialog, small fix for inputlog header data 2011-07-06 01:53:15 +00:00
andres.delikat 3669155329 rename "unthrottle" to turbo, Hotkey Dialog - reorder some things and fix positioning 2011-07-05 02:36:46 +00:00
kylethomson 0934b35a1e Slight error with multi-track - it is during recording, not during playback.
Otherwise, nice work zeromus, we have multitrack.
2011-07-04 22:24:48 +00:00
andres.delikat a95ffcf2f9 Hooked up comment editor/viewer to play movie and context menu, various tweaks to movie code, more progress implemented comment loading/editing/saving 2011-07-04 02:50:38 +00:00
andres.delikat 2b661b52ba Save slot system in status bar, shows which slots have a file associated with them, which slot is currently selected, and clicking loads the state 2011-07-01 01:28:25 +00:00
andres.delikat b5ecda4f3e if commandline or autoload movie and no game, do openfile dialog, if still not game, don't attempt to load movie 2011-06-30 02:30:06 +00:00
andres.delikat 3c378bc312 Add soft reset hotkey, remove hard coded nes reset hotkey, fix small errors on TI83 hotkey mapping 2011-06-30 02:22:12 +00:00
andres.delikat a47f7e0550 Fix crash when no game loads on startup 2011-06-28 23:43:13 +00:00
zeromus 0aa234282e phase 1 of fixing up controller logic. tell me how terribly ive broken the movie code. might want to fix it before moving on to phase 2 or decide to revert. 2011-06-27 05:31:46 +00:00
andres.delikat 52215061aa some implementations necessary for the gameboy controller 2011-06-27 01:24:26 +00:00
andres.delikat 4b417ec898 oops 2011-06-27 00:22:25 +00:00
andres.delikat 8096316981 Make GB debugger not load by default when a gb game is loaded, misc cleanups gb related 2011-06-27 00:15:47 +00:00
andres.delikat d3f4da39a3 Subtitle viewer implemented for play movie dialog, context menu for edit/viewing subtitles (depending on read only status). Still TODO: save changes when in edit mode 2011-06-26 21:11:12 +00:00
zeromus 35f2691666 some work on the disc system 2011-06-20 09:09:21 +00:00
andres.delikat f5014946db status strip - pause icon implemented, movie icon put in but hidden and unimplmeented. Dump Error warning icon put in and disabled, needs to be implemented 2011-06-19 20:50:46 +00:00
andres.delikat 50727e79ed Add Stop Movie to context menu 2011-06-19 20:13:54 +00:00
andres.delikat f23c5f8382 Pause emulation when context menu is activated 2011-06-19 01:39:36 +00:00
andres.delikat e250355024 NES controller 2 implemented with some bugs 2011-06-19 00:18:02 +00:00
andres.delikat c6a5c7e9b6 change references of Global.Game.Name to Global.Game.FileSystemSafeName for situations that use it to build paths 2011-06-18 21:39:53 +00:00
andres.delikat c5b2fa8431 Make Global.Game.Name use file name no Emulator GameName for NES games 2011-06-18 19:59:25 +00:00
andres.delikat e4168d609e Refix drag & drop for movie files 2011-06-18 19:19:12 +00:00
andres.delikat b95264e9bf Make movie class handle automatically backing up a movie before the first time it alters it, add flag to MultiClient to toggle the movie backup feature 2011-06-18 19:16:05 +00:00
andres.delikat 67f726eae6 Movie backup function added to movie class, currently only hooked to a context menu item of main form 2011-06-18 18:27:51 +00:00
andres.delikat 4a60a4928a Lots of context menu items and logic for hiding/showing them 2011-06-18 17:45:18 +00:00
andres.delikat 1260182445 squash playback bug that was causing "1" to be added to playback mnemonic 2011-06-18 17:09:58 +00:00
andres.delikat b725394603 Context menu for main form, and toggle to disable it 2011-06-18 17:01:57 +00:00
kylethomson c228699255 Getting closer. 2011-06-17 02:43:22 +00:00
kylethomson e9942dc101 Multitrack overwrite works. Now to fix playback. 2011-06-16 03:56:40 +00:00
kylethomson dbd932bb5a Had to add them to the dictionary. 2011-06-16 02:55:06 +00:00
kylethomson 0256569297 Hooked up multitrack hotkeys (I hope) 2011-06-16 02:52:23 +00:00
kylethomson 882562c452 Multitrack for PCE done, if my idea works. Now to hook up hotkeys. 2011-06-16 02:29:45 +00:00
zeromus 1b16d640bf dont pop open the archive chooser when power cycling a rom from an archive 2011-06-12 22:55:34 +00:00
andres.delikat c767018bcf fix typo that broke wasPressed on input display 2011-06-12 22:29:04 +00:00
andres.delikat 0894a20e4c Fix alert font so it doesn't clash with displays around it, fix crash on tastudio close, fix play movie from beginning function 2011-06-12 21:36:03 +00:00
andres.delikat 59173e4e44 Some virtual pad progress, virtual pad dumps input into movie file when recording, currently doesn't feed it to the core though (lol). Virtualpad object set up for a nes controller 2011-06-12 14:42:50 +00:00
zeromus 9ee66226df [NES] add SuROM (dragon quest 4) and SoROM/SxROM (other games that are not dragon quest 4) 2011-06-12 00:53:14 +00:00
andres.delikat cd849d9614 TAStudio - more fixups, current frame always in view, better images for tool buttons, fix read-only toggle, Gui cleanups 2011-06-11 23:54:35 +00:00
andres.delikat b527b91252 TAStudio - show input log of movie, very buggy atm 2011-06-11 22:59:21 +00:00
andres.delikat bb0897b3ed Some work on TAStudio, read-only toggle, play movie from beginning, autoload, misc clean up 2011-06-11 22:32:12 +00:00
zeromus c0988feaa3 add CoreInputComm/CoreOutputComm, remove Query system, hook up nes video config options 2011-06-11 22:15:08 +00:00
andres.delikat 895915cd9f Made public flags in main form so that dialogs can control frame advance & rewind. Hooked to TAStudio 2011-06-11 19:39:34 +00:00
andres.delikat f52c4610e8 NES config - Fix crash when palette path is null, hook up NES palette path config in path config dialog, dialog fix ups 2011-06-11 16:22:48 +00:00
andres.delikat ef4b30cbd2 NES graphics config - checkboxes & config for Allow > 8 sprites per scanline, and clip left & right sides. Hook up palette file selection, and autoload palette toggling. Checking in NES .palette files 2011-06-11 12:54:26 +00:00
zeromus 40b7827798 improve fastforward system: add >> to fps display, add an 'alternate speed' selection (hold ctrl while choosing a speed from the config>speed/skip menu) which is used by holding FF key, add separate unthrottle toggle, clarify throttle control logic. 2011-06-10 07:12:57 +00:00
zeromus 368c5266e5 [NES] add loader for FCEUX format palettes and an example of how to set it 2011-06-10 05:31:46 +00:00
beirich a219e4fb64 made the status bar toggleable 2011-06-10 04:41:33 +00:00
andres.delikat a9c8756bd1 Some work on Movie object and convertSMV started 2011-06-08 00:25:16 +00:00
zeromus a849a2b9ca fix debug stdout redirection with a hack. which visual studio doesnt support in c# ???? 2011-06-06 21:08:38 +00:00
andres.delikat 4c36d1abda basic mmv conversion done. Still a lot of little todos with header info & error checking 2011-06-06 00:18:42 +00:00
andres.delikat 5ad6e0b602 Begin Convert FCM tool. Reads most header stuff, no input log yet. Only hooked up to Drag & Drop atm 2011-06-05 02:50:50 +00:00
beirich 9283a9f37d IEmulator now implements IDisposable; client now disposes cores 2011-06-02 02:59:18 +00:00
andres.delikat 6d82dcf486 Volume up and down hotkeys 2011-05-30 01:50:51 +00:00
andres.delikat 157d8b7152 Use EXE path instead of working directory for Nescarts.7z, config.ini, and gamedb.txt 2011-05-23 01:34:19 +00:00
andres.delikat 1d0a504704 Remove an erroneous duplicate message in savestate(), remove a debug message in movie 2011-05-23 01:23:32 +00:00
andres.delikat 18a32d35e6 Single Instance mode feature, currently though Bizhawk crashes on exit when in single instance mode 2011-05-23 00:33:05 +00:00
andres.delikat 36a0580dca Fix a bunch of crash issues with Ram Watch & Cheats related to having no list item selected. Implement Drag & drop for .cht & .wch files on Main form 2011-05-22 20:19:28 +00:00
andres.delikat 16d282a15d Drag & Drop savestates 2011-05-22 19:52:49 +00:00
andres.delikat a249d3b3ed Hook up TASStudio to main form, add a few buttons. 2011-05-22 18:38:44 +00:00
andres.delikat a2dede0bfa Use absolute path when creating the input log, hook up savestate logic to SaveStateAs() 2011-05-22 17:45:33 +00:00
andres.delikat 2e71a9ab93 If movie is in Movie Finished mode and rewound, go back to playback mode 2011-05-22 13:29:32 +00:00
andres.delikat 555d7b17c6 More InputLog logic 2011-05-22 12:44:57 +00:00
andres.delikat 433ea55f18 Make InputLog log to the Movie folder, clean up some logic regarding InputLog 2011-05-22 12:40:11 +00:00
andres.delikat fe563656b9 Ability to set Bizhawk to Accept Background Input. TODO: currently only takes affect on bizhawk restart, find a way around this. 2011-05-22 01:46:39 +00:00
andres.delikat 839d1e3cca --movie commandline arg 2011-05-22 00:13:12 +00:00
andres.delikat 0d714aa6d1 Hook up movie autoload 2011-05-21 22:37:15 +00:00
zeromus 90e5090e0e change HawkFile.CanonicalName to CanonicalFullPath, and add a new HawkFile.CanonicalName which returns the archive|member where CanonicalFullPath would be c:\path\to\archive|member 2011-05-21 19:31:00 +00:00
andres.delikat 40f473d629 Option to Bind Savestates to Movies (on by default) 2011-05-21 18:44:45 +00:00
andres.delikat b019329f01 Run in Background toggle 2011-05-21 03:30:32 +00:00
andres.delikat 11ddd79229 Screenshot As menu item 2011-05-21 02:51:47 +00:00
andres.delikat c15c9217f7 Recent Movies menu implemented 2011-05-19 18:50:09 +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
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 3dbf342dbe Set system ID in input log 2011-05-14 02:34:18 +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
andres.delikat 769a5d10ec bizhawk now compiles 2011-05-12 22:45:35 +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
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 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
brandman211 56af359405 Made the status bar hidden when in full screen. 2011-05-09 01:17:51 +00:00
andres.delikat 40379f898d Fixed NES mnemonic to match fm2. Fm2 files will now successfully playback. SMB TASes sync on bizhawk 2011-05-08 20:55:37 +00:00
andres.delikat 1c4fd5456e Restore input log playback 2011-05-08 17:09:34 +00:00
andres.delikat a3b996e4e2 Define active controller whenever a new null emulator is created 2011-05-08 14:25:51 +00:00
andres.delikat fcae514df5 Don't log input while a null emulator core is running 2011-05-08 14:16:38 +00:00
andres.delikat a5bf181621 active controls should be set to a null emulator as an option too (this still doesn't fix the crash on load though as it never gets to the code that sets active controls because that is triggered by the loading of a ROM) 2011-05-08 13:43:53 +00:00
andres.delikat 3ac209217c Basic rerecording! Inputlog is now saved into savestates, and input log is replaced by savestates contents if in record mode. Still TODO: lots of logic about proper error/timeline checking & logic 2011-05-08 12:51:39 +00:00
beirich 33c300ff7b good news: movies work! bad news: 1) movies don't work for TI83 yet 2) I broke some NES things, to be fixed in a later commit 2011-05-08 00:06:43 +00:00
andres.delikat becbbc88ea Input display now shows the previous frame input as well. The display currently doesn't look good, but I will improve on that soon. Save last input into NES savestates 2011-05-01 21:19:18 +00:00
andres.delikat f440f843dd Add IsLagFrame bool to IEmulator and implement in all platforms. Make an alert font in Render panel and make input display use it when a frame is a lag frame 2011-05-01 16:04:53 +00:00
andres.delikat 0c5b5f328d TI83 specific menu with stuff 2011-04-25 01:28:48 +00:00
andres.delikat c9bca52ccb Fix up more TI83 buttons stuff, input display no longer crashes when navigating away from the TI83 section. 2011-04-25 00:45:22 +00:00
andres.delikat 09162b5367 TI83 - implement mnemonic functions, finish hooking up buttons to main form 2011-04-24 19:01:12 +00:00
andres.delikat b52ab78e16 TI83 - remaining keys implemented into core. Most hardcoded to no mapping, or bad key choices. Not yet integrated into the remappable system. 2011-04-24 04:46:07 +00:00
andres.delikat b79d179760 Hook up TI83 to controller config + snazzy "controller" image 2011-04-24 02:01:36 +00:00
andres.delikat ac6ba9ce70 Fix frame counter, fps & input display to stand out more with a black overlay, and use the MessageColor config variable instead of being hard coded 2011-04-21 23:22:33 +00:00
andres.delikat 3007cd73cb Ram Watch - implement restart method 2011-04-21 00:39:14 +00:00
andres.delikat c76f9ed729 Bind ROM in HawkFile, add .rom to open file dialog (and a TI-83 row), fix a bunch of tool dialogs to end the Restart() method if dialog is not open. TI-83 will now open properly again. 2011-04-21 00:28:04 +00:00
andres.delikat 3c9cb66523 Hotkeys for Display FPS, Frame Counter, Lag Counter, Input Display 2011-04-16 20:12:16 +00:00
andres.delikat d7148424aa Open ROM & Close ROM hotkeys (no default mapping atm) 2011-04-16 19:35:37 +00:00
andres.delikat e82b8ae823 Fix so that configuring controllers while in null emulator doesn't crash 2011-04-15 20:41:40 +00:00
andres.delikat 7b64abb475 Make all tool dialogs in the tools menu remappable hotkeys (no mapping by default) 2011-04-11 01:30:11 +00:00
andres.delikat f1c5647481 Fullscreen menu item 2011-04-11 01:00:44 +00:00
andres.delikat 0fd0b80858 Update various menu item shortcut texts with the hotkey mapping 2011-04-11 00:55:39 +00:00
andres.delikat d09ce40792 Previous & Next Slot Hotkeys, also update Quick Save & Load menu item shortcuts dynamically 2011-04-11 00:43:28 +00:00
andres.delikat 01aa6850ff Save & Load Named State functions added to hotkey dialog, and dynamically update shortcut string on menu items 2011-04-11 00:22:17 +00:00
andres.delikat 033fd929d6 Implement load named state 2011-04-10 17:47:56 +00:00
andres.delikat ae8b4a3576 Basic functionality of the Tool Box, binded to the T key 2011-04-07 01:30:42 +00:00
zeromus 046d815bd3 refresh controls immediately when rebinding instead of requiring emulator reboot 2011-04-06 05:43:59 +00:00
zeromus 53cae6be86 dont crash when loading program with no argv rom. its not very impressive. 2011-04-06 04:54:42 +00:00
andres.delikat c4b2ecfd84 NES Nametable Viewer - some other misc set ups 2011-03-30 00:15:39 +00:00
andres.delikat 9e27960802 Start a NES Name Table Viewer winform, remove Name Table viewer from PPU Viewer winform 2011-03-30 00:09:07 +00:00
andres.delikat d36fb7e9cb Start a NES Debugger, just dressing suff, basic dialog, virtuallistview, window position settings, and other little things 2011-03-28 15:47:33 +00:00
zeromus b89f576fae change some NES savestates to use cleaner code. rename some PRAM and CRAM to WRAM and VRAM. fix multiple save/load hotkey triggerings. dynamically drive file menu shortcut key labels instead of having hardcoded shortcut keys. this needs to be done to the other menus as well, where hardcoded shortcut keys exist. 2011-03-21 06:03:58 +00:00