Contributing
Contributions to AeroLiners Set (and its documentation) are welcome — whether fixing graphics, adding models, translating, or improving docs.
Reporting bugs
- Open an Issue or Pull Request on the project's GitHub repository: https://github.com/Maicarons/AeroLiners-Set.
- Check the Issues tab first to confirm the problem hasn't been reported.
- Submit a New Issue, including as much as possible:
- AeroLiners Set version
- OpenTTD version
- Steps to reproduce / bug details
- Savegame and screenshots if necessary
- If "it only appeared after a certain version update", note the last good version and the first broken version to help locate the change
Submitting code
This repository (Maicarons/AeroLiners-Set) is an independent continuation of the upstream project:
- Upstream: https://github.com/RvP93/WorldAirlinersSet
- It is recommended to
git fetch upstreamand rebase before modifying, to avoid diverging too far from upstream.
General flow:
git checkout -b my-fix
# modify source / docs
git commit -m "Brief description of change"
git push origin my-fix
# Open a Pull Request on GitHubMultiplayer compatibility
If you modify the source (even a single pixel), the compiled .grf will no longer be multiplayer-compatible with the official AeroLiners Set; different grfcodec/nmlc versions also change the checksum. Only replace it in "personal use" or "coordinated group" scenarios.
Improving this VitePress documentation
Docs live in docs/, managed with VitePress:
- Pages are
docs/*.mdanddocs/guide/*.md; the English versions are underdocs/en/. - Site config is in
docs/.vitepress/config.js(navigation, sidebar, footer, i18n locales).
Local preview:
npm run docs:dev # dev server (hot reload)
npm run docs:build # build static site to docs/.vitepress/dist
npm run docs:preview # preview the build locallyWhen running the Node build on this machine, if you hit an error from a sandbox-injected safe-delete shim, prefix the command with
NODE_OPTIONS=""(see the note in Building from Source). A normal local build needs no such step.
Types of contribution
| What you want to contribute | Where to go |
|---|---|
| Add / fix models or liveries | the corresponding directory under src/gfx/, see Liveries & Graphics |
| Translate interface text | lang/*.lng, see Translating |
| Adjust cost / range parameters | src/header.pnml, src/basecost.pnml |
| Improve documentation | Markdown files under docs/ |
Back: Translating → | Next: Changelog →