sm64plus icon indicating copy to clipboard operation
sm64plus copied to clipboard

cp: cannot stat '/usr/local/sbin/SDL2.dll': No such file or directory

Open neomoth opened this issue 1 year ago • 0 comments

Operating System

Arch Linux 6.4.8-arch1-1 x86_64

Issue Description

While attempting to compile the game from source, an error occurs when attempting to copy a SDL2 shared library that not only doesn't exist, but the directory it is attempting to access (/usr/local/sbin/*) is completely empty. The package for SDL2 present on my system is sdl2 from official Arch Linux repositories. The SDL2 shared object is located at: /usr/lib/libSDL2-2.0.so Not only is there no DLL present on the system for SDL2 due to the fact that the file type is incompatible with Linux and is only used while emulating Windows with Wine, but it is in an entirely different location than the location that is being searched.

The game will successfully launch, however several textures display a missing texture, not to an unplayable degree but definitely to the point where it's extremely irritating. No idea if that behavior is related to this issue, or if it is related to a different one, but it's something to note. Almost every UI texture that is actually present also have an issue where they seem to wrap at the bottom, seen here: image

Reproduction Steps

  • Get a bare bones Arch Linux virtual machine up and running with a desktop manager for testing
  • Download the Linux version of the launcher for sm64plus
  • cd into the directory containing the launcher, then cd into the bin directory
  • git clone https://github.com/MorsGames/sm64plus.git && cd sm64plus
  • Import clean SM64 z64 rom as baserom.us.z64
  • make -j$(nproc) image

neomoth avatar Aug 12 '23 19:08 neomoth