Commit Graph

461 Commits

Author SHA1 Message Date
andres.delikat d7c267cbbe PathManager - Make FilesystemSafeName remove all invalid chars (for filesystems) from a game name 2011-09-04 19:24:40 +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 db0fe17933 Fix typo in GetRomsPath, was returning GB for PCE/SFX 2011-08-25 02:52:35 +00:00
andres.delikat 90233868cf Slight dialog cleanups on ram search & autofire config 2011-08-15 19:33:18 +00:00
zeromus 019ad69459 disc subchannel Q calculation; make TOC a little more useful by adding TOCPoints which are easier to search than nested sessions, tracks, and indices; and change path browser to use a superior folder browser which lets you enter paths into a textbox. I refuse to click to navigate folders 2011-08-14 23:13:31 +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
beirich 4b65d9e9cf Fix someone's freudian typo 2011-08-10 00:14:21 +00:00
andres.delikat 852c37d63b Autofire Config - minimum values should be 1 not 0 2011-08-10 00:13:07 +00:00
andres.delikat abf7d24106 and as usual, I forgot the new winform files 2011-08-09 23:42:30 +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 53fd0aa877 Hex Editor - Dump To File implemented 2011-08-07 19:30:01 +00:00
beirich b27673f26c M-M-M-MONSTER COMMIT! change Game-load api stuff 2011-08-04 03:20:54 +00:00
andres.delikat 503ecac44c Path Config for PCE Bios 2011-07-25 01:30:18 +00:00
andres.delikat b78202a4c6 Fix input widget so that when auto-tab is off, escape still immediately updates the text 2011-07-23 19:43:08 +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 06fd837cbd Hotkeys for Record/Stop AVI 2011-07-12 00:05:14 +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 3a9acac5a4 Input config - fix height resizing of TI83, fix ordering of controllers in combo box. Remove calls to hardcoded indexes of the comboboxes (use the string names instead!) 2011-07-10 13:16:24 +00:00
andres.delikat fac0143fe4 Message Config - Multitrack message position 2011-07-10 03:38:46 +00:00
andres.delikat 9ea996b0fe Message config - add movie input color 2011-07-10 03:13:07 +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
andres.delikat 1e59c2f530 Input Widget - add in FlagDuplicate() and UnflagDuplicate() in preparations for a "Show duplicates" option in input config & map hotkeys 2011-07-09 23:03:42 +00:00
andres.delikat 521b2ccfd6 InputWidget - MouseWheel increment/decrements 2011-07-09 22:22:45 +00:00
zeromus 9355bc0f2e redo some of client input and hotkey handling 2011-07-09 22:09:39 +00:00
andres.delikat 003b7ebebf Input Widget - left click = focus() only, disable all other mouse events 2011-07-09 22:07:13 +00:00
andres.delikat 9419e02091 InputWidget - hide caret, increment even on duplicate (just don't overwrite anything), don't highlight text on focus 2011-07-09 21:55:14 +00:00
andres.delikat 3e87c297fc Input widget - fix behavior of TAB key 2011-07-09 21:10:40 +00:00
andres.delikat 0407bb2e86 Input widget - Check for duplicates in binding array before committing a mapping 2011-07-09 18:24:53 +00:00
andres.delikat 7f2079beed Input config - autotab toggle 2011-07-09 18:01:46 +00:00
andres.delikat b1e1fa498c Input Widget - when autotab is off, cycle through the key mappings instead 2011-07-09 17:50:52 +00:00
andres.delikat 7dbe4472d9 Default key mappings - switch so keyboard bindings are first, joypads 2nd 2011-07-09 17:40:26 +00:00
andres.delikat 6949a8dd59 InputWidget overhaul to use the new GetPressedKeys() function. InputWidget no longer wipes all mappings. In autotab mode it replaces the first key mapping instead of all. There is now a max number of bindings of 4 (but changeable). Still has some quirks to work out like Alt+F4 no longer closes the dialog, and TAB has weird behavior. Also, need to implement non-autotab handling. Reworked Hotkey config to use this inputwidget, but not inputconfig yet 2011-07-09 16:12:56 +00:00
beirich 2cbc50143f Input update... always run directinput in background input mode, we take care of ignoring input when application isn't focused ourselves 2011-07-08 05:15:28 +00:00
andres.delikat 1056dbe9b1 Input Widget - proof of concept of using a Timer inside the widget to call GetPressedKeys(). Currently this function is always returning null, however. 2011-07-07 16:48:29 +00:00
andres.delikat ec2969cc73 Input Widget - Do "Ctrl+X" not "Ctrl + X" 2011-07-06 23:15:58 +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
andres.delikat 1ac29f3c5d Input Widget - prevent mapping to Alt+F4 and allow parent dialog to be closed by it 2011-07-05 01:48:48 +00:00
andres.delikat 02e562825e Input Widget - auto tab parameter, hotkey config - a auto-tab setting (on by default). If off, the focused widget will stay focused after a binding, another key pressed will rebind the same key 2011-07-04 23:02:37 +00:00
andres.delikat 4ff95ffc3c Message config - less cluttered color config, add movie messages to color config 2011-07-01 02:43:08 +00:00
andres.delikat 8075d4453d Message Config - add rerecord counter 2011-07-01 02:00:11 +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 2a1788d067 Path config - make browse buttons use image instead 2011-06-30 02:00:01 +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 5fa8ae99fe Map hokeys - fix default focused widget when clicking the tabs 2011-06-26 20:06:27 +00:00
andres.delikat 58a0a77ae5 More images and small gui tweaks 2011-06-26 01:22:52 +00:00
andres.delikat 7663a53824 Some more images 2011-06-26 00:17:42 +00:00
andres.delikat 8d856ccd53 Input Config - remove now obsolete TruncateButtonMapping function 2011-06-22 17:35:19 +00:00
andres.delikat e4a112c220 Hotkeys/Input - Use Ctrl for display instead of Control 2011-06-21 01:22:27 +00:00
zeromus ca628e6278 rename GetExePathAbsolute to GetExeDirectoryAbsolute so it doesnt confuse me 2011-06-20 09:08:04 +00:00
andres.delikat 30296e4f5b Don't distinguish between left & right shift/alt/control! 2011-06-20 02:24:41 +00:00
andres.delikat 5bda595ee7 fixs spaces into tabs in a bunch of files because I'm tired of fixing it gradually 2011-06-19 23:39:25 +00:00
andres.delikat 0e36c7d401 Input Widget - allow mapping to just ctrl, alt, or shift 2011-06-19 03:35:57 +00:00
andres.delikat 3a8721f600 Input Config - fix so that multiple mappings are at least displayed again 2011-06-19 02:55:15 +00:00
andres.delikat 47ebedb40c Input Config - fix anchoring of L+R checkbox, Input Widget - fix ToString method so things like Ctrl+UpArrow doesn't break 2011-06-19 02:17:27 +00:00
andres.delikat e14a3c70ad Fix bugs in message config dialog, implement message anchoring (mostly) 2011-06-18 16:22:26 +00:00
kylethomson 0256569297 Hooked up multitrack hotkeys (I hope) 2011-06-16 02:52:23 +00:00
andres.delikat 1db89f5c1f Message config - ability to set anchoring of on screen messages. TODO: hook up anchoring to display system 2011-06-16 02:39:35 +00:00
kylethomson 18fe637193 Start of MultiTrack. 2011-06-16 01:18:16 +00:00
andres.delikat 38ca651aab TAStudio - more misc stuff 2011-06-12 00:14:19 +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 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
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
andres.delikat 2fcb35a4e4 Input Config - Fix NES select & start (I had the saving of the key mappings flip flopped) 2011-06-09 00:58:09 +00:00
andres.delikat 0224eebbf1 Allow L+R/U+D toggle (just the GUI & config work, not hooked up yet) 2011-06-04 23:17:59 +00:00
andres.delikat 2a7996c228 Input Config - NES controls - swap Select & Start 2011-06-04 14:07:55 +00:00
andres.delikat 56cce7ab2b Rip out sample rate config 2011-06-04 01:03:13 +00:00
andres.delikat 6d82dcf486 Volume up and down hotkeys 2011-05-30 01:50:51 +00:00
andres.delikat 47b9487bd3 Sound Config - Sample rate config 2011-05-25 02:00:44 +00:00
andres.delikat 77afbe240d Sound Config - hook up sound enabled checkbox and implemented the feature. 2011-05-25 01:33:54 +00:00
andres.delikat 115517c795 Volume control hooked up 2011-05-24 01:20:08 +00:00
andres.delikat 7dc78cdaab Some widgets for volume control in sound config 2011-05-23 21:31:29 +00:00
andres.delikat ed6ca16431 Path Config - clean up todo list and cosmetic changes to dialog 2011-05-21 03:01:56 +00:00
andres.delikat 77906b80c5 Path config - set tab stops and hook up ROM path logic 2011-05-21 01:13:48 +00:00
andres.delikat f01d136d53 Hotkeys - fix movie hotkey ordering 2011-05-20 16:37:37 +00:00
andres.delikat fa503a17e9 Path Config - add SG-1000 tab and finish implementing GG stuff 2011-05-20 02:40:17 +00:00
andres.delikat 0c1077c651 Path config - implement for Game Gear, implemented SaveSettings() 2011-05-20 02:04:20 +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 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
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 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 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 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 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 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 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 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 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 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
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 0eda3bd2ab make sound toggling work a little better 2011-03-13 19:30:56 +00:00
andres.delikat 09ea99323e Code cleanup of last commit. Hex Editor cleanups - Fix Hex editor auto-load menu item, implement save window position menu item. Fix auto-load menu item check, was being done in the options menu drop down event instead of settings. 2011-03-10 03:33:53 +00:00
andres.delikat 98ee9308fa Hotkey Config - fix so that clicking a tab automatically highlights the first item 2011-03-10 03:24:43 +00:00
andres.delikat a36f39f993 Misc small cleanups 2011-03-04 16:18:06 +00:00
andres.delikat ac7f43304f Input Widget - check string length before attempting to check for "oem", fixes crash made by my last fix 2011-03-01 14:03:15 +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
andres.delikat 6165efd43b Input Widget - hacky fix, Remove "Oem" from any key binding it receives. Things like period & comma can be mapped to controllers now 2011-03-01 04:37:42 +00:00
andres.delikat 6adf6c10bb Input Config Dialog - fix so that initial selection of controller type actually invokes the selected index event so that the dialog is set up to the proper controller. Also make the default (Null emulator) be SMS 2011-03-01 04:32:00 +00:00
andres.delikat 6edc2065c5 Hotkey dialog - fix more tab stop ordering 2011-02-24 03:26:53 +00:00
andres.delikat c1d99ae03e Move Hotkey dialog files to config folder, change tab stops in the General tab to be in the correct order 2011-02-24 01:52:54 +00:00
andres.delikat da61223e15 Input Widget - disable context menu 2011-02-23 23:39:36 +00:00
andres.delikat 7293d8749e Input Widget - fix so that Tab can be assigned to a widget properly 2011-02-23 21:30:11 +00:00
andres.delikat 6ebca99cd5 InputWidget (For Hotkey & Input dialogs) - After key event, automatically tab to the next control. Also, fix so display is "Shift + X" not "Shift+X" 2011-02-23 18:12:19 +00:00
kylethomson 005138b453 More cleanup of input Config 2011-02-20 15:25:00 +00:00
andres.delikat 7d093138ca Input config - set Accept & Cancel properties of the winform to none since they were interfering with mapping keys 2011-02-20 14:31:42 +00:00
kylethomson 25364163a6 More tweaks to InputConfig 2011-02-20 07:30:16 +00:00
kylethomson 2b145b5d6e Add NES controllers to config and Input dialog. 2011-02-20 07:16:34 +00:00
kylethomson 3cf44657c1 Need to have instances in Controller types if no defaults.
Also added more HotKeys
2011-02-20 06:52:39 +00:00
kylethomson 36a81e6ac4 Restored Default keys, also, InputWidget no longer accepts tab, but accepts everything else. Tab code was commented out. 2011-02-20 03:51:18 +00:00
kylethomson 643efb2caa This disable everything but Tab, but its the only way I found to stop from Tabbing away. Need help. 2011-02-20 03:39:47 +00:00
kylethomson bb10d36b73 InputWidget now clears on Escape 2011-02-20 03:06:06 +00:00
kylethomson 1197a1bd33 First Run of Hotkey Dialog. 2011-02-20 02:59:15 +00:00
zeromus 022c4be0c8 add nes stub 2011-02-20 02:17:09 +00:00
kylethomson 61351cba7f Added Gameboy. 2011-02-19 22:07:52 +00:00
kylethomson 23555d06c5 Added PCE, todo: Genesis, Gameboy, (LOL TI-83?) 2011-02-19 21:27:10 +00:00
kylethomson 46972c346f More input control window fixes. Now saves (within a session, still need to save to INI.) 2011-02-19 21:06:58 +00:00
kylethomson 8ae5dc748f My first BizHawk Commit! Better make it an epic one!
My little pony, apocalypse pony! http://www.youtube.com/watch?v=FIY41LrvMFQ
Oh yeah, started redo of input config.
2011-02-19 20:31:32 +00:00
andres.delikat cac6548fc3 Add Mute Frame Advance & Sound On/Off to sound config (neither option is currently hooked up) 2011-02-15 20:18:12 +00:00
andres.delikat 2b902b0279 Add Sound Config winform (currently blank) 2011-02-15 19:05:21 +00:00
zeromus 4fd27db1b2 stub of an InputWidget 2011-01-30 23:06:43 +00:00
andres.delikat 4aafe54e81 Input Config - Format button mapping text 2011-01-30 16:15:39 +00:00
andres.delikat fc04c7fc7e Display SMS controller mapping in button text boxes. Needs formatting apparently 2011-01-30 15:57:34 +00:00
andres.delikat 041b6e2aa9 Sega Genesis controller image added to input config 2011-01-29 19:06:34 +00:00
andres.delikat fb1d5ed822 PCE controller in input config 2011-01-29 18:56:27 +00:00
andres.delikat 4f7fb11b2c Input config - more progress + Gameboy controller image 2011-01-29 03:09:31 +00:00
andres.delikat 6745437085 Controller Config - more progress, including a SMS controller image 2011-01-29 02:56:50 +00:00
andres.delikat 1f4e560fc2 Input Config - a bit of progress on making a dynamic config based on the System type 2011-01-29 01:25:57 +00:00
andres.delikat 386e632f30 Input Config - basic form design set up 2011-01-29 00:33:14 +00:00
andres.delikat 54c06ec943 Start a controller config dialog 2011-01-29 00:10:08 +00:00