Commit Graph

787 Commits

Author SHA1 Message Date
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
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
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 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
brandman211 56af359405 Made the status bar hidden when in full screen. 2011-05-09 01:17:51 +00:00
andres.delikat 9f6c276b5f Fix NES set mnemonic to match the get method 2011-05-08 21:09:20 +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
andres.delikat b9c334b93a As usual I forgot to check in new files 2011-05-08 11:29:34 +00:00
zeromus 646dd59ad6 disc subsystem progress 2011-05-08 09:07:46 +00:00
andres.delikat a91c8ecbd7 Movie class clean up, add movie version to header, save game name and emulator version to header, movie code will load any non-header or input log as a comment, GetFrame does bounds checks, cleaned up todos 2011-05-08 01:00:13 +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 a02694b562 Start a TAS Studio dialog 2011-05-07 21:52:26 +00:00
andres.delikat a4cfea9a24 oops, meant to check in this file too 2011-05-07 21:20:05 +00:00
andres.delikat 42a5dbd7e5 Path Config - save use recent path for ROMs settings, enable/disable labels as well when clicking it, fix a typo in load function 2011-05-07 21:10:08 +00:00
andres.delikat b09cd5af9e Path Config - hook up all the browse buttons 2011-05-07 20:42:15 +00:00
andres.delikat dab3df8ea2 Path Config stuff 2011-05-07 19:14:52 +00:00
andres.delikat 65499148d4 Path config progress 2011-05-07 17:26:16 +00:00
andres.delikat 0a1dc8c06e Path manager - fix so that paths use their platform base (if there is one), then the global base, then the exe path 2011-05-07 02:54:09 +00:00
andres.delikat b53b9f7a42 start a LuaText object 2011-05-07 01:17:19 +00:00
andres.delikat db98f67772 Disabled LuaWindow in favor of LuaConsole 2011-05-07 01:06:01 +00:00
andres.delikat 3bca271d0e Yet another round of Lua Console 2011-05-07 00:33:15 +00:00
andres.delikat 9cb852664d Another round of Lua Console 2011-05-07 00:07:27 +00:00
andres.delikat b95a5dfc17 Progress on lua console window 2011-05-06 23:08:50 +00:00
andres.delikat 4914fa64d2 2011-05-06 01:40:52 +00:00
andres.delikat 508e00785a a multi-lua script dialog rough draft 2011-05-06 01:37:28 +00:00
andres.delikat e85326d340 Hook up Movies path to OpenFileDialog in the Play Movie winform. Doesn't actually do anything yet but I wanted to go ahead and get the path config calls in there 2011-05-05 19:55:43 +00:00
andres.delikat b37052693c Path Config - progress 2011-05-04 20:31:36 +00:00
andres.delikat a5e092bea3 Path Config - fix some bugs with PathManager functions. Hook up watch file path to Ram Watch dialog 2011-05-04 15:44:18 +00:00
andres.delikat fb6cef87fd Path Config - Move/Resize things so that text boxes are wider 2011-05-04 12:23:41 +00:00
andres.delikat 0177431335 Path Config - Moved helper functions into a PathManager class. Made Folder Browse function use current folder mapping as starting folder. Other fix ups. 2011-05-04 02:00:08 +00:00
andres.delikat dae63bc513 Path Config - helper functions for forming absolute paths from relative or special identifiers 2011-05-03 20:48:51 +00:00
andres.delikat 255818b801 Path Config - Better anchoring of widgets, progress on setting proper default folders in a FolderBrowserDialog 2011-05-03 15:53:12 +00:00
andres.delikat 344e50e33d Path Config - implement path config for watch files 2011-05-03 02:32:21 +00:00
andres.delikat dc4c1d54d3 Path Config - If always use recent path for ROMs is checked disable ROM path config for each platform 2011-05-02 20:37:01 +00:00
andres.delikat a8b684e536 PathConfig - fixed up positioning of widgets, made platform specific cheat paths rather than one all encompassing one in the tools tab 2011-05-02 20:17:22 +00:00
andres.delikat ed52c85895 Path Config - grunt work, renamed all relevant widgets 2011-05-02 19:05:55 +00:00
andres.delikat ee34f316cc Make alert messages color and last input colors configurable in message config dialog. 2011-05-02 01:49:53 +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 57672564a5 Path config - tabbed layout approach 2011-05-01 18:58:19 +00:00
andres.delikat c4403a2959 Start path config dialog. Made a rough draft of how it might look 2011-05-01 18:17:04 +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 2fa3561c45 Add LagCounter int to IEmulator, returns 0 on every emulator at the moment. Hook up RenderPanel's LagCounter display 2011-05-01 00:20:39 +00:00
andres.delikat a4f4c59e9c More fix up to toolbox - adding some icons 2011-04-30 23:45:02 +00:00
andres.delikat 843d679ce7 Toolbox - add emulator dependent tools to toolbox. 2011-04-30 21:19:11 +00:00
andres.delikat 880b3a7a5b ToolBox - set toolstrip as a tabstop, now the user can arrow key to the dialog of choice after pressing the toolbox hotkey 2011-04-30 20:50:32 +00:00
andres.delikat a195d36772 Add stuff to tool box 2011-04-30 20:18:42 +00:00
andres.delikat 0927af96f5 TI83 Keypad - a few minor changes 2011-04-29 16:55:50 +00:00
andres.delikat fe175031a6 TI83 Keypad - yet more dialog cleanup 2011-04-29 01:21:14 +00:00
andres.delikat 2e30ab89a8 Make backgrounds transparent on arrow images for TI83 2011-04-29 00:25:34 +00:00
andres.delikat 724a5b3bd8 TI83 Keypad - tiny change 2011-04-28 18:41:37 +00:00
andres.delikat f45293c009 TI83 - more keypad fixups, use special characters in text 2011-04-28 17:06:07 +00:00
andres.delikat 8d284c1250 TI83 Keypad - ability to turn on/off the hotkey tooltips 2011-04-28 02:12:35 +00:00
andres.delikat 6bf24b4531 TI83 Keypad - dialog fix ups 2011-04-28 01:22:34 +00:00
andres.delikat 2a54d8a8cd TI83 Keypad - fixed forcebutton issue, all buttons now implemented 2011-04-27 17:29:09 +00:00
andres.delikat 969ff85d9d TI83 Keypad has buttons all with proper text and colors, some buttons hooked up. 2011-04-27 16:23:16 +00:00
andres.delikat 916ae58dbb oops, forgot to check in these files 2011-04-26 22:30:04 +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 c9067cc2ee Input Config - automatically resize bigger when selecting TI83 and downsize when selecting something else 2011-04-24 23:22:52 +00:00
andres.delikat 552649445a Input Config - make TI83 buttons in 3 separate columns 2011-04-24 19:38:08 +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 c94662ce00 Fix comma mapping for input/hotkey config, make TI83 buttons remappable. TODO: find bit that maps to APPS button in TI83.cs 2011-04-24 16:57:43 +00:00
andres.delikat f0636a86ef Fix TI83 buttons to all have default mappings, but currently not remappable. Fix InputWidget to properly handle most every special key (converting from Windows naming to Slimdx naming) 2011-04-24 13:26:26 +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 cb6e6d2d13 Fix so that Number pad keys can be mapped to hotkeys & controllers without crashing 2011-04-23 20:59:07 +00:00
andres.delikat fb4abe9331 More message config fix ups 2011-04-23 20:09:05 +00:00
andres.delikat ea796832fc Message Config - lots of progress 2011-04-23 18:22:26 +00:00
andres.delikat c45c960c93 Message config - more progress 2011-04-23 13:35:43 +00:00
andres.delikat aec98e1547 Lots of progress on message config box, mouse & drawing events for position panel done. 2011-04-23 12:57:31 +00:00
andres.delikat d5b04ce7e5 Forgot to check in my message config files 2011-04-23 00:39:29 +00:00
andres.delikat 97e8c91352 Set a message config dialog 2011-04-22 00:21:28 +00:00
andres.delikat c8e324ff49 oops, screen messages should use color variable too 2011-04-21 23:26:18 +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 d75b99b010 Broken attempt to make frame counter color a variable 2011-04-21 23:11:06 +00:00
andres.delikat 9cede4cc2a TI83 - implement hawkfile stuff so that it does proper paths & names for things like savestates & screenshots, implement frame counter, start text savestates (only holds frame count atm) 2011-04-21 01:41:37 +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
zeromus d6bf47c4d4 [NES] fix wai xing ding dong 2011-04-19 01:58:12 +00:00
andres.delikat a066d6e03d Mapper 242 stuff 2011-04-18 22:33:06 +00:00
zeromus 4a6a380cc8 [NES] wai xing ding dong will need 8k of vram 2011-04-18 02:39:57 +00:00
andres.delikat 9e6b232f02 Start mapper 242 2011-04-18 02:26:42 +00:00
zeromus 8a577a0184 [NES] sort out Mississippi Satsujin Jiken, fix up some board autoconfiguration logic which was a bit broken, support pad_h and pad_v from gamedb 2011-04-18 01:57:22 +00:00
zeromus 486a5b0337 assorted useless stuff 2011-04-18 01:35:18 +00:00
zeromus 53bcb10795 add Bio Senshi Dan - Increaser To No Tatakai (J) to gamedb 2011-04-17 21:34:54 +00:00
andres.delikat e4543720d1 let's only have left control default hotkey configs, for now 2011-04-17 18:19:51 +00:00
andres.delikat ca1ad67f8e Fix so that users can at least map to left shift, control, and alt. Currently right is not possible to map. 2011-04-17 18:06:10 +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 f38d1b3a04 Status bar! 2011-04-11 23:37:51 +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 2dd1c91174 Various Main Form UI fixups 2011-04-10 23:07:39 +00:00
andres.delikat 7a99cb9342 Save Named State implemented 2011-04-10 22:50:10 +00:00
andres.delikat 033fd929d6 Implement load named state 2011-04-10 17:47:56 +00:00
andres.delikat ee017e1e34 Fix hotkey dialog so that hotkeys update upon clicking the save button 2011-04-10 16:58:42 +00:00
andres.delikat 5d2fbba8e7 add Toolbox hotkey to hotkey remapping dialog 2011-04-10 16:10:10 +00:00
andres.delikat 50720e2a6d various dialog tweaks to the lua console window 2011-04-09 00:08:27 +00:00
andres.delikat ae8b4a3576 Basic functionality of the Tool Box, binded to the T key 2011-04-07 01:30:42 +00:00
andres.delikat e111915462 Start the tool box dialog 2011-04-07 00:46:10 +00:00
andres.delikat 66a1891884 Add previous commited files to resource file, and add a toolbox image 2011-04-07 00:40:33 +00:00
andres.delikat d466e8e388 toolstrip images for play, pause, and stop. My motivation was for play & stop items on the lua console but I figure they will come in handy for a number of situations 2011-04-07 00:18:57 +00:00
andres.delikat 14054c6f1d A bunch of tool dialogs didn't have the save window position flag hooked up 2011-04-06 23:25:53 +00:00
zeromus 046d815bd3 refresh controls immediately when rebinding instead of requiring emulator reboot 2011-04-06 05:43:59 +00:00
zeromus 5bd70da7f1 dont crash when opening controller config without a rom open 2011-04-06 04:57: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 7eafa54cf7 Name Table Viewer - some small progress 2011-03-30 02:39:19 +00:00
andres.delikat 7d00551f12 Name Table viewer - oops 2011-03-30 00:22:51 +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 615b894a2e Ram Search & Watch - properly check/uncheck memory domain menu items 2011-03-29 20:32:46 +00:00
andres.delikat fe9ee404ee Hex Editor - properly check/uncheck memory domain menu items 2011-03-29 20:06:03 +00:00
andres.delikat 9df469a971 Slight UI tweaks to Archive chooser 2011-03-28 17:18:50 +00:00