Commit Graph

389 Commits

Author SHA1 Message Date
goyuken 81fc95ab43 NES: add UI support for datach barcode reader 2014-10-29 22:28:14 +00:00
adelikat 3286d34953 When using Alt+Up/Down hotkeys - show an osd message informing the user of what the new screensize is 2014-10-26 23:47:59 +00:00
adelikat 5c85a8ca66 Tastudio - improve navigation performance by emulating a frame when possible rather than loading a state 2014-10-23 21:21:43 +00:00
scepheo 28f21e1775 Lua:
- LoadState through Lua isn't counted for movie RerecordCount.
 - Added movie.setrerecordcount and movie.getrerecordcount for people who really want to count their bot loadstates.
2014-10-20 20:31:31 +00:00
adelikat 31c564ad06 Tastudio - fix stack overflow when user opens tastudio then clicks close rom in emuhawk 2014-10-20 00:31:05 +00:00
jlennox a64017366c Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested. 2014-10-19 01:22:47 +00:00
goyuken 74b4bd620d fix issue 290 2014-10-17 00:28:21 +00:00
adelikat ea826973d6 don't autoload tastudio if user didn't autoload (or cmd line) a rom 2014-10-15 19:18:51 +00:00
zeromus 200d11df62 cleanup ramwatch during rom loads for other platforms a bit. should fix #285. the whole concept of ramwatch when loading other platforms needs some help though (the current watches mutate into some format senseless for the new platform) 2014-10-11 19:49:22 +00:00
adelikat d677e6dbe6 Tastudio - fix a nasty bug, probably 2014-10-11 16:58:57 +00:00
zeromus 86e24011ae address some problems with fast forward vs vsync (mostly, it not working) 2014-10-11 09:01:50 +00:00
goyuken 3eb4dde346 av dumping: hack in a new audio sync method for the dump. doesn't make much of a difference in most stuff. sort of fixes Tsumi to Batsu - Hoshi no Keishousha; but that's mupen's fault anyway 2014-10-11 03:33:09 +00:00
goyuken 8d9b843099 house cleaning (AV writer) 2014-10-10 18:09:00 +00:00
adelikat 070050fd34 When doing backup savestates, rename the existing file to the backup name, instead of copying the file contents over! Big performance boost to that feature 2014-10-09 22:04:56 +00:00
adelikat 99e6b7ce27 Tastudio - for devleoper builds add a Greenzone Integrity Check menu item, runs through the movie and verifies the greenzone states are identical to the data gathered from emulating and replaying the movie and savestating 2014-10-05 14:11:30 +00:00
adelikat 681b3b570d Movie autoload - don't crash if movie file couldn't be found, fix logic that opens the Open Rom dialog if Autoload rom is not picked, fixes issue 272 2014-09-27 15:01:39 +00:00
adelikat e23c5ead86 Tastudio - instead of disabling rewind, take it over with IControlMainform 2014-09-27 12:19:50 +00:00
zeromus d049821426 fix junk in window title, broken in r7826 by yours truly 2014-09-19 00:15:27 +00:00
adelikat 53d45ff184 when skipping lag frames with start paused on, don't emulate to the first non-lag frame 2014-09-14 15:29:28 +00:00
zeromus 7e3144fd07 support custom AR and display client size while resizing. fixes Issue #251 . 2014-09-14 00:51:30 +00:00
goyuken 53ccb63e18 fix typo 2014-09-06 15:17:22 +00:00
adelikat 1f7ad013cb Speedup/Slowdown hotkeys - add a 300% increment, also add 6400% since these days quicknes plus a good cpu can get greater than 3200% speed 2014-09-05 20:37:56 +00:00
adelikat 3c23c5028d Tastudio - go to frame stuff 2014-08-31 16:51:19 +00:00
hegyak e65e9d8a22 Corrected System Menu from staying after a failure involving BIOS/Firmware. 2014-08-27 18:15:02 +00:00
goyuken 13510e8213 fix deterministic flag not being set for movie recording. 2014-08-27 05:52:35 +00:00
hegyak b808cc762e Merge .GBA Extension changes form Branches/Release to Trunk 2014-08-27 01:54:39 +00:00
adelikat 0893daff71 Remove TasStudioExperiement dialog 2014-08-23 15:49:08 +00:00
adelikat 56384da18b Front end for the Link Cable status bar icon 2014-08-23 01:18:59 +00:00
kylelyk b76edcd6e8 Fixed not going to correct frame when clicking in Marker Column in TAStudio. 2014-08-20 19:52:01 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat a57750f6ce Call UpdateStatusSlots from SetMainFormMovieInfo since slots change too when a movie status changes 2014-08-19 15:42:37 +00:00
goyuken e09e10d90c don't crash when fail to save state due to IOException 2014-08-18 18:06:15 +00:00
adelikat 3303652d99 On loadstate clear "button start" values in the autofire logic 2014-08-16 14:33:09 +00:00
goyuken 6476d80fb1 gba: more saveram connection 2014-08-14 21:19:54 +00:00
goyuken b8472ea760 gba stuff 2014-08-13 20:33:59 +00:00
goyuken f0c8bd3842 IEmulator: clarify naming and implementations so it's clear that CloneSaveRam() always returns a clone that you can do whatever you want with (but won't modify the underlying) 2014-08-13 17:52:13 +00:00
gochaism d729403cca Changed the timing of merging Lua input to controllers. Now joypad.set stops altering autohold/autofire buttons. 2014-08-12 23:55:03 +00:00
goyuken b29f9e5be1 GBA: add gamedb. besides hash identification, this includes the data that various vba variants put in a "vba-over.ini" file (will be hooked up to core soon 2014-08-11 15:29:53 +00:00
adelikat 0b81b6f773 start an experimental new widget intended for tastudio, doesn't do anything now but load and do nothing 2014-08-06 01:32:27 +00:00
adelikat 8799f27f60 Rip out the sync settings hack 2014-08-02 17:49:10 +00:00
adelikat bcd78cc4b8 Round 1 of Movie loading system overhaul, this fixes the problem of loading sram when a movie is loaded. Still todo: some cleanup of some hacks that are no longer needed, and restoring the ability to open the play movie dialog and other things, while a movie is active 2014-08-02 15:32:48 +00:00
hegyak 71db42634c Correct Named SaveState Dialog so it writes .State to the user's file if they forget. And improved file dialog selection for Named SaveState to allow filtering for .State and All files. 2014-08-02 13:58:32 +00:00
adelikat 93b71373eb Rom Loader - Catch CGBNotSupportedException and output a message to the screen, then automatically reload the rom in regular mode 2014-08-02 02:41:12 +00:00
adelikat c67249bb1d Fix exception when holding shift+tab and clicking the menu 2014-08-01 02:16:56 +00:00
adelikat c46ddd1aa2 when bombing out on a load rom error, update more stuff on the mainform that might have changed 2014-08-01 01:45:19 +00:00
adelikat 43d9f77fd6 this is mostly a hack, but fixes loading a rom when a movie is still running 2014-08-01 01:34:40 +00:00
adelikat fb8d322146 Band-aid for movie code, note: the case of loading a new rom while a movie is active still is probably bugged 2014-07-31 23:52:03 +00:00
adelikat ad5b60f137 Create a MissingFirmwareException in Emulation.Common, and catch this in the Rom loading logic, on the client side, respond to this type of error with a nice message and an option to configure their firmware. Have NesHawk throw this exception when there is a missing FDS Bios. Other cores will need to be implemented this way too at some point 2014-07-31 21:15:07 +00:00
adelikat 0fd5ddd0cf Fix crash when "NES with QuickNes" is selected, and the user attempts to load a FDS game without a proper FDS BIOS. Also, update the core statusbar label when bailing out of a failed Rom load attempt 2014-07-31 20:42:12 +00:00
goyuken 8bad959f84 stomp out some unused code in FFMPEG path determination 2014-07-30 16:02:39 +00:00
adelikat d74b619222 mainform - move some functions around 2014-07-29 01:33:54 +00:00
adelikat 50ff80997a remove some commented code that I meant to delete before checking in 2014-07-29 01:22:25 +00:00
adelikat 4346504e24 Make some extension methods for doing the icon and text logic for the core statusbar item, makes for some prettier syntax, but also makes it easier to use this logic elsewhere 2014-07-29 01:11:57 +00:00
adelikat 4eab035d26 icon for the snes9x core 2014-07-29 00:44:25 +00:00
adelikat c1e866c9c9 add a "SNES with Snes9x" menu item, only visisble in developer builds 2014-07-28 23:58:52 +00:00
goyuken 0c0f9eb93a snes9x rough-in 2014-07-28 20:45:21 +00:00
adelikat ce4ce0bacc Convert some static methods in ToolHelpers to extension methods 2014-07-28 01:51:11 +00:00
adelikat 4258c4a579 Make Pause status bar icon show turbo seeking and seeking if emulator is those modes, clicking it will cancel out the seek. Fix tastudio's integration with the seek feature, and refactor and simplify some of the code, and a few other tastudio tweaks 2014-07-27 19:07:13 +00:00
adelikat 83d1e39db3 Tastudio - implement turboseek 2014-07-27 17:49:25 +00:00
adelikat 0397ea1ff4 Remove the CustomControls/Util file and move all the classes into the Form Extensions file, since they were all extension methods for window form objects 2014-07-27 15:22:30 +00:00
adelikat ede560fe1a fix issue 229 - float autoholds were not being cleared when closing a rom 2014-07-26 15:31:36 +00:00
adelikat f8fcc23184 Play Movie - stop on Frame option implemented 2014-07-26 13:06:19 +00:00
adelikat 9a721036b9 Move the Pause frame from tastudio's responsibility to mainform.cs, in preparation for it being used by other features 2014-07-26 12:47:09 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
goyuken e87f0ceba7 quicknes: use bootgod db to display helpful information about roms (except galaxian). no effect on emulation 2014-07-23 02:48:55 +00:00
zeromus f46973119b add ctrl+shift+c to copy current client area as a screenshot (as opposed to the ctrl+c raw copy) so you can get scaling and filters too 2014-07-22 00:04:28 +00:00
adelikat 5179c59f58 Autoload last savestate - if this is set, load the state after loading a rom too, instead of only on emulator load. Note: this will be quirky since the last slot is determined by the current saveslot, which isn't correct, but the alternative is much higher effort 2014-07-21 22:38:53 +00:00
adelikat 240264c3c5 Since Global.Game is never null now, add a IsNullInstance property to check against instead, and refactor code that checks for null 2014-07-21 22:21:52 +00:00
adelikat 6bad2d9427 Fix the "Null" window text bug. Part of the problem was scattered logic that sets the text, so I refactored to have a single function that does window text setting logic 2014-07-21 20:34:53 +00:00
adelikat fc729ac7f1 Update statusbar saveslots when loading and stopping a movie 2014-07-21 00:52:11 +00:00
adelikat 0a227060b7 Set the mainform movie statusbar icon more often 2014-07-19 16:03:12 +00:00
goyuken 14e9e38c44 fix some bug with certain case of rom load failure maybe 2014-07-17 22:27:33 +00:00
adelikat 9494995109 Update the movie status status bar icon when loading a new rom 2014-07-17 02:00:17 +00:00
adelikat 5d743cdf88 PCE Sound debugger - autoload and other standard options on tools, dialog fixes that I do to all tools, add to toolbox 2014-07-14 16:01:35 +00:00
adelikat b53cc908b8 Add options to how to handle the ending of movie playback, in addition to finished mode, it can now pause, stop, or switch to record. TAStudio - automatically override user's preference with switch to record (and restore their setting when disengaging tastudio 2014-07-14 00:35:33 +00:00
zeromus dc6daddff7 add option to disable fullscreen hacks (may increase latency) and snowy null emulator (may increase seizure rate) 2014-07-12 20:42:44 +00:00
adelikat 7e768eacb1 When rewinding show << and <<<< symbols (not sure when those ever got removed). Tastudio - disable rewind on load, and restore it (if it was on) when closed 2014-07-11 17:14:45 +00:00
adelikat ac931f27f2 Remove the ability to use rewind during movie record mode, and rip out all the hacks that made that work somewhat in the first place 2014-07-11 17:05:18 +00:00
adelikat 2ae2f5dce2 Let TAStudio take control of the Mainform StopMovie function 2014-07-10 19:51:36 +00:00
adelikat 5843a8f396 Start proof of concept of an IControlManinform interface. Mainform now has RelinguishControl and TakeControl methods. Tools that implement IControlMainform can override mainform actions. TAstudio implements this, currently the only ability is to override Read only toggle. The intend of this is to allow TAStudio and debuggers to take control of relevant mainform actions 2014-07-08 16:08:52 +00:00
adelikat a02888344b Change the ToBk2() method to receive an IMovie instead of Bkm, and write a ToTasMovie() method similarly. Tastudio - remove code that warns the user if they open it with a movie already active, instead ask and autoconvert the current movie to a tasproj file 2014-07-06 21:20:43 +00:00
adelikat ec0cba444e Gui option to start in full screen 2014-07-06 14:16:59 +00:00
adelikat f2a891698b Remove some incorrect somments about _syncSettingsHack and put some that accurately reflect the current situation 2014-07-04 12:44:13 +00:00
xmikecampx7 70eb17ae8f Hide Profile Icon After Click 2014-07-03 23:25:07 +00:00
xmikecampx7 3797fc6fd8 Added First Boot Profile Dialog to Main Status Bar 2014-07-03 23:08:27 +00:00
adelikat fd80c62cdb More Util methods -> extension methods 2014-07-03 19:20:34 +00:00
adelikat a9aa65397c Convert a Util method to an extension method 2014-07-03 18:29:51 +00:00
adelikat ab5cfab035 remove redundant code throughout the emuhawk project 2014-06-29 02:28:48 +00:00
adelikat 402db49ed8 PCE - add ability to set connected controllers (up to 5) as sync settings, with a Controller settings dialog 2014-06-28 22:48:07 +00:00
zeromus 140aec6a4d add system for controlling which forms can generate mouse input 2014-06-22 23:20:36 +00:00
goyuken 1f1f7ea263 add gz as supported extension in the rom open dialog (the format was already supported, but wasn't one of the extension filter options) 2014-06-22 16:41:39 +00:00
adelikat 269b3c7ee1 start a new Virtual Pad Tool, currently only does NES with one controller as a proof of concept, this is probably a messed up commit will fix next 2014-06-22 13:57:23 +00:00
adelikat 7f76347c0a Fix exception on GBA when selecting reboot core (or loading a movie, or any other type of core restart). This commit should be peer reviewed 2014-06-21 21:39:18 +00:00
adelikat 762048018e If not clock throttle, Disable speed settings in the menu, and warn user when they press the increase/decrease speed hotkeys 2014-06-21 20:18:14 +00:00
adelikat 5145ef3f97 Movie imports now import to .bk2 2014-06-19 02:30:22 +00:00
adelikat 10fbf1a466 Don't show neshawk on startup 2014-06-19 01:50:16 +00:00
adelikat ac2ea9f6e0 Fix non-bk2 movie loading 2014-06-19 01:47:22 +00:00
zeromus 176c306439 proof of concept syncless recorder AV out module 2014-06-18 02:28:07 +00:00
adelikat 3ea79c720b More movies 2.0 stuff 2014-06-12 21:45:47 +00:00
adelikat 54c9c2c0a0 Some more Movies 2.0 work 2014-06-11 21:14:13 +00:00
adelikat e0a9fcd650 More movie 2.0 stuff 2014-06-11 02:56:57 +00:00
adelikat 608023c632 Oops, support .ws and a Wonderswan entry in the Open File dialog for non-developer builds 2014-06-09 21:02:27 +00:00
zeromus 3ea6495031 give yabause its own GL context. gets gl+yabause minimally working. maybe still loadstate-related crashes. 2014-06-08 23:30:34 +00:00
adelikat 6b2889957a Some refactoring of movie code to make the Header less implementation specific, and start Movie2.cs which will be a Movie 2.0 implementation 2014-06-08 22:12:15 +00:00
adelikat 7e9b13f5c3 Some movie refactoring - moving a function into the importer class, remove MovieExtension from the config file and instead add it as a movie property, add some todo comments in places regarding movie 2.0 2014-06-08 19:36:33 +00:00
adelikat 0c1abff992 Start a Profile Config dialog, does nothing but open and close currently 2014-06-04 19:18:14 +00:00
adelikat 8f2746ab86 Change "Interim Build" to "Developer Build" and rename flag variable name, as this is more accurate to the intent of this type of build (unofficial interim builds still shouldn't have developer features or unfinished developer work) 2014-06-04 17:02:54 +00:00
zeromus bb1b1ff5b5 fix av dumping with osd enabled (screenshots as well);
default av dumping extension to the dumper plugin's desired default
2014-06-02 20:16:59 +00:00
goyuken 3c31d11c8b extension tweak 2014-06-01 04:40:20 +00:00
adelikat 24fb6ac5e6 add WonderSawn to another system id list that needs to be refactored 2014-06-01 02:11:02 +00:00
adelikat fac7c03a42 Add Wonderswan to open ROM dialog extensions 2014-06-01 02:06:23 +00:00
adelikat da1bc66c0e SystemInfo object - don't need endian type, Ram Search - remove bi ol system ID switch for defaults in favor of system info and more clever logic. Finish display name refactor 2014-05-31 23:05:02 +00:00
adelikat 9a24539c10 Lua - catch NotImplementedException on emu.getregister(s) and warn the user that this particular core doesn't implement this feature yet. Also, put IEmulator extensions in their own namespace 2014-05-31 14:29:27 +00:00
goyuken fb4bd18fe1 bizswan: settings and syncsettings, random cleanup, include mingw makefile (we're building from msvs here though) 2014-05-30 22:31:16 +00:00
adelikat 5ce23c815d Proof of concept for a SystemInfo object to have a singular place to have system specific info as opposed to SystemID switches stattered throughout the codebase 2014-05-30 22:00:16 +00:00
goyuken cc4df67923 wonderswan title name 2014-05-30 19:13:19 +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 33d847e8ac rip out hacks that I put in to work around Game.Name being null 2014-05-23 16:22:24 +00:00
goyuken 59440c1d4d NES stuff 2014-05-23 15:10:14 +00:00
adelikat ee2a1228bb fix a warning 2014-05-19 12:57:02 +00:00
goyuken 30bff133a8 silence "Error: tried to load saveram, but core would not accept it?" message 2014-05-18 17:18:26 +00:00
zeromus b9b5cbaf12 fix bug where changing cores could sometimes leave client sizing logic in wrong state and yield a mis-sized window 2014-05-18 02:11:17 +00:00
adelikat 74b2bd2349 Open Rom dialog - Genesis is NOT experimental anymore! 2014-05-18 01:27:24 +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
zeromus f9477bb0f1 automatic client 1x/2x etc sizing should respect console and user AR options 2014-05-17 03:50:19 +00:00
zeromus 8ba683f6bd remove requirement of shift-holding to doubleclick fullscreen toggle.. unless a zapper game is running. 2014-05-17 02:55:58 +00:00
adelikat 9414173a7c oops, and also make that previous commit cleaner 2014-05-15 00:00:02 +00:00
adelikat 353fe15845 Ooops, fix crash when attempting to display the game name from a commit I made recently 2014-05-12 20:51:09 +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 f6243d919b on Mainform Text property - show filename if Game.Name is empty 2014-05-12 00:37:03 +00:00
adelikat 8f6a7883c5 Some reorg on mainform menu item code 2014-05-10 14:50:47 +00:00
adelikat 7796bd7cd7 N64 Controller Settings - show reboot notification when saving. When a movie is active hide the n64 plugin and controller settings menu items since they manipulate sync settings. 2014-05-10 13:49:00 +00:00
adelikat 64e3ff520d N64 - Controller Settings dialog with ability to set Pak type and connected status of controllers 2014-05-10 02:03:23 +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 80497a4bb4 Move a bunch of config menu items into a Customize dialog box 2014-05-06 01:27:56 +00:00
adelikat 0b6795fffc Some misc cleanup of redundant qualifiers 2014-05-04 14:10:28 +00:00
adelikat 5c9977e7b3 Rename Core Selection menu to Cores, add N64 Plugin settings menu item, hide N64 menu during NULL emulator since the plug in settings are always accessible now in the core menu 2014-05-04 13:57:58 +00:00
adelikat 7b0d18ff4d Put snes profile into status bar core into 2014-05-04 13:47:01 +00:00
adelikat 650607cfd7 Put Lua FrameBefore and FrameAfter event firing into the event loop instead of tools, so that it isn't bypassed when turboing. Probably works, couldn't test. 2014-05-03 11:59:11 +00:00
zeromus 55f87af633 small ordering change for lua input processing so that event.framestart can set buttons 2014-05-03 09:02:17 +00:00
adelikat a736f9576f Config context menu - implement dropdown opened logic for core selection and savestate type, and remove the other menus that need this logic because I dont' want to implement it 2014-05-01 02:06:03 +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 faa7da4fdb Don't put fps in the text property of mainform 2014-04-27 12:20:18 +00:00
adelikat 9615ff7836 Atari 2600 debugger - interim flag the menu item 2014-04-27 00:40:02 +00:00
zeromus ca6f993b7c workarounds for lousy intel gpus 2014-04-26 21:55:04 +00:00
adelikat 3901fb640b more icons, don't show one if there isn't oen 2014-04-25 23:17:10 +00:00
adelikat ec8c2f8bee more icons 2014-04-25 22:50:28 +00:00
adelikat 8734537572 add emu7800 icon, don't show author in tooltip 2014-04-25 21:55:56 +00:00
adelikat 51be257486 core status bar icon - add yabause and bsnes icons 2014-04-25 21:41:34 +00:00