Commit Graph

349 Commits

Author SHA1 Message Date
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
zeromus af0cd449f5 make screenshot take less than 1 million centuries to run 2011-03-21 01:03:43 +00:00
zeromus 1917f7fc2e improve gdi+ rendering mode (depending on your point of view) to run almost as fast as direct3d and put gui option for it 2011-03-21 00:54:30 +00:00
andres.delikat a0b673b67e Attempt to open a .cht file based on Global.Game.Name when loading a rom 2011-03-20 21:37:01 +00:00
andres.delikat f6eaeda6c9 Fix loading of cheats window, do not load most recent file on autoload in this dialog's case, also fix bug in the function 2011-03-20 21:03:33 +00:00
zeromus f7bf5bdd17 [NES] fix some interrupt-related bugs to pass more cpu tests, add reset handling, improve iNES header handling some more 2011-03-20 02:12:10 +00:00
andres.delikat eccefda314 Cheats - handle the main emulator opening a new rom or closing the current one 2011-03-20 01:39:34 +00:00
zeromus c7f0c457ad [NES] work on sound, improve square waves muchly, add 6502 IRQ signal, make add some infrastructure to keep from buffering samples while core is silenced. 2011-03-19 09:12:56 +00:00
andres.delikat f821ff8f50 NES - Game Genie Encoder/Decoder - implement auto-load & window position saving 2011-03-19 01:10:03 +00:00
andres.delikat fc313ea483 Cheat Window - various things implemented 2011-03-17 02:21:14 +00:00
andres.delikat ff5623cd46 Cheats Window - progress (porting various functions from Ram Search) 2011-03-16 14:37:01 +00:00
zeromus 6c297287e5 add FPS display and make some 5% nes optimizations 2011-03-16 06:30:25 +00:00
andres.delikat 26f006b1c9 Start Cheats tool 2011-03-16 03:56:22 +00:00
andres.delikat 9178ccb4b4 Add NES Game Genie Encoder/Decoder (currently only a decoder) 2011-03-15 02:15:03 +00:00
beirich c9c34ef1db PCE: 5-player turbotap emulation 2011-03-14 06:12:40 +00:00
zeromus ebc0134db0 moar fix bettar 2011-03-13 00:44:45 +00:00
zeromus f493e8fe10 fix crashy stuff 2011-03-13 00:38:23 +00:00
andres.delikat 28dc1b9c8e Refactor code for loading one tool dialog from another. Remove PCE address offset from Ram Search 2011-03-10 04:29:19 +00:00
andres.delikat ae2b97050e Ram Search - Context menu item "View in Hex Editor" implemented 2011-03-10 04:22:56 +00:00
andres.delikat 41976d7ce7 On Main form shown event, do system check for appropriate menu items. NES menu will now be shown when auto-loading NES games on start up 2011-03-10 02:50:54 +00:00
andres.delikat 0ffb3f1961 Main form - On Menu activate, check system and enable/disable appropriate menus. 2011-03-10 02:48:35 +00:00
andres.delikat 67f6eee6b6 NES PPU - set up to read nes core, close dialog when a nes rom closes, more checks for proper core type 2011-03-08 19:26:17 +00:00
andres.delikat 791f2bcc2f NESPPU - hook up windows position saving & autoload, and hook up UpdateValues to frame loop 2011-03-08 19:05:23 +00:00
zeromus 859eabc6b7 [NES] overhaul to use bootgod's db as primary data source. it can still merge with the gamedb.txt, although I purged it of every unneeded NES record. iNES header parsing needs to be re-added. 2011-03-07 10:41:46 +00:00
zeromus f1dd4c625a straighten out handling of missing archive files 2011-03-07 02:44:30 +00:00
zeromus d4f8778608 archive file choosing. also, support archive subdirectories. just because i always wanted to. 2011-03-07 02:04:42 +00:00
zeromus 341ee44509 re-engineer HawkFile to be aware of archives. its a little more complex to use now (not only do you have to open it, you have to call one of the Bind() methods on it to choose an interior file), but its more powerful. 2011-03-07 01:07:49 +00:00
andres.delikat de0660c204 Hex Editor - lots of misc stuff like resizing, saving window size/position, creating and hooking up public functions to the multiclient & such 2011-03-06 15:25:21 +00:00
andres.delikat 06e7e30d6d The beginnings of a Hex Editor tool 2011-03-06 15:03:17 +00:00
andres.delikat 9dc75a17e5 Fix SKROM char size, and checking in some movie playback stuff 2011-03-03 20:01:36 +00:00
andres.delikat ced8256dc9 Slight playback fix (still broken) 2011-03-03 18:25:06 +00:00
andres.delikat 36bebea251 Disable user playback when in movie playback mode 2011-03-03 17:18:24 +00:00
andres.delikat 1003ed085b NES - Implement SKROM Board. Zelda II more playable but still bugged, probably something I did wrong. Also added a menu item to enable/disable Rewind. TODO: Zelda II crashes with rewind enabled. 2011-03-03 17:07:12 +00:00
andres.delikat 705a7f6cce Set up a blank NES PPU viewer in a NEStools folder. Make a NES menu item that will appear only when a NES game is loaded 2011-03-02 17:12:48 +00:00
zeromus 4bfc610a8a [NES] tinker around with board detection and add a UNIF warning message, but due to some severe problems with exception handling, the exceptions which make it to the GUI as messageboxes is seemingly arbitrary, so youll never know. 2011-03-02 06:18:26 +00:00
andres.delikat 8dfffb0d04 Make NES controls remappable, Make input config recognize a NES game is loaded and load the correct controller on form load 2011-03-01 13:25:23 +00:00
zeromus 0d5cff7408 [NES] mapper cleanup and savestates 2011-03-01 09:32:12 +00:00
andres.delikat d7ba739b30 Some fix ups to input recording, and setting up the ability to test recording & playback 2011-02-28 01:26:38 +00:00
andres.delikat 423e9c8783 Add SetControllersAsMnemonic() to IEmulator and implement it in the SMS core. Very crude playback now works. 2011-02-27 22:33:25 +00:00
zeromus 454505e5f1 [NES] add p1 controls. theyre hardcoded right now and need to go through the normal controls config system. but i think nes will be a more amazing exercise of the input configuration system than the other consoles...? 2011-02-27 11:40:08 +00:00
zeromus c5febf8e20 neshawk!! emulate attractmode without bugs = initial checkin 2011-02-27 09:45:50 +00:00
andres.delikat 1b428b49ae some more typos 2011-02-26 22:19:46 +00:00
andres.delikat 0ed57b443b Add GetControllerAsMneumonic() to IEmulator that returns a formatted string of controller inputs. Implemented this function in SMS input.cs and hooked up Movie recording. 2011-02-26 21:36:46 +00:00
andres.delikat a5dc7e90b3 Checking in some movie class progress. Basic file saving done. Progress on file loading. 2011-02-25 19:49:29 +00:00
andres.delikat f0378a8313 Ram Search - Refactor saving of config settings, fix remembering of window location & size, and fix anchoring of output label 2011-02-25 02:50:57 +00:00
andres.delikat 04bee5f950 Fix crash on saving config if ram watch is closed. Refactor some config saving stuff 2011-02-25 02:45:22 +00:00
andres.delikat 94ed90cc9d Ram Watch - save column width settings to config 2011-02-25 02:36:52 +00:00