Package Details: mesen2-git r2446.94a9956c-3

Git Clone URL: (read-only, click to copy)
Package Base: mesen2-git
Description: Multi-system emulator (NES, SNES, Game Boy and PC Engine)
Upstream URL:
Licenses: GPL3
Conflicts: mesen2
Provides: mesen2
Submitter: ISSOtm
Maintainer: ISSOtm
Last Packager: ISSOtm
Votes: 4
Popularity: 0.000480
First Submitted: 2023-01-28 18:30 (UTC)
Last Updated: 2024-04-03 16:26 (UTC)

Required by (0)

Sources (1)

Pinned Comments

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

This PKGBUILD is hosted at for development; contributions are appreciated!

Latest Comments

1 2 Next › Last »

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 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
@@ -8,14 +8,14 @@

 # Maintainer: Eldred Habert <>
 pkgdesc="Multi-system emulator (NES, SNES, Game Boy and PC Engine)"
 depends=('dotnet-runtime-6.0' 'libevdev' 'sdl2')
-makedepends=('dotnet-sdk-6.0' 'git')
+makedepends=('dotnet-sdk-6.0' 'git' 'zip')
/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 bin/
mv InteropDLL/obj.linux-x64
mkdir -p bin/linux-x64/Release/Dependencies
rm -fr bin/linux-x64/Release/Dependencies/*
cp InteropDLL/obj.linux-x64/ bin/linux-x64/Release/
#Called twice because the first call copies native libraries to the bin folder which need to be included in
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:
Write your first app:
Find out what's new:
Explore documentation:
Report issues and find source on GitHub:
Use 'dotnet --help' to see available commands or visit:
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 '': No such file or directory
  cp: cannot stat '': No such file or directory
  rm: cannot remove '../': No such file or directory
  /tmp/MSBuildTemphurricane/tmp89904cd1cf844d35819f382950602780.exec.cmd: line 11: zip: command not found
  cp: cannot stat '../': 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 Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp Dependencies
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp 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 ../
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: zip -r ../ *
/home/hurricane/mesen2-git/src/mesen2/UI/UI.csproj(562,5): error MSB3073: cp ../ /home/hurricane/mesen2-git/src/mesen2/UI/" exited with code 1.

red_M95 commented on 2023-03-03 00:38 (UTC)

when i assign a keybind, it randomly just hangs forever and i have to kill it. i've tried many alternatives, but still, it just hangs regardless of what key i've assigned and even regardless of where i assigned it. i was assuming there was a keybind duplication that caused that, but it's not. in fact, it's not the whole application that hangs. it's actually only the input part that gets fully locked up. mouse, keyboard, nothing works at all, but the game/bgm still runs in the background normally. and i can't close it with the traditional title bar button, nor with alt+f4. i wonder what's going on.