Commit Graph

356 Commits

Author SHA1 Message Date
goyuken 2171d4cd00 n64: support new settings system. regression: n64 video plugin settings are no longer stored in movie 1.0 files nor read from them 2013-12-26 23:04:22 +00:00
goyuken 9fe0525746 settings load cleanup 2013-12-26 20:19:28 +00:00
adelikat 1232642c15 some minor code cleanup of MainForm.cs 2013-12-26 01:00:44 +00:00
adelikat db5684b4db Create a RomLoader object in Client.Common and port over a bunch of code from EmuHawk. Still a lot of refactoring, and probably more logic can be moved to common, and things need cleanup, and there is possibly bugs.
This commit breaks coleco rom loading, to settle a merge conflict with the previous commit
2013-12-25 19:09:53 +00:00
goyuken cff6a517f5 coleco to new settings system 2013-12-24 23:32:43 +00:00
adelikat e711a6ec6f Move SwapBackupSavestate() from EmuHawk.Mainform to Client.Common.SaveSlotManager 2013-12-24 22:20:18 +00:00
adelikat dd63395f67 move some stuff from EmuHawk to Client.Common 2013-12-24 21:59:41 +00:00
adelikat 302e71edc3 Rework some input stuff in preparation for moving it to common 2013-12-24 21:37:51 +00:00
goyuken 82c82b681a connect a26 to the new settings setup. unlike all those before it, the menus have changed a bit, but all of the functionality is still there. in movie 2.0, a26 will store the two difficulty switches and the bw\color switch as syncsettings 2013-12-24 20:50:53 +00:00
goyuken bdfbafdfca SMS: support new settings infrastructure. this adds enableFM and allowOverclock as sync relevant settings for movie files (but of course, they won't end up in Movie 1.0 files) 2013-12-24 01:06:17 +00:00
goyuken 916e0029c4 GPGX: support new settings system. this means you can now connect all manner of weird arse controllers, but some aren't implemented in other places yet. 2013-12-23 23:03:12 +00:00
goyuken 50e3691181 new setting system: misc cleanup 2013-12-23 21:54:10 +00:00
goyuken 2558e76b5d fix rewind on N64, gpgx.debug 2013-12-23 20:34:02 +00:00
goyuken bf20188462 add winform edit for dual gameboy settings 2013-12-23 16:58:20 +00:00
adelikat 70078b24f2 Remove the hacky Cheats_Restart() method and move the logic into the Restart method of ToolManager, also move over the generateDefaultCheatName to that object and make it static 2013-12-23 03:07:06 +00:00
goyuken d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
goyuken f992672051 NES add sound volume settings to config object 2013-12-22 21:47:16 +00:00
goyuken 0347fc5eef core settings stuff etc 2013-12-22 20:41:21 +00:00
adelikat 7acc64c37e Add Geneis Game Genie to toolbox, and re-enable the feature but INTERIM flag it 2013-12-22 20:38:36 +00:00
adelikat 2448ad0dda Wire up the Genesis Game Genie Encoder/Decoder to the GPGX core, but disable it since it doesn't seem to work right now 2013-12-22 20:25:43 +00:00
adelikat 5fc78efe85 Fix exception when a "Starts from Now" movie is made with the record movie dialog when the folder selected does not already exist 2013-12-22 19:06:57 +00:00
adelikat d5ea2567ba Context Menu - fix logic for showing Add Subtitle 2013-12-22 18:54:07 +00:00
adelikat 4584b0a054 Path Config - fix defaults button, remove "DEBUG" tab and some code cleanup 2013-12-22 18:36:27 +00:00
adelikat 5e05882b70 Hotkey config - fix spacing bug 2013-12-22 17:14:22 +00:00
adelikat c48f93d099 Restore saveslot statusbar icons coloring 2013-12-22 17:02:28 +00:00
adelikat 5fff62d52b Add GBA Gpu Viewer to toolbox, and add snazzy gba icon 2013-12-22 15:39:11 +00:00
adelikat edd9e65e9e Toolbox - fix focus issue on load 2013-12-22 15:26:09 +00:00
goyuken 0cd5af1843 rework NES palette config in new core config system 2013-12-22 06:55:34 +00:00
goyuken a5cdee3780 pce: connect to new settings system 2013-12-22 05:58:24 +00:00
adelikat 0e4c507d08 Toolbox - some more intelligent code 2013-12-22 03:41:10 +00:00
adelikat 7a61b53fa1 Toolbox - rip out text feature since the box is too small to see it now 2013-12-22 03:21:32 +00:00
adelikat 928e14f110 Add GB GPU viewer to toolbox, and clean up some toolbox behavior 2013-12-22 03:15:53 +00:00
goyuken 0b8adc6113 fix some massively fubar config stuff from r5653 2013-12-22 02:47:35 +00:00
adelikat 8616a42600 Add PCE BG Viewer to Toolbox 2013-12-22 02:27:25 +00:00
adelikat 089f6bbd3d Toolbox Improvmeents - focus first icon to allow quick access via keyboard, close when user selects a tool, esc closes dialog, resize intelligently based on number and size of icons, minimize size of icons and flow horizontally with overflow, show selected icon tooltip text on dialog text property, also change hotkey to shift+T 2013-12-22 01:49:52 +00:00
goyuken bd205f47dc update our newtonsoft json.net to version 5.0 release 8. this fixes up abstract class handling so that the CoreSettings can work correctly.
tweak Binding, RecentFiles, and PathEntry to work with the new serializer.  on updating to this revision, you should be able to keep all config.ini settings except for hotkey bindings, path layouts, and recent files list.
start implementation of new CoreSettings and CoreSyncSettings.  at the moment, it's only partially done for NES.
2013-12-22 00:44:39 +00:00
adelikat 720a19c2ad Toolbox - some code cleanup 2013-12-21 21:37:00 +00:00
adelikat 1e5ff72519 Hex editor - better scrollbar logic for really small domains that don't need a scrollbar 2013-12-21 20:06:52 +00:00
adelikat 7ddfc9e013 call UpdateCheatRelatedTools() in CloseRom() 2013-12-21 19:34:01 +00:00
adelikat d45ba09f50 Hex Editor - a bit of code cleanup 2013-12-21 17:51:07 +00:00
adelikat 9a42da7bf1 Wire ToolHelpers.UpdateCheatRelatedTool() to the CheatList changed event handler 2013-12-21 17:25:52 +00:00
adelikat 1ad3b83d83 Better updating of cheat status in various situations, and fix an exception thrown when unfreezing an address with the hex editor 2013-12-21 16:42:36 +00:00
adelikat 6d741f4bfc Cheats - add "View in Hex Editor" to the context menu 2013-12-21 15:01:12 +00:00
adelikat 9c7dac0aa3 rip out VS menu items, we don't support that stuff anymore 2013-12-20 22:55:50 +00:00
adelikat f8038d3812 Refactor how the Gui deals with NES special commands (Fds and Vs) 2013-12-20 22:49:35 +00:00
adelikat 1c44d21562 Code clean up on Mainform and VirtuallistView. 2013-12-20 22:05:56 +00:00
goyuken f5c69f279c slap some comments on the memory scanning thing that i committed yesterday 2013-12-20 16:41:21 +00:00
goyuken 1f4ff7b1ce i don't want to talk about it 2013-12-20 05:38:07 +00:00
adelikat 57c8b2f75f TAStudio - when dragging the frame column to select items, catch the "in betweens" when the mouse moves fast enough to move past some rows. 2013-12-20 03:28:25 +00:00
zeromus 76d867d5da add the coveted combo breaker 2013-12-19 22:53:06 +00:00
adelikat 163ee0e6fd Path Config - remove Firmwares buttons in system specific tabs, instead add a ? icon in global next to the firmware path that opens the firmware config dialog 2013-12-19 18:18:40 +00:00
zeromus 5a8afc0411 firmware config dialog: add perks and fix bugs 2013-12-19 16:59:23 +00:00
adelikat f81fe9898f Tastudio - implement Copy menu item, and show rows selected and clipboard count in status bar 2013-12-19 03:45:11 +00:00
adelikat b2210f3dfe TAStudio - do away with splicer section, and put it in the status bar instead 2013-12-19 03:03:35 +00:00
adelikat b0817aabef TAStudio - playing around with UI design 2013-12-19 02:52:27 +00:00
adelikat 95c619a0b7 Lua Console - a round of code cleanup 2013-12-19 01:17:53 +00:00
adelikat b2b8edb319 Fix removing of registered functions via Lua console 2013-12-19 01:02:50 +00:00
adelikat b604d81d10 Lua Console - refresh things better 2013-12-19 00:54:35 +00:00
pasky1382 ac97e62ed1 Remove registered functions when disabling lua scripts 2013-12-19 00:12:46 +00:00
adelikat 1fa16cfaeb about box tweak 2013-12-18 22:58:24 +00:00
goyuken 24ef496737 CHRISTMASHAWK 2013-12-18 19:36:17 +00:00
adelikat 0582ef4c42 TAStudio - account for playback in previous commit 2013-12-17 18:32:48 +00:00
adelikat 9ddcfcce8b TAStudio - when recording, keep Current Frame marker in view 2013-12-17 18:22:03 +00:00
adelikat 3eabb42c16 TAStudio - fix default size brokenness, not sure why this fixes it, but it had to be done anyway, so whatevs 2013-12-17 18:03:49 +00:00
adelikat 4bfdfd31c6 add Genesis controller to controller config for GPGX, and oops, mnemonics now do 2nd player controller 2013-12-17 01:46:23 +00:00
goyuken 85be43dfb8 sega CD games now get as far as loading the bios 2013-12-16 19:00:05 +00:00
goyuken d45faaa99c break stuff! 2013-12-16 18:04:45 +00:00
adelikat 68f522c5c9 TAStudio - use MarkerControl user control, doesn't do anything yet though 2013-12-16 03:23:28 +00:00
goyuken a6cbd85930 controls work and stuff now 2013-12-16 01:58:40 +00:00
goyuken a818710589 http://www.youtube.com/watch?v=V3w2saj52fI 2013-12-15 20:51:57 +00:00
adelikat 01ea214332 TAStudio - make Marker user control 2013-12-15 19:16:52 +00:00
adelikat b837ddf36e TAStudio - tweak the marker dragging and support dragging of frame column to highlight 2013-12-15 17:19:22 +00:00
adelikat 9257cfdc79 Lua textbox - Fix behavior of numeric values when pressing up and down 2013-12-15 04:50:24 +00:00
adelikat a75e91af13 Tastudio - support dragging the marker through greenzone frames. Does nothing currently if you go outside the greenzone. 2013-12-15 04:45:46 +00:00
adelikat 1723f9dc92 Lua forms - make lua textboxes that are set to signed/unsigned/hex types increment/decrement with up/down arrows 2013-12-15 03:41:13 +00:00
adelikat 91063b7ffd Lua forms library - implement forms.dropdown(), forms.checkbox(), and forms.ischecked(). Add support for dropdowns in forms.gettext() (returns the string value of the selected item) 2013-12-15 02:50:50 +00:00
adelikat 5c9a604ae5 TAStudio - when loading a movie, set to playback mode, implement auto-switching to record mode at the end of a movie 2013-12-14 20:32:00 +00:00
adelikat 415985cd2e TAStudio - fixes to file opening and saving changes, implement autoload project 2013-12-14 19:51:07 +00:00
adelikat 69e8e42d61 TAstudio - implement input log loading 2013-12-14 18:46:59 +00:00
adelikat 518e53e361 TAStudio - implement Restore Defaults menu item (for the features implemented so far at least). Make dialog TopMost = true by default 2013-12-14 14:48:05 +00:00
adelikat 5fee952c3a TAStudio - Implement AskSave() and various client logic regarding file saving/loading 2013-12-14 14:40:33 +00:00
adelikat 35c3fcca16 Restart Rom when Tastudio is engaged, resorted to ugly hacks that will be rethought when things are more stable 2013-12-14 06:58:09 +00:00
adelikat bc3208ec89 Don't lose stack trace before final catch. We like the message box to be huge and ugly for the user! 2013-12-14 06:26:05 +00:00
adelikat de084bf6fa Some mostly useless formatting and code cleanup in BizHawk.Common, broke some classes up into separate files 2013-12-14 00:03:03 +00:00
zeromus 483cf96853 rename PathEntries.WatchPath etc. to PathEntries.WatchPathFragment to better convey the idea that it isnt a fully-qualified path, so its less likely to get used on accident 2013-12-13 05:20:50 +00:00
goyuken 4b9b11c887 JAWMP LYSTS 2013-12-13 04:57:14 +00:00
adelikat c1650f0863 Add --fullscreen commandline option 2013-12-12 21:05:09 +00:00
goyuken a7fabedfcd most uses of PathEntries[] and MakeAbsolutePath() use Game.System, not Emulator.SystemId. so change one particular cheat path routine to work like the others. 2013-12-11 02:05:24 +00:00
goyuken 9ce2920d16 fix up some stuff in the libretro wrapper. still doesn't do much 2013-12-10 23:12:09 +00:00
goyuken 87f8d13ca5 apply new firmware load system to ColecoVision and Intellivision 2013-12-10 18:16:39 +00:00
goyuken 39ff347483 delete unused "SoundOn" variable from NES core. not sure what the idea was here? 2013-12-10 18:05:54 +00:00
adelikat 18c50a55fe Remove SaveAs from IMovie, the only usage it had in that context was to make backups and was erroneously named in that context. Made is a Movie.cs implementation only and disabled the menu item option if the movie is a TasMovie (TAStudio will be in charge of backup logic) 2013-12-10 17:59:04 +00:00
goyuken e95d7b8cd7 fix the mess i made yesterday with IEmuLoadHelper (I did not know at the time, but it's 99% the same as the existing ICoreFileProvider) 2013-12-10 17:58:12 +00:00
adelikat 7e67658f1c Remove Loaded property from IMovie and refactor accordingly, it was only needed for a hack that had faulty logic 2013-12-10 17:41:30 +00:00
adelikat 1f181f48db TAStudio - start the "New" menu item, but it doesn't ask to save changes, it also freezes the GUI for some reason 2013-12-10 16:37:41 +00:00
adelikat 4d770ab0f3 TAStudio - implement recent menu and Open file, but it is currently pointless since the input log parsing isn't implemented 2013-12-10 02:13:50 +00:00
adelikat fd149237ee TasMovie - implement saving of movie log into files, make header have the proper movie version (v2!), Change file "Movie" to "Header". TAStudio - implement Save and Save As menu items 2013-12-10 01:45:45 +00:00
goyuken 1d0db18244 update some snes core internal firmware request infrastructure to use the new firmware match system. should be no actual functionality change 2013-12-09 21:41:18 +00:00
adelikat 66691bf9ab TAStudio - set up a proof of concept change event handlers in MovieRecords and TasMovie, change events propogate from MovieRecord to TasMovie which will manage greenzone logic (todo) and other management issues, and then fire off an event that TAStudio will listen to manage UI needs 2013-12-09 21:40:27 +00:00
goyuken 2a0217e06c refactor a bit of firmware loading code to get some slop out of MainForm.LoadRom() 2013-12-09 20:36:24 +00:00
adelikat d3f088a0bc Intelligent input drawing 2013-12-08 19:42:07 +00:00
adelikat 22ff2bff04 TasListView - track the current and last cells pointed to, add a Cell changed event handler, add a Input Drawing flag, and track if the user is click dragging. TAStudio - hook up input drawing feature with toggle, still work to do as it doesn't work as intelligently as it should yet 2013-12-08 19:30:57 +00:00
adelikat 14184c9ae9 TAStudio - Basic input toggling via clicking cells in the listview 2013-12-08 18:44:41 +00:00
adelikat 394650aae6 VirtualListView - add a public property: VScrollPos, TASListView - track the row index the mouse is currenlty pointing to 2013-12-08 18:14:00 +00:00
adelikat ac56fb0883 Start a TasListView object that inherits VirtualListView, make TAStudio use it, have it have properties for which Column and Row is currently being pointed to by the mouse. Row isn't calculated yet, but column is 2013-12-07 23:20:44 +00:00
adelikat 6873248ce8 Some cleaning up of logic of past commits, and separate MovieRecordList to its own file 2013-12-07 21:37:52 +00:00
adelikat ba2c345608 TAStudio - better column building and tracking of what has been pressed. Also now allows a variable number of players to be recorded. 2013-12-07 17:29:47 +00:00
adelikat 94de0b0376 TAStudio / TasMovie - Proof of concept that MovieRecords can hold an array of bool states and communicate with higher objects via IController 2013-12-07 01:50:52 +00:00
adelikat 38d6555763 Some stuff 2013-12-06 18:27:06 +00:00
adelikat 98f1e02df3 TAstudio - start capturing states and lag, basic background color logic, start item text logic 2013-12-06 15:47:23 +00:00
adelikat 0c3818a37e TAStudio - add user controls for various sections of the dialog, they are just stubs at this point 2013-12-05 20:06:06 +00:00
adelikat 5384fcfdd2 TAStudio - start new recording on load, and generate columns dynamically based on the core currently loaded. Currently only does 1 player's worth of columns. 2013-12-05 19:18:20 +00:00
adelikat 165f8563a7 More use of IMovie and less use of Movie 2013-12-04 15:17:02 +00:00
adelikat ec030ae05e Rip out the saving, checking, and dealing with Guids for movie files, it is an outdated notion. 2013-12-04 03:04:29 +00:00
adelikat bc860a4bcf Remove the option to turn off the "Bind movies to savestates" feature 2013-12-04 02:43:40 +00:00
adelikat 2de37ac57a Fix address freezing from the Ram Watch dialog 2013-12-03 19:50:10 +00:00
adelikat b7d553cb4e Move the readonly flag from Global to MovieSession 2013-12-03 18:08:45 +00:00
zeromus a03213e0e4 clean \r out of LogWindow lines 2013-12-03 18:06:22 +00:00
pasky1382 fd6aeaa620 Oops. 2013-12-03 16:40:14 +00:00
pasky1382 e7413903db Cosmetic changes to scanline dialog 2013-12-03 12:52:08 +00:00
pasky1382 c8d9757d37 Added scanline display filter options 2013-12-03 05:02:29 +00:00
zeromus a2b3201912 run filter intensity through Global.Config.TargetScanlineFilterIntensity 2013-12-03 01:52:36 +00:00
zeromus 180043db0b make intensity controllable 2013-12-03 01:37:49 +00:00
zeromus edba782f7c change intensity of scanlines filter 2013-12-03 01:30:21 +00:00
adelikat 1c22123da4 IMovie - refactor string GetTime() into TimeSpan Time, refactor accordingly, Fixing column size issues in Play movie dialog that was preventing the user from seeing the entire time without manually resizing. 2013-12-02 21:57:48 +00:00
zeromus ad17100c73 scanlines2x 25% filter 2013-12-02 18:35:15 +00:00
adelikat 0e6473987b Remove Rerecords from IMovie since it is a part of IHeader, therefore redundant and conceptually inappropriate. Also some low hanging fruit on implementing TasMovie.cs 2013-12-02 17:50:29 +00:00
adelikat 1818e6f5fc Lua - forms.textbox() - add multiline parameter 2013-12-02 03:41:29 +00:00
adelikat 3f79bbfd56 TAStudio - create a TasMovie object on load, start implementing some tasmovie things, if there is a move active, warn them that they will lose their work when they open tastudio. Swap global movie back to a regular movie on tastudio close 2013-12-01 22:29:38 +00:00
adelikat 1390b1a7e3 Start MovieRecord and TasMovie objects, they are just stubs right now 2013-12-01 20:55:52 +00:00
adelikat 9ab2be558c rip out existing tastudio logic and replace it with a skeleton project that does nothing 2013-12-01 04:00:02 +00:00
adelikat 2d51026883 some more movie cleanup - moving properties from Movie to MovieHeader since they are more appropriate there 2013-11-30 03:23:19 +00:00
adelikat e686e595b9 Refactor use of Movie Frame count - also fix play movie to show infinite movie's frame count as "Infinity" 2013-11-30 03:10:05 +00:00
adelikat c95732ed31 Movie - don't expose the log directly, clean up, and remove StateVisualizer since I've given up on working on it! 2013-11-30 02:33:26 +00:00
adelikat 4cb01d8ed4 Finish up Movie Header refactor 2013-11-30 02:20:34 +00:00
adelikat ec11efb784 Round 1 of Movie Header refactor, make a IMovieHeader, and a static class HeaderKeys, simplify MovieHeader a ton as a result 2013-11-29 23:18:46 +00:00
adelikat a8b355c7d2 Movie - movie SubtitleList object into the Header object 2013-11-29 20:26:24 +00:00
adelikat 29a0fa49f8 Simplify IMovie and refactor some code to allow that, this also disables more functionality in TAStudio but it is disabled in trunk currently anyway (pending a rewrite). Also a bunch of pedantic code cleanup in tool dialogs 2013-11-29 19:55:05 +00:00
adelikat 0ed9d832c7 Trace Logger - some code clean up, some tiny speedups, and implement a few small tweaks like Always on Top, and Select All 2013-11-29 00:35:05 +00:00
adelikat 9ccc214667 Make an extension method ShowHawkDialog() to use for modal dialog calls that does the Sound Stop/Start methods (and potentially any other EmuHawk specific logic that needs to be done). Use this in the bazillion places we were calling StopSound and StartSound. 2013-11-28 22:39:00 +00:00
adelikat d6954e4209 Ram WAtch and Hex Editor code cleanup 2013-11-28 22:06:38 +00:00
adelikat bbcc7f3b5f MemoryViewer.cs isn't being used anymore 2013-11-28 20:05:35 +00:00
adelikat d37f186107 Hex Editor - a bunch of clean up, refactoring, rethinking of stuff, and some slight bug fixes 2013-11-28 20:02:32 +00:00
adelikat a3917f6052 Oops 2013-11-28 14:58:15 +00:00
adelikat 3ddf1f394b Refactoring of Hex Editor, and support poking of 4-byte addresses (how was that left as todo this whole time?) 2013-11-28 14:43:27 +00:00
adelikat e6d85a4087 Various code cleanups on some config dialogs 2013-11-28 01:33:38 +00:00
adelikat ad39eb36f4 Input Widget - use SysColors.Window when exiting the widget, not SysColors.Control, also clean up some code in that file while I'm at it 2013-11-27 23:52:21 +00:00
adelikat c353af5f82 Remove Gif Animator config dialog, we dont' use it anymore 2013-11-27 23:37:40 +00:00
adelikat b3946082a7 Some code refactoring, mostly in an attempt to pick away at the beast that is Mainform.cs 2013-11-27 23:35:32 +00:00