Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hydrian/pathos-flatpak
Flatpak packaging for Pathos: Nehack Codex
https://github.com/hydrian/pathos-flatpak
flatpak linux nethack pathos
Last synced: about 18 hours ago
JSON representation
Flatpak packaging for Pathos: Nehack Codex
- Host: GitHub
- URL: https://github.com/hydrian/pathos-flatpak
- Owner: hydrian
- Created: 2025-01-06T01:32:36.000Z (4 days ago)
- Default Branch: main
- Last Pushed: 2025-01-06T02:07:01.000Z (4 days ago)
- Last Synced: 2025-01-06T03:19:34.468Z (4 days ago)
- Topics: flatpak, linux, nethack, pathos
- Language: Shell
- Homepage: https://pathos.azurewebsites.net/
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pathos: Netack Codex Flatpak Installation for Linux
## Prerequestites
* 64-bit x86_64 CPU
* Flatpak enabled [Linux distribution](https://flatpak.org/setup/)
* flatpak-builder installed
* git installed
* About 1.5GB free space in your $HOME directory## Building
This is a temporary step. Once the development team gets Pathos on Flathub, this step will be unessessary. The following instructions builds and installs the flatpak image of Pathos.
```bash
flatpak install org.freedesktop.Sdk/x86_64/24.08 org.winehq.Wine/x86_64/stable-24.08 org.freedesktop.Platform.Compat.i386/x86_64/24.08
cd ~/git
git clone https://github.com/hydrian/pathos-flatpak.git
cd ~/git/pathos-flatpak
./flatpak-build.sh
```## Running the Application
The first time you run the the flatpak it will have to setup a wine environment. This may take a while depending on your hardware.
You should have a 'Pathos' entry in your applciation menu.
If you have issues, try running it from the command line. This may help diagnose some issues.
```bash
flatpak run net.azurewebsites.pathos
```## Caveats
### No Modding support
Do to the lack of Microsoft Visual Studio or Build Tools on Wine or native Linux, this cannot be supported.
### Full-Screen is Wrong Sized
Do to Wine a issue, full-screen mode won't be supported as a default. Maxized window is recommended. If you want full-screen mode, take a look at [Work Arounds](#work-arounds)
### No i386 Support
The flatpak package only supports x86_64 even though the native Windows installer supports both i386 and x86_64. If there is enough demand, I may create an i386 build if there is enough demnd. Also, PR's are accepted for this feature.
## Work Arounds
* Full-screen mode can be supported with custom configuration. See [#3](https://github.com/hydrian/pathos-flatpak/issues/3#issuecomment-2578002145)
## Troubleshooting
### Failed to Build image
You get this error:
```text
Exporting net.azurewebsites.pathos to repo
FB: Running: flatpak build-export --arch=x86_64 '--exclude=/lib/debug/*' --include=/lib/debug/app '--exclude=/share/runtime/locale/*/*' '/home/[email protected]/git/pathos-flatpak/.flatpak/repo' .flatpak/build main
error: opening repo: opendir(objects): No such file or directory
Export failed: Child process exited with code 1
FB: Unmounting read-only fs: fusermount -uz /home/[email protected]/git/pathos-flatpak/.flatpak/state/rofiles/rofiles-ImiZGI
Failed to build image
```You have a messed up repo directory. Delete the build directory and rerun the `flatpak-build.sh` script.
```bash
rm -Rf ~/git/pathos-flatpak/.flatpak/repo