Commit Graph

551 Commits

Author SHA1 Message Date
brandman211 fd6a1fdac8 6-Button controller support for ImportGMV. 2014-05-28 05:47:10 +00:00
brandman211 961897a91b -Added .YMV importer.
--Might actually have a chance of syncing if it weren't for all of the frames that are added from the BIOS. Should I make the importer add extra frames to compensate for this?
-Fixed some typos.
2014-05-28 04:41:12 +00:00
adelikat 9e8de8d8b0 TI83 - palette config dialog - don't judge me on how I spend my free time! 2014-05-26 14:06:54 +00:00
brandman211 be82821b7d ImportVBM now supports L and R. 2014-05-26 05:02:46 +00:00
adelikat 0782c9820d Lua - implement event.onexit() - fires when the calling script stops execution, supports multiple callbacks per script 2014-05-26 03:08:16 +00:00
adelikat 4086eee72d Load Rom - actually pass in the deterministic emulation flag, and change the logic so that the client derives determinstic emulation (currently just if a movie is active), but can be passed in an override if calling code wanted to. 2014-05-24 22:06:08 +00:00
adelikat 6d981c73e1 Lua - fix joypad roundtrip testing 2014-05-24 03:24:05 +00:00
adelikat 667a96a277 Lua - combine common code in memory and mainmemory libraries into a base class, apply range checking to all methods, add memory.getsize() to match mainmemory method, fix a name bug in a memory 32bit method, clean up a bunch of things too 2014-05-23 23:19:20 +00:00
adelikat 6f296a5773 Lua - joypad.setfrommnemonicstr() - support the notion of pressing the analog stick for 1 frame, rather than sticky behavior 2014-05-21 03:25:41 +00:00
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
adelikat 75b9b132b6 Hex Editor - make freezing a range of addresses not slow 2014-03-01 18:04:21 +00:00
adelikat 97bf870b74 Ram Tools - speed up many situations that are slow when freezing/unfreezing addresses with multiple tools open due to sloppy handling of change events 2014-03-01 16:30:06 +00:00
adelikat 0a0f144aa8 Lua - Bit library - fix support for uint values 2014-03-01 15:04:19 +00:00
adelikat f714093b23 Movies 2.0 - some progress towards supporting floats 2014-02-25 02:56:32 +00:00
adelikat 02ea7d360f some code cleanup 2014-02-22 23:59:52 +00:00
zeromus 2555f5f5e0 calculate out platform framerates, for convenience 2014-02-18 04:02:35 +00:00
zeromus 45c6b9f095 fix bug in rewind buffer (StreamBlobDatabase) 2014-02-17 01:56:36 +00:00
adelikat c22e5e550e make floating window true by default 2014-02-15 20:19:36 +00:00
goyuken 9c071bf45e NES: add CHR ROM tile view to the PPU viewer. i'm not sure how generally useful this is, but it's something i wanted, so there. 2014-02-15 16:55:55 +00:00
mvl1986 17f17a02fd Added the display of tooltips for all the methods that are in the lualibraries
-MightyMar
2014-02-12 13:28:48 +00:00
goyuken 17d6e866a0 pce: refactor CD loading to move bios determination out of RomLoader 2014-02-10 15:26:18 +00:00
goyuken f80ac18e1f maybe fix GMV movie imports. i have no time to test this 2014-02-10 01:29:31 +00:00
adelikat 41faaedc18 TAStudio / Movies 2.0 - rip out a bunch of boolean input assumptions, in favor of..nothing for right now this breaks most all of the functionality of TAStudio, will replace with something that accounts for float input as well 2014-02-08 22:41:47 +00:00
adelikat 0da1e900df slight cleanup of some Linq logic in HeaderKeys.cs, a tiny bit less memory usage as a bonus 2014-02-08 16:29:57 +00:00
zeromus f218d1da7c don't search for firmwares in nonexisting directory to avoid assert in FirmwareManager 2014-02-05 23:53:41 +00:00
zeromus dca390018a fix bug in hex cheats, which was making them basically non-functional 2014-02-05 20:05:44 +00:00
adelikat e71d729626 some minor code cleanups in BizHawk.Common 2014-02-04 21:15:33 +00:00
adelikat 993845fe72 some mostly useless code reformatting in client.common 2014-02-04 03:08:20 +00:00
adelikat 23f7017651 Some code cleanup tinkerings in Client.Common 2014-02-03 20:48:01 +00:00
adelikat 3dfcd8b22a drastically cleanup the InputValidate class 2014-02-03 19:37:43 +00:00
zeromus cd7ca56441 restore scanlines filter as shader 2014-02-03 07:01:31 +00:00
zeromus 151b074563 re-add hq2x via shader. add a new Display Configuration dialog (its simple for now). 2014-02-03 05:27:59 +00:00
adelikat 50a879dd05 Tastudio - implement Floating window and refactor to use ToolDialogSettings object 2014-02-01 15:44:51 +00:00
adelikat 89f9cfc711 Ti83 Keypad - Always on Top, Floating Window, refactor 2014-02-01 15:29:18 +00:00
adelikat 791a4d655b SNES Game Genie dialog - Always on Top, Floating Window, refactor 2014-02-01 14:55:08 +00:00
adelikat 3497e28f96 PCE BG Viewer - implement Always on Top and Floating Window, and refactor 2014-01-31 23:42:06 +00:00
adelikat d87978087d NES PPU Viewer - implement Always on Top and Floating Window and refactor 2014-01-31 22:58:41 +00:00
adelikat 33c104d418 NES Nametable Viewer - Floating Window and Always on Top, and refactor 2014-01-31 21:23:46 +00:00
adelikat 4aab2ea31d NES Game Genie dialog - implement Always on Top and Floating Window + refactor 2014-01-31 20:49:38 +00:00
adelikat 8654303b59 Genesis Game Genie dialog - implement Always on Top and Floating window and refactor code 2014-01-31 20:36:27 +00:00
adelikat e634d9558a Gameboy Game Genie dialog - top most and floating window, and refactor to use ToolSettingsDialog, and some code cleanup 2014-01-31 02:26:09 +00:00
adelikat 83be118d03 Virtual Pads - implement Always on Top and Floating Window and lots of code cleanup 2014-01-31 00:53:20 +00:00
adelikat f3755975a1 Lua - implement Always on Top and Floating Window 2014-01-30 22:32:29 +00:00
adelikat 5f5677781b Cheats dialog - Floating window option 2014-01-30 15:51:07 +00:00
adelikat 003156d28e Trace Logger - remember window size, implement floating window and restore default settings, refactor, also clean up some ToolDialogSettings logic 2014-01-30 15:28:05 +00:00
adelikat dead076979 Ram Watch - floating window and refactor 2014-01-30 14:29:34 +00:00
adelikat d44e6c6342 Ditto for trace logger 2014-01-30 03:34:58 +00:00
adelikat ab4f9534fe a bit of cleanup 2014-01-30 03:11:28 +00:00
adelikat 364c2367ea Hex Editor - refactor to use ToolDialogSettings Add floating window option 2014-01-30 03:10:17 +00:00
adelikat 53fa1a566a create a ToolDialogSettings object and refactor Ram Search to use it as a proof of concept 2014-01-30 00:55:31 +00:00
zeromus 2275ec234f massive displaymanager/renderpanel refactor. All useful logic is now compact and in DisplayManager. Also, remove the old filter infrastructure, its totally outdated now 2014-01-28 04:39:27 +00:00