Load NewGrf Settings
Moderator: OpenTTD Developers
Load NewGrf Settings
how do i load newgrf settings into a game for example
if i want to make my own scenario how would i load my added newgrf settings into that game
if i want to make my own scenario how would i load my added newgrf settings into that game
Re: Load NewGrf Settings
Did you mean to post this in the OpenTTD Problems section?
Original Transport Tycoon doesn't have NewGRF support.
Original Transport Tycoon doesn't have NewGRF support.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Load NewGrf Settings
The normal method is to put the NewGRFs in the NewGRF settings before you start your new game/scenario/heightmap etc. The other method is not intended to be used normally and can irrepairability damage game saves.
This is done by setting newgrf_developer_tools to 1 in the console. This allows you to change grfs in game, but this can ruin the game in unpredictable ways.
This is done by setting newgrf_developer_tools to 1 in the console. This allows you to change grfs in game, but this can ruin the game in unpredictable ways.
Re: Load NewGrf Settings
yea but can you load newgrf settings that you already have got into a game you've loaded
Re: Load NewGrf Settings
That's what the second method is for. Changing NewGRF settings (in the main menu) only changes NewGRFs for new games.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Load NewGrf Settings
Yes. Or mostly no. A game (or scenario - that is just the same thing) is created with the NewGRF settings. Changing those after map creation can damage the map beyond repair. How that shows, when that shows and whether it happens at all, depends on the internals of the NewGRFs you load and possibly their parameters. And there are many NewGRF which pretend to only do X, but actually also do Y and Z, leading to such unexpected consequences and damaged maps when added after map creation. Most notorious is anything which touches cargoes or industries, but there are also bear traps with vehicle and track prices and availability.Strawbs89 wrote:yea but can you load newgrf settings that you already have got into a game you've loaded
If you know what you do and know exactly what the NewGRFs you already have and those you want to add do, declare yourself scenario_developer in the console and change NewGRFs after map creation. See https://wiki.openttd.org/NewGRF_FAQ#I_c ... .2C_why.3F
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: Load NewGrf Settings
A good example of entirely destroying your save is if you modify some station grfs midgame, it will break the station UI, crashing the game sometimes when you open it.
Re: Load NewGrf Settings
Some very general and not official rules:
1. Never, ever add, remove or modify settings of an industry/cargo/industry or town/station name NewGRF, not even to upgrade it to a newer version.
2. It's generally OK to add a new vehicle set. One shouldn't try to remove a set, but if you do make sure that all vehicles associated with it have been completely removed from the game.
3. It's usually OK to add or re-arrange the station and object sets, but this may affect how they're displayed in the menu. Removing a set is usually OK as long as all tiles have been removed from the game. Otherwise you might have some broken graphics that you will need to rebuild.
4. It's generally OK to add a new house/building set, not OK to remove one.
5. NewGRFs which modify base graphics (landscape, trees, water) are usually OK to add or remove.
6. Keep in mind that any changes you make could potentially permanently break your save or scenario in ways you may not ever know until it's too late.
7. Never trust any of this information to be true or factual, things may change.
8. At some point after I post this, somebody will probably point out something I'm wrong about.
9. PROCEED AT YOUR OWN RISK.
1. Never, ever add, remove or modify settings of an industry/cargo/industry or town/station name NewGRF, not even to upgrade it to a newer version.
2. It's generally OK to add a new vehicle set. One shouldn't try to remove a set, but if you do make sure that all vehicles associated with it have been completely removed from the game.
3. It's usually OK to add or re-arrange the station and object sets, but this may affect how they're displayed in the menu. Removing a set is usually OK as long as all tiles have been removed from the game. Otherwise you might have some broken graphics that you will need to rebuild.
4. It's generally OK to add a new house/building set, not OK to remove one.
5. NewGRFs which modify base graphics (landscape, trees, water) are usually OK to add or remove.
6. Keep in mind that any changes you make could potentially permanently break your save or scenario in ways you may not ever know until it's too late.
7. Never trust any of this information to be true or factual, things may change.
8. At some point after I post this, somebody will probably point out something I'm wrong about.
9. PROCEED AT YOUR OWN RISK.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Load NewGrf Settings
Point 8 is right. To add to point 2, sometimes, adding vehicle sets can overwrite existing vehicles, which can really screw up your vehicles.
Re: Load NewGrf Settings
that is definitely wrong. station sets often contain non-track tiles, which is not saved in the tile itself. so if you rearrange them, some tiles which have trains on them may turn into non-track tiles, causing dsconnected trains. (which crashes the game)kamnet wrote:3. It's usually OK to [...] re-arrange the station [...] sets
Re: Load NewGrf Settings
OOH, NIFTY!! I've never done that before. Any suggestions on which sets to try this with? (Yes, I wanna crash the game now LOL!!)Eddi wrote:that is definitely wrong. station sets often contain non-track tiles, which is not saved in the tile itself. so if you rearrange them, some tiles which have trains on them may turn into non-track tiles, causing dsconnected trains. (which crashes the game)kamnet wrote:3. It's usually OK to [...] re-arrange the station [...] sets
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Load NewGrf Settings
I've made station sets where the second time you open the station gui the game crashes, as well as trains that can crash the game when you add wagons.
Re: Load NewGrf Settings
Even with object sets, which generally are considered to be safe for a reasonable amount of safe - after all, what could they mess up, beyond some visuals? - I've had crashes.
The main issue is that you'll change something, keep playing, and then discover 7 weeks later that something went wrong. And you might have forgotten that you have changed something in the mean time, so there you are reporting a bug, and then suddenly "AH, I forgot, I changed GRFs ..."
Well.
On the other hand I still change GRFs all the time so I can understand the urge
The main issue is that you'll change something, keep playing, and then discover 7 weeks later that something went wrong. And you might have forgotten that you have changed something in the mean time, so there you are reporting a bug, and then suddenly "AH, I forgot, I changed GRFs ..."
Well.
On the other hand I still change GRFs all the time so I can understand the urge
Who is online
Users browsing this forum: Eddi and 3 guests