The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on October 26, 2013, 01:26:13 AM

Title: Is it me or Pak64 is seen anything strange??
Post by: Yona-TYT on October 26, 2013, 01:26:13 AM

It seems that pak64 Night is having problems ???

Simutrans r6853
Pak64 1288
(http://img534.imageshack.us/img534/4673/8g5l.jpg)
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: IgorEliezer on October 26, 2013, 01:59:24 AM
Me too. It seems our devs are messing up again. ;)
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Václav on October 26, 2013, 05:40:07 AM
I am not sure - but this seems like if graphics were saved in wrong format. May it be that it is still 24bit PNG, but interlaced.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: kierongreen on October 26, 2013, 06:53:02 AM
This may well be a problem with libpng in makeobj.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Ters on October 26, 2013, 07:40:14 AM
Looks like it only affects transparent regions, which isn't special in the PNG, so I suspect a problem after the image has been read with libpng.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Dwachs on October 26, 2013, 01:01:59 PM
Maybe this is related to this bug report:

http://forum.simutrans.com/index.php?topic=12766

But I could not reproduce it: compiling pak64 with or without the change in r6855 does not had any effect. The nighlty pak seems to be affected.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Markohs on October 26, 2013, 01:38:26 PM
Hey, it looks cool!

Just rename it from pak64 to pak64.messedup ;)
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Yona-TYT on October 26, 2013, 01:55:53 PM

Quote from: Markohs on October 26, 2013, 01:38:26 PM
Hey, it looks cool!


Just rename it from pak64 to pak64.messedup ;)


An eccentric design....jejejeje :thumbsup:
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Ters on October 26, 2013, 03:17:40 PM
I just downloaded simupak64-1288.7z (the contents claim to be r1301 though), and I can't see anything wrong with the images in the pak files.Unless the nightly has been fixed, I'm suspecting that the error is in Simutrans, not makeobj or pak set.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Dwachs on October 26, 2013, 06:31:12 PM
Using pak64 r1288 from the nightly download page, I get the same errors like Yona. I could not reproduce this with a self-compiled pak.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Ters on October 26, 2013, 08:17:48 PM
Strange. Looking at the log for the besch directory, there have been some changes related to images that (whatever they are) I have not included into my Simupak Explorer (which loads previously mentioned nightly archive just fine). Maybe there is some compatibility issue between certain versions of makeobj (likely an older) and certains versions of Simutrans (likely a newer).
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: prissi on October 26, 2013, 08:20:17 PM
I rather expect the lightmap generating program has some other output (due to the all loving libpng) than the one I use. I will add images to the repo for now.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: greenling on October 26, 2013, 08:57:31 PM
Hello on All
The bug they Yona-TYT have fund came only with sim-winsdl_2013-10-26_v112.4_r6853 and simupak64-1288 from 21.10.2013 Detect.
Wit the simupakopen128-1300 from 22.10.2013 with sim-winsdl_2013-10-26_v112.4_r6853 and simupak128.britain-1301 from 23.10.2013 with
sim-winsdl_2013-10-26_v112.4_r6853 have this bug not be view.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: kierongreen on October 26, 2013, 09:32:25 PM
Thanks greenling that would seem to confirm suggestions above and should be fixed by prissi adding images.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Ters on October 26, 2013, 09:40:55 PM
Quote from: prissi on October 26, 2013, 08:20:17 PM
I rather expect the lightmap generating program has some other output (due to the all loving libpng) than the one I use. I will add images to the repo for now.

Ah, yes. I thought it could have something to do with the terrain, but forgot to check the lightmaps. The lightmaps in the nightly pak indeed look corrupted in this stripy sort of way.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 07, 2013, 08:28:11 PM
Thats dont look good :o(

I think, I must build a new the "lightmap"-Programm ...
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 08, 2013, 08:57:49 AM
btw:
the lightmap-Programm comes from tools/generate-lightmaps/ ?

And I generate the Programm with:
c++ -lpng generate_lightmaps.cc -o lightmap
Do you see an Error?
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: prissi on November 08, 2013, 01:10:06 PM
That looks fine ... mazbe this is a libpng problem. I hope this sundaz I find some time to fix the lightmap generator to generate correct shadows and then just submit a png.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 08, 2013, 02:50:59 PM
The next nightly will build with the "newest" ligtmap ... from today
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 13, 2013, 07:56:05 AM
Please Test with the "newest" nightly PAK64 .. I make a new one r1312
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Yona-TYT on November 15, 2013, 12:05:40 AM
I am still having technical difficulties :o


(http://imageshack.us/a/img607/6288/ctny.jpg)


(http://imageshack.us/a/img7/4654/gh83.png)
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: isidoro on November 15, 2013, 12:44:42 AM
I get a similar effect when compiling ST and makeobj (r6901) and pak128 (r1323) in Linux.

Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Ters on November 15, 2013, 06:11:24 AM
Reminds me of my attempt at hardware rendering.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: IgorEliezer on November 15, 2013, 06:38:57 AM
OMG! Matrix is melting! Run for the mountains. D:

EDIT: 3500th post. YAY!
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 15, 2013, 07:22:07 AM
@isidoro

So could it be a "Linux PNG" Problem?
The nightly-Server is a Linux(64Bit)-System and the makeobj is a new compiled Version

makeobj.55.r6898
lightmap-1313

The libPNG have the Version: 1.5.17-r1
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: prissi on November 15, 2013, 10:05:34 AM
No the zoom out is broken if things are compiled with new makeobj. I reported already yesterday, and still have to find the cause.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 15, 2013, 12:41:49 PM
O.K. .. witch Version of makeobj i should use?
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: prissi on November 15, 2013, 03:50:02 PM
Fixed it today.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: isidoro on November 15, 2013, 11:49:19 PM
I can confirm it is solved for pak128 (Linux).  Thanks, prissi.

Title: Re: Is it me or Pak64 is seen anything strange??
Post by: Yona-TYT on November 24, 2013, 06:31:02 PM

Not know about you but I still have the same problem


Pak128 Nightly
(http://img834.imageshack.us/img834/7813/i06k.png)
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: greenling on November 24, 2013, 06:59:05 PM
Hello Dwachs & Prissi
I have now the Same bug they Yona-TYT have it, the zoom make the fault.
pak128.Britain-1336, pak128.open.r1328 + sim-wingdi_2013-11-24_v112.4_r6922
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: prissi on November 24, 2013, 10:19:31 PM
Use a newer makeobj please.
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: whoami on November 24, 2013, 11:23:29 PM
The nightly builds of pak64 (November 18th) and Pak128.Britain (20th) (I have only tested these) still have the zooming error. I have informed Wernieman.

(Bug reported here, too: http://forum.simutrans.com/index.php?topic=12839.msg127506 )
Title: Re: Is it me or Pak64 is seen anything strange??
Post by: wernieman on November 25, 2013, 10:15:05 AM
I use:
makeobj.55.r6902

But ... it could be, that last Week was a wrong makeobj. Please test the newest (today) nightly for PAK64