The International Simutrans Forum

Development => Extension Requests => Topic started by: Junna on December 06, 2013, 11:37:46 PM

Title: Raise image limit
Post by: Junna on December 06, 2013, 11:37:46 PM
Due to the additions of new functions and so-on, the threshold keeps falling for how much actual pak-content you can fit before you hit this (and yes, I hit it all the time, and with the pak128 these days, the nice new buildings, it doesn't take much of addons to hit the limit of 65535. It would be good to see it raised, though I do not know just how difficult that would be.
Title: Re: Raise image limit
Post by: kierongreen on December 07, 2013, 05:59:02 AM
There is a patch around somewhere which allows this already although it's a few years old now.
Title: Re: Raise image limit
Post by: jamespetts on January 01, 2014, 02:16:10 PM
I do wonder how long it will be before Pak128.Britain-Ex - especially with its use of the multiple liveries feature of Experimental - reaches this limit. Where in the code would one need to look in order to convert the relevant integers from 16 to 32 bit?
Title: Re: Raise image limit
Post by: Ters on January 01, 2014, 02:26:40 PM
I think someone posted a patch, or at least a description, somewhere.
Title: Re: Raise image limit
Post by: kierongreen on January 01, 2014, 02:48:44 PM
I did...
Title: Re: Raise image limit
Post by: kierongreen on January 01, 2014, 02:49:00 PM
I did...
Title: Re: Raise image limit
Post by: jamespetts on January 01, 2014, 04:38:09 PM
Does anyone know where it is?