中文 | English
Until now(2024.03), if you want to use the recording feature in game, a bunch of requirements are needed:
- Nvidia GPU, support NVENC
- LDJ-010 bm2dx.dll
- Proper ASIO Hardware/Software configuration(I use XONAR AE, but have seen FlexASIO config that claims to work fine)
- A screen with touch support, support 1280*720@60Hz, function the same as the one on cab. Whether the screen match requirements: https://github.com/spice2x/spice2x.github.io/wiki/Configuring-touch-screens-as-subscreen
- A proper implemented xrpc server(asphyxia for example)
lightning model video upload handler
use 010-record-api.exe
download executable at release
if you have go installed, you could install via command line
go install github.com/bookqaq/010-record-api@latest
or compile yourself
-
open 010-record-api.exe once, a config file (config.toml) will be generated
-
edit config.toml, set listen_address and upload_service_address if necessary. If you want to run it locally, then you can skip this step.
-
open 010-record-api.exe again, service should start now
No specfic order is required to finish these configurations.
this is just a hint
-
Download spice2x-24-02-13 or newer than this, extract to your folder
-
open spicecfg.exe, change toggle Disable D3D9 Device Hook (in Graphics (common), under options tab) to true
Assume game, asphyxia and 010-record-api.exe are running on the same pc, and config file of 010-record-api.exe is not changed
open asphyxia, go to "IIDX" under Plugins. If "Movie Upload URL" appears in Plugin Settings, then your plugin support the feature.
open your iidx@asphyxia folder, change below
find a zip named iidx-asphyxia-v1.4.4_a4.zip, remember to do a backup.
Ask your server's owner.
only LDJ-010 dll that can be found on public
Open http://localhost:4399/patcher/ in your browser, apply changes to your LDJ-010 version of bm2dx.dll
Skip this step if your server region is already Japan
Check "動画" button on subscreen. If it appears, configuration is completed.
Just submit your PRs, I'll check and reply.
Replace gin (would bump go to 1.22)Basic http response process(we lost these abilities after we dont use gin)Better video filename(sort of)Better in-memory movie upload instance manageFix report as VIRUS on my pc(maybe fixed)Speed up the client upload speed by:patch dllimplement direct file copy from RawPlayVideo(wouldn't implement)
- "password" function in session
- patch NVENC encoder config (such as bitrate)
- finish the proxy package?
- Fix a bug where game would lag for seconds after video upload is done (can't reproduce)