Closed 128na closed 3 years ago
ubuntu:latestでの検証
wall.datを指定すると *wall.dat
がpak化対象として認識される様子。
root@c19e9f716ce6:/debug# ls -la
total 8
drwxr-xr-x 2 root root 4096 Oct 20 01:13 .
drwxr-xr-x 1 root root 4096 Oct 20 01:13 ..
-rw-r--r-- 1 root root 0 Oct 20 01:09 center_divider.dat
-rw-r--r-- 1 root root 0 Oct 20 01:09 center_divider_and_wall.dat
-rw-r--r-- 1 root root 0 Oct 20 01:12 center_divider_wall.dat
-rw-r--r-- 1 root root 0 Oct 20 01:07 foo.dat
-rw-r--r-- 1 root root 0 Oct 20 01:07 foo_bar.dat
-rw-r--r-- 1 root root 0 Oct 20 01:07 foo_bar_baz.dat
-rw-r--r-- 1 root root 0 Oct 20 01:09 wall.dat
root@c19e9f716ce6:/debug# /usr/lib/simutrans/makeobj quiet pak result.pak wall.dat
Makeobj version 60.2 for Simutrans 120.4.1 and higher
writing file result.pak
reading file wall.dat
reading file center_divider_and_wall.dat
reading file center_divider_wall.dat
root@c19e9f716ce6:/debug# /usr/lib/simutrans/makeobj quiet pak result.pak center_divider.dat
Makeobj version 60.2 for Simutrans 120.4.1 and higher
writing file result.pak
reading file center_divider.dat
root@c19e9f716ce6:/debug# /usr/lib/simutrans/makeobj quiet pak result.pak center_divider_and_wall.dat
Makeobj version 60.2 for Simutrans 120.4.1 and higher
writing file result.pak
reading file center_divider_and_wall.dat
他の単語でも再現した
root@c19e9f716ce6:/debug2# touch foo.dat
root@c19e9f716ce6:/debug2# touch bar_foo.dat
root@c19e9f716ce6:/debug2# touch baz_bar_foo.dat
root@c19e9f716ce6:/debug2# /usr/lib/simutrans/makeobj quiet pak result.pak foo.dat
Makeobj version 60.2 for Simutrans 120.4.1 and higher
writing file result.pak
reading file baz_bar_foo.dat
reading file foo.dat
reading file bar_foo.dat
windows環境では発生しない
PS Z:\dev\simutrans\iss\debug> echo "" > baz_bar_foo.dat
PS Z:\dev\simutrans\iss\debug> echo "" > bar_foo.dat
PS Z:\dev\simutrans\iss\debug> echo "" > foo.dat
PS Z:\dev\simutrans\iss\debug> dir
ディレクトリ: Z:\dev\simutrans\iss\debug
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2021/10/20 10:20 6 bar_foo.dat
-a---- 2021/10/20 10:20 6 baz_bar_foo.dat
-a---- 2021/10/20 10:20 6 foo.dat
PS Z:\dev\simutrans\iss\debug> makeobj quiet pak result.pak foo.dat
Makeobj version 60.5 for Simutrans 122.0 and higher
writing file result.pak
reading file foo.dat
とりあえずファイル名がアレな時は _nyo
サフィックス付けて対処する。
linux版makeobjが60.5になったらexpandでdatマージしてもいいかも
https://github.com/128na/iss/runs/3916997767?check_suite_focus=true#step:7:514
ローカルだと発生しないがCIだと毎回発生している様子。