Package Details: mesen2-git r2971.31a13cfa-2

Git Clone URL: https://aur.archlinux.org/mesen2-git.git (read-only, click to copy)
Package Base: mesen2-git
Description: Multi-system emulator (NES, SNES, Game Boy and PC Engine)
Upstream URL: https://www.mesen.ca
Licenses: GPL3
Conflicts: mesen2
Provides: mesen2
Submitter: ISSOtm
Maintainer: ISSOtm
Last Packager: ISSOtm
Votes: 5
Popularity: 0.180951
First Submitted: 2023-01-28 18:30 (UTC)
Last Updated: 2024-06-09 15:21 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Pinned Comments

ISSOtm commented on 2024-06-09 15:00 (UTC)

Please note that Mesen2 currently appears to be broken on Wayland with hardware acceleration (most things render fine, but the main window is blank during gameplay).

To fix: either unset SDL_VIDEODRIVER (or set it back to x11), or enable the software renderer (Settings > Video > Advanced).

ISSOtm commented on 2023-08-01 06:32 (UTC)

This PKGBUILD is hosted at https://github.com/ISSOtm/PKGBUILDs/blob/master/mesen2-git/PKGBUILD for development; contributions are appreciated!

Latest Comments

1 2 Next › Last »

ISSOtm commented on 2024-06-09 15:00 (UTC)

Please note that Mesen2 currently appears to be broken on Wayland with hardware acceleration (most things render fine, but the main window is blank during gameplay).

To fix: either unset SDL_VIDEODRIVER (or set it back to x11), or enable the software renderer (Settings > Video > Advanced).

kode54 commented on 2024-04-03 22:08 (UTC)

My only source was IRC comments about how .NET makes non-standard use of ELF structures.

As for package behavior, building with !strip debug causes the binary to be about 32MB smaller, and corrupt.

Thanks for the swift fix.

ISSOtm commented on 2024-04-03 16:32 (UTC)

@kode54: Huh. Do you have a source for that?

I've pushed a new pkgrel that disables !debug.

kode54 commented on 2024-03-28 02:24 (UTC)

The package needs !debug as well, as debug still manages to break this package. Thanks, Microsoft, for your ELF breakage.

red_M95 commented on 2023-08-02 23:45 (UTC)

@xiota, well, i switched to sway a couple of months ago, but i'm still having the same issue. maybe wayland's the culprit? too lazy to setup an xorg environment to test...

xiota commented on 2023-08-02 23:33 (UTC)

@red_M95 Would you happen to be using kwin?

red_M95 commented on 2023-08-02 23:25 (UTC)

@ISSOtm, it looks like i can't open an issue for mesen2 on the github at all, so i dunno how i can report that to sour...

ISSOtm commented on 2023-08-01 06:32 (UTC)

This PKGBUILD is hosted at https://github.com/ISSOtm/PKGBUILDs/blob/master/mesen2-git/PKGBUILD for development; contributions are appreciated!

ISSOtm commented on 2023-08-01 06:31 (UTC)

Hello all,

Turns out a problem with my email setup meant I wasn't getting notifications about this package. First oops.

Then, I had indeed missed a build-time dep on zip. Second oops.

And finally, that should have been caught by the CI script that builds from a clean chroot... except I forgot to enable it. Third oops.

My apologies for the triple mess-up, but I hope these issues will be resolved for everyone! And thank you for your patience.


@red_M95: That sounds like an upstream issue, can you try reporting it to Sour?

HurricanePootis commented on 2023-04-08 04:22 (UTC) (edited on 2023-04-08 04:27 (UTC) by HurricanePootis)

Hey, you are missing a makedepends(). Mesen2 requires zip to build, so I have attached a diff file to show what you need to change to get this package building again.

diff --git a/PKGBUILD b/PKGBUILD
index 97d569f..4bfbb2e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,14 +8,14 @@

 # Maintainer: Eldred Habert <arch@eldred.fr>
 pkgname=mesen2-git
-pkgver=r2446.94a9956c
+pkgver=r2583.78d13506
 pkgrel=1
 pkgdesc="Multi-system emulator (NES, SNES, Game Boy and PC Engine)"
 arch=('x86_64')
 url="https://www.mesen.ca"
 license=('GPL3')
 depends=('dotnet-runtime-6.0' 'libevdev' 'sdl2')
-makedepends=('dotnet-sdk-6.0' 'git')
+makedepends=('dotnet-sdk-6.0' 'git' 'zip')
 provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
 options=(!strip)
/usr/bin/ld: /tmp/ccuyk3ld.ltrans7.ltrans.o: in function `os_tmpname':
<artificial>:(.text+0xa450): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
cp MesenCore.so bin/pgohelperlib.so
mv MesenCore.so InteropDLL/obj.linux-x64
mkdir -p bin/linux-x64/Release/Dependencies
rm -fr bin/linux-x64/Release/Dependencies/*
cp InteropDLL/obj.linux-x64/MesenCore.so bin/linux-x64/Release/MesenCore.so
#Called twice because the first call copies native libraries to the bin folder which need to be included in Dependencies.zip
cd UI && dotnet publish -c Release -p:OptimizeUi="true" -r linux-x64 --no-self-contained true -p:PublishSingleFile=true

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.114

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj (in 14.86 sec).
  cp: cannot stat 'libHarfBuzzSharp.so': No such file or directory
  cp: cannot stat 'libSkiaSharp.so': No such file or directory
  rm: cannot remove '../Dependencies.zip': No such file or directory
  /tmp/MSBuildTemphurricane/tmp89904cd1cf844d35819f382950602780.exec.cmd: line 11: zip: command not found
  cp: cannot stat '../Dependencies.zip': No such file or directory
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: The command "cd ../bin/linux-x64/Release/
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: rm -r Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: mkdir Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp -R /home/hurricane/mesen2-git/src/mesen2/UI//Dependencies/* Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp libHarfBuzzSharp.so Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp libSkiaSharp.so Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp MesenCore.so Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cd Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: rm ../Dependencies.zip
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: zip -r ../Dependencies.zip *
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp ../Dependencies.zip /home/hurricane/mesen2-git/src/mesen2/UI/" exited with code 1.