
Problem with PCX file
Moderator: Graphics Moderators
Problem with PCX file
What program should I use to edit the PCX file? My Win version doesn't have an association for PCX files 

Re: Problem with PCX file
Irfanview, I.mage or GIMP should do.
The occasional look back at your past can teach you a great many things...
Re: Problem with PCX file
Just finished installing the GIMP 
EDIT: And it's already hung itsself up

EDIT: And it's already hung itsself up

Re: Problem with PCX file
Then use IrfanView to convert pcx from and to bmp/png. (bmp for editing graphics, png for posting screenshots)
Re: Problem with PCX file
png is fine for editing you know
The occasional look back at your past can teach you a great many things...
Re: Problem with PCX file
I already got it to work, but now I face a new problem.
I put the stuff from the Dutch Catenary PCX into elrailsw.PCX, I encoded it with GRFWizard, and now OTTD says my elrailsw.grf is corrupt
I put the stuff from the Dutch Catenary PCX into elrailsw.PCX, I encoded it with GRFWizard, and now OTTD says my elrailsw.grf is corrupt

Re: Problem with PCX file
Of course, you edited elrailsw.grf. It now doesn't match the original any more, so for OTTD it's corrupted.denny577 wrote:and now OTTD says my elrailsw.grf is corrupt
Why do you want to do that anyways? You can load the Dutch catenary in OTTD just fine.
Re: Problem with PCX file
I know I just thought I'd try.
But where does OTTD store it's knowledge of the original grfs then?
But where does OTTD store it's knowledge of the original grfs then?

Re: Problem with PCX file
As you can see in the NewGRF status window, OTTD can calculate the MD5 hash of a newgrf file. The MD5 hash is some kind of unique bitprint of a file.
Additionally, OTTD knows the md5 hash of the original OTTD graphics. Changing an original file also changes the md5 hash of that file. The value known to OTTD doesn't match the value of the file any more, so it must be corrupted.
You should rather create a NewGRF to do what your planning to do.
PS
I don't know if the explanation above is actually correct, but it sounds as plain logic to me.
Additionally, OTTD knows the md5 hash of the original OTTD graphics. Changing an original file also changes the md5 hash of that file. The value known to OTTD doesn't match the value of the file any more, so it must be corrupted.
You should rather create a NewGRF to do what your planning to do.
PS
I don't know if the explanation above is actually correct, but it sounds as plain logic to me.
Re: Problem with PCX file
i think you can edit the actual graphics files containing the original graphics- trg1r.grf. i think this shouldn't cause the same problems. It seems that editing the required "extra" graphics such as elrails causes problems. I have done this- and it is easier than learning how to code grfs- however obviously it is limited as to what you can do like this- and you will want to learn to code in the end. I am trying this at the moment!-
actually coding a simple graphics replacement for one of the existing graphics is very easy to do. Look at the tutorial on the ttdpatch wiki (sorry im a bit busy so cant get you a link!), and the page for actionA. It took me about 2 hours to work that part out. Although you cant do anything more with it than what you could do wwith editing trg1r.pcx.
actually coding a simple graphics replacement for one of the existing graphics is very easy to do. Look at the tutorial on the ttdpatch wiki (sorry im a bit busy so cant get you a link!), and the page for actionA. It took me about 2 hours to work that part out. Although you cant do anything more with it than what you could do wwith editing trg1r.pcx.
previously known as daylight
Re: Problem with PCX file
You do however have advantage of being to deactivate the .grfmph wrote:Although you cant do anything more with it than what you could do wwith editing trg1r.pcx.
Re: Problem with PCX file
You also get round the problem of having a completely messed up trg1r.grf file. I messed my default stations up so much i will have to completely reinstall my ottd graphics to get them back- yet ive done other things i dont want to loose. it suited me at the time i guess- but i have since woked out how to code a station ( a little bit anyway- by way of getting someone to code it for meAmeecher wrote:You do however have advantage of being to deactivate the .grfmph wrote:Although you cant do anything more with it than what you could do wwith editing trg1r.pcx.

previously known as daylight
Re: Problem with PCX file
Why would you want to do that? The Dutch Catenary is fully functionally coded in a GRF available at the Dutch Trainset's website and GRFCrawler... It's known to work with OpenTTD too.denny577 wrote:I already got it to work, but now I face a new problem.
I put the stuff from the Dutch Catenary PCX into elrailsw.PCX, I encoded it with GRFWizard, and now OTTD says my elrailsw.grf is corrupt
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.

Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Re: Problem with PCX file
I know it works and I also use it, but I just always experimentPurno wrote:Why would you want to do that? The Dutch Catenary is fully functionally coded in a GRF available at the Dutch Trainset's website and GRFCrawler... It's known to work with OpenTTD too.denny577 wrote:I already got it to work, but now I face a new problem.
I put the stuff from the Dutch Catenary PCX into elrailsw.PCX, I encoded it with GRFWizard, and now OTTD says my elrailsw.grf is corrupt

Who is online
Users browsing this forum: No registered users and 24 guests