Commit Graph

639 Commits

Author SHA1 Message Date
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
adelikat b9ade1a555 Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-03 12:55:53 -06:00
adelikat 7936797a9d Custom controls house cleaning - remove a bunch of unused controls, do some cleanups 2019-11-02 10:08:06 -05:00
James Groom cdf42777dc
Merge branch 'master' into MoreUnixMonoCompatWork 2019-11-02 18:15:46 +11:00
J.D. Purcell 39b54f7202 Fix missing UI usings. 2019-11-02 00:38:50 -04:00
adelikat 6c7653e158 Merge branch 'master' into MoreUnixMonoCompatWork
This doesn't compile because of Input.cs, didn't know what to do. Also search for Merge TODO for some commenting things that probably need to be deleted
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs
#	BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs
#	BizHawk.Client.EmuHawk/Program.cs
#	BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs
#	BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs
#	BizHawk.Client.EmuHawk/tools/ToolHelpers.cs
#	BizHawk.Client.EmuHawk/tools/ToolManager.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs
#	BizHawk.Client.EmuHawk/tools/TraceLogger.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs
#	BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs
#	BizHawk.Common/BizInvoke/DynamicLibraryImportResolver.cs
2019-10-31 17:01:19 -05:00
feos 0247a8f1a8
mame core wip (#1705)
* add MAME to OpenAdvanced
* make mame launch games
limited to arcades that only need rom name. other devices require machine name and rom name, and won't run. nor they are meant to be supported anyway: we have enough emulators that do the job better for particular devices.
dunno if direct disk access will be avoidable, there are quite some files it might want to load other than the rom (parent rom, bios, artwork). trapping all of these might be a future task.
it is also known that mame can load "romname.zip" file just as well as "romname" folder, which would represent an unarchived zip. I make use of it to send it zip name with extension. it's easy, and we're not obliged to recognize mere folder paths in the mame-advanced-loader logic.
* ability to run lua code inside mame
2019-10-29 18:37:27 +03:00
J.D. Purcell 23433b856f Hotkey/controller config: Fix issue where input events get queued and processed by the main form after the dialog is closed. For example if you opened the hotkey config, typed "-" in the search box, and closed the dialog, it would trigger Decrease Speed in the main form. Also redo an old hack fix the right way. 2019-10-20 13:47:22 -04:00
J.D. Purcell b01f52c01b Ability to handle alternate keyboard layouts (e.g. Dvorak). Optional and off by default for now due to its experimental nature. Closes #1584 2019-10-20 01:16:27 -04:00
J.D. Purcell 4eea88a988 Hotkey Config: Fix when binding key combination if the modifier is released first (e.g. Ctrl+C with Ctrl released first). 2019-10-19 20:51:04 -04:00
J.D. Purcell 854315d96d TabIndex fixes. 2019-10-14 11:39:49 -04:00
J.D. Purcell 6504387302 Option to accept background input only from controller. Closes #1396. 2019-10-13 19:49:24 -04:00
J.D. Purcell da49f85b81 HotkeyConfig: Code cleanup. 2019-10-13 16:34:55 -04:00
James Groom 90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
squashed PR #1591
2019-10-13 15:50:57 +00:00
YoshiRulz 17ba5fa815
Use FolderBrowserDialog on Unix instead of FolderBrowserEx 2019-10-06 19:54:45 +10:00
alyosha-tas f058933342 Vectrex: Fix firmware 2019-08-03 09:26:30 -04:00
feos ef4cda38d1 n64: stop measuring resolutions array with a magic number 2019-06-17 20:07:36 +03:00
YoshiRulz 3fa0f71a24 Inline ToHexString extension where param numdigits is constant 2019-06-14 15:54:17 +00:00
YoshiRulz 3d097e3f04
Run jpegoptim on *.jpg and oxipng -so6 on *.png 2019-06-10 19:09:26 +10:00
YoshiRulz df232e6184
Add additional CurrentOS checks 2019-05-19 14:46:50 +10:00
YoshiRulz 35056ae2d9
Remove #if WINDOWS, using runtime check where applicable 2019-05-18 20:17:02 +10:00
YoshiRulz 58c738957c
Rename PlatformLinkedLibSingleton and children 2019-05-18 15:40:46 +10:00
YoshiRulz d76e1a8a8b
Refactor PlatformLinkedLibSingleton and replace RunningOnUnix with CurrentOS 2019-05-18 15:30:29 +10:00
Asnivor f0384b7e83 ChannelF: Extreme WIP! I promise nothing... 2019-04-16 16:10:56 +01:00
James Groom 779975f689
Use nameof 2019-03-28 14:17:14 +11:00
YoshiRulz e6374ef477
Use string interpolation 2019-03-19 00:06:37 +10:00
feos c3c262db12 N64:
- close #1478
- update gliden
- wire up halo removal
2019-03-10 16:15:55 +03:00
Asnivor 76070cd89d OCD: Fix non-critial compiler warnings in my code 2019-01-25 15:45:15 +00:00
alyosha-tas 9696a75839
Merge pull request #1439 from TASVideos/subneshawkfixattempt
SubNESHawk
2019-01-19 09:48:43 -06:00
zeromus cecdff8293 config hookup for user crop area 2019-01-18 00:59:45 -05:00
alyosha-tas 5256284ac6 SubNESHawk:
- Use NES settings for controllers / sync settings
- Clean up un-needed extra controller code
- Enable Menues
2019-01-12 09:32:01 -06:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
alyosha-tas 62c178ff2e GBHawk: add default bindings 2018-12-24 12:33:09 -06:00
feos 4675d692ff n64 plugins: add 4K 2018-12-17 23:00:51 +03:00
alyosha-tas 17d88ca6d7 rewinder: Increase buffer limit 2018-11-22 11:13:51 -06:00
adelikat 32b1fa6f3f messages config - change label "Last Frame Input" to "Previous Frame Input" to avoid confusion 2018-11-18 11:06:19 -06:00
adelikat a4dcd4d010
Merge pull request #1321 from TASVideos/firmwareimporterfixes
FirmwaresConfig: Stop indiscriminate importing (and some other things…
2018-11-18 08:37:26 -06:00
zeromus 7a72bf72e6 experimental: add %rom% to path manager, so files related to a rom can be located relative to the rom
also refactored how %exe% worked because it blew my mind
2018-11-14 19:04:02 -05:00
feos 966dbcab62 gliden64: restore non-working overscan for now 2018-09-21 23:43:50 +03:00
Asnivor f149413df3 FirmwaresConfig: kick checkbox over to the right 2018-09-21 18:06:26 +01:00
Asnivor 3273d37ce5 FirmwareConfigs: small fix 2018-09-21 17:45:23 +01:00
Asnivor 84eea580c2 FirmwareConfig: Added 'allow unknown import' checkbox 2018-09-21 17:44:17 +01:00
Asnivor e0b6c67b70 CPCHawk: Menu and GUI fixes 2018-09-19 17:46:58 +01:00
Asnivor 2565f49c89
Merge branch 'AmstradCPC' into master 2018-09-19 14:56:41 +01:00
Asnivor 95e565c545 CPCHawk: Start of new CRCT and Gatearray implementations 2018-09-19 14:35:22 +01:00
Asnivor a7386a52f0 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2018-09-18 10:54:55 +01:00
Asnivor f62ab685a9 ZXHawk: Fix core GUI windows monospace weirdness 2018-09-18 10:50:15 +01:00
feos b83c99c857 gliden64: wire up overscan, but disable the ui option, because it somehow refuses to work 2018-09-15 20:30:19 +03:00
feos 2ab320ebf2 gliden64: wire up resolution display
the proper method is obviously hooking into m64p and getting this info via lua or something, but for now it's better than nothing (and easy)
2018-09-15 12:43:39 +03:00
feos 6af9b6aaa5 update gliden64 and wire up fxaa 2018-09-15 12:09:52 +03:00
Asnivor 35afeb2b3d FirmwaresConfig: set customization file chooser now incorporates ArchiveChooser - if an insidefile is selected this is copied to the global firmwares folder 2018-09-14 09:46:39 +01:00
Asnivor a04ad91b2c FirmwaresConfig: Stop indescriminate importing (and some other things) - #314 2018-09-13 15:07:52 +01:00
zeromus ba4b32f619 rename TempFileCleaner to TempFileManager; add global path config for temp files
I did this in a funny way (sets the environment for the process).
The idea is that any code which sloppily used Path.GetTempDirectory (etc.) would now have its pathing changed.
It is a little dangerous to allow this to be changed on the fly (I do allow it) since something may expect it to be stable, but I think it's OK.
So anyway. keep your eyes peeled for problems. It's possible I could do this differently and only affect a subset of safely managed things.

should fix #1252
2018-09-11 21:32:50 -04:00
Asnivor ddbe1b8a84 ZXHawk: Added non-sync setting to change core background color - #1263 2018-08-06 14:51:10 +01:00
Asnivor ac0aae4afb CPCHawk: UI menus 2018-07-18 13:53:08 +01:00
Asnivor 531833c7b0 CPCHawk: Initial project outline (may or may not come to something eventually) 2018-07-03 14:53:09 +01:00
feos fc03be879f gliden64: disable texture cache option, since internally it's hardcoded to 8000 now 2018-06-23 00:00:08 +03:00
alyosha-tas a992e988b2
Merge pull request #1218 from TASVideos/ZXHawk-new-ULA
Zx hawk new ula
2018-06-13 08:40:26 -04:00
Asnivor 13a9c5bdc4 ZXHawk: Added POKE memory menu option 2018-06-12 10:16:43 +01:00
alyosha-tas b480476932 Gambatte: Make initial colors grey scale
Also make equal length frames false by default, fixes #1176
2018-05-26 11:54:01 -04:00
Asnivor 9c800cf133 ZXHawk: Buzzer/Beeper implementation now use BlipBuffer - #1158 2018-05-08 20:23:02 +01:00
Asnivor f1fbd2b64e ZXHawk: AutoTapeLoad has been changed to a SyncSetting - #1158 2018-03-27 16:12:38 +01:00
Asnivor 752bd0e35b ZXHawk: Audio settings menu implimenting volume controls for AY, tape and buzzer 2018-03-21 12:47:10 +00:00
Asnivor beee25619d ZXHawk: Added missing OSD Message Verbosity setting menu option 2018-03-20 14:51:33 +00:00
Asnivor e2eac983a1
Merge pull request #1149 from TASVideos/master
Bringing ZXSpectrum branch up to date with master
2018-03-19 15:52:55 +00:00
Asnivor a0e2695811 UI - Added last non-sync settings menu 2018-03-16 15:12:55 +00:00
Asnivor 0ac17f2d1e UI - added Core Emulation Settings menu 2018-03-16 14:33:18 +00:00
Asnivor 7c9c39417b UI - added joystick settings menu 2018-03-16 11:58:02 +00:00
Asnivor 3cc4b94406 Added default control bindings and prettified the controller configuration panels 2018-03-06 11:17:30 +00:00
feos 2947f439b3 not just tasing 2018-02-23 16:37:34 +03:00
feos 88223f6a5d n64: let's stop advertising mk2 maybe? 2018-02-23 14:09:56 +03:00
feos f828641388 core config: dynamically resize description field to fit text
fix #1091
2018-02-13 01:45:05 +03:00
alyosha-tas fd7a3a731e PCEHawk: Add option for cropping
Resolves #71
2018-02-10 15:28:27 -05:00
Asnivor d012472999 Initial commit. 48K spectrum only. 2017-11-23 17:26:15 +00:00
alyosha-tas e66e70534a NESHawk: Audio slider 2017-09-07 10:26:27 -04:00
zeromus 1250b72bce tidy autoflushing stuff 2017-08-23 10:32:17 -04:00
shanehoman 85575eae82 Standardize as AutoSaveRAM
- Rename files
- Add path to PathManager
- Alter config UI
Set default settings
- ASR disabled
- 5m preselected
Display OSD messages when ASR enabled
- SaveRAM is older than ASR
- SaveRAM doesn't exist but ASR does
2017-08-19 23:14:08 -07:00
shanehoman bdb197ac23 Rewrite FlushSaveRAM to write the newest sram to disk first, then move older data.
Moved autosave timer sets to save/load sram methods
Manual saves won't reset the autosave timer
Remove excess ticks when lowering the autosave timer
2017-08-18 22:42:28 -07:00
shanehoman 89059673f0 Configure autosave in Config -> Customize... -> Advanced under the SaveRAM backup option
reduced options to 5s for HUDs or other RAM watchers or 5m, typical backup save timing in visual studio and office.
Added option for custom autosave interval
Split Autosave enable/disable and time settings
Fixed hotkey display for Flush SaveRAM (menu was reading the wrong key in HotkeyBindings)
2017-08-18 21:02:51 -07:00
alyosha-tas 795619e3c3 A7800Hawk: Add filter option
-Will be needed for Tower Toppler and Jinks
2017-07-31 12:10:08 -04:00
nattthebear e9c04b1951 adjust some documentation written for the former Yabause core 2017-07-29 08:33:38 -04:00
adelikat 3109bdcc6a PCE - cleanup 2017-07-18 11:20:02 -05:00
adelikat 9fc8b8700d PCE - add ui for controller config 2017-07-18 11:01:50 -05:00
zeromus 4704f58ead add lua reboot notice 2017-07-15 16:41:01 -05:00
zeromus dce98db811 fix saturn PixelPro resolution management mode to reformat framebuffer to requirements, so it works like it's supposed to 2017-07-15 02:53:33 -05:00
adelikat 9efa5a01b0 Option to pick the lua core in the customize dialog 2017-07-13 21:05:02 -05:00
zeromus a0b2a04cd5 fix firmwareconfig categorization FIXMES 2017-07-11 21:13:36 -05:00
zeromus 44d284acd4 tooltips for main firmwares view 2017-07-11 21:05:14 -05:00
zeromus 010c9d262f firmwaresinfo tooltips 2017-07-11 21:02:24 -05:00
alyosha-tas 1b6011cefa Update ProfileConfig.cs
Make SMS UseBIOS true by default
2017-06-22 16:34:54 -04:00
adelikat 46568bf1ec N64 - disable cxd64 lle RSP pluging since we don't have one that works for 64bit, and no one was probably using it anyway 2017-06-19 18:00:19 -05:00
adelikat d7423d45a0 File Extensions dialog - support .cue, also fix specific platform setting it looks like it never worked in the first place 2017-06-17 17:29:16 -05:00
adelikat a4672027c9 bsnes - layer toggling move ui from menu items to checkboxes in the options dialog 2017-06-13 20:29:42 -05:00
adelikat 03ceeecddb snes options -> bsnes options 2017-06-13 19:06:53 -05:00
adelikat 58b424e53e Rewind config - minimum state buffer size of 50mb 2017-06-13 17:23:57 -05:00
adelikat d91e3b9dcb Fix oopsies from merge, update SNESOptions ui to account for the Crop SGB option 2017-06-13 08:24:37 -05:00
adelikat 97d7dd7f42 merging master into waterbox2 this one was messy may be regressions 2017-06-13 08:16:25 -05:00
adelikat 8c40d2908c bnes - remove the force determinism setting (hack) since it is no longer relevant 2017-06-12 21:03:11 -05:00
adelikat 9eb2fcc34c bsnes - remove profile sync setting and related code 2017-06-12 20:56:34 -05:00
adelikat 971c6a9df6 bnses options - remove profile options 2017-06-12 20:56:33 -05:00
adelikat e6d1850361 N64 - include a 64bit version of mupen64plus-rsp-cxd4.dll, rip out Rsp_Z64_hlevideo since it is giving us no value added, as it was intended to go with the z64 video plugin (that we don't support nor need to) 2017-06-12 19:37:45 -05:00
adelikat 87897b936a Remove NewN64PluginSettings dialog since it was never built or used, and there's better ways to do things now anyway 2017-06-12 13:52:31 -05:00
adelikat b1918759be N64 - Remove commented out jabo code 2017-06-12 13:07:06 -05:00
adelikat 0712833de1 N64 plugin config dialog - re-order plugin tabs, put GLideN64 first 2017-06-12 12:48:04 -05:00
zeromus 6db010e384 add 'crop SGB frame' option; fixes #871 2017-06-11 18:20:55 -05:00
zeromus eec9c54236 comment out all dynarec related things 2017-06-11 17:24:32 -05:00
zeromus 503261af35 comment out all jabo related stuff 2017-06-11 17:24:32 -05:00
alyosha-tas a78f0b5fde Delete temp.txt 2017-06-11 18:12:54 -04:00
alyosha-tas dcc9857a1a Add files via upload 2017-06-11 18:12:32 -04:00
alyosha-tas 4f97dd224b Create temp.txt 2017-06-11 18:12:04 -04:00
nattthebear e73157bb49 ahh, yahbooze, we hardly knew you... 2017-06-11 14:44:47 -04:00
adelikat 1e4eb41972 Controller config - support up to 12 controllers 2017-06-11 12:04:03 -05:00
adelikat d93f71c1a3 cleanup GenericCoreConfig.cs 2017-06-07 15:11:29 -05:00
adelikat 495431fb56 snes options dialog - hide the "Not supported yet" when hiding the accuracy core option 2017-06-07 14:23:30 -05:00
adelikat 4ae0b2cd22 Merge branch 'master' into waterbox2
Conflicts:
	BizHawk.Client.EmuHawk/MainForm.Events.cs
	BizHawk.Client.EmuHawk/MainForm.cs
2017-06-04 18:18:11 -05:00
adelikat 8e33182a56 Profile config dialog - positioning cleanup 2017-06-04 18:06:42 -05:00
adelikat bd8ab03299 Profile config - new snes logic 2017-06-04 17:53:14 -05:00
adelikat 3a6acdab12 NGP - controller image 2017-05-31 17:18:17 -05:00
adelikat 95353188c7 Merge branch 'master' into waterbox2 2017-05-31 13:38:01 -05:00
adelikat c307bb427f oops 2017-05-31 10:29:56 -05:00
adelikat 078dc4ddb1 misc cleanups in remaining config files 2017-05-31 10:28:06 -05:00
adelikat 1116ddfaf6 misc cleanups in remaining platform specific config files 2017-05-31 09:56:51 -05:00
adelikat 735249a841 misc cleanups in NES config files 2017-05-31 09:47:38 -05:00
adelikat 07cd535530 misc cleanups in N6 config files 2017-05-31 09:10:30 -05:00
adelikat 1164868063 GB config dialogs cleanup 2017-05-31 08:52:55 -05:00
adelikat f84065a45a cleanup controller config user control classes 2017-05-31 08:10:09 -05:00
adelikat 2783881254 VBoii - controller image for controller config dialog 2017-05-30 18:36:29 -05:00
adelikat 1a54ff1818 Merge branch 'master' into waterbox2 2017-05-30 17:31:30 -05:00
adelikat c1a746c7d6 Don't expose Colecovision syncSettings, aquire sync settings the intended way instead 2017-05-30 12:37:47 -05:00
adelikat 3cc74932a7 Set C64 to released, and remove some hacks that hid C64 in some places 2017-05-30 12:12:10 -04:00
nattthebear 57b74cb22c for some reason, genericcoreconfig wasn't flagging reboot for non-sync settings 2017-05-29 14:17:30 -04:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat ffd743cac7 Remove Genesis.cs core 2017-05-01 16:27:40 -05:00
adelikat 1c157119a4 oops, remove the multitap not supported label 2017-04-29 13:06:59 -05:00
adelikat 70991a10a8 PSX - enable multitap in the UI 2017-04-29 13:03:18 -05:00
adelikat ebe001b526 Cleanup FirmwareManager, and some other Emulation.Common nitpicks 2017-04-27 10:55:22 -05:00
adelikat 81eff3de81 PSX Controller Config dialog - set Accept button property and set start position to CenterParent 2017-04-26 19:55:00 -05:00
zeromus 507ca1db27 psx: support negcon (c# side) 2017-04-25 22:59:46 -05:00
J.D. Purcell 58d1788446 Controller config: Fix U+D/L+R anchoring. 2017-04-25 23:37:23 -04:00
J.D. Purcell 4a61204fd3 Hotkeys dialog: Fix anchoring of "Misc" button. 2017-04-25 23:32:41 -04:00
nattthebear 9ec9975f48 possibly fix a bug with gbc settings on funky ui scales 2017-04-24 19:08:26 -04:00
adelikat 30aa86cd7e Intellivision - more cleanup 2017-04-23 11:10:26 -05:00
adelikat 15e9a9174c revert this logic in snes controller config 2017-04-20 20:45:29 -05:00
adelikat 99d70a1c7f SNES - super scope support 2017-04-20 19:50:58 -05:00
adelikat 27e7edcaf1 SNES - add a "Limit mouse speed" options on by default, to make controls a sueable for casual playing and a config option to turn it off 2017-04-19 20:30:54 -05:00
adelikat d1d6c20749 break SNES settings code into its own file 2017-04-19 08:31:48 -05:00
adelikat 912a2d7346 misc code cleanups in AV code 2017-04-18 12:27:44 -05:00
adelikat 13ca76f3f8 UI for changing SNES controller configurations 2017-04-15 20:34:32 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00