This repository is a Template that allows you to easily create a website to play a homebrew NeoGeo game directly in the browser, without any programming knowledge!
- Click on the green "Use this template" button (top right of this page), then choose "Create a new repository".
- Give a name to your repository (e.g.
my-awesome-neogeo-game). - Leave it as Public and click on Create repository.
- You now have an exact copy of this code on your own GitHub account!
In your new GitHub repository, we are going to replace the example files with yours.
For the game ROM:
- Go into the
roms/folder. - Click on Add file -> Upload files.
- Import your NeoGeo game
.zipfile (the homebrew game). - Click on Commit changes.
For the game hash file:
- Go into the
hash/folder. - Click on Add file -> Upload files.
- Import the
NeoGeo.xmlfile specific to your game. - Click on Commit changes.
For the presentation image:
- Go into the
images/folder. - Click on Add file -> Upload files.
- Import an image that will serve as background / presentation. IMPORTANT: Name it EXACTLY
cover.png(replacing the one already there). - Click on Commit changes.
This is the last configuration step!
- At the root of your repository, click on the
config.jsfile. - Click on the pencil icon ✏️ (top right of the file) to edit it.
- Modify the information inside the quotes so they match your game:
romName: The exact name of your zip file added in step 2 (WITHOUT writing.zip).gameTitle: The title of your game as it will appear in the browser tab.gameUrl: A link to the official page of your game (itch.io, website, etc.).linkText: The text for the link displayed below the game.linkColor: The color of the link (e.g.#4caf50,red,white).
- Click on Commit changes at the top right.
Now that your game is configured, we need to make it accessible on the Internet!
- Go to the Settings ⚙️ tab of your repository (at the top).
- In the left menu, scroll down and click on Pages.
- Under "Build and deployment", in the Branch section, click on "None" and choose main.
- Click on Save.
- Wait about 1 to 2 minutes. If you refresh the "Pages" settings page, you will see a link appear at the top: "Your site is live at...".
- Click on this link: Congratulations, your game is playable online! 🎉