Industry Sprite Help
Moderator: Graphics Moderators
Industry Sprite Help
As mentioned in http://www.tt-forums.net/viewtopic.php?f=31&t=36391 it was suggested to me to recreate the coal mine sprites.
Can I ask what grf file the mine sprite is in, as i'd rather not have to go into paint and remove all the grass colour from around the edges manually.
If the legality of this could be disputed, don't worry about it. I'll continue to play with the Purple Pixel Glitch.
Can I ask what grf file the mine sprite is in, as i'd rather not have to go into paint and remove all the grass colour from around the edges manually.
If the legality of this could be disputed, don't worry about it. I'll continue to play with the Purple Pixel Glitch.
What about you? Will you join me when the time comes to be a hero?
Re: Industry Sprite Help
trg1r.grf sprite 2022 -> 2025 have that glitch buildt in I think 
Edit: Ofcourse, if you download the new graphics from the 8bit project, the bug is already gone, and you got a new coalmine
http://www.tt-forums.net/viewtopic.php?f=36&t=35310

Edit: Ofcourse, if you download the new graphics from the 8bit project, the bug is already gone, and you got a new coalmine

http://www.tt-forums.net/viewtopic.php?f=36&t=35310
..: Trond :.. because you deserve it! 
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
Re: Industry Sprite Help
Thank you very much. I didn't realise there would be lots of different bits of the coal mine. *sigh*
This could get interesting. Many thanks.
EDIT: When I open the file "tgr1.grf" in WinGrf there bicky of icky purple stuff.
When I open the file "tgr1r.grf" in WinGrf nothing happens. O.o.0?
This could get interesting. Many thanks.
EDIT: When I open the file "tgr1.grf" in WinGrf there bicky of icky purple stuff.
When I open the file "tgr1r.grf" in WinGrf nothing happens. O.o.0?
What about you? Will you join me when the time comes to be a hero?
Re: Industry Sprite Help
I dont use wingrf, I use grfcodec wich come with OTTD, and after that I use PSPro for sprites and notepad for the nfofile...
..: Trond :.. because you deserve it! 
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
Re: Industry Sprite Help
Gah! Your giving me an excuse not to bother! I really want to try and do this...start dabbling in graphics.
Also, I'm not a massive fan of GRFWizard...had some problems with it in the past.
One more my friends, into the breach.
Also, I'm not a massive fan of GRFWizard...had some problems with it in the past.
One more my friends, into the breach.
What about you? Will you join me when the time comes to be a hero?
Re: Industry Sprite Help
well, you use grfcodec to extract the grf file to 2 files, one with the code and one with the sprites... grfodec is in the OTTD folder and is used from dosprompt. grfcodec -d trgr1.grf and you get two files in the spritefolder within the OTTD folder... edit the sprites and use grfcodec to build it together to a grf file again... grfcodec -e trgr1.grf (just taking all this out of my head, but I think thats how it works
)
BACKUP your files first just in case!!
Theres a bit of info on this around the forum if you do some searching...

BACKUP your files first just in case!!
Theres a bit of info on this around the forum if you do some searching...
..: Trond :.. because you deserve it! 
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
Re: Industry Sprite Help
Just says error: file [the grf, i presume] not found.
I'll have a look and see what the search can dig up.
I'll have a look and see what the search can dig up.
What about you? Will you join me when the time comes to be a hero?
Re: Industry Sprite Help
yeh, copy the original grf from datafolder to OTTD folder
I forgot that 


..: Trond :.. because you deserve it! 
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell
MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
Re: Industry Sprite Help
He never said "GRFWizard".tb2571989 wrote:Also, I'm not a massive fan of GRFWizard.
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
Re: Industry Sprite Help
*facepalm*
Very true...he didn't.
Still not working
Very true...he didn't.
Still not working

What about you? Will you join me when the time comes to be a hero?
Re: Industry Sprite Help
It's helpful if you show us what you're typing (including the full command prompt), and not just the error message.
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
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: Industry Sprite Help
have the trg1r.grf in the same folder as grfcodec...
open console
URL is the folder location
on linux
If you have trg1.grf, just leave the -p 2 option away.
You get two files in the /sprites folder, one is trg1(r).pcx, the other one is trg1(r).nfo
You can open the pcx file with ano normal drawing application (eg GIMP)
Now see what sprites are the coal mine sprites from pcx. yhere is a little number above them in pcx. Copy the first three lines from trg1r.nfo and the lines starting with sprite numbers, you need. Save it as some other nfo file and run nfo renum on it, don't worry if it gives any errors, you don't have ActionA nor Action8 yet
To get them, look into the specs
open console
URL is the folder location

Code: Select all
cd [paste the URL here]
grfcodec -d trg1r.grf -p 2
Code: Select all
cd [paste the URL here]
./grfcodec -d trg1r.grf -p 2
You get two files in the /sprites folder, one is trg1(r).pcx, the other one is trg1(r).nfo
You can open the pcx file with ano normal drawing application (eg GIMP)
Now see what sprites are the coal mine sprites from pcx. yhere is a little number above them in pcx. Copy the first three lines from trg1r.nfo and the lines starting with sprite numbers, you need. Save it as some other nfo file and run nfo renum on it, don't worry if it gives any errors, you don't have ActionA nor Action8 yet
To get them, look into the specs
Re: Industry Sprite Help
PATH! PATH! Paste the PATH.
The URL would start with "file://", and I strongly suspect that cd would not appreciate this incantation.
The URL would start with "file://", and I strongly suspect that cd would not appreciate this incantation.
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
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: Industry Sprite Help
Maybe I didn't mean THAT URL
... I added a note, what do I mean by URL this time
And well... on linux, file system is like file:/home/ or something like that...
But speaking of standards, I agree that I named it wrong.
One thing I forgot to mention -
You can get nforenum for out great friend's (or sometimes, Dalestan's) signature.
Path! Path... indeed
madis


But speaking of standards, I agree that I named it wrong.
One thing I forgot to mention -
You can get nforenum for out great friend's (or sometimes, Dalestan's) signature.
Path! Path... indeed
madis
Re: Industry Sprite Help
EDIT: Now fully working. Thank you very much, guys.
Last edited by peter1138 on 26 Feb 2008 22:10, edited 1 time in total.
Reason: Please don't post original (even if modified) graphics files here
Reason: Please don't post original (even if modified) graphics files here
What about you? Will you join me when the time comes to be a hero?
Re: Industry Sprite Help
No distribution of the original graphics. Even if you have modified four of the sprites.
Make a newgrf instead. Or, preferably, two of them; one each DOS and Win.
Make a newgrf instead. Or, preferably, two of them; one each DOS and Win.
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
Re: Industry Sprite Help
Oops, sorry.
I'll go and have a look at coding now.
I'll go and have a look at coding now.
What about you? Will you join me when the time comes to be a hero?
Who is online
Users browsing this forum: No registered users and 16 guests