Advertisement
Guest User

Unofficial SRB2P 1.3.5 Linux AppImage

a guest
May 30th, 2022
2,498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. File : srb2p-x86_64.AppImage
  2. Version : SRB2Persona 1.3.5
  3. Based on commit : 2a4cd6dc0e0022e6e0cbc91e1047f874b7e8e6d7 (https://git.do.srb2.org/SinnamonLat/SRB2/-/commit/2a4cd6dc0e0022e6e0cbc91e1047f874b7e8e6d7)
  4. - Slight modification done to i_system.c
  5. - Line 148 to 154 : Added ./. before the DEFAULTWADLOCATION and DEFAULTSEARCHPATH strings
  6. Built on : May 30th, 11:40 using linuxdeploy-x86_64.AppImage and appimagetool-x86_64.AppImage
  7.  
  8. To run : Add execute permissions to the file using either your file manager or the command `chmod +x srb2p-x86_64.AppImage`
  9.  
  10. Dependencies :
  11. - GNU/Linux. A non GNU version isn't supported, yet (https://github.com/AppImage/AppImageKit/issues/877)
  12. - Being able to run AppImages. More info : https://docs.appimage.org/user-guide/run-appimages.html
  13. ** Important : Ubuntu 22.04 ships with FUSE3... and made it conflict with FUSE2. You could install FUSE2, but that would remove FUSE3, even though they be installed together on other distributions. Anyways, AppImage only supports FUSE2. To run srb2p without installing fuse 2, run these commands after adding execute permissions to the appimage **
  14. $ ./srb2p-x86_64.AppImage --appimage-extract
  15. $ cd squashfs-root
  16. $ ./AppRun
  17. You will then use AppRun to open srb2p, instead of using the appimage file
  18.  
  19. *** READ THIS PART IF YOU ARE ON CHROMEBOOK ***
  20. There is a good chance that you will need to install the dependencies instead of being able to use the ones bundled in the AppImage. I don't know why, but that is what happened to the last 2 people on chromebooks that tried to run the older AppImage.
  21.  
  22. The commands assume that you in the same directory as the AppImage
  23.  
  24. 0. > Try running the appimage without doing anything (apart from adding the execute permission). If it works, skip the rest of this section
  25.  
  26. Run these commands on the terminal
  27. 1. > sudo apt update && sudo apt upgrade
  28. This will update the packages that are already installed. THIS WILL RUN AS ROOT
  29. 2. > sudo apt install libsdl2-2.0-0 && sudo apt install libsdl2-mixer-2.0-0 && sudo apt install libgme0 && sudo apt install libopenmpt0
  30. This will install the libraries needed by srb2p that are not preinstalled by default. THIS IS ALSO RUN AS ROOT
  31. ---
  32. 3. > Try running the appimage. If it works, skip the rest of this section
  33.  
  34. Run these commands on the terminal
  35. 4. > ./srb2p-x86_64.AppImage --appimage-extract
  36. 5. > cd squashfs-root
  37. 6. > ./AppRun
  38.  
  39. If none of the above commands worked (and assuming you are still in the same directory as 6.)
  40. 7. > cp usr/{sr,SR}* ~/
  41. 8. > ./AppRun
  42.  
  43. If it still doesn't work, ping @Nathan_Nino#3473 on the #tech-support discord channel
  44. *****************************************
  45.  
  46. Working Directory (Logs, config files and addons):
  47. When running, srb2p will put files inside `~/.srb2`. This is also the directory that the addons menu will open up on
  48.  
  49. Troubleshooting :
  50. - If the game doesn't open, try running it in the terminal. It still won't work, but it will give slightly more informations on how to fix the issue
  51. - Ping @Nathan_Nino#3473 on the #tech-support discord channel. As long as the issue is with the AppImage (and not the code of the game itself), I should be able to help.
  52. - If the game gives an error everytime it tries to play a sound, you might either
  53. - Have set the in-game volume to zero
  54. - Have not added in this session the sound mod that the sound came from.
  55. - Do not have any audio devices
  56. - You can fix this one by either adding an audio device or installing anything that can do a dummy sound card
  57.  
  58. ==================
  59. ps : I am semi following what happens with AppImages, so once I get the news that it now works with fuse3, I will remake this build. Just... since they are also trying to make the file completely static, so that something built on a GNU/Linux distro might work on a non GNU/Linux linux distro, so it might still take a bit longer
  60. Nathan_Nino
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement