yuzu-games-wiki/CONTRIBUTING.md

133 lines
6.3 KiB
Markdown
Raw Normal View History

2018-05-12 20:00:50 +00:00
# Contributing
Contributions to the yuzu Games Wiki are welcomed, as keeping all of the data up to date and accurate is a community effort.
**Table of Contents**:
- [Info About This Wiki](#info-about-this-wiki)
- [Angle Brackets](#angle-brackets)
2018-05-18 01:13:19 +00:00
- [yuzu Version](#yuzu-version)
2018-05-12 20:00:50 +00:00
- [Dates](#dates)
- [GitHub Issues](#github-issues)
- [Screenshots](#screenshots)
- [Title IDs](#title-ids)
- [TOML](#toml)
- [Code](#code)
- [Metadata](#metadata)
- [Icon](#icon)
- [Boxart](#boxart)
- [Game Screenshots](#game-screenshots)
- [Savefiles](#savefiles)
- [Save Metadata](#save-metadata)
- [Save Data](#save-data)
- [Wiki](#wiki)
## Info About This Wiki
### Angle Brackets
Throughout this guide, code blocks like `<Value>` are used. This means that "Value" should be replaced by something, and the "<>" should be deleted.
### yuzu Version
2018-05-18 01:13:19 +00:00
All data must be collected from the latest official yuzu nightly, downloaded from [here](https://yuzu-emu.org/downloads/).
2018-05-12 20:00:50 +00:00
### Dates
All dates follow the format `<4-Digit Year>-<2-Digit Month>-<2-Digit Day>`. For example, June 3rd 2017 would be "2017-06-03".
### GitHub Issues
2018-05-18 01:13:19 +00:00
Game issues can be found [here](https://github.com/yuzu-emu/yuzu/issues). The ID of the issue can be found at the end of the URL. For example, [RA BeetlePSX and mGBA cores fail to boot](https://github.com/yuzu-emu/yuzu/issues/266)'s ID is 266.
2018-05-12 20:00:50 +00:00
### Screenshots
The recommended application for capturing the icon, boxart, and screenshots is [ShareX](https://github.com/ShareX/ShareX). Screenshots can not be compressed, and must be in the PNG format.
### Title IDs
2018-05-18 01:13:19 +00:00
To-Do
2018-05-12 20:00:50 +00:00
### TOML
In this repo, DAT files follow the [TOML](https://github.com/toml-lang/toml) syntax, where each line consists of the creation of a piece of data. The simplest form of this is assigning a value to a key (`<Key> = <Value>`). The data types used for these `Value`s in this wiki are:
- Booleans, true or false (Example: `true`.)
- Integers, numbers (Example: `5`.)
- Strings, characters with surrounding quotes (Example: `"Hi!"`.)
- Arrays, collection of booleans, integers, or strings (Example for an array of integers: `[33, 2398, 234]`.)
These key/value pairs can be grouped together using an array of tables (Example: `[[ Stuff ]]`, with the pairs on the next lines.). These can be used more than once in a TOML file.
## Code
The code consists of the actual files in the Github repisitory. To modify them, you have to fork this repo, make your changes, and send a pull request.
At the root, there's a folder for each game. The names of these folders should follow these specifications:
- Only use letters, numbers, and hyphens (No spaces!), because they will be linked to on the site.
- Names should be lowercase to ensure consistency.
- Have a wiki page with the same name.
### Metadata
The metadata for the game is located at `/<Game Name>/game.dat`. This is required info about the game, all feilds are mandatory unless noted otherwise. The DAT values (See: [TOML](#toml)) are:
- `title` (String): English title of the game. This doesn't have to match the wiki or folder name, so there can be spaces.
2018-05-18 01:13:19 +00:00
- `description` (String): Get these from [Wikipedia](https://en.wikipedia.org/wiki/List_of_Nintendo_Switch_games). Short, 2-3 line description of the game.
2018-05-12 20:00:50 +00:00
- `github_issues` (Array of integers): The GitHub issue IDs for the game. See: [GitHub Issues](#github-issues).
2018-05-18 01:13:19 +00:00
- `needs_system_files` (Boolean): Whether the game requests the system files or not, regardless of whether it could be played without them (See: [yuzu Version](#yuzu-version)).
- `needs_shared_font` (Boolean): Whether the game requests the shared font or not, regardless of whether it could be played without them (See: [yuzu Version](#yuzu-version)).
- `game_type` (String): Whether the game has a retail release, `"switch"`, or E-Shop **exclusive**, `"eshop"`. This line is optional for retail releases.
2018-05-12 20:00:50 +00:00
- `releases` (Array of tables): Info about each release of the game. **The USA release should come first.**
- `title` (String): Title ID of this release of the game. See: [Title IDs](#title-ids).
- `region` (String): Region of the game. Possible values are:
- `aus`
- `chn`
- `eur`
- `jpn`
- `kor`
- `twn`
- `usa`
- `all` (Don't tag a game released in multiple regions as `all`. This is reserved for specific games released as such.)
- `release_date` (String): When the game was released in this region. See: [Dates](#dates).
- `title` (String): Title ID of this release of the game which was used during testing. See: [Title IDs](#title-ids).
2018-05-18 01:13:19 +00:00
An example of a game metadata file is the one for [Puyo Puyo Tetris](https://github.com/yuzu-emu/yuzu-games-wiki/blob/master/games/puyo-puyo-tetris/game.dat):
2018-05-12 20:00:50 +00:00
```toml
2018-05-18 01:13:19 +00:00
title = "Puyo Puyo Tetris"
description = "Puyo Puyo Tetris is a puzzle video game developed by Sonic Team and published by Sega. The game is a crossover between the Puyo Puyo series and the Tetris franchise, and features various gameplay modes incorporating both aspects."
2018-05-12 20:00:50 +00:00
github_issues = [2517]
needs_system_files = false
needs_shared_font = false
[[ releases ]]
2018-05-18 01:13:19 +00:00
title = "010073C001D5E000"
2018-05-12 20:00:50 +00:00
region = "usa"
2018-05-18 01:13:19 +00:00
release_date = "2017-04-25"
2018-05-12 20:00:50 +00:00
[[ releases ]]
2018-05-18 01:13:19 +00:00
title = "0100F3D001DEE000"
2018-05-12 20:00:50 +00:00
region = "eur"
2018-05-18 01:13:19 +00:00
release_date = "2017-04-28"
[[ releases ]]
title = "010053D0001BE000"
region = "jpn"
release_date = "2017-03-03"
2018-05-12 20:00:50 +00:00
```
### Icon
2018-05-18 01:13:19 +00:00
To-Do
2018-05-12 20:00:50 +00:00
### Boxart
2018-05-18 01:13:19 +00:00
To-Do
2018-05-12 20:00:50 +00:00
### Game Screenshots
2018-05-18 01:13:19 +00:00
To-Do
2018-05-12 20:00:50 +00:00
### Savefiles
2018-05-18 01:13:19 +00:00
To-Do
2018-05-12 20:00:50 +00:00
## Wiki
The wiki contains info about specific game problems, and can be modified by anyone. They use [Markdown](https://guides.github.com/features/mastering-markdown/) formatting.
Each page's title should match the game's respective folder in the code section, except with hyphens in the code changed to spaces on the wiki. **Don't use the following characters in your wiki page's titles: \ / : * ? " < > |.**
The format of each page is as follows:
- H2 header with text saying `Summary`.
2018-05-18 01:13:19 +00:00
- Brief summary of how the game performs: graphically, auditorily, and frame rate (with general hardware comparison - see MK7 example). See: [yuzu Version](#yuzu-version).
2018-05-12 20:00:50 +00:00
2018-05-18 01:13:19 +00:00
An example of a game wiki page is the one for [Puyo Puyo Tetris](https://github.com/yuzu-emu/yuzu-games-wiki/wiki/puyo-puyo-tetris):
2018-05-12 20:00:50 +00:00
```markdown
## Summary
2018-05-18 01:13:19 +00:00
Puyo Puyo Tetris is very broken in Yuzu. It only shows a couple of intro logos before gettings
stuck in an infinite loop.
2018-05-12 20:00:50 +00:00
```