This document describes the syntax for "standard" 3simai, based on how 3simai interpreted and played the chart file.
This is not intended to be an absolute guide, and you should adapt to whatever oddities your chart viewers/editors have.
This document describes the syntax for "standard" 3simai, based on how 3simai interpreted and played the chart file.
This is not intended to be an absolute guide, and you should adapt to whatever oddities your chart viewers/editors have.
# bot.py | |
from .context import CustomContext | |
class Bot(commands.Bot): | |
"""A subclass of commands.Bot, useful for creating custom context.""" | |
async def get_context(self, message, *, cls = CustomContext): | |
return await super().get_context(message, cls = cls) | |
# context.py | |
class CustomContext(commands.Context): |
@ECHO OFF | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
SETLOCAL ENABLEEXTENSIONS | |
::Generate and implement a random MAC address | |
FOR /F "tokens=1" %%a IN ('wmic nic where physicaladapter^=true get deviceid ^| findstr [0-9]') DO ( | |
CALL :MAC | |
FOR %%b IN (0 00 000) DO ( | |
REG QUERY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\%%b%%a >NUL 2>NUL && REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\%%b%%a /v NetworkAddress /t REG_SZ /d !MAC! /f >NUL 2>NUL | |
) |
this has been rewritten yet again as most workarounds aren't required anymore since wine 3+
example video of the final result: https://www.youtube.com/watch?v=zkqzQoeOGfU
with touchscreen: https://www.youtube.com/watch?v=GcIrlorWmaQ
performance is indistinguishable from windows. there might be a very slight ~25ms sound latency which is easily compensated with +25 local offset
tested on