Pikka's Basic Industries (PBI) - 1.5 6th of September 2008
Moderator: Graphics Moderators
Re: Pikka's Basic Industries (PBI)
Hi there i have a question. Im using the old pb_ukrsi.grf, because it has the unlimited mines (rebuilding half of the rail network after 10 years is not very enjoyable), but i find the stockpile limits way too low. the steel mill gets maxed out on coal with just 1 train load and then stops accepting coal and bounces off the next train full of coal only to find itself running out later on, because trains are not comming so often (coal mine long distance away). I have managed to find how to decompile the grf and i found in the inf. file in wich the coding is held, but i cant find the stockpile limits (all in hex). can you give me some pointers at wich addres to look for them? im happy to edit the grf myself (i wont distribute it anywhere, its just for my usage). or if you could edit them and set them at least 5x times higher, that would be super. i dont mind paying for the industries 10 times more, but now they only run half the time, becasue they are either too full or too low on some or the other resource and usually just bouncing off most of the trains comming to it.
Re: Pikka's Basic Industries (PBI)
george11 wrote:can you give me some pointers at wich addres to look for them?
- Run the GRF through grf2html.
- Find the ID for the string that names the industry you want to change.
- Find the action 0 that connects that text to an industry, and from that get the ID of the industry.
- Find the action 3 for that industry.
- In the 1/2/3 chain headed by that action 3, locate and modify the appropriate tests of the appropriate variables.
- Go back to the industry's action 0, and determine the IDs for the industry tiles that make up the industry.
- Locate the action 0s for each tile, and determine which tiles accept the problem cargo.
- Locate the action 3s for each such tile, and repeat step 5 for each.
Or, fund a new industry of the same type near the one that keeps getting overloaded.
Pikka will be able to be more detailed, but this is the general theory for finding most things. String -> Text ID -> Action 0 (-> Item ID -> Action 3)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
- George
- Tycoon
- Posts: 4364
- Joined: 16 Apr 2003 16:09
- Skype: george-vb
- Location: Varna, Bulgaria
- Contact:
Re: Pikka's Basic Industries (PBI)
ECS vectors have larger stockpiles. Did you try them?george11 wrote:Hi there i have a question. Im using the old pb_ukrsi.grf, because it has the unlimited mines (rebuilding half of the rail network after 10 years is not very enjoyable), but i find the stockpile limits way too low. the steel mill gets maxed out on coal with just 1 train load and then stops accepting coal and bounces off the next train full of coal only to find itself running out later on, because trains are not comming so often (coal mine long distance away). I have managed to find how to decompile the grf and i found in the inf. file in wich the coding is held, but i cant find the stockpile limits (all in hex). can you give me some pointers at wich addres to look for them? im happy to edit the grf myself (i wont distribute it anywhere, its just for my usage). or if you could edit them and set them at least 5x times higher, that would be super. i dont mind paying for the industries 10 times more, but now they only run half the time, becasue they are either too full or too low on some or the other resource and usually just bouncing off most of the trains comming to it.
Re: Pikka's Basic Industries (PBI)
When i have the brick chain enabled i only get one gravel quarry per map maximum...
even a map at 2048*2048!
a bit aquarwd if i want to service engeneer's yards
even a map at 2048*2048!
a bit aquarwd if i want to service engeneer's yards

Re: Pikka's Basic Industries (PBI)
excellent. I have managed by your instructions to change all the values for bigger ones and encode them into the grf. thanks for the advice.
I have found out one other way to deal with small storage spaces. I have build a big station where all the long distance cargo is unloaded and then i have just 2 small trains hauling it from this "storage" station constantly feeding it to the factory. while it works fine, many of my trains are in negative profit, because they are just dumping all the cargo at the main station. no matter now i have solved the problem, thanks again.
PS i had some compactibility issues with the ECS, i dont think OTTD is fully compactibile with that grf set...
I have found out one other way to deal with small storage spaces. I have build a big station where all the long distance cargo is unloaded and then i have just 2 small trains hauling it from this "storage" station constantly feeding it to the factory. while it works fine, many of my trains are in negative profit, because they are just dumping all the cargo at the main station. no matter now i have solved the problem, thanks again.
PS i had some compactibility issues with the ECS, i dont think OTTD is fully compactibile with that grf set...
Re: Pikka's Basic Industries (PBI)
yeah, its because the gravel quarry needs a special set of sloped tilesa and a right distance to a biggish town. You can create a slope near a town and then do prospecting and he will choose the only avilabile site he can find
9the one you just strategically prepared
9the one you just strategically prepared

Re: Pikka's Basic Industries (PBI)
It's recommended that you use one industry .grf at a time, just like you are recommended to use only trainset.george11 wrote:PS i had some compactibility issues with the ECS, i dont think OTTD is fully compactibile with that grf set...
Re: Pikka's Basic Industries (PBI)
I'm having a minor problem with this grf...
When I'm using PBI in arctic, the cargo for the paper trucks (default rvs) is set as steel rather than paper. I'm assuming this is a bug rather than a feature of the grf?
When I'm using PBI in arctic, the cargo for the paper trucks (default rvs) is set as steel rather than paper. I'm assuming this is a bug rather than a feature of the grf?

My projects: New Town Names | Snow Aware Arctic Buildings | Custom Buildings | Funny Cars | Mini GRFs | Bits & Bobs
Contributions: BK Enhanced Tunnel Set | Fix TTD GRF Bugs | INFRA Foundations | OpenGFX | OpenGFX+ Airports
Other stuff: The GRFs That Time Forgot! | Buildings in Glasgow
What's that in my avatar? It's the Brighton & Rottingdean Seashore Electric Railway - bonkers Victorian engineering!
Contributions: BK Enhanced Tunnel Set | Fix TTD GRF Bugs | INFRA Foundations | OpenGFX | OpenGFX+ Airports
Other stuff: The GRFs That Time Forgot! | Buildings in Glasgow
What's that in my avatar? It's the Brighton & Rottingdean Seashore Electric Railway - bonkers Victorian engineering!
Re: Pikka's Basic Industries (PBI)
The default vehicles know only cargo ID, not cargo labels, so they are not compatible with new cargos. It's neither a feature nor a bug.
Re: Pikka's Basic Industries (PBI)
Ah, so it's because steel and paper share the same cargo id, which wouldn't ordinarily be a problem in arctic?
My projects: New Town Names | Snow Aware Arctic Buildings | Custom Buildings | Funny Cars | Mini GRFs | Bits & Bobs
Contributions: BK Enhanced Tunnel Set | Fix TTD GRF Bugs | INFRA Foundations | OpenGFX | OpenGFX+ Airports
Other stuff: The GRFs That Time Forgot! | Buildings in Glasgow
What's that in my avatar? It's the Brighton & Rottingdean Seashore Electric Railway - bonkers Victorian engineering!
Contributions: BK Enhanced Tunnel Set | Fix TTD GRF Bugs | INFRA Foundations | OpenGFX | OpenGFX+ Airports
Other stuff: The GRFs That Time Forgot! | Buildings in Glasgow
What's that in my avatar? It's the Brighton & Rottingdean Seashore Electric Railway - bonkers Victorian engineering!
Re: Pikka's Basic Industries (PBI)
Steel and paper share the same cargo ID by default, yes.
-
- Traffic Manager
- Posts: 152
- Joined: 28 Jan 2006 15:00
Re: Pikka's Basic Industries (PBI)
Why does the Food Processing Plant use the original road graphics instead of the ones used by the user?
- SquireJames
- Tycoon
- Posts: 1863
- Joined: 07 Aug 2004 11:56
- Skype: squirejames5
- Location: Stoke-on-Trent
- Contact:
Re: Pikka's Basic Industries (PBI)
Because the PBI industries sprites are seperate to the road sprites, and as such when the road sprites are overrruled by a later grf, that same grf is not told to replace the Food Processing Plant sprites.
-
- Traffic Manager
- Posts: 152
- Joined: 28 Jan 2006 15:00
Re: Pikka's Basic Industries (PBI)
I don't think that's the case, I also found the sprites in the .pcx when I decoded PBI
Re: Pikka's Basic Industries (PBI)
If you note, Pikka has drawn a specialised road tile just for the entry of the food processing plant, it is not a default road tile, so new road grf sets dont replace it.
The occasional look back at your past can teach you a great many things...
Something's Buggy Report
If somebody has already reported this, please let me know and I'll add "- Reminder" to the title name.
Windows98SE OEM
TTDPatch r1793
The problem is with the Brick Chain pikbrikw.grf v1.2 27/09/2007
If I disable the Brick Chain, the error goes away.
Note that I tested this with only the mandatory ttdpbasew.grf (latest version) and pikkindw.grf (v1.2 27/09/2007) and pikbrikw.grf (v1.2 27/09/2007) loaded ... nothing else.
The png shows the error.
The zip contains my configuration files.
Windows98SE OEM
TTDPatch r1793
The problem is with the Brick Chain pikbrikw.grf v1.2 27/09/2007
If I disable the Brick Chain, the error goes away.
Note that I tested this with only the mandatory ttdpbasew.grf (latest version) and pikkindw.grf (v1.2 27/09/2007) and pikbrikw.grf (v1.2 27/09/2007) loaded ... nothing else.
The png shows the error.
The zip contains my configuration files.
- Attachments
-
- Well, somebody failed!
- You_Fail.png (15.77 KiB) Viewed 4983 times
-
- You_Fail.zip
- Goodies wrapped in zip paper gift wrap
- (27.34 KiB) Downloaded 145 times
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Pikka's Basic Industries (PBI)
Version data problem... If you search, there's a lot of it about. 

Re: Pikka's Basic Industries (PBI)
That's what my doctor said about the flu.PikkaBird wrote:Version data problem... If you search, there's a lot of it about.

The problem with a search is it returns about 5,699,754 hits (ok ... so I exagerate) with a lot of OTTD stuff even in the Patch threads. Unfortunately, seeing as how I am a human, I have less than 100 years to live. I must devote much of that time to eating, sleeping, @#!@#&g, and playing TTDX games. Seeing as how I only have this issue with your Brick chain, perhaps you could post a link or two or add a little detail as to what the issue might be?

EDIT: By the way, did you scroll down on the png image to see the actual error?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Pikka's Basic Industries (PBI)
Thanks Pikka. I just did. Now, before I go through all those steps, any hints as to why this only happens with your Brick chain and nothing else? I would think that the nightly page's description implies something more general that would affect every attempt to launch the game and that is not happening to me.PikkaBird wrote:Read the page.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Who is online
Users browsing this forum: Bing [Bot] and 18 guests