https://github.com/yiyunliu/onscripter-jh
.nix for onscripter-jh
https://github.com/yiyunliu/onscripter-jh
Last synced: about 2 months ago
JSON representation
.nix for onscripter-jh
- Host: GitHub
- URL: https://github.com/yiyunliu/onscripter-jh
- Owner: yiyunliu
- License: gpl-3.0
- Created: 2018-06-21T22:17:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T22:40:53.000Z (almost 7 years ago)
- Last Synced: 2025-02-15T22:28:39.697Z (3 months ago)
- Language: Nix
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
.nix file for onscripter-jh. Only tested on arch linux. This seems to be the only one that renders Chinese font correctly (or at least out of box).
# Quick start
```
# clone this repository
git clone https://github.com/yiyunliu/onscripter-jh# build the package
nix-build -E 'with import {}; callPackage ./. {}'# adding onscripter-jh to your path
nix-env -i ./result
```
You need to specify your lib directory for the program to run correctly. Normally you don't have to do this, but onscripter-jh has libGL.so as its runtime dependency like many other games. The following command works perfectly on my machine:
```
# run onscripter-jh
cd YOUR-GAME-DIRECTORY
LD_LIBRARY_PATH=/usr/lib onscripter-jh
```
# Any help would be appreciated!
Try compiling this on Mac OS, and let me know if it works or not.