Skip to content

bym-refitted/backyard-monsters-refitted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation



Koa.JS NodeJS TypeScript MariaDB ActionScript Flash

Repo Information

We are running a lightweight Koa server written in TypeScript, with a MariaDB database leveraging MikroORM, as our ORM of choice. The client is written in ActionScript 3 and uses Adobe FlashPlayer to display its content.

This repository contains the entire modified SWF (Shockwave Flash) client files, along with the corresponding server component rebuilt from the ground up for Kixeye's 2010 Flash client, Backyard Monsters. The client is running on version 128.5690.


๐Ÿš€ How to Play

We recommend to download our game launcher which can be installed from our website's download page. This will allow you to seamlessly manage what build versions of the client you play, all from one place, without worrying about manually downloading new versions. The launcher currently supports Windows (64-bit) and Linux.


๐Ÿ—„๏ธ Server setup

It is possible to run the server manually or to deploy it using Docker Compose.

Repository Setup

Start by cloning the repository and switching to the develop branch:

git clone https://github.com/bym-refitted/backyard-monsters-refitted
cd backyard-monsters-refitted
git switch develop

๐Ÿณ Docker Deployment

You can deploy the server locally using Docker with our docker-compose file.

Important: Do NOT use the docker-compose.yml file as is for production. It contains hardcoded secret keys as well as weak database credentials meant for local use only.

Deployment Components

The deployment includes the following containers:

  • ๐ŸŽฎ Game Server: Runs a web server based on a custom Docker image built from server/Dockerfile.
  • ๐Ÿ’ฟ MariaDB: Provides the database backend.
  • ๐Ÿ“„ phpMyAdmin: Allows you to manage and inspect the database.

Setting It Up

  1. Install Docker
  2. Navigate to the cloned repository in your terminal
  3. Start the deployment:
docker compose up
  1. Verify that services are running:
    • Game Server: Visit http://localhost:3001 to confirm the API is online.
    • phpMyAdmin: Access http://localhost:8080. Use the default credentials (username: bymr, password: bymr) or update them in docker-compose.yml.
  2. Connect to the server: Use the latest release of the SWF file or compile it manually (instructions provided below).

๐Ÿ› ๏ธ Manual Deployment

Follow the instructions carefully on our server setup & configuration Wiki page.


๐Ÿ’ป Client Setup

  1. Follow the instructions carefully on our client setup & configuration Wiki page.

  2. To contribute you will need to copy your changes to the src directory. If you are wondering why we are using this horrible workflow please see CONTRIBUTING.md for more information. If you are able to figure out how to compile directly to swf without unlinking all assets, please let us know.


๐Ÿ“ฑ Android Setup

  1. To compile an APK for Android follow our Android Application Setup Wiki page.

Preservation of digital heritage


License GPL v3

Backyard Monsters preservation project.
Copyright (C) 2024 | The Backyard Monsters Refitted team
See the GNU General Public License <https://www.gnu.org/licenses/>.