The International Simutrans Forum

 

Author Topic: [122.0] Unable to build theme .pak files due to missing assets in source archive  (Read 312 times)

0 Members and 1 Guest are viewing this topic.

Offline CannonBall7

  • *
  • Posts: 11
I'm updating the Homebrew formula for Simutrans, and am attempting to use themes.src/build_themes.sh[1] to build the .pak files for each theme. However, it looks like each section relies on .dat files that aren't present in the subfolders. (I was able to eventually get the binary to launch by swapping in the themes/ folder from simumac-122-0.zip[2], which contains pre-built theme .pak files.) It looks like they've been omitted from the source archive due to zipsrc.sh being out of date; specifically, it needs to include all .dat and .png files from subfolders of themes.src/.

1: https://github.com/aburch/simutrans/blob/master/themes.src/build_themes.sh
2: https://sourceforge.net/projects/simutrans/files/simutrans/122-0/simumac-122-0.zip/download

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10439
  • Languages: De,EN,JP
Thank you for the notice. Generally, I would advice to use the SVN r9274 in this case and the dirstributes.h script, which does all the things for making a release. The src-zip file tends to be out of date unfortunately on more than one occasion. Especially, since building the pak fiels needs a working makeobj in the right folder, so this process is not automated. But indeed these fiels belong to the source. I will add ithem.

Offline CannonBall7

  • *
  • Posts: 11
There's still a few missing files required for building (e.g. common.mk, configure.ac), but for the Homebrew formula[1] I updated it to pull directly from SVN (and enable freetype).

1: https://github.com/Homebrew/homebrew-core/pull/62813

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10439
  • Languages: De,EN,JP
Oh, yes there was one line doubled so FILELISTF war overwritten.