The Unlicense

项目介绍

Nat-Lab/chunithm-touch 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 The Unlicense 许可证,目前获得 44 个 Star、2 次 Fork。

仓库全名
Nat-Lab/chunithm-touch
开源许可证
The Unlicense
Star 数
44
Fork 数
2
未关闭 Issue
6

README 摘要

chuni-touch chuni-touch adds touchscreen support and Leap Motion for Chunithm. For touch, It works by hooking CreateWindowExA() and CreateWindowExW() and do RegisterTouchWindow() on every window created by Chunithm (with ctw.dll). It then takes over Chunithm's WindowProc and handles the touch input there (with chuniio.dll). Installation chuni-touch requires segatools to work. If you are using some other tools to…

完整内容见 GitHub 原始 README 或本页 。

常见问题

chunithm-touch 用什么语言开发?

主要使用 C 编写,采用 The Unlicense 许可证,目前有 44 个 Star。

chunithm-touch 可以免费商用吗?

仓库采用 The Unlicense 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 chunithm-touch 的源码?

可以直接克隆仓库:git clone https://github.com/Nat-Lab/chunithm-touch.git,默认分支为 master;安装与运行步骤见仓库 README。

chunithm-touch 最近还在维护吗?

仓库最近一次更新为 2020年4月12日,当前有 6 个未关闭 Issue;Star 数为 44,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Touchscreen and Leap Motion support for Chunithm.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
51
价值分
27
活跃状态
活跃

语言占比

C
Meson

Release

贡献者

README

chuni-touch

chuni-touch adds touchscreen support and Leap Motion for Chunithm. For touch, It works by hooking CreateWindowExA() and CreateWindowExW() and do RegisterTouchWindow() on every window created by Chunithm (with ctw.dll). It then takes over Chunithm’s WindowProc and handles the touch input there (with chuniio.dll).

Installation

chuni-touch requires segatools to work. If you are using some other tools to launch Chunithm, you are on your own.

If you are using segatools:

  1. Download chuni-touch.zip from the release page.
  2. Unzip chuni-touch.zip, copy everything in it to the bin folder of your game. Override any file that already exists. You may want to make a backup of your bin folder.
  3. (Optional) If you plan to use a Leap Motion for AIR and AIR-actions, run leapconfig.exe to configure your Leap Motion controller. You may configure the controller manually in chunitouch.ini too.

Usage

Just tap/slide on the screen. Slide up to simulate the IR sensor if you are using touch-bashed IR simulation. Raise your hand as if you were playing on the real arcade to simulate the IR sensor if you are using a Leap controller. A video demo of how touch controls work is available here. Use F1, F2, and F3 for test, service, and to insert coin.

Configuration

Settings will be read from chunitouch.ini. Here’s a list of configurable options:

[options]
; use a separate window for touch input. slider.offset will be ignore if 
; enabled.
separate_control = 0

[ir]
; source of control. 'touch' for touchscreen and 'leap' for leap motion.
control_source = touch
; height of each touch IR sensor (unit: pixel)
touch_height = 50
; touch IR trigger threshold (number of pixels required to move up for a move to
; be registered as air)
touch_trigger = 70
; specifies the axis to track hands on. x, y, z, -x, -y, or -z.
leap_orientation = y
; the minimum height of your hand(s) need to be for it to be registered as air
; (unit: millimeters)
leap_trigger = 100
; the height of each virtual IR sensor (unit: millimeters)
leap_step = 30

[slider]
; slider's width (unit: pixel)
width = 40
; slider's x-offset (pixels from the left of the screen)
offset = 318

[io]
; use raw input
raw_input = 0
; show Windows touch feedback
touch_feedback = 0

[misc]
; keep slider(s) holded while on air-action
ir_keep_slider = 0

Building

To build chuni-touch, you will need to get the Leap Motion standard Orion SDK package from Leap Motion developer site. Unzip the SDK package and copy the LeapSDK folder to 3rdparty/.

You may build chuni-touch on with any operating system that can run MinGW-w64. On Windows:

> meson build
> ninja -C build

On Unix-like:

$ meson --cross cross-build-32.txt build32
$ ninja -C build32
$ meson --cross cross-build-64.txt build64
$ ninja -C build64

Or, if you are using Windows and have Visual Studio installed, you may build it with Visual Studio:

> meson --backend vs build
> msbuild build\chunithm-touch.sln

License

UNLICENSE

评论

暂无评论