OttD Error !

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
nilsfeld
Engineer
Engineer
Posts: 7
Joined: 26 Sep 2004 17:51
Contact:

OttD Error !

Post by nilsfeld »

Hi,

My error is

"Too many sprites (3500). Recompile with higher Num_Sprites value or remove some custom GRF files.

Where i can set this higher. I haven't the compile programm.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

you are trying to use too many grf sets, deactivate one or more sets then start the game
nilsfeld
Engineer
Engineer
Posts: 7
Joined: 26 Sep 2004 17:51
Contact:

Post by nilsfeld »

Wolf01 wrote:you are trying to use too many grf sets, deactivate one or more sets then start the game
i know this but my questen is

Where i can set this higher.
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

nilsfeld wrote:i know this but my questen is

Where i can set this higher.
Answer:
nilsfeld wrote:Recompile with higher Num_Sprites value
"There's a readme that comes with the source. I suggest you read it."
- Korenn
nilsfeld
Engineer
Engineer
Posts: 7
Joined: 26 Sep 2004 17:51
Contact:

Post by nilsfeld »

i need the quellcode ???
and where i can change it ?
VPN-User
Traffic Manager
Traffic Manager
Posts: 136
Joined: 07 Jun 2002 08:43
Location: Radolfzell at Lake of Constance in Germany
Contact:

Post by VPN-User »

Check it out from SVN and look for a configuration file.
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

nilsfeld wrote:i need the quellcode ???
and where i can change it ?
Yes, you would need the source code and compile the game yourself. You need to change line 108 in gfx.h from

Code: Select all

enum { NUM_SPRITES = 0x3500 }; // 1500 + space for custom GRF sets
to

Code: Select all

enum { NUM_SPRITES = 0x6000 }; // 1500 + space for custom GRF sets
But it hasn't been tested yet and might cause some unexpected bugs.We might raise the limit in the future.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
nilsfeld
Engineer
Engineer
Posts: 7
Joined: 26 Sep 2004 17:51
Contact:

Post by nilsfeld »

i try but i think i am to stupid :-)
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot] and 15 guests