Commit Graph

27 Commits

Author SHA1 Message Date
CasualPokePlayer 1567bd23ec
Add Nobara Linux support to EmuHawkMono.sh
Some Fedora based distro, needs /usr/lib64

https://www.reddit.com/r/NobaraProject/comments/1goxkwz/bizhawk_emu_crash/
2024-11-11 12:29:24 -08:00
YoshiRulz b84ce89575
Stop setting `BIZHAWK_INT_SYSLIB_PATH" in Linux launch script
unused since ba24907d9
(leaving it in the Nix expression since that same script is used across
every version)
2024-08-01 01:48:13 +10:00
James Groom b47b4d63b1
Nix expr: Complete rewrite, a LOT of new features 2023-11-19 13:33:48 +00:00
James Groom eca0ca41a9
Add OpenSUSE to Mono launch script 2023-11-19 11:15:38 +10:00
James Groom fe2cd58bee
Mono launch script: allow multi-instance, copy to file AND console
haven't tested this, but I have tested all the individual parts as they've been implemented in my local branch for NixHawk
2023-10-31 12:06:42 +10:00
YoshiRulz 333fd6d533
Add Gentoo to Linux run script 2023-04-02 07:50:05 +10:00
YoshiRulz a46d0d93a7
Linux launch script refactors
- remove unused WINE libs from `LD_LIBRARY_PATH`
- add usage reminder for `--mono-no-redirect`, printed to stderr
- use `MONO_WINFORMS_XIM_STYLE=disabled` on all distros
- use `MONO_CRASH_NOFILE` to stop useless core dumps from clogging dir
2023-03-10 03:00:24 +10:00
YoshiRulz 022cb02f3e
In `EmuHawkMono.sh`, check distro name case-insensitively 2022-01-20 12:30:20 +10:00
YoshiRulz 6e73c6a5f1
Also write stderr to file in Mono wrapper scripts 2021-12-18 07:26:05 +10:00
PandaSRC 24a5544730 Add Artix to wrapper script 2021-11-11 11:28:37 +10:00
YoshiRulz df655d6f19
Add Fedora to wrapper script 2021-09-30 20:08:53 +10:00
YoshiRulz 7c1b40df1f Revert "The next time I look at this I want to see waterbox builds actually fucking working again. This means copying to dll as they are now, and not silently being overridden by stale files stored in another folder. This is not my problem to fix because I did not fucking break it."
This reverts commit d8d42b9f81.
2021-04-28 15:35:11 +10:00
nattthebear d8d42b9f81 The next time I look at this I want to see waterbox builds actually fucking working again. This means copying to dll as they are now, and not silently being overridden by stale files stored in another folder. This is not my problem to fix because I did not fucking break it. 2021-04-27 19:37:53 -04:00
Ethan Arns 8391be5ae7 Added Pop_OS support 2020-09-20 05:24:00 +10:00
YoshiRulz b6f4344592
Pass lib path from run script as env. var and read it in DLIR
It's always set by the run script, but I've added a fallback in case someone
hardcodes the mono command in a .desktop or something
2020-07-28 18:15:37 +10:00
YoshiRulz 765eb443a5
Tweak run script to compute lib and wine lib paths separately
also added $PWD/dll to LD_LIBRARY_PATH in case we ever use that
2020-07-28 18:11:50 +10:00
YoshiRulz 314dc391ae
Fix typo
these are backwards; fixes 73a905214
2020-06-28 19:45:39 +10:00
YoshiRulz 73a905214e
Fix possible bug when symlinking EmuHawkMono.sh 2020-06-28 19:42:49 +10:00
YoshiRulz 0714376afe
Let EmuHawk pick up the shipped libblip_buf; packaging it is too hard 2020-05-15 17:05:12 +10:00
YoshiRulz 3d0ccdac45
Add --mono-no-redirect to run script, disables writing stdout to file
must be first flag, will not be passed to EmuHawk
2019-12-28 02:15:51 +10:00
YoshiRulz 2e8e2bfab4
Pass arguments through to EmuHawk 2019-12-26 16:57:21 +10:00
YoshiRulz 1992856655
Export env var so the command string is shorter 2019-08-12 20:16:35 +10:00
YoshiRulz 4842442ef7
Set MONO_WINFORMS_XIM_STYLE=disabled on all Debian-based distros 2019-07-02 16:34:37 +10:00
YoshiRulz e8f66570ad
Update EmuHawkMono.sh 2019-05-18 14:09:50 +10:00
Asnivor d7caf48a70 EmuHawkMono.sh 'I suck at shell scripts' fix 2019-01-09 17:50:57 +00:00
Asnivor c2bc9893e5 Add Debian as option in EmuHawkMono.sh runscript 2019-01-09 14:37:11 +00: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