NFO Editor Problems
Moderator: Graphics Moderators
- Zhe Toralf
- Engineer
- Posts: 10
- Joined: 21 Jan 2007 14:19
- Location: Germany
NFO Editor Problems
Hi I'm Zhe Toralf from Germany, so my english could be a little bad.
Well, I just got some stuff to create own .grf files, including the NFO Editor
(http://www.divxland.org/ttd/).
I've decoded some grf files to learn how this all works, but there's a Problem with the NFO Editor. When I open a NFO file, the editor tries to create a preview .bmp file from the .pcx file which belongs to the nfo.
But I can only view pseudo sprites, because when the Editor tries to create a preview for real sprites, the progress reaches 100% but right after that, theres an Alert "Failed to ceate file <file>.bmp. The NFO file will be closed now, but it is recommended to restart the program now."
I restarted the program and my system (windows XP with service pack 2)
several times, but there's no difference.
Anybody got a suggestion?
Well, I just got some stuff to create own .grf files, including the NFO Editor
(http://www.divxland.org/ttd/).
I've decoded some grf files to learn how this all works, but there's a Problem with the NFO Editor. When I open a NFO file, the editor tries to create a preview .bmp file from the .pcx file which belongs to the nfo.
But I can only view pseudo sprites, because when the Editor tries to create a preview for real sprites, the progress reaches 100% but right after that, theres an Alert "Failed to ceate file <file>.bmp. The NFO file will be closed now, but it is recommended to restart the program now."
I restarted the program and my system (windows XP with service pack 2)
several times, but there's no difference.
Anybody got a suggestion?
Re: NFO Editor Problems
Yes. Don't use NFO editor.Zhe Toralf wrote:Anybody got a suggestion?
It's by no means a required program for making grf files - in fact, I've never heard of anyone using it.
- Zhe Toralf
- Engineer
- Posts: 10
- Joined: 21 Jan 2007 14:19
- Location: Germany
SO what else should I use?
I tried to open the nfo files with Notepad2 (http://www.editoren.net/text/notepad2.htm), which can read a lot of files, but when I view an NFO file with it, i have some characters which are shown as some symbols you can't read, depending on file, how many of them appear.
I tried to open the nfo files with Notepad2 (http://www.editoren.net/text/notepad2.htm), which can read a lot of files, but when I view an NFO file with it, i have some characters which are shown as some symbols you can't read, depending on file, how many of them appear.
That's very peculiar. An NFO shouldn't include any too outlandish characters. Although the decoding parser for text strings is not perfect and will occasionally convert bits it shouldn't, resulting in sprites like:
Incidentally, decoding grf files is probably not the best way to learn to write NFO. Your best bet is to start from scratch, read slowly through the tutorial on the wiki, and then come and post in the graphics forum when you get stuck.
I personally use ConTEXT for editing NFO files.1045 * 47 00 03 01 29 00 0E 1F "+8ä" 8B "cm«´Üâ" 7F "fYÊÆu" 87 A2 87 "¯<PJ2H%-¢" 16 3F 94 "N©`+" 13 "-'" 13 1C
Incidentally, decoding grf files is probably not the best way to learn to write NFO. Your best bet is to start from scratch, read slowly through the tutorial on the wiki, and then come and post in the graphics forum when you get stuck.
- Zhe Toralf
- Engineer
- Posts: 10
- Joined: 21 Jan 2007 14:19
- Location: Germany
I don't agree with you here, I used decoded GRFs to help me understand what was explained at the wiki. It helped me make my first (working) newstations GRF todayPikkaBird wrote:Incidentally, decoding grf files is probably not the best way to learn to write NFO. Your best bet is to start from scratch, read slowly through the tutorial on the wiki, and then come and post in the graphics forum when you get stuck.

Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone

OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone







- Zhe Toralf
- Engineer
- Posts: 10
- Joined: 21 Jan 2007 14:19
- Location: Germany
Seconded.PikkaBird wrote:Yes. Don't use NFO editor.
Or, if you do use it, read the notes and warnings first, and obey them.
Yes. GRFCodec is guaranteed to produce output it can read, and barring requested palette changes, output that will generate a functionally equivalent grf file.Zhe Toralf wrote:Well if I have such a NFO file, with strange charakters, will the grf file be correct, if I encode this file again?
NFORenum's @@BEAUTIFY command is pretty good at converting NFO from GRFCodec's often-flawed guesses to something that's pretty close to correct. If you don't like the output, check the readme; it details several settings that you can adjust to tailor the output to your liking.
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
- Wile E. Coyote
- Tycoon
- Posts: 8515
- Joined: 08 Jul 2004 22:14
- Skype: wile.e.coyote2
- Location: Belgrade, Serbia
- Contact:
As DaleStan said.
NFO Editor is totally outdated, it don't support text strings too, etc. If you aren't familliar with NFO editing, you can PM Szappy for GRF Maker (altough it has its own limitations too).
NFO Editor is totally outdated, it don't support text strings too, etc. If you aren't familliar with NFO editing, you can PM Szappy for GRF Maker (altough it has its own limitations too).
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.
Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Who is online
Users browsing this forum: Amazon [Bot] and 8 guests