Commit Graph

1048 Commits

Author SHA1 Message Date
adelikat 157f092aa2 Lua clean up Bit and Client libraries by using strongly typed numbers as a proof of concept that we can 2014-01-26 20:36:00 +00:00
pasky1382 c6811542fa Added a couple lua descriptions 2014-01-26 20:05:56 +00:00
adelikat 853c82d111 Lua Functions list - make params look pretty, including strongly typed variables when possible 2014-01-26 20:05:45 +00:00
adelikat 70feebf229 Add documentation to as many lua function as I can sanely do in one sitting 2014-01-26 18:36:27 +00:00
adelikat 91fdad9d45 LUa - whack now unused code 2014-01-26 16:21:20 +00:00
adelikat bce8320b85 Lua - new Register method on some more libraries 2014-01-26 13:30:45 +00:00
adelikat 583be2516c Lua - new registration system added to NES and SNES libraries 2014-01-26 03:26:52 +00:00
adelikat ac9e4c1d3d Lua - same to movie library 2014-01-26 02:50:26 +00:00
adelikat 988ed03198 ditto for Memory library 2014-01-26 02:43:28 +00:00
adelikat 94d20e92f4 Lua - new register system for Main Memory library and a bunch of cleanup for that lib 2014-01-26 01:48:32 +00:00
adelikat c6859a6d4f Lua ditto for joypad library and slight fix documentation 2014-01-26 00:01:40 +00:00
adelikat ee79c55009 oops, forgot to add this new file 2014-01-25 21:46:20 +00:00
adelikat c66e529fb7 lua - ditto to Events library 2014-01-25 21:37:25 +00:00
adelikat 65d50ca329 Lua - refactor emu library to use the new registration method, documentation is all "TODO" 2014-01-25 21:10:51 +00:00
adelikat 06c0417f96 some Lua documentation related cleanup and support column sorting on Description in Lua Functions list 2014-01-25 20:27:51 +00:00
adelikat e22227160d show descriptions in Lua functions list 2014-01-25 20:04:26 +00:00
adelikat ee1cea5d08 Lua - even better way to build lua libraries, now methods will have attributes for the name, and description of each method. Someone needs to put in descriptions now. Bit library is the only one done as of this commit 2014-01-25 19:49:29 +00:00
adelikat 4701b319be Lua - add a new way to do reflection to get method names, now the function list simply needs to match the method name, and the method name does not need to redundantly specificy the library name. Only the Bit library hooked up currenlty. 2014-01-25 15:05:53 +00:00
mvl1986 0a494c386e LuaConsole now updates when a new Luascript is saved in the LuaWriter.
LineNumbers can now be shown in the Writer, only updates when a selectionchanged event occurs, not on the scrolling of the screen.

Option to toggle LineNumbers on and off

-MightyMar
2014-01-24 12:44:55 +00:00
adelikat e3d26fc2e7 MOvie LibRetro files from Emulation.Common to Emulation.Cores in preparation for moving some other things too. In RomLoader don't do HardReset() on the C64 core 2014-01-21 23:54:30 +00:00
pasky1382 4012f93f31 Added bit.clear() bit.set() to lua, and LuaULong() 2014-01-21 17:28:54 +00:00
adelikat 74b88584be Ram Watch/Search - fix bug where signed and unsigned are saved backwards 2014-01-21 00:21:19 +00:00
pasky1382 033620a478 Cleanup and added byteswapping functions for lua. 2014-01-20 17:38:31 +00:00
pasky1382 bff34dd379 Cleanup. 2014-01-20 17:15:30 +00:00
pasky1382 90d8aedbd5 forgot a function. 2014-01-20 17:07:48 +00:00
pasky1382 08504fc25a Added more string lua functions 2014-01-20 17:06:09 +00:00
pasky1382 83591cda67 Oops 2014-01-20 15:26:44 +00:00
zeromus 3ab8e60d1b add FloatingWindow concept to RamSearch tool, which lets you control how it sorts along with the main emuhawk window. it's not entirely ordinary for this to be controllable, but it should certainly be appreciated 2014-01-20 05:14:36 +00:00
zeromus 7a07a910f8 temporarily fix build by removing lua string library which has a missing file 2014-01-20 05:13:43 +00:00
pasky1382 1a0e98b7ad Lua bit.checkbit() function, returns if a specified bit is on/off. 2014-01-19 17:42:21 +00:00
pasky1382 2d169cdb7d added LuaLong function 2014-01-19 16:58:21 +00:00
pasky1382 a2dd821474 Added new EmuLuaLibrary.String, contains decimal to hex string and binary string. 2014-01-19 16:36:43 +00:00
goyuken 7668b15052 add a new tool to mainform, the batch runner. it's only enabled in INTERIM. it allows you to mass instantiate a bunch of emu cores and look for failure to load or exceptions on frame advance. it doesn't do all that much, but can easily be extended if any other devs are interested in it 2014-01-15 02:16:06 +00:00
adelikat 864d3ede2f Nitpicky cleanups on movie 2.0 code 2014-01-11 15:05:41 +00:00
adelikat 7394cfd33f More reorg 2014-01-10 23:14:36 +00:00
adelikat c0295316f5 Some Movie 2.0 reorg 2014-01-10 23:08:56 +00:00
adelikat 0164db5532 Remove a no longer needed file 2014-01-10 22:56:59 +00:00
adelikat 34fd1ec10a Movies 2.0 - fix some stuff 2014-01-10 02:01:57 +00:00
adelikat 128f81bbb0 oops 2014-01-10 01:18:19 +00:00
goyuken 1f1bb93360 quicknes: some settings stuff, not all finished 2014-01-09 23:50:10 +00:00
adelikat 15d0e1adb6 TasMovie - round 1 of replacing mnemonic system with an IMnemonicGenerator system, this breaks stuff, but nothing anyone should have been using. 2014-01-09 02:17:59 +00:00
adelikat 2f28317f92 A round of code cleanup 2014-01-08 03:53:53 +00:00
adelikat 983346af38 support quicknes in lua nes.addgamegenie() and nes.removegamegenie() 2014-01-07 01:43:31 +00:00
goyuken 9546d11f40 quick and dirty core selection setting for NES 2014-01-07 00:34:40 +00:00
adelikat 86024d2347 new movie mnemonic generators - some more baking of ideas, a basic mockup of NES done. Note: none of this is hooked up to anything yet 2014-01-06 22:28:53 +00:00
adelikat 4ba9f332f5 Fix error message when failing to find the PCE Bios file 2014-01-06 17:49:05 +00:00
adelikat ef79734170 movies - start another rewrite of mnemonic generation 2014-01-06 03:59:00 +00:00
goyuken b85d9d9d91 WARNING: use NES core only at low volume and no headphones 2014-01-05 20:58:36 +00:00
goyuken 0997e80017 boop 2014-01-03 02:40:17 +00:00
adelikat a519ae025f This should have fixed genesis mnemonics to be 2 player 2014-01-03 02:29:42 +00:00
adelikat b67e97f9aa Ram Search - fix change count logic and previous value as previous frame 2014-01-02 17:56:57 +00:00
goyuken 5fa141b3ef pathmanager: ad hoc support for unknown systemIDs, which are all labeled as INTERIM 2014-01-02 02:18:16 +00:00
adelikat 6252c58a3f Ram Search - don't attempt to binary search if the list is not sorted! This fixes exceptions thrown when using column click. The consequence is that preview mode is significantly slower after sorting by anything other than Address ascending, only really impacts large domains such as N64 domains 2014-01-01 21:56:35 +00:00
goyuken 8ed0265c9d remove a bit of hackish stuff in the new RomLoader by offloading mainform-appropriate work back to mainform 2014-01-01 21:24:58 +00:00
adelikat 377ab3b4ea Fix Hex Editor to show cheat value on frozen addresses, and some fix ups in misc bugs that also contributed to this problem. Note: hex editor still will show some dubious behavior when viewing in one byte size and having cheats in another, that kind of mess will have to be sorted out in another commit 2014-01-01 03:19:08 +00:00
goyuken a399dbe91e NES: Move boardproperties into movie 2.0 syncsettings objects, and add a rudimentary UI for changing them 2014-01-01 03:03:10 +00:00
adelikat 57f62d13f1 RamSearchEngine - tiny code cleanup using Enumerable.Repeat because I just learned of it and it is nifty 2013-12-31 20:41:42 +00:00
adelikat f195416713 Ram Search - when creating a new list, allocate the list to number of addresses to be added, not the size of the domain (meaning, factor in the byte size and CheckMisAligned settings). 2013-12-31 16:59:38 +00:00
zeromus 436881beaf lua: better typecasting for LuaInt and LuaUInt that doesnt throw overflow exceptions; and, render to a null image when the lua script manager Resume process hasnt begun (setting up a render target) but lua scripts run (due to loadstate, for example) 2013-12-30 16:36:15 +00:00
goyuken a1c0a1956b fix compile error 2013-12-30 02:42:00 +00:00
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
adelikat 9dbcfdffd1 oops, forgot to check this in 2013-11-07 22:56:10 +00:00
adelikat 0adffa65c1 Use ToHexString() extension is more places 2013-11-07 18:15:17 +00:00
adelikat 085719bf44 Fix lua 2013-11-07 17:49:00 +00:00
adelikat 121cd4fb58 Oops, throttle is not a good thing to put into Client.Common, it has window specific things 2013-11-07 17:11:08 +00:00
adelikat 6f1090c87f refactor cheatlist and watchlist to use MemoryDomain name indexing 2013-11-06 02:25:27 +00:00
adelikat 1061add64f Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed 2013-11-06 02:15:29 +00:00
adelikat 6f29976e9d Cheats - fix bug where compare is 0 when clicking a cheat with a null compare value, refactor CheatList.Add() to be upsert logic 2013-11-05 23:14:22 +00:00
adelikat 92f8f9982c When adding a cheat, if it already exists, update the existing instead of doing nothing! 2013-11-05 19:53:49 +00:00
adelikat 4aae8a1311 Cheats - implement editing (oops, it was released without it!), fix value display (was showing the actual ram value, not the cheat's override value), don't flag changes if erroneously adding an existing cheat. 2013-11-05 19:33:06 +00:00
adelikat 9bbd8a07a6 fix an oops in last commit, and fix adding cheats via Cheats cheat form 2013-11-05 17:07:34 +00:00
adelikat 5c22d7433c Cheats - fix insert separator 2013-11-05 16:53:24 +00:00
adelikat 2da8696b8d fix some cheat related things I broke when refactoring it 2013-11-05 15:36:18 +00:00
adelikat 29dffc9bca fix some false Ask to save changes nagging done by the cheat form 2013-11-04 21:02:36 +00:00
adelikat 56cb2ba538 Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs. 2013-11-04 15:52:59 +00:00
adelikat bc5807a07c move a search extension out of RamSearchEngine into the extensions class in BizHawk.Common 2013-11-04 02:18:40 +00:00
adelikat be547db4a1 Move MemoryDomain to its own file, and move the Endian enum into it, also clean up the class a bit, and refactor things as necessary 2013-11-04 02:11:40 +00:00
adelikat 9751fd5a1a Move interfaces and base implemenations from emulation to emulation.common 2013-11-04 01:39:19 +00:00
adelikat 026072ee68 moe IPS.cs from Emulation to Client.Common, until it is needed by cores 2013-11-04 01:17:59 +00:00
adelikat 348171bdc5 start Emulation.Common project and move the Emulation/Database folder files to it 2013-11-04 01:06:36 +00:00
adelikat 7b03fc0bc0 Move Buffer.cs and Util.cs from BizHawk.Emulation to BizHawk.Common, and add 1234832983 usings 2013-11-04 00:36:15 +00:00
adelikat fe7da7c5b5 move disc stuff out of BizHawk.Emulation into a new project BizHawk.Emulation.DiscSystem, updated namesspaces in those files, set up other projects with the right references and usings 2013-11-03 23:45:44 +00:00
adelikat ed5cfe39a6 1.5x and trunk - fix scrub input hotkey, on trunk a slight refactoring now that more things are in client.common 2013-11-03 16:53:05 +00:00
adelikat 3843acb2d9 Move some stuff to Client.COmmon 2013-11-03 16:47:21 +00:00
adelikat fd89c0cff4 trunk and 1.5x branch - turn off rewind for "medium" states, as SNES problems still occur with default settings and it isn't worth it, also change the default rewind frequency to 4 (if the user does turn it on, this frequency still gives smooth rewind) 2013-11-03 16:23:47 +00:00
adelikat 26ffd9f4e3 EmuHawk - don't use PathManager to resolve the exe directory during main now that it is in a dll, it can find its own path itself 2013-11-03 16:05:49 +00:00
adelikat cd856a0011 move output folder up one level 2013-11-03 14:06:46 +00:00
adelikat af58a07889 Rename Bizhawk.MultiClient to BizHawk.Client.EmuHawk including namespaces and projects. Rename executable to EmuHawk.exe 2013-11-03 03:54:37 +00:00
adelikat 187e169de9 a round of cleanup on MianForm.cs, and an attempt to start organizing methods and variables to make it easier to pull out logic in future refactoring 2013-11-03 02:51:21 +00:00
adelikat 1525f4a4bd oops 2013-11-02 01:59:48 +00:00
adelikat b3b21abe08 Move NES lua library to Client.Common 2013-11-02 01:56:00 +00:00
adelikat f7138e6514 move NES game genie encoding/decoding logic into specialized classes in client.common and refactor the dialog and lua functions accordingly 2013-11-02 01:48:35 +00:00
adelikat ea2df2e91b move snes lua library to common 2013-11-01 23:49:44 +00:00
adelikat d902981f54 move some FirmwareManager things to client.common 2013-11-01 23:17:30 +00:00
adelikat a3e306e18d Move joypad lua library to common, and move some stuff to Global in order to do so 2013-11-01 22:56:55 +00:00
adelikat 0eaf6bd33c a fix to GetExeDirectoryAbsolute() that was breaking path generation 2013-11-01 22:37:05 +00:00
adelikat f3bb7421ed detangle and move some savestate code to client.common 2013-11-01 20:53:47 +00:00
adelikat 80c6ecb57a Rename SavestateManager to SaveSlotManager since that is more precisely the job it does. 2013-11-01 19:55:03 +00:00
adelikat 3cda83c2bc Move a bunch of logic from MainForm.Movie.cs to MovieSession.cs which is more conceptually appropriate, this also means that movie handling logic (including complex movie loadstate logic) is moved to Client.Common 2013-11-01 18:52:26 +00:00
adelikat d391d275ef Move Movie lua library to client.common, and some refactoring necessary to do so 2013-11-01 15:43:15 +00:00
adelikat fe9d8ed881 refactor - move readonly flag from MainForm.cs to Global.cs 2013-11-01 15:35:30 +00:00
adelikat a8079f5170 port some lua libraries to client.common 2013-11-01 14:51:51 +00:00
adelikat 3324759799 move some lua files to client.common 2013-10-31 23:55:17 +00:00
adelikat d7d83c9275 move event library to its own object, slight tweak to anonymous function name, double clicking on registered functions dialog invokes the method clicked 2013-10-31 16:58:56 +00:00
adelikat b2c2de2064 lua related code cleanup 2013-10-28 20:57:25 +00:00
adelikat 8b30b4290a Cleanup of Lua stuff - rename LuaImplementation to EmuLuaLibrary, broke all the lua library functions into separate files by library, move nested classes to their own files in client.common 2013-10-28 19:13:01 +00:00
adelikat 8b173a26f4 2013-10-28 13:48:17 +00:00
adelikat 4dcbd554d3 tiny code cleanup, nothing useful here 2013-10-28 02:11:24 +00:00
adelikat d864929ad4 Add Subtitle Form - fix bug where Y wasn't being saved. SubtitleList - refactor to inherit List<Subtitle> and extend with the 2 useful methods it has beyond basic List functionality. 2013-10-28 01:31:30 +00:00
adelikat 48ffc8b9fb clean up multitrack object 2013-10-28 01:06:51 +00:00
adelikat bef10dc175 clean up movie saving, dont' pass around a streamwriter 2013-10-28 01:04:38 +00:00
adelikat 21bab46674 oops, but it shouldn't have to do this... 2013-10-28 00:47:12 +00:00
adelikat 795c624ab2 some simplifying of movie code 2013-10-28 00:44:01 +00:00
adelikat dfa37303bc Rip out crusty sorting code from Movie.cs and have the UI do it in LINQ instead 2013-10-28 00:21:00 +00:00
adelikat 9b846f8613 simplify some movie code, couple minor tweaks to the add subtitle form 2013-10-27 22:13:08 +00:00
zeromus 0acbb11e97 move HawkFile to BizHawk.Common along with a small web of dependencies and then add "using BizHawk.Common" to 100 files 2013-10-27 22:07:40 +00:00
zeromus ee70aefd3a lay some groundwork for decoupling HawkFile from 7z. not actually reorganized yet, but we can let it gestate for a while and it will be simple to move HawkFile to Bizhawk.Common when someone needs it 2013-10-27 21:29:18 +00:00
adelikat dd4bc8dd59 Move MovieImport.cs to Client.Common 2013-10-27 18:18:58 +00:00
adelikat 79a9e7cdc4 more warning cleanups including some bad configurations in client.common and pcedebugger projects 2013-10-27 18:01:36 +00:00
adelikat 9473f6840b Client.Common code refactoring and some misc things to do 2013-10-27 17:47:54 +00:00
adelikat 3f410a771c small code cleanups and deal with some warnings 2013-10-27 17:07:37 +00:00
adelikat 7e49c9457d Move stuff from GlobalWinF to Global 2013-10-27 16:26:37 +00:00
zeromus fa40ae718f reapply edits and cleanup 2013-10-27 07:54:00 +00:00
zeromus 11dbb0e1c8 reapply moves with merge tracking 2013-10-27 07:52:20 +00:00
zeromus 179dbd4124 revert back to r5156 2013-10-27 07:45:59 +00:00
adelikat c5b2f284b5 Starts some mainform code cleanup, and add some menu tweaks: loadstate submenu - disable non-existent slots, savestate submenu - bold slots that already have savestates saved to them 2013-10-26 15:57:43 +00:00
adelikat cf6e72aad4 Move controller binding to client.common, and some global stuff 2013-10-25 17:14:24 +00:00
adelikat 40f143e4ad move xmlgame to client.common and refactor it a bit in order to achieve that 2013-10-25 17:08:18 +00:00
adelikat 0edfc03e34 fix SaveStateManager, oops. Also move BinarySavestate to client.common 2013-10-25 16:53:34 +00:00
adelikat 3e429736d5 Move PathManager and SavestateManager to Client.Common, also remove the dependency for System.Web in PathManager by doing a more logical way of getting the executing assembly path 2013-10-25 16:00:34 +00:00
adelikat aa9bfa8e99 Move RamSearchEngine to Client.Common 2013-10-25 15:44:41 +00:00
adelikat f72303f326 Move watchlist to common 2013-10-25 13:27:20 +00:00
adelikat 46a888e6d4 Remove some 7z Test files that are now no longer needed 2013-10-25 12:52:53 +00:00
adelikat 3008020a4b fix 7z loading 2013-10-25 03:04:27 +00:00
zeromus 6616a75cfb etc 2013-10-25 00:59:34 +00:00
zeromus 249ddea268 revert to pre-refactor state. its a WIP, dont judge 2013-10-25 00:34:01 +00:00
adelikat 28023e8882 Fix debug mode of Client.Common 2013-10-24 23:46:46 +00:00
adelikat 5ee6ffabe0 Move RomGame to client.common and set common to allow unsafe code 2013-10-24 23:24:46 +00:00
adelikat f1089e214c Move 7z stuff and HawkFile to client.common 2013-10-24 23:04:29 +00:00
adelikat 80f0c75a41 Movie MovieSession to Client.Common 2013-10-24 22:26:28 +00:00
adelikat 11d2997db7 Refactor movie to get out all the client specific code, the solution usually was to move code into the tool that was calling it since the function itself had little to do with the movie object, move the movie object to client.common 2013-10-24 21:44:12 +00:00
adelikat 1b6b53f687 move some more movie classes to Client.Common 2013-10-21 21:55:19 +00:00
adelikat bce6ec3dd6 add some movie related objects to client.common, and refactor some things too 2013-10-21 01:50:58 +00:00
adelikat f04efe0294 Move Firmware manager classes to Client.Common 2013-10-21 00:48:20 +00:00
adelikat 774702f1ba Client.Common - move files around and break the binding classes into their own file 2013-10-21 00:39:30 +00:00
adelikat 2f7df4a776 some Client.Common Code cleanup 2013-10-20 18:21:51 +00:00
adelikat 59386b59f1 Move Cheat and CheatList to Client.Common and refator a bunch of things as a result 2013-10-20 18:02:43 +00:00
adelikat 597540aadd more project stuff 2013-10-20 16:38:44 +00:00
adelikat 6c54faa7ab Rename Client.Core to BizHawk.Client.Common, and change all namespaces, reorganize some files, remove the LuaHawk project as it was a bad idea, change namespace in the PCE_Debugger project 2013-10-20 16:19:59 +00:00