https://github.com/jeffshee/shanghai-flatpak
https://github.com/jeffshee/shanghai-flatpak
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeffshee/shanghai-flatpak
- Owner: jeffshee
- Created: 2024-05-11T14:01:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T12:38:17.000Z (about 2 years ago)
- Last Synced: 2026-05-30T04:00:06.719Z (14 days ago)
- Language: Shell
- Size: 226 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shanghai.EXE Flatpak
## Build
1. Build dependencies
```bash
# Install flatpak and flatpak-builder, follow the guide for your distro
# Ref: https://flatpak.org/setup/
# Alternately, you can also install flatpak-builder as a flatpak (recommended for Steam Deck)
flatpak install flathub org.flatpak.Builder
# Install platform runtime and SDK
flatpak install flathub org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08
```
2. Clone this repo
```bash
git clone https://github.com/jeffshee/shanghai-flatpak.git
cd shanghai-flatpak
```
3. Build only (You may skip this step)
```bash
flatpak-builder build-dir io.gitgud.shnecro.ShanghaiEXE.yml
# Alternately, use this instead if you have installed flatpak-builder as a flatpak
flatpak run org.flatpak.Builder build-dir io.gitgud.shnecro.ShanghaiEXE.yml
```
4. Build and install
```bash
flatpak-builder --user --install --force-clean build-dir io.gitgud.shnecro.ShanghaiEXE.yml
# Alternately, use this instead if you have installed flatpak-builder as a flatpak
flatpak run org.flatpak.Builder --user --install --force-clean build-dir io.gitgud.shnecro.ShanghaiEXE.yml
```
5. _Jack in! Shanghai.EXE! Execute!_ π
```bash
# To launch the game
flatpak run io.gitgud.shnecro.ShanghaiEXE
# To launch the key config dialog
flatpak run --command="KeyConfig" io.gitgud.shnecro.ShanghaiEXE
```
## Q&A
- Q: Where is my savefile?
- A: Here, `~/.var/app/io.gitgud.shnecro.ShanghaiEXE/data/shanghai-exe/save.she`. Please backup your savefile regularly~
## Credits
- Continued development
- https://gitgud.io/SHNecro/shanghaiexe
- Hi-Res app icon used in Flatpak
- Modified from [kuroγγ's illustration](https://seiga.nicovideo.jp/seiga/im6716478)