Code Monkey home page Code Monkey logo

onscripter-jh-3's Introduction

ONScripter-Jh

This is a fork of ONScripter-Jh aimed at fixing bugs on modern platforms and adding more functionalities.
This repo is forked from public archived https://github.com/fybmain/ONScripter-Jh.git by fybmain due to in inaccessibility of original repo on bitbucket.org.

LISCENCE:GPLv2

Onscripter是一个用来解析NScripter脚本的第三方开源Galgame游戏引擎,主要由Ogapee([email protected])开发维护。

ONScripter-Jh修改自ONScripter,旨在在兼容原版Onscripter的前提下,添加中文支持,提高性能,增加功能,发起人为h j(https://bitbucket.org/jh10001/)。

  • Added a SW/HW renderer switch. ONScripter-Jh will use the software renderer of SDL2 by default due to terrible flickering under any hardware renderer including OpenGL, Vulkan and Metal on macOS.
  • No more bug fixes.

Dependency

Compiler:

clang # on macOS and Linux
cl # on windows

Make:

GNU make # on macOS and Linux
nmake # on windows

Library:

SDL2
lua
sdl2-image
sdl2-ttf
sdl2-mixer
bz2
fontconfig
smpeg2
libjpeg
libogg
libvorbis-dev

Compile

  • macOS:
# install dependencies with homebrew and it will solve most of the problems
make -f Makefile.MacOSX
./onscripter -h
  • GNU/Linux:
# install dependencies with your package manager and solve some problems involving path definitions manually 
#
# For Debian/Ubuntu users:
# lib*-dev libraries are essential when compiling on Debian/Ubuntu, which may contain different filenames other than their counterparts defined in header files of the project 
# manual modification is required under such circumstance
make -f Makefile.Linux
./onscripter -h
  • Windows:
# setup vcpkg then download and build all the dependencies with nesscessary flags
# modify Makefile.Win according to your environment
nmake -f Makefile.Win
# manually link the .obj files due to changes of M$ linker's parameter
# gather all Dynamic Link Libraries required so that onscripter can find them
./onscripter -h

Test

  • macOS
    OS Version: macOS 12.0.1 Darwin21.1.0
    Toolchain: Apple clang version 13.0.0 (clang-1300.0.29.3)
    Target: x86_64-apple-darwin21.1.0
    Thread model: posix
    SDK: MacOSX12.0.sdk
    Status: Pass

  • Linux
    OS Version: Ubuntu 20.04.3 LTS GNU/Linux 5.10.60.1-microsoft-standard-WSL2
    Toolchain: clang version 10.0.0-4ubuntu1
    Target: x86_64-pc-linux-gnu
    Thread model: posix
    Status: Pass

  • Linux
    OS Version: Debian 4.19.208-1 aarch64 GNU/Linux
    Toolchain: clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final)
    Target: aarch64-unknown-linux-gnu
    Thread model: posix
    Status: Pass

  • Windows
    OS Version: Windows 11 21H2 version 22000.318
    Toolchain: MSVC v143 - VS2022
    Target: x86 win32 & x64 win32
    SDK: Windows 10 SDK 10.0.19041.0
    Status: Pass

TODO

  • Test on Arm based Macs.

onscripter-jh-3's People

Contributors

chf2000 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.