Skip to content

weimingtom/onscripter-plus_fork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onscripter-plus_fork

[WIP] My Onscripter Plus PC port, running in Xubuntu 20.04 without Android

References

TODO

  • Remove debug printf output
  • Remove gcc -funsigned-char, make ScriptDecoder.cpp more portable, see ChineseDecoder::isChinese
  • How to change font size like Onscripter Plus Android version

Preparation for building in Xubuntu 20.04

  • sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev liblua5.1-0-dev libbz2-dev libfontconfig1-dev libavifile-0.7-dev libsmpeg-dev

Weibo record

我把onscripter-plus的源代码单独抽出来魔改,
编译成命令行模式运行gbk中文用例成功,
有时间放到gh上。onscripter-plus的亮点是
可以自动检测字符集(例如gbk和sjis都可以正确显示字体),
并且可以动态修改字体大小(在下一次显示字符时变大),
暂时不管字体大小问题,我只是把自动检测字符
这个功能用xubuntu 20跑通了。
不过检测代码有个小bug,onscripter-plus的
源代码没有明确使用unsigned char,
所以会导致编译成功但运行会出问题(如果是用arm gcc编译
则没有这个问题),所以我加上一个编译开关-funsigned-char
来暂时规避这个bug。总体来说onscripter-plus还是很好用的

About

[WIP] My Onscripter Plus PC port, running in Xubuntu 20.04 without Android

Resources

License

GPL-2.0, GPL-2.0 licenses found

Licenses found

GPL-2.0
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published