Commit Graph

492 Commits

Author SHA1 Message Date
adelikat af9c462826 meh, null check some other bizstring library functions while I'm thinking about it 2014-05-21 02:12:27 +00:00
adelikat ac6c5e6b48 lua - nullcheck bizstring.split() 2014-05-21 02:05:26 +00:00
adelikat e88b7cc93e one more tweak to make lua library constructors unified 2014-05-21 01:15:52 +00:00
adelikat 17568997bf Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code 2014-05-21 00:17:35 +00:00
adelikat 6401e6d719 Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties 2014-05-20 20:34:51 +00:00
adelikat f19d15d1ed Lua - add a Log callback to the LuaLibraryBase class instead of having misc libraries have to build out this behavior when they need it 2014-05-20 20:25:18 +00:00
adelikat 4ee4088c4c read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash 2014-05-19 01:42:41 +00:00
adelikat e1a5123dcf implement memory.readbyterange() and memory.writebyterange(), these were in the mainmemory library but how did they manage to never be implemented in the memory library? 2014-05-19 01:13:26 +00:00
adelikat 059952f0a4 Change memory.getmemorydomainlist() to return a lua table instead of a string 2014-05-19 01:06:44 +00:00
adelikat ddd3512552 Ram Search - fix float searches 2014-05-18 23:59:15 +00:00
adelikat b2feb39c11 Lua - implement joypad.setfrommnemonicstr() 2014-05-18 22:54:41 +00:00
adelikat d2bc1b89a3 Lua - implement movie.getinputasmnemonic() 2014-05-18 21:26:27 +00:00
adelikat 3d10d67fea Implement bizstring.split() 2014-05-18 21:06:16 +00:00
adelikat 3127e6d36c Ram tools - for floats, use sci notation, rather than spooky rounding 2014-05-18 19:40:21 +00:00
adelikat 74cafb6ace Ram Search Engine - don't throw exception on not having the type in SetType() this can be the result of the user changing settings before rebooting 2014-05-18 19:14:48 +00:00
goyuken 16a347565b movie: rework how sinksettings are saved/loaded 2014-05-18 17:15:51 +00:00
adelikat 32a1fba5c0 rip out legacy board properties stuff 2014-05-18 16:47:19 +00:00
adelikat 20ed09e86c Rip out more obsolete setting stuff 2014-05-18 16:35:23 +00:00
adelikat 5634b085cf Store sync settings into the movie file, note: this does not include logic for deserializing sync settings and passing them to the core when loading a movie 2014-05-18 15:07:50 +00:00
zeromus 1f3809b08f default "stretch pixels by integer only" to enabled 2014-05-18 02:12:30 +00:00
adelikat cc179df444 put JsonIgnore on some read-only properties in ToolDialogSettings 2014-05-18 02:03:38 +00:00
adelikat 558fb67984 Fix "starts from now" on SMB3 in quicknes, and who knows what other scenarios for savestate anchored movies 2014-05-18 01:00:35 +00:00
adelikat 4fa6b94c1d Hook up N64 to circular analog constraint, put in config, on by default. Still todo: UI for the user to modify this variable 2014-05-17 20:02:10 +00:00
adelikat 0588c3d7ea Check in patch from zeromus that provides back end support for custom Axis constraints for analog input 2014-05-17 19:35:47 +00:00
adelikat d65157fa4b AR - respect core recommendations on by default 2014-05-17 11:59:02 +00:00
zeromus 449957e0a2 add MissingTypeHandling to json.net, to increase durability against config serialization type changes 2014-05-17 04:30:18 +00:00
zeromus 19f3b1b1da here it is, fixed another way, for the record: float ranges can now support inverted senses. 2014-05-17 00:06:20 +00:00
zeromus e4bf12ddf9 faster movie preloading 2014-05-16 00:12:08 +00:00
adelikat 0fa33c7ca8 Fix N64 movie playback by removing a bogus defensive validation check that had bogus logic of ignoring input that didn't match the check. Bogus logic was bogus. 2014-05-15 18:48:41 +00:00
scepheo 0add712863 Removed one-use MaxHexValueFromMaxDigits function from StringHelpers.cs. 2014-05-15 15:12:30 +00:00
scepheo 12559588a3 Fixed indexing error on multi-byte RAM search. 2014-05-15 00:33:18 +00:00
adelikat 2b89c32e4b Toggle Sound hotkey 2014-05-14 23:56:33 +00:00
goyuken 490a3dc3cf gameboy: support setting RTC initial time for TAS, and support chaining the RTC to the real clock for non-TAS. 2014-05-12 17:24:43 +00:00
adelikat 3373628edb Make quicknes the default 2014-05-12 00:19:00 +00:00
adelikat ec5414c9d8 If Quicknes throws an unsupported mapper exception, catch it and load in NesHawk instead 2014-05-12 00:14:45 +00:00
adelikat 1e48111092 Virtual Pad - ability to toggle between single player and multiplayer and remember the setting in the config 2014-05-11 23:08:34 +00:00
adelikat cfb8b463c3 Icons for some gameboy dialogs 2014-05-11 17:48:17 +00:00
adelikat 653fb0ff38 Ram Watch - set the CurrentFileName property during LoadFile, fixes some subtle bugs that resulted from a loaded watch with an empty name 2014-05-11 12:09:41 +00:00
zeromus a72c5891e2 fix some bugs in ffmpeg handling which seemed to be depending on an older version of ffmpeg; and clarify some rom loading error handling, especially in PCE-CD 2014-05-08 03:18:00 +00:00
adelikat 4b6c9b5b80 Save Screenshot in savestates toggle - add a "big" savestates option off by default and set to 128kb as a somewhat arbitruary value (only reached on n64 at 640x480 or higher most likely) 2014-05-07 01:36:19 +00:00
adelikat f58cb3cf72 put Customize menu item in context menu 2014-05-07 01:03:44 +00:00
adelikat c7526c4207 Customize box - implement recent tab 2014-05-07 00:41:13 +00:00
adelikat 8cf1d327e3 Lua - Fix typo, memory.write_u8 instead of a duplicate memory.write_s8 2014-05-06 17:29:52 +00:00
adelikat 80497a4bb4 Move a bunch of config menu items into a Customize dialog box 2014-05-06 01:27:56 +00:00
adelikat 63430bb039 Fix movie loop offset feature 2014-05-05 01:12:15 +00:00
adelikat e5b3138d15 Ram Watch, Ram Search - don't crash on out of range addresses (such as when the user leaves ram watch open and changes cores), highlight out of range addresses and warn user. On Ram Search - give the option to remove these addresses from the list. 2014-05-04 15:30:18 +00:00
adelikat 6b2ea2e7a6 Put snes profile setting into savestates since savestates are incompatible among profiles 2014-05-04 13:43:29 +00:00
adelikat e99b370654 put core name into nes savestates 2014-05-04 13:20:59 +00:00
adelikat 691cbaa0c1 some nitpicky code reformatting in PathManager 2014-05-04 01:54:58 +00:00
adelikat f976c2e27b another fix to dual gameboy mnemonics, the method can correctly accept an empty string, so check for it before indexing 2014-05-03 17:48:49 +00:00
adelikat de53d1d810 Fix crash on input display for dual gameboy 2014-05-03 12:58:34 +00:00
adelikat 76a4560ff9 Lua - emu.getsystemId - be consistent with movies 2014-05-03 02:28:12 +00:00
adelikat c0b8647e69 RecentFiles - put jsonignore on derived properties, and clean up some things 2014-05-03 01:33:12 +00:00
zeromus d2232e616b minimal implementation of AR correction. this isn't completely satisfying. we need to run the frontend 1x/2x/etc sizing through it, and I'm feeling like we need two tiers of AR suggestion strengths.. we may want a2600 fixing AR out of the box, but NES fixing AR by default is unacceptable 2014-05-02 04:27:08 +00:00
adelikat 07e2c9758f back out of 6464 2014-05-02 01:32:01 +00:00
adelikat d5a48614b7 Remove a now unused method 2014-05-01 17:11:05 +00:00
adelikat 06828f2484 Lua - convert emu.setrenderpanes to use params 2014-05-01 17:09:54 +00:00
adelikat f2c5b4eeb4 fix to emu.setrenderpanes 2014-05-01 12:06:54 +00:00
adelikat c863d57113 Better color coding of input display, auto-holds show red, previous frame shows orange, restore ability to show immediate input, also fix but in autofire-autohold 2014-04-28 00:39:40 +00:00
adelikat 3553b06350 Play Movie - Match current game hash not current game name 2014-04-26 17:54:56 +00:00
adelikat 4fc81991d7 Save cheats even if the cheat dialog was never opened (for instance, if the cheat were added via a game genie dialog or lua) 2014-04-26 17:28:43 +00:00
zeromus c47a0c7426 make movie header savestates be binary, have their own key, and be stored in base64 form (actually, natt was right, they were stored as text, it's just that the "text" savestates from some cores are a ToHex'd byte array) 2014-04-25 02:19:46 +00:00
adelikat 04aa023cb9 Fix joypad.Set() when using the controller number parameter, also strongly type that parameter to nullable int instead of object, add a unit test lua script that tests for this 2014-04-22 21:55:04 +00:00
adelikat 67704b35bf Lua Console - dont' flag changes when change the on/off status of a script as that leads to being nagged too much (for instance, toggling a lua script at any time during recording and then restarting your movie). Remember the file name when creating a new session as to do a Save As during AskSave() 2014-04-22 21:35:04 +00:00
adelikat 603fd81066 Lua - implement movie.fps() and add MovieTimer.lua script that shows the clock time for a given movie (updates while recording) 2014-04-22 21:27:08 +00:00
adelikat 47f33b522f Lua - support quicknes in nes library 2014-04-22 01:38:19 +00:00
adelikat c74019a54d Add a CoreAttributes class with a CoreName field, and apply it to all cores, when recording a new movie, add a core header line that captures this name 2014-04-22 00:38:59 +00:00
adelikat 6139da29cf Atari 2600 debugger - wire up autoload and other tool options, fix up closing event and properly disable ask save 2014-04-20 16:19:08 +00:00
zeromus 09daa3f939 fix read+write mode binary loadstate exception bug? 2014-04-18 17:41:14 +00:00
zeromus f04210c5c9 displaymanager-more resilience against empty user filter path 2014-04-15 23:42:05 +00:00
adelikat 1dd055ab6c Set DispUserFilterPath to ".", prevents things from crashing, may or may not be a logical default value 2014-04-15 22:23:09 +00:00
zeromus 7adc15d97e work on opengl display manager: optimized codepaths, user retroshader selection, support for importing a textureID from another core; add erase button to lua console; 2014-04-15 21:46:18 +00:00
adelikat f61684c574 Slight tweaks to extension preferences dialog, add .iso and .img as configurable extensions 2014-04-14 17:37:49 +00:00
adelikat 267441cc37 Add a Extension Preferences dialog in the Config menu, currently it will show .bin and .rom and allow the user to pick a platform or pick "ask me on load" to be asked every time (the default) 2014-04-14 16:48:45 +00:00
adelikat a32ba998f2 Platform Chooser - add "Always use this system for this extension" checkbox and save the user's core preference, and don't show the dialog again for that extension if they do pick this option 2014-04-14 12:42:04 +00:00
adelikat 449d3fa2e2 Platform Chooser - show rom information, only invoke dialog on a list of generic rom extensions (currently that is .bin and .rom), remove .rom from the list of intellivision extensions 2014-04-14 12:25:57 +00:00
adelikat 32b4f940a9 Add a Platform Chooser that activates when the user attempts to load a .bin file that is not in the game database. Still todo: more platforms, and interim flag logic on some unreleased cores 2014-04-14 01:59:57 +00:00
adelikat a6944c47d8 Play Movie - don't crash on headers with duplicate keys, don't throw an exception when movie files to parse 2014-04-13 23:18:45 +00:00
adelikat f8522c6986 Genesis Tile Viewer - same stuff as other tile viewers 2014-04-13 22:08:46 +00:00
adelikat d3012fe4b6 PCE Tile Viewer - save screenshot file menu items, autoload and other tool options, add to toolbox 2014-04-13 20:33:01 +00:00
adelikat d3b84c6c5c SMS VDP Viewer - icon, autoload, misc tool settings 2014-04-13 19:44:08 +00:00
adelikat ed7ce61234 Lua - joypad.get() strongly type the controller parameter to nullable int 2014-04-13 18:46:06 +00:00
adelikat d5d84943fa meh, slight tweak to that commit 2014-04-13 14:24:38 +00:00
adelikat 9c3a7fec37 Lua - add a gameinfo lua library with getromname(), getromhash(), getdisplaytype(), getindatabase(), getstatus(), getisstatusbad(), getboardtype(), and getoptions() methods 2014-04-13 14:22:13 +00:00
adelikat aaeb2c9cdd PCE CDL - some cleanups like icons and shortcut keys on menus, Recent menu, autoload, other misc tool options 2014-04-13 01:05:23 +00:00
adelikat dd651b2ca8 issue #149 fixed - better notion of equals when comparing watch object 2014-04-11 17:21:45 +00:00
adelikat e4c7110174 Hex Editor - fix issue 150 - exceptions thrown when freezing multi-byte addresses 2014-04-11 16:45:05 +00:00
beirich c3e0d8824c zero warnings! 2014-04-08 02:25:46 +00:00
zeromus 3dc3ede00a fix bugs in the delta rewinding code? 2014-04-08 00:22:14 +00:00
adelikat eac51f7c66 Movies.cs - simplify some code 2014-04-06 19:01:00 +00:00
adelikat 770ddc26db Add some more documentation to IMovie.cs 2014-04-06 16:49:05 +00:00
adelikat 42ff4c072c Lua - Fix joypad.set() 2014-03-29 21:12:04 +00:00
adelikat b93c1414c1 A fix to joypad.set() - passing null will clear a button 2014-03-27 01:21:05 +00:00
adelikat 51f480901b a slight cleanup of the JoyPad.Set method to make it not so annoying to understand 2014-03-27 00:53:22 +00:00
adelikat 00c243212d Lua - rename the string library to bizstring because it was eating the built in lua string library. Fix M64_reader that was using now deleted/renamed functions 2014-03-26 22:30:48 +00:00
adelikat 6e23df6472 Hex Editor - lots of fixes to Path and filename selection in OpenFile and SaveFile dialogs 2014-03-26 00:34:43 +00:00
adelikat b95a0b648c Hex Editor - support loading of Text translation table files (.tbl) including Recent menu and autoload options 2014-03-23 20:27:20 +00:00
adelikat 8ac9f7d2dd Lua Console - try to use relative paths when saving and loading lua scripts 2014-03-23 14:44:18 +00:00
adelikat 6d1675e54c Change UnfreezeAll option on many tools to remove cheats not simply disable them. 2014-03-23 13:21:48 +00:00
beirich f5aca0b5e8 Binary savestates now way more awesomer and point-having 2014-03-21 03:50:17 +00:00