Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sun May 26, 2013 3:03 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: newgrf limit
PostPosted: Sat May 03, 2008 4:34 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 15, 2007 9:45 pm
Posts: 653
Location: FRANCE
I tried launching a game with many newgrfs, many vehicle sets (wanna try out the new feature), but also other newgrf such as stations, terrain etc...

The problem is, I ended up with this:

Quote:
FATAL: too many NewGRFs are loaded.


I searched the wiki but didn't find the answer to this, so what is the limit of newgrf files? can this limit be increased?

_________________
I am little, ugly, and nasty. How do you do?


Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Sat May 03, 2008 5:38 pm 
Offline
Director
Director

Joined: Sun Mar 11, 2007 4:50 pm
Posts: 542
cmoiromain wrote:
I tried launching a game with many newgrfs, many vehicle sets (wanna try out the new feature), but also other newgrf such as stations, terrain etc...

The problem is, I ended up with this:

Quote:
FATAL: too many NewGRFs are loaded.


I searched the wiki but didn't find the answer to this, so what is the limit of newgrf files? can this limit be increased?


Take some NewGRFs off and other NewGRFs that do the same thing as another current one does. Even better, show the load order and then i can be more helpful on what to keep and what not.


Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Sat May 03, 2008 5:58 pm 
Offline
Chief Executive
Chief Executive
User avatar

Joined: Mon Jan 15, 2007 9:45 pm
Posts: 653
Location: FRANCE
I am not seeking help for my particular problem, I am just asking for precision about the limit of NewGRF files. but thank you anyway for offering support =)

_________________
I am little, ugly, and nasty. How do you do?


Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Sat May 03, 2008 7:20 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Thu Feb 09, 2006 7:15 pm
Posts: 3706
The limit is around 60-ish NewGRFs. More than that is unlikely to be supported because that means that it becomes much harder to check whether the client has the required NewGRFs before joining a server.


Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Sun Jun 15, 2008 5:30 am 
Offline
Engineer
Engineer

Joined: Sun Jun 15, 2008 5:22 am
Posts: 1
HI All

I'm dont playing any on-line games and wants to play with MANY of GRRFs loaded ...

So (in ver 0.6.1 in Source) in file fios.h i've found:
LAST_GRF_SLOT=63
MAX_FILE_SLOTS = 64

i've changed this to:
LAST_GRF_SLOT=160
MAX_FILE_SLOTS = 161

and recompiled the game....
and everything working fine.... for now at least......

(sorry for my bad english)


Top
 Profile  
 
PostPosted: Sat Aug 07, 2010 3:27 pm 
Offline
Traffic Manager
Traffic Manager
User avatar

Joined: Wed Jun 09, 2010 8:54 pm
Posts: 203
Location: Vilnius, LT
I would like to put here my patch.

Currently it is possible to load max 63 NewGRF files.
This patch allows you to load up to 255 files in single player mode.
In multiplayer mode GRF limit stays the same - 63 files.
For convenience make two presets, one for single player game and one for multiplayer game :-)


Todo/known errors:
============
1. For some reason warning message is in blue color. Currently I do not know how to change it to white :-)
2. There is a way to overcome this check. Start a new game with many GRFs, save it and then load this game for network play.
3. ( should I make ? ) new message ID.

Patch is for revision 20394.

Your opinion, suggestions and bug report are welcome!


Attachments:
File comment: Patch for revision 20394.
max_grfs_v0.2.patch [5.13 KiB]
Downloaded 169 times
Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Fri Aug 20, 2010 8:25 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Apr 24, 2007 9:37 am
Posts: 2397
Location: The Land of Oz
muzzy wrote:
1. For some reason warning message is in blue color. Currently I do not know how to change it to white :-)


That is not your patch's fault. I have the same thing in a recent unmodified nightly.

- Jake

_________________
--Stuff I made (or helped make)--
ImageImageImageImage

--My Award-Winning Screenshots and Videos--


Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Fri Aug 20, 2010 8:39 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Thu Feb 09, 2006 7:15 pm
Posts: 3706
Emperor Jake wrote:
That is not your patch's fault. I have the same thing in a recent unmodified nightly.
Then why haven't I seen that issue on the bug tracker yet?


Top
 Profile  
 
 Post subject: Re: newgrf limit
PostPosted: Fri Aug 20, 2010 9:15 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 2458
Location: home
Please test with r20514 or newer first, as error message colours got fixed recently.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000-2013 phpBB Group

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2013.
Hosted by Zernebok Hosting.