Commit Graph

338 Commits

Author SHA1 Message Date
adelikat 7482cfdc5e a round of code cleanup in Client.Common 2013-12-30 01:58:44 +00:00
adelikat 16f7c7fcdc A round of code cleanup on Rewind and some other misc things in Client.Common 2013-12-30 01:17:11 +00:00
adelikat 134783ff36 a round of code cleanup on RomLoader 2013-12-29 23:54:40 +00:00
goyuken 4ccc31da44 cleanup of removed items in config, corecomm 2013-12-27 22:26:59 +00:00
goyuken 75d39ac60f SNES: connect to new settings system.. everything should work? 2013-12-27 17:59:19 +00:00
adelikat 098fca2895 Ram Search - make manual removal of addresses undo-able, slight cleanup of Start method 2013-12-27 16:48:47 +00:00
adelikat 2d51ac5d13 Move a function from mainform to moviesession 2013-12-27 14:39:01 +00:00
goyuken a005767463 random cleanup 2013-12-27 04:41:50 +00:00
goyuken e3165459d8 saturn to new settings system 2013-12-27 03:02:28 +00:00
adelikat f122105b42 oops, put Rewinder in Global not GlobalWin 2013-12-27 01:19:38 +00:00
adelikat b5d3f68126 Move rewind code to client.common 2013-12-27 01:14:17 +00:00
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 c23a61e0e6 Merge natt's sync setting changes back, some ugliness needs to be cleaned up 2013-12-25 19:47: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 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 d37796ab1c more new core config framework; this time GAEMBOY 2013-12-23 02:51:41 +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 4584b0a054 Path Config - fix defaults button, remove "DEBUG" tab and some code cleanup 2013-12-22 18:36:27 +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
goyuken 0b8adc6113 fix some massively fubar config stuff from r5653 2013-12-22 02:47:35 +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
goyuken 43d5bd7b7e fix compile problem, sorry 2013-12-21 18:34:13 +00:00
adelikat 8d680d79a5 Cheats - fix weird behavior caused by the Cheat changed event handler not being wired up on file load 2013-12-21 17:18:08 +00:00
adelikat b2b8edb319 Fix removing of registered functions via Lua console 2013-12-19 01:02:50 +00:00
goyuken 8bd8af15fe clean up the binary save state api a bit 2013-12-17 21:26:15 +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
adelikat 3602233069 Hook up mnemonics for GPGX, in v1 movie system 2013-12-17 01:42:30 +00:00
adelikat 13850b6788 Tastudio - topmost off by default 2013-12-16 18:19:37 +00:00
goyuken a6cbd85930 controls work and stuff now 2013-12-16 01:58:40 +00:00
adelikat ff4e122310 TAStudio - implement green-zone invaliding on edit 2013-12-14 21:05:54 +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 63e9fe9a6f Split NewMnemonicsGenerator into its own file and do some code cleanup on the two implementations 2013-12-14 15:19:05 +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 6840c2a122 Make a NamedDictionary object in BizHawk.Common, and move some collection objects to their own file. new Mnemonic system - use NamedDictionary 2013-12-14 05:55:25 +00:00
adelikat 458d6951c0 remove IsControl that I committed earlier, decided not to do it that way 2013-12-13 22:26:52 +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 c7b582b744 Actually support control types 2013-12-12 23:01:16 +00:00
adelikat bb0e48e970 new Mnemonics generator - support for "control" sections in mnemonic generation 2013-12-12 22:23:48 +00:00
goyuken 013de207d8 remove a few no longer used corecomm path hookups 2013-12-11 01:51:41 +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
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
adelikat ada517d433 TasMovie - small todo 2013-12-09 17:24:32 +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
goyuken 1bc9a5eb7a flesh out some TASMovie methods. not really done yet 2013-12-07 22:41:45 +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
goyuken d0cb81fbfc add some real versioning to binary savestates. also make binary savestates able to store text savestate data as well, so they're more accurately called "zip" savestates. at the moment, zip savestates are always binary, but the code exists for future use. 2013-12-07 21:23:23 +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 0737f884bd a new style Mnemonics lookup table, and a bunch of various refactorings. 2013-12-07 16:31:04 +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 50d4a3307a Rip out UpdateControls() method from IController, also some code cleanup in related files 2013-12-07 00:53:06 +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 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 b6eb13a8b2 Ram Watch - fix bug where Domain wasn't being loaded from a .wch file 2013-12-05 18:34:42 +00:00
adelikat affc040dbd I round of code cleanup on movie related files 2013-12-05 00:44:56 +00:00
adelikat 894d9e9c45 Fix "out of order loadstating" when recording that was broken in the past few commits. Simplify HandleMovieLoadState even more. 2013-12-05 00:20:21 +00:00
adelikat 165f8563a7 More use of IMovie and less use of Movie 2013-12-04 15:17:02 +00:00
adelikat d9c1a5bfe8 Simplify HandleMovieLoadState() 2013-12-04 14:42:24 +00:00
adelikat fd8927f96c Movie - remove IsText and logic that was meant to allow a binary option, since that will never happen with this implementation of IMovie 2013-12-04 03:22:27 +00:00
adelikat b70d03a93f More simplifying Movie Loadstate code 2013-12-04 03:16:35 +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
zeromus 0b301d4d5c add discussion and derivation of NES framerate 2013-12-04 00:38:37 +00:00
adelikat 14d0a29ae4 TasMovie.cs - bake the current emulator frame count into the input log when creating it savestates. As opposed to what the currently emulator code unforutnatley does which is parse it out of the core's section of the file which makes it poorly suited for flexibility in file format, and playing nice with not speghettified architecture. 2013-12-04 00:31:50 +00:00
zeromus 14838c127a add some discussion about platform framerates 2013-12-04 00:22:17 +00:00
zeromus a0c351749d dont throw (and catch) zip-related exceptions while loading savestates 2013-12-03 18:24:24 +00:00
adelikat b7d553cb4e Move the readonly flag from Global to MovieSession 2013-12-03 18:08:45 +00:00
adelikat e1d1095c3e Movie stuff 2013-12-03 15:59:46 +00:00
adelikat d71ec20df7 IMovie - more usage of MnemonicsGenerator to communicate input 2013-12-03 15:22:13 +00:00
adelikat b80f5a07ea Communicate with IMovie via MnemonicsGenerator objects 2013-12-03 02:10:17 +00:00
zeromus a2b3201912 run filter intensity through Global.Config.TargetScanlineFilterIntensity 2013-12-03 01:52:36 +00:00
adelikat 56897e70a3 TasMovie.cs - implement some easy stuff 2013-12-03 01:43:02 +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
adelikat 62db53d28c remove some unneeded things from IMovie 2013-12-02 19:54:10 +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 db43c85715 put [Input] tags on MovieRecordList ToString() method. Make MovieRecordList store its own Guid to put inside the input tags 2013-12-02 14:59:38 +00:00
adelikat 075a1fb077 TasMovie.cs - more stubbing out of stuff 2013-12-02 04:24:45 +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 316aa56ce9 Some more movie progress and fix exception thrown on startup 2013-12-01 01:55:41 +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 3eb3b41199 Some more movie code refactoring - better naming and less passing around writer objects 2013-11-30 02:50:54 +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 d6954e4209 Ram WAtch and Hex Editor code cleanup 2013-11-28 22:06:38 +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 27cc689176 Merge r5447 to trunk 2013-11-27 21:45:50 +00:00
adelikat 788aea970e Lua Console - when removing a script, remove its registered function. Currently however, this behavior will only happen if the script is currently running. If you disable it and then remove it, the functions remain. 2013-11-26 01:21:24 +00:00
adelikat 3d48a0b39e Lua Console - fix behavior of Save Changes nag, fix deleting of items 2013-11-25 23:38:10 +00:00
adelikat 5bbed4a58f Fix behavior of Movie Up/Down in tool dialogs 2013-11-25 23:24:26 +00:00
adelikat 92c34c8c2d Refactor Lua Console code to move most of the logic to a custom LuaFile list object. Also fix number of bugs in the process 2013-11-25 21:01:38 +00:00
adelikat 7b244cc87c Lua Console - a round of code cleanup. Some small fixes happened as a result of this cleanup 2013-11-25 00:44:18 +00:00
adelikat a7a28c000a Some low-hanging fruit in the IMovie refactor 2013-11-23 18:18:58 +00:00
adelikat 1372fa258f Start an IMovie interface as a first step towards a major movie object refactor. Also disable TAStudio, in preparation for a complete rewrite. Disabling is necessary because a lot of movie functionality will be ripped out that will render the tool useless for now. 2013-11-23 17:26:33 +00:00
adelikat e5d5a4ec90 Fix Post-Movie loadstating 2013-11-23 00:13:36 +00:00
adelikat 7a1f28b5a9 A fix to PathManager, get the executable path, not the dll path 2013-11-20 20:10:10 +00:00
adelikat df622ec9f1 Ram Watch - clode cleanup 2013-11-20 01:17:01 +00:00
adelikat 5fb8ceb377 Fix a bunch of exceptions in Path Config dialog 2013-11-16 22:42:07 +00:00
adelikat 51f340fa76 Play Movie Dialog - add Fps and Frame count to the Details grid 2013-11-16 21:49:47 +00:00
adelikat ef79dccc43 refactor how movies are calculated to separate framerates into a dictionary 2013-11-16 21:05:59 +00:00
adelikat bc3576eddb Move PathEntry and PathEntryCollection to a separate file 2013-11-16 17:59:09 +00:00
adelikat 79b2e03d84 Previous commit was a lie, it implemented ICollection instead, therefore change the name of the object to CheatCollection 2013-11-16 16:30:20 +00:00
adelikat a4d3e68f66 Implement IList on CheatList object 2013-11-16 16:24:45 +00:00
adelikat 39ca14dda1 WatchList object - implement IList (previously only implemented IEnumerable but already had most of the IList methods anyway) 2013-11-16 16:17:19 +00:00
adelikat 611e21dd47 Ram Search - fix behavior of Restore Default settings 2013-11-16 15:03:37 +00:00
adelikat ba876d9765 Ram Search - default to unsigned for N64 and GBA, not float. Float as the default wasn't supposed to make it into a release. 2013-11-16 04:29:43 +00:00
adelikat ad848c5e96 Fix bug in MovieHeader that throws an exception in the Play Movie dialog if a movie with Board Properties is loaded (this is just a work around to a problem caused by a bad design!) 2013-11-15 16:52:29 +00:00
adelikat 7e45f13282 Change project name BizHawk.Emulation to BizHawk.Emulation.Cores 2013-11-15 14:05:47 +00:00
adelikat f3344863ac When loading a ram watch file, default to main memory when unable to find the domain saved in the file 2013-11-14 19:39:57 +00:00
adelikat c076931d0c clean up NES namespace 2013-11-14 13:15:41 +00:00
adelikat 9266cafd2a Another round of BizHawk.Emulation namespace changes 2013-11-13 23:36:21 +00:00
adelikat dd3df013fb cleaning up some Bizhawk.Emulation namespaces 2013-11-13 03:32:25 +00:00
adelikat 5d65b0ef77 implement Lua - event.onmemoryexecute(), currently only works with the NES core 2013-11-12 01:51:07 +00:00
adelikat fb78215590 Lua - Implement emu.getregister() and emu.getregisters(). Only implemented in NESHawk right now 2013-11-11 03:20:33 +00:00
adelikat 2e51e7ad4f Registered Lua Functions dialog - fix so Remove removes MemoryRead/Write events, add a Remove All button 2013-11-10 21:56:02 +00:00
adelikat e7a481e6c4 Lua - OnMemoryRead() and OnMemoryWrite() - support multiple events, hook to the registered functions system, add ability to name function, return a GUID. 2013-11-10 21:20:55 +00:00
adelikat ded77beb65 Lua - OnInputPoll() - hooked up to the registered lua functions system 2013-11-10 19:19:58 +00:00
adelikat ea24f236fb Lua - event.OnInputPoll() - allow multiple functions to be registered 2013-11-10 18:15:32 +00:00
adelikat 28a73c8174 move GetEmuVersion() to VersionInfo and refactor a whole bunch of stuff as a result 2013-11-10 02:55:11 +00:00
adelikat bc34dfe932 move controller default logic from controller config winform to client.common config object and hook it back up to the client 2013-11-09 01:12:46 +00:00
adelikat 03e9381adc Clean up assembly info stuff in all projects 2013-11-08 15:56:58 +00:00
adelikat 2e32c22c00 set up subwcrev stuff to client.common, and set up assembly info for it, and fix assembly info for emuhawk 2013-11-08 15:34:47 +00:00