Korean Empty Set은 한국 관련 NewGRF 세트를 위한 템플릿입니다.
Korean Empty Set is a template for Korean NewGRF sets.
You need to use the Linux bash shell or WSL to make your NewGRF project by using this template. And you need to deal with some git commands.
- Modify
Makefile.config
. Do not modify other variables if there is no certain purpose.# Name REPO_NAME ?= Korean Empty Set # File name of *.grf, *.tar and so on BASE_FILENAME ?= ko_empty_set # Version VERSION ?= $(shell ./findversion.sh) RECENT_UPDATED ?= $(shell date +"%Y.%m.%d") REPO_BRANCH_VERSION ?= 0 # Author's information AUTHOR_WEBSITE ?= https://domain.com AUTHOR_EMAIL ?= your_email@address.com # If needed, declare the minimum NML requirements REQUIRED_NML_BRANCH = 0.4 # MIN_NML_REVISION = 0
REPO_NAME
: Your NewGRF nameBASE_FILENAME
: Your NewGRF's file nameAUTHOR_WEBSITE
: NewGRF's website urlAUTHOR_EMAIL
: Author's email address
- Modify ./docs/license.txt and ./docs/readme.ptxt as you wish
- Rename ko_empty_set.pnml into the (BASE_FILENAME).pnml
For example, ifBASE_FILENAME
is ko_test_set, then rename it into ko_test_set.pnml. - Write your code in ko_test_set.pnml.
You may put some other .pnml files by creating some directories, such assrc
.
Then you may include it by#include "./src/some_file_name.pnml"
syntax. - Run
make all
in the shell. Then compiled ko_test_set.tar tar file generated in ./generated/ directory. make clean
will clean your project.- Version will be named as git's commit hash.
If the last commit has git tag, the tag name will be your NewGRF's version name.
(some git commands, such as "git add ." and "git commit")
git tag v1.0.2
make clean
make all