The International Simutrans Forum

 

Author Topic: Raise image limit  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

Offline Junna

  • Devotee
  • *
  • Posts: 1081
Raise image limit
« 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.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Raise image limit
« Reply #1 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.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18493
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Raise image limit
« Reply #2 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?

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5454
  • Languages: EN, NO
Re: Raise image limit
« Reply #3 on: January 01, 2014, 02:26:40 PM »
I think someone posted a patch, or at least a description, somewhere.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Raise image limit
« Reply #4 on: January 01, 2014, 02:48:44 PM »
I did...

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Raise image limit
« Reply #5 on: January 01, 2014, 02:49:00 PM »
I did...

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18493
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Raise image limit
« Reply #6 on: January 01, 2014, 04:38:09 PM »
Does anyone know where it is?