Giter Club home page Giter Club logo

alive-serv's Introduction

alive-serv

This is a heavily WIP game server implementation for SIF2 MIRACLE LIVE!, whose last remaining server will close down on May 31st, 2024. It is written in C, and is the product of reverse engineering the server protocol of the global version.

Status

Four endpoints are currently implemented and functional:

  • /maintenance/maintenance.json: static file that returns the maintenance status of the server
  • /api/start/assetHash: returns the current asset version hash to the client
  • /api/dummy/login: returns the user_id resolved from client-provided info and initiates the login process
  • /api/start: returns the token resolved from the user_id along with the previously provided asset version hash

These four endpoints currently enable the client to get to the title screen and a bit further into the login sequence.

Although it is currently untested, this server should work with the Japanese client as well.

Building

In-depth building instructions are to come later. However, it should be fairly straightforward if you know how to use CMake. This server makes use of the following libraries:

Usage

Once built, the server can be properly invoked by providing the following command line arguments in order:

<server_port> <db_host> <db_port> <db_username> <db_password> <db_name>

Currently, the server will automatically set up the necessary tables in your specified MariaDB database if they don't already exist. As the database specification is rapdily changing, you will likely need to drop all tables regularly to continue using the server properly.

The server can be connected to using a custom proxy on an unmodified game client. Alternatively, you can apply patches to the client itself; however, this is something I have yet to explore.

License

This code is licensed under the MIT license. Please see LICENSE for more information.

Disclaimer

I'm building this server for free out of a strong passion for video game preservation. At times, progress may be slow and inconsistent. If you would just like to play a local version of SIF, it is recommended that you set up a SIF1 server instead, as open source server implementations are much more complete for that game.

alive-serv's People

Contributors

ramen2x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.