Activating and deactivating graphics

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

What is your loadallgraphics setting and how do you manage graphics files?

Poll ended at 01 Jul 2004 17:55

loadallgraphics off/using GRF status window
10
29%
loadallgraphics off/using Cht: Graphics
0
No votes
loadallgraphics off/changing newgrf(w).cfg directly (or with Graphics Manager)
4
11%
loadallgraphics on/using GRF status window
5
14%
loadallgraphics on/using Cht: Graphics
1
3%
loadallgraphics on/changing newgrf(w).cfg directly (or with Graphics Manager)
15
43%
other (please write in post)
0
No votes
 
Total votes: 35

User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

Prof. Frink wrote:
Patchman wrote:It seems to me that what you really want is a way to add entries to newgrf(w).cfg, but set these entries to "off" by default. I'll have to think of a way to allow that specifically...
Maybe # for ignored graphics and ; for actual comments

Or show all the .GRFs in the newgrf directory in the window, with only those in the cfg activated by default.
I think it is a good solution
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I think it's best to leave # meaning a real comment, just because that's the standard in the industry. You could use * to indicate a GRF file that should be included, but deactivated in a new game by default.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Prof. Frink wrote:Or show all the .GRFs in the newgrf directory in the window, with only those in the cfg activated by default.
The problem with this is that all .grf files get loaded and parsed when the game starts. For .grf files that are in the directory you'd waste an awful lot of memory, especially for people like me who have the DOS and Windows version in the same directory...

I think I'd prefer something like

Code: Select all

newgrf/active.grf
newgrf/inactive.grf -
i.e. a dash (or whatever symbol) after the filename turns it off by default.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I think putting something before, like an asterisk, is better, but a dash afterwards would work too. It's even compatible with the Configurator, you can type the dash in the "parameters" window.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Actually, I've decided on an exclamation mark, the dash might be confused with a minus sign (negative parameters are valid, after all).
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Seems sensible to me. This'll be in the next Patch rev? Say, what else will be in the next rev? There hasn't been one for a while, other than the bugfix.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Semrush [Bot] and 20 guests