Coder Social home page Coder Social logo

redstrate / kawari Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 72 KB

Substitute for some official FFXIV servers

Home Page: https://xiv.zone/kawari

License: GNU Affero General Public License v3.0

Rust 92.31% Shell 1.05% HTML 6.64%
ffxiv final-fantasy-14 final-fantasy-xiv

kawari's Introduction

Kawari

A substitute for a few official servers such as “ffxiv.com” and “square-enix.com”. It’s still early in development, but it can already emulate the basic login flow.

Notice: This does not allow you to download copyrighted game files, or circumvent the copyright protections enacted by Square Enix.

Components

  • Web
    • A simple website used for account management and other misc features.
  • Admin
    • The admin panel for configuring the multitude of servers.
  • Frontier
    • Handles gate status requests.
  • Login
    • Handles logging in and giving a SID.
  • Patch
    • Handles checking if the client needs any patching.

Running

Install Rust and then use the run.sh helper script in the repository. You can of course run each server individually.

Testing via launcher

Testing on a real launcher is not yet supported, the easiest way is through Astra which allows you to plug in your own domains. Because of how the domains are set up, you can't simply plug them in though.

You will need some kind of reverse proxy because simply editing the hosts file will not work. Each server is behind a subdomain (like frontier.square-enix.com) and some services span multiple subdomains (such as patch-bootver.square-enix.com and patch-gamever.square-enix.com.) We will walk through using Caddy for this purpose, but any reverse proxy will do.

First you need to edit your hosts file. Assuming you're using the default ports for each server, add the following:

127.0.0.1 ffxiv.local
127.0.0.1 admin.ffxiv.local
127.0.0.1 frontier.ffxiv.local
127.0.0.1 patch-bootver.ffxiv.local
127.0.0.1 patch-gamever.ffxiv.local
127.0.0.1 ffxiv-login.square.local

Then run Caddy from the repository's Caddyfile. You may need to run it as root because it binds to port 80:

sudo caddy run

And then in Astra, plug these domains like so into Developer Settings:

  • square.local into the "SE Login Server"
  • ffxiv.local into "SE Main Server"

Make sure to set the "preferred protocol" to "HTTP" as well because HTTPS will not work without more setup.

License

This project is licensed under the GNU Affero General Public License 3. Some code or assets may be licensed differently.

kawari's People

Contributors

redstrate avatar

Stargazers

Julian avatar Blooym avatar

Watchers

 avatar

kawari's Issues

Support serving patch files

You'll still have to provide these yourself, but could be useful to help test a launcher patching process

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.