1
1
# Onscripter-Yuri
2
2
3
- ![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/YuriSizuku/OnscripterYuri?color=green&label=onsyuri&logo=4chan&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_web.yml?label=web&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_win.yml?label=win(x86|x64)&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_linux.yml?label=linux(x86|x64|arm|arm64)&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_android.yml?label=android(arm|arm64)&style=flat-square )
3
+ ![ GitHub release] ( https://img.shields.io/github/v/release/YuriSizuku/OnscripterYuri?color=green&label=onsyuri&logo=4chan&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_web.yml?label=web(wasm)&logo=firefox&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_android.yml?label=android(arm|arm64)&&logo=android&style=flat-square )
4
+ ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_win.yml?label=win_mingw(x86|x64)&logo=mingww64&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_win_msvc.yml?label=win_msvc(x86|x64|arm64)&logo=codeblocks&style=flat-square )
5
+ ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_linux.yml?label=linux(x86|x64|arm|arm64)&logo=linux&style=flat-square ) ![ GitHub Workflow Status] ( https://img.shields.io/github/actions/workflow/status/YuriSizuku/OnscripterYuri/build_darwin.yml?label=mac(x64|arm64)&logo=apple&style=flat-square )
4
6
5
7
☘️ An enhancement ONScripter project porting to many platforms, especially ** web** !
6
- We also support for ` windows ` , ` linux ` , ` android ` and ` psv ` . This project is base on [ ONScripter-Jh] ( https://github.com/jh10001/ONScripter-Jh ) by ` SDL2 ` .
8
+ We also support for ` windows ` , ` linux ` , ` mac ` , ` android ` , ` retroarch ` and ` psv ` . This project is base on [ ONScripter-Jh] ( https://github.com/jh10001/ONScripter-Jh ) by ` SDL2 ` .
7
9
8
10
Online Demo: [ lifegame] ( https://onsgame.netlify.app/lifegame/ ) , [ luasnow] ( https://onsgame.netlify.app/luasnow/ ) , [ noesis1 (lazyload)] ( https://onsgame.netlify.app/noesis1/ )
9
11
PSV: [ psv-OnscripterJH] ( https://github.com/YuriSizuku/psv-OnscripterJH/releases )
@@ -14,49 +16,53 @@ Multi Platform: [github action release](https://github.com/YuriSizuku/Onscripter
14
16
15
17
New features :
16
18
17
- - develop
18
- - [x] clear camke project structure
19
- - [x] well documention for develop and usage
20
- - [x] scripts to compile or cross compile without pain
21
- - [x] vscode and android studio project for multi enviroment
22
- - [x] ci in github action to automaticly build
23
- - [x] use docker to build for all platform
19
+ - script
20
+ - [x] lua script and animation
21
+ - [x] support English half-width text, see [ Word wrapping] ( https://github.com/YuriSizuku/OnscripterYuri/issues/2 )
22
+ - [x] ` nt2 ` , ` nt3 ` script encryption (Mine exclusive format)
23
+ - [x] long click or touch to invoke menu
24
+
25
+ - render
26
+ - [x] fullscreen by ` --fullscreen ` or ` alt+enter ` , scretch to fullscreen by ` --fullscreen2 ` or ` f10 `
27
+ - [x] arbitary resolution ` --width ` , ` --height `
28
+ - [x] gles2 sharpness rendering by ` --sharpness 1.0 ` parameter, fix bug on windows
29
+
24
30
- platform
25
31
- [x] windows
26
32
- [x] x86, x64 (local or cross compile by mingw, static link)
27
33
- [x] amd64, arm64 (local msvc, vcpkg, contributed by [ ryank231231] ( https://github.com/YuriSizuku/OnscripterYuri/pull/3 ) )
28
- - [x] lua script and animation
29
34
- [x] video by system player
30
35
- [x] linux
31
36
- [x] x86, x64 (local compile, static or dynamic link)
32
37
- [x] arm, aarch64 (cross compile, SDL2 build from raspberrypi, static link)
33
- - [x] lua scirpt and animation
38
+ - [x] retroarch (contributed by [ iyzsong] ( https://github.com/iyzsong ) )
39
+ - [x] mac
40
+ - [x] x64, arm64 (local compile, contributed by [ yujincheng08] ( https://github.com/yujincheng08 ) )
34
41
- [x] web (by emscripten)
35
42
- [x] fs to save in indexdb
36
43
- [x] lazy load by ~~ BrowserFS or worker~~ async fetch to avoid block the audio
37
- - [x] lua script and animation
38
44
- [x] mobile web with touch, with webui menu
39
45
- [x] android
40
46
- [x] SDK level above 21 (android 5.1, Lolipop)
41
47
- [x] extern SD card by [ SAF] ( https://github.com/YuriSizuku/android-SafFile ) , and scoped storage
42
48
- [x] non-english charactor in path
43
- - [x] lua script and animation
44
49
- [x] video by system player
45
50
- [x] psv, see [ psv-Onscripter] ( https://github.com/YuriSizuku/psv-OnscripterJH )
46
- - render
47
- - [x] fullscreen by ` --fullscreen ` or ` alt+enter ` , scretch to fullscreen by ` --fullscreen2 ` or ` f10 `
48
- - [x] arbitary resolution ` --width ` , ` --height `
49
- - [x] gles2 sharpness rendering by ` --sharpness 1.0 ` parameter, fix bug on windows
50
- - other
51
- - [x] support English half-width text, see [ Word wrapping] ( https://github.com/YuriSizuku/OnscripterYuri/issues/2 )
52
- - [x] ` nt2 ` , ` nt3 ` script encryption (Mine exclusive format)
53
- - [x] long click or touch to invoke menu
54
- - onsjh bug fix
51
+
52
+ - bugfix
55
53
- [x] fix some bugs in origin version (can not read ` 00.txt ` problem)
56
54
- [x] fix lua animation problem
57
55
- [x] fix android onresume gles null pointer
58
56
- [x] fix android file stat problem (save not found)
59
57
58
+ - develop
59
+ - [x] clear camke project structure
60
+ - [x] well documention for develop and usage
61
+ - [x] scripts to compile or cross compile without pain
62
+ - [x] vscode and android studio project for multi enviroment
63
+ - [x] ci in github action to automaticly build
64
+ - [x] use docker to build for all platform
65
+
60
66
## 1. Usage
61
67
62
68
### (1) general command
@@ -65,7 +71,7 @@ New features :
65
71
./onsyuri --help
66
72
./onsyuri --root /path/to/game --save-dir /path/to/save --font /path/default.ttf --enc:sjis
67
73
./onsyuri --width 1280 --height 720 --sharpness=3.1
68
- ./onsyuri --fullscreen2 # fullscreen1 alt+f4 , fullscreen2 f11
74
+ ./onsyuri --fullscreen2 # fullscreen1 alt+f , fullscreen2 f10 (toggle stretch)
69
75
70
76
Usage: onsyuri [option ...]
71
77
-h, --help show this help and exit
@@ -82,8 +88,8 @@ Usage: onsyuri [option ...]
82
88
--window start in windowed mode
83
89
--width 1280 force window width
84
90
--height 720 force window height
85
- --fullscreen start in fullscreen mode (alt+f4 or f11 )
86
- --fullscreen2 start in fullscreen mode with stretch (f10)
91
+ --fullscreen start in fullscreen mode (alt+f or alt+enter )
92
+ --fullscreen2 start in fullscreen mode with stretch (f10 to toggle stretch )
87
93
--sharpness 3.1 use gles to make image sharp
88
94
--no-video do not decode video
89
95
--no-vsync turn off vsync
@@ -113,12 +119,12 @@ You can either download the prebuild static elf from the [release](https://githu
113
119
114
120
- Arch User Repository
115
121
116
- https://aur.archlinux.org/packages/onscripter-yuri
117
-
118
- ` ` `
119
- # for Arch based distributions, install directly from AUR.
120
- yay -S onscripter-yuri
121
- ` ` `
122
+ [aur onscripter-yuri]( https://aur.archlinux.org/packages/onscripter-yuri)
123
+
124
+ ` ` ` sh
125
+ # for Arch based distributions, install directly from AUR.
126
+ yay -S onscripter-yuri
127
+ ` ` `
122
128
123
129
# ## (3) web
124
130
0 commit comments