News:

Congratulations!
 You've won the News Item Lottery! Your prize? Reading this news item! :)

Installing pak192.comic doesn't work from simutrans installer

Started by Yona-TYT, December 28, 2023, 03:06:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT




I am using the latest simutrans night and I cannot install pak192 on Android, it seems that the link is not working and the download does not work.

Flemmbrav

I'd expect this to be an issue out of our hands. Or is there anything we can do from the pakset-side of things?

Yona-TYT

To tell the truth, I have no idea how the simutrans download manager works.... The most sensible thing would be a text file with the repository list somewhere...

It seems to me that in the case of pak192.Comic the link is misspelled or stopped working, I suppose the pakset files are being sent from GitHub?.

Andarix

https://github.com/simutrans/simutrans/blob/master/src/paksetinfo.h

folder in zip 'pak192.comic-nightly-datconverter'

and first file in folder '.W50_Container_SZ.pak' 96 byte

loading screen show RC1
zip is RC2

It's confusing what you actually get.


_Hajo_

Quote from: Yona-TYT on December 30, 2023, 05:03:14 AMTo tell the truth, I have no idea how the simutrans download manager works.... The most sensible thing would be a text file with the repository list somewhere...

There is a script "tools/get_pak.sh" which has a list of all the download links. I'm not sure if it is the first source though, because it says the list was automatically generated.

There is also a header file "src/paksetinfo.h" but that one says it was generated using the get_pak.sh script. Yet it's the one file that defines the paks that a Simutrans version will offer in the UI for download.


prissi

Android installer cannot download from https, hence a stable pak192.comic must be hosted on SF (where HTTP works). Alternatively, one could try to call Java from C to use the OS download functions. I have some not working code for that, calling Java from C++ is a pain.