Skip to content

Instantly share code, notes, and snippets.

@nikolat
Last active April 16, 2024 08:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikolat/226946141b634afecf62b3a249e27375 to your computer and use it in GitHub Desktop.
Save nikolat/226946141b634afecf62b3a249e27375 to your computer and use it in GitHub Desktop.
ネットワーク更新とNAR作成まわり

ネットワーク更新とNAR作成まわりについて

YAYAとGitHubを使うことを想定したターゲット狙い撃ちの記事

ネットワーク更新

homeurlの設定

On_homeurl

参考:
https://github.com/YAYA-shiori/konnoyayame/blob/master/ghost/master/yaya_homeurl.txt

これを https://raw.githubusercontent.com/{{ username }}/{{ repository_name }}/main/ とする

descript.txt

参考:
https://github.com/nikolat/jong-rinrin/blob/main/ghost/master/descript.txt

descript.txt にも homurl を入れておくとなお良い

更新ファイル(updates2.dau or updates.txt)の自動作成設定

ゴーストエクスプローラの右クリックから作れるアレ。
手作業で毎回作成してGitHubにpushするのは大変だしミスにつながる。
なのでGitHub Actionsで自動化するのがおすすめ。

参考:
https://github.com/nikolat/ukagaka-party-parrot/commit/b2fd2a8b95b59d746ed276d3f6daac2644e79a1f

.github/workflows/md5-CI-build.yml と md5buildignore.txt を上記のように作成する(全部コピペでOK)
これでpushするたびに自動で更新ファイルが作成される
※作成されたらローカルにpullするのを忘れずに

NAR作成

NARに含めたくないファイルを定義するために developer_options.txt を作成する
たぶんこんな感じで書くとよい

.git/,noupdate,nonar
.github/,noupdate,nonar
.gitignore,noupdate,nonar
developer_options.txt,noupdate,nonar
md5buildignore.txt,noupdate,nonar
README.md,noupdate,nonar
updates2.dau,noupdate,nonar
updates.txt,noupdate,nonar
ghost/master/ayame.log,noupdate,nonar
ghost/master/ssp_shiori_log.txt,noupdate,nonar
ghost/master/yaya_variable.cfg,noupdate,nonar

.gitignore

.gitignore に含めておくべきファイル群(の一例)

ghost/master/profile/
ghost/master/var/
ghost/master/ayame.log
ghost/master/ssp_shiori_log.txt
ghost/master/yaya_variable.cfg
shell/master/profile/

ライセンス

この記事はCC0 1.0 Universalの下で公開するものとします。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment