Commit Graph

1811 Commits

Author SHA1 Message Date
YoshiRulz 1b5d78c57c
Replace PlatformLinkedLibSingleton.RunningOnUnix with CurrentOS 2019-05-01 23:36:59 +10:00
Sappharad c7f0f50561 Use SystemColors, not Color.FromName() to avoid the extra hop. (And work around unimplemented stuff in the System.Drawing implementation that I'm using) 2019-03-12 22:31:24 -05:00
YoshiRulz bc461c955a
Remove #if WINDOWS in EmuHawk and common, using runtime check where applicable 2019-02-20 18:53:02 +10:00
Asnivor 3500e3221a Client.Common: When generating an initial default config, force OpenAL and GDI+ for linux 2019-01-30 16:13:53 +00:00
James Groom 35f56b88f8
Merge branch 'master' into MoreUnixMonoCompatWork 2019-01-26 18:57:18 +10:00
James Groom 3d06c7c647
Add Vulkan renderer (unimplemented, clone of OpenGL) 2019-01-26 16:26:11 +10:00
Asnivor ab6acb1065 SharpCompress: remove source and add .dll 2019-01-25 20:53:43 +00:00
Asnivor e4b1567230
[WIP] TAStudio for Mono (and optionally Windows) (using GDI+) (#7)
* TAStudio: refactored ready for GDI+ implementaton

* TAStudio GDI+: Implement DrawColumnBg

* TAStudio GDI+: implement DrawColumnText

* TAStudio GDI+: implement DrawBg

* TAStudio GDI+: Implemented remaining rendering methods

* TAStudio GDI+: Mitigate mono divide-by-zero errors (CellHeight is 0 for a while during instantiation)

* TASstudio GDI+: forgot uncomment for performance enhancing fun

* TAStudio GDI+: Implement option to switch inputroll renderer (on windows). Stored in global config and requires TAStudio restart to take effect

* TAStudio GDI+: fix renderer selection submenu for linux

* TAStudio GDI+: Fix alpha channel == 0 problems in GDIP_DrawCellBG()

* TAStudio GDI+: Modify renderer menu name...

... ala https://github.com/Asnivor/BizHawk/pull/7#issuecomment-456166600

* InputRoll: GDI+ experiments with TextRenderer vs DrawString

* InputRoll GDI+: finish up appearance matching
2019-01-25 12:15:32 +00:00
feos ce3e3d2ed3 lua docs: couple hints 2019-01-23 15:42:02 +03:00
Asnivor dccaa2b878 Client.Common.PathManager (unix): fixes to trymakerelative - Paths dialog now functions as it should #8 2019-01-22 13:56:57 +00:00
Asnivor 519e114721
Lua: enabled LuaConsole and fixed various linux-related path method issues (#8)
(the Lua VirtualListView is still not functional on mono yet though)
2019-01-22 12:09:35 +00:00
adelikat 5b26300e50
Merge pull request #1419 from upthorn/master
Extend APIHawk with a lua-like system of api libraries
2019-01-19 17:24:08 -06:00
alyosha-tas 2bddf3663e TAStudio: Fix some bugs in new from menues 2019-01-19 13:30:42 -06: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
upthorn 435d717f7b Merge branch 'master' of https://github.com/Upthorn/Bizhawk 2019-01-14 17:10:45 -08:00
Asnivor b289149a1f EmuHawk: SharpCompress - mitigate some compiler warnings 2019-01-14 16:12:34 +00:00
Asnivor a671f10c9b EmuHawk: SharpCompress - null check 2019-01-14 15:56:15 +00:00
Asnivor ccb9084ae5 EmuHawk: SharpCompress - limit signature check to zip and 7z (to avoid tar false positives) 2019-01-14 15:43:18 +00:00
Asnivor 73caa212c0 EmuHawk: SharpCompress implementation for Mono 2019-01-14 14:30:25 +00:00
alyosha-tas 74d20ca45c SubNEShawk: Add VBL Count to BK2 movie header 2019-01-12 13:27:00 -06:00
alyosha-tas c19c7cd5c3 SubNESHawk
also Input register shift fix

# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.Events.cs
#	BizHawk.Emulation.Cores/Computers/AmstradCPC/AmstradCPC.IEmulator.cs
#	BizHawk.Emulation.Cores/Computers/SinclairSpectrum/ZXSpectrum.IEmulator.cs
#	BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.run.cs
2019-01-10 18:25:59 +03:00
feos 56e77f4907 tastudio: allow to actually unbind markers from input, and unbind by default 2019-01-05 21:48:40 +03:00
feos cd2d63b04a tastudio:
- don't use branch laglog after loading it. it's useless because we invalidate if needed anyway
- PauseOnFrame being null started to crash seeking, fixed
- make use of movie alias in branchbox
- capture tsm state after loading the branch

todo: if we load a branch in the middle of invalid greenzone, advancing won't draw new greenzone even tho states are being created. laglog doesn't seem to allow gaps either. unsure how to resolve
2019-01-05 21:30:06 +03:00
alyosha-tas b9094545db update 7zip file location 2019-01-04 18:03:34 -06:00
upthorn 71215adf0d Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-01-04 04:58:58 -08: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 f47c2d1558 GBHawk: Start link support 2019-01-03 12:10:53 -06:00
upthorn 01914552de Merge branch 'master' of https://github.com/Upthorn/Bizhawk 2018-12-23 14:45:18 -08:00
zeromus 15131a0626 support --config=c:\path\to\config.ini (fixes #1404) 2018-12-23 00:23:57 -05:00
upthorn 79aaef0257 Removed project references to old, unrefactored files that no longer exist. 2018-12-22 11:16:54 -08:00
upthorn efc6f73169 Merge branch 'PluginDev' 2018-12-22 10:43:12 -08:00
upthorn aba1da071d Completely refactored PluginAPI to extend ApiHawk. Ecco2AssistantPlugin is now an external tool. 2018-12-22 10:40:30 -08:00
upthorn d238ecc311 Merge branch 'master' of https://github.com/TASVideos/bizhawk 2018-12-21 22:41:37 -08:00
Asnivor eee1cb481c
Fix Lua documentation - #1389 2018-12-08 08:47:17 +00:00
upthorn 05f9939ddf Merge branch 'master' into PluginDev 2018-12-06 12:29:58 -08:00
upthorn 59f30b4a79 Allow signed display of fixed point values. 2018-12-06 12:25:00 -08:00
upthorn 9874c496ac Minor revisions to plugin API 2018-12-05 11:58:19 -08:00
feos b316efb922 cute, I forgot to save the actual changes 2018-12-03 21:16:06 +03:00
feos 3a688d543b tastudio: fix rec mode dying when appending movie frames
close #1376
2018-12-03 21:10:14 +03:00
layland34 edab819d6b
fix typo 2018-11-25 14:54:55 +01:00
adelikat 786a505366 stuff bizhawk version into savestates, closes #1210 2018-11-18 12:29:56 -06:00
adelikat 288baf568d Revert "here's how I think input display should work. also fixes your bug. also breaks something that had this comment (maybe)"
This reverts commit d4a48a8ee1.
2018-11-18 10:43:11 -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
zeromus 026bd3e1e5 more cdlogger ux improvements; fixes #1346 2018-11-13 02:06:39 -05:00
alyosha-tas 6dbbc9256a Movie Importer: Display Failure Message 2018-11-10 17:23:45 -06:00
James Groom ca021d96cc Allow bizhawk to be built and run w/ MSBuild and Wine+Mono on GNU+Linux (#1237)
- Update to latest OpenTK, add input code from `mono-stable` branch
(kudos), and fix bugs arisen from version differences
- Move some functionality into Win-specific classes and add Wine+Mono
implementation where simple
- Add conditions to main loop so some things only run on Windows
2018-11-04 20:05:20 +03:00
Asnivor acebf2621c Manual reversion of PR #1277 2018-09-21 15:38:52 +01:00
Asnivor 2565f49c89
Merge branch 'AmstradCPC' into master 2018-09-19 14:56:41 +01:00