The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: Filipe Jucélio on September 21, 2021, 12:53:32 PM

Title: Amber traffic light error (pak128)
Post by: Filipe Jucélio on September 21, 2021, 12:53:32 PM
Hello,

I'm testing the amber time of the traffic light on pak 128, but Makeobj ignores the images of one of the amber phases, so it doesn't show up in the game.

Is there a solution to this problem?

Sending the files as an attachment: DAT, PNG and the error in Makeobj.


Note: Sorry for any spelling errors, I'm using the translator.
Title: Re: Amber traffic light error (pak128)
Post by: prissi on September 21, 2021, 01:45:11 PM
Are you using new enough Simutrans and makeobj?

Does the file is large enough? If it is very small, I suspect than makeobj may have a trouble with the space in the name.
Title: Re: Amber traffic light error (pak128)
Post by: Filipe Jucélio on September 21, 2021, 02:49:23 PM
Quote from: prissi on September 21, 2021, 01:45:11 PM
Are you using new enough Simutrans and makeobj?

Does the file is large enough? If it is very small, I suspect than makeobj may have a trouble with the space in the name.

Simutrans is the newest version. Makeobj is version 60.5, I believe it's the current one.

I've already tested the namespace tyrant, but Makeobj ignores it too.



In this new attachment I'm sending you, there are two examples of DAT.

The one on the left (blue frame) is the conventional traffic light: green and red times.


The one on the right is the traffic light with the times of amber:
The green frame Makeobj accepts and appears in the game with no problems.
Already the red frame, Makeobj does not accept and therefore does not appear in the game.

I think Makeobj doesn't accept images from 24 to 31 for
traffic lights.



Title: Re: Amber traffic light error (pak128)
Post by: prissi on September 22, 2021, 11:15:24 AM
You will need a newer makeobj that uses 32 images for signs. The released one only uses up to 24 ...
Title: Re: Amber traffic light error (pak128)
Post by: Filipe Jucélio on September 22, 2021, 01:23:04 PM
Quote from: prissi on September 22, 2021, 11:15:24 AM
You will need a newer makeobj that uses 32 images for signs. The released one only uses up to 24 ...

Where can I find a newer version?
Title: Re: Amber traffic light error (pak128)
Post by: prissi on September 22, 2021, 02:06:22 PM
The easiest way is to compile yourself. Which OS do you have?
Title: Re: Amber traffic light error (pak128)
Post by: Filipe Jucélio on September 22, 2021, 02:23:46 PM
Windows 10 - 64 bits
Title: Re: Amber traffic light error (pak128)
Post by: prissi on September 23, 2021, 12:44:46 PM
The compiled makeobj is too large to attach. But I hope the next release in before the end of october.
Title: Re: Amber traffic light error (pak128)
Post by: Filipe Jucélio on September 23, 2021, 01:02:41 PM
Quote from: prissi on September 23, 2021, 12:44:46 PM
The compiled makeobj is too large to attach. But I hope the next release in before the end of october.

I will wait for the new version of Makeobj.

Thanks for the help prissi!
Title: Re: Amber traffic light error (pak128)
Post by: Andarix on September 23, 2021, 02:04:04 PM
https://github.com/Andarix/simutrans/releases (https://github.com/Andarix/simutrans/releases)
Title: Re: Amber traffic light error (pak128)
Post by: Filipe Jucélio on September 24, 2021, 01:05:52 AM
Quote from: Andarix on September 23, 2021, 02:04:04 PM
https://github.com/Andarix/simutrans/releases (https://github.com/Andarix/simutrans/releases)

Thanks Andarix! I was able to run the PAK in the game without any problems!