mirror of
https://github.com/cloudmaker97/TikTok-mGBA-Emulator.git
synced 2025-12-05 23:48:38 +00:00
An implementation for controlling a GameBoy Emulator with the TikTok Chat.
| http | ||
| node | ||
| roms | ||
| storage | ||
| stream/graphics | ||
| .gitignore | ||
| LICENSE.md | ||
| README.md | ||
| start.bat | ||
TikTok mGBA Emulator
This project is an implementation for controlling a GameBoy Emulator with the TikTok Chat. Users can control the game by sending commands to the chat. The commands are parsed and sent to the mGBA Emulator via HTTP-API.
Requirements
- .NET Runtime
- .NET ASP Core Framework
- NodeJS with
npmorpnpm - Runnable on Windows, Linux and macOS
Instructions
For running the project, you need to start the following both services:
- NodeJS Server
- mGBA with HTTP-API
NodeJS Server
- Install NodeJS
- Install the dependencies with
npm installorpnpm install - Run the server with
npm startorpnpm start
mGBA with HTTP-API
- Download mGBA
- Download mGBA-http (exe & lua)
- Run mGBA-HTTP Server from
http/server/mGBA-http-server.exe - Run mGBA and press "Scripting..."
- Load the LUA file from
http/script/mGBA-socket-server.lua - Load a rom into mGBA and start the game
Documentation
When mGBA-http is running, it provides an user interface for Swagger. Though it provides a JSON for implementing the API by using a code generator.