.swf
, you can send us a link to the game, but there's no guarantee we can add it. If you wish to add a game, but do not have the relevent files, please open an Issue, not a Pull Request.index.html
instead of game.html
, app.html
, etc..swf
file is named game.swf
and set the front-matter type
to flash
.game.zip
and set the front-matter type
to retroarch
..swf
to VirusTotal, and keep the output URL._games
directory, create a folder with the name of the game you wish to add, lowercase and without spaces; As an example: _games/my GAME
-> _games/mygame
.index.md
that contains only the following:
```htmllayout: alt (Don't touch this)
title: "Electricman 2" (Add your games title.)
type: flash (Set to html
for HTML5 builds, 'dos' for js-dos packages, retroarch
for ROMs, or flash
for SWF content.)
core: gb (This is the system that the game you are adding is based on, refer to the EmulatorJS Docs (https://emulatorjs.org/docs/systems) for which one to use. Only use if the layout is retroarch)
aspectRatio: "16:9" (The ideal Aspect Ratio of your game, if unsure pick from 16:9 or 4:3. [Default for retroarch should be 16:7.75])
description: "Battle stickman enemies with martial arts and super moves."(A brief, one sentence descriptor for your game.)
(ENSURE YOU REMOVE CONTENT IN BRACKETS WHEN DONE)
9. In the new directory you've created, put the game files / ROM / `.swf` into the folder `index/src` & put the game zip if applicable into `index`. Your game should look like: `_games/mygame/index/src/index.html`, `/game.zip` or `/game.swf`.
10. OPTIONALLY Create a thumbnail for the game, sized `1280x720px` located in your games `index` directory. Thumbnails must include the games title and ideally would depict gameplay or be official title art. Adding a thumbnail saves us valuable time, and allows us to prioritize the adding of game requests that include thumbnails.
11. Create a Pull Request, following the guidelines and requested information present in the template.
<br><sub>Please note that the addition of games is at the discretion of the Bored Entertainment Team, and we will not add games if the `sha256` checksum provided by VirusTotal doesn't match up with what you've uploaded, VirusTotal flags the game you're requesting to add, we don't think it'll fit the aesthetic of the site, or for any reason not listed here.</sub>
</details>
<details>
<summary>Hosting a Mirror</summary>
#### MESλREDUX can be mirrored using three supported platforms. Before deploying, make sure you:
1. Fork the repository [Bored-Entertainment/mesaredux](https://github.com/Bored-Entertainment/mesaredux). **(REMEMBER TO UNCHECK `"Copy the main branch only"`) WHEN FORKING**
2. Install [Pull](https://github.com/apps/pull) on your fork to keep your mirror up to date with the upstream repository.
3. Delete the `main` branch and make `build` the default. <b>IMPORTANT</b>
#### Optional: Custom Domain
If you want your mirror to be accessible via your own domain or subdomain:
1. Create a file named `CNAME` in the root of your fork.
2. Add your custom domain or subdomain in the file, for example: ```mesaredux.mysite.com```
---
### 1. Netlify
Netlify allows you to deploy a mirror quicky.
**Instructions:**
1. Log in to Netlify or create an account.
2. Select your fork and the `build` branch.
4. Deploy and wait for your site to go live.
---
### 2. GitHub Pages
GitHub Pages works well for hosting static mirrors of MESλREDUX.
**Instructions:**
1. Navigate to your fork on GitHub.
2. Go to **Settings → Pages**.
3. Set **Source** to the `build` branch and root (`/`).
4. Click **Save** and wait for GitHub to publish your site.
5. Your mirror will be available at `https://<your-username>.github.io/mesaredux`.
---
#### To submit your mirror to be in our list on the site, simply submit a Pull Request adding it to the [JSON List](https://github.com/Bored-Entertainment/mesaredux/edit/main/assets/js/json/unofficalmirrors.json)
<sub>All mirrors will automatically stay up to date if Pull is installed and configured on your fork.</sub>
</details>
### Official Links:
- https://mesaredux.mesagrey.ca - Main site
#### Mirrors:
- https://mesaredux.the-duck.co
- https://mesaredux.netlify.app/
#### Thank You for checking out the MESλREDUX project!