Page 1 of 1
Coding trouble. Malta bus project
Posted: 19 Nov 2007 11:56
by VoroninY
Good morning\ day\ evening to everybody!
After 5 days of reading website wiki.ttdpatch.net I drew some test grafiks (it will be a Malteese bus). And now I am not in the best situation: I understood, that I don`t understand everything at all: how and in where make .nfo files, and about hex. I have read the example text of .nfo file, understood only where to write the location of file .pcx, understood meaning of numbers (in the beginning of lines)/ And no more/ Aren`t there any more coding tutorials? If i made mistake- give link. Searching didn`t give a result.
Re: Coding trouble. Malta bus project
Posted: 19 Nov 2007 13:39
by Samwise
Not that I'm aware of.. If I'm correct the only NFO tutorial is on wiki..
Re: Coding trouble. Malta bus project
Posted: 20 Nov 2007 06:06
by VoroninY
Oh, it`s really bad for me...

Dut, I heard about programm GRFMaker- what can you say about it?
Re: Coding trouble. Malta bus project
Posted: 20 Nov 2007 06:20
by DaleStan
The answer depends on who you talk to, but most people agree that it use of GRFMaker just glosses over the fiddly details of NFO, but still requires the same level of general NFO knowledge. Depending on the desired effect, it may also require full knowledge, as some things are not supported.
Re: Coding trouble. Malta bus project
Posted: 20 Nov 2007 09:42
by VoroninY
OK, I will read about NFO again. And I`ll try to understand. So, thanks for help.
Re: Coding trouble. Malta bus project
Posted: 20 Nov 2007 19:05
by PikkaBird
DaleStan wrote:The answer depends on who you talk to, but most people agree that it use of GRFMaker just glosses over the fiddly details of NFO, but still requires the same level of general NFO knowledge. Depending on the desired effect, it may also require full knowledge, as some things are not supported.
It also makes it very difficult for anyone familiar with NFO but not with grfmaker to help you when you run into problems.
Re: Coding trouble. Malta bus project
Posted: 20 Nov 2007 20:53
by AndersI
PikkaBird wrote:It also makes it very difficult for anyone familiar with NFO but not with grfmaker to help you when you run into problems.
Not necessarily. GRFMaker can always write an NFO file, which can be used when discussing the problem. When it comes to
implementing the solution with GRFMaker, you're probably right.
Re: Coding trouble. Malta bus project
Posted: 21 Nov 2007 04:36
by dev|ant
VoroninY wrote:OK, I will read about NFO again. And I`ll try to understand. So, thanks for help.
Where are you running into trouble? Have you got any of the .nfo written yet? If you have post it up here and we'll be able to help. A Maltese bus set would be cool.

Re: Coding trouble. Malta bus project
Posted: 21 Nov 2007 04:56
by VoroninY
Trouble now- i don`t understand, from what point count parameters of ysize xsize xrel yrel and xpos ypos. Looking though tutorials and pictures didn`t help. What can you say about it? And can I use codes from bus for replacement?
Re: Coding trouble. Malta bus project
Posted: 21 Nov 2007 07:20
by michael blunck
VoroninY wrote:i don`t understand, from what point count parameters of ysize xsize xrel yrel and xpos ypos. Looking though tutorials and pictures didn`t help. What can you say about it?
http://wiki.ttdpatch.net/tiki-index.php ... oordinates
regards
Michael
Re: Coding trouble. Malta bus project
Posted: 21 Nov 2007 10:11
by VoroninY
OK, thank.
Re: Coding trouble. Malta bus project
Posted: 21 Nov 2007 12:01
by dev|ant
VoroninY wrote:Trouble now- i don`t understand, from what point count parameters of ysize xsize xrel yrel and xpos ypos. Looking though tutorials and pictures didn`t help. What can you say about it? And can I use codes from bus for replacement?
Have a read of the link Michael gave you, that should help.
I will say this though, GRFMaker makes things like this a breeze. It can handle the simple NFO stuff very well, and at any time you can view the NFO to see what it's done and then try and work out why it's done like that. I think you can learn NFO much quicker when you are using a tool that shows you the code that
you need, not a generic example on the Internet.
Re: Coding trouble. Malta bus project
Posted: 22 Nov 2007 07:39
by VoroninY
Ok, what about it?
0*length(I`ll count myself later) 04 01 02 num-ent offset 4f 6c 64 20 61 6c 74 65 65 73 65 20 62 75 73 00(Old malteese bus)
What about it?
Re: Coding trouble. Malta bus project
Posted: 22 Nov 2007 07:41
by VoroninY
dev|ant wrote:VoroninY wrote:Trouble now- i don`t understand, from what point count parameters of ysize xsize xrel yrel and xpos ypos. Looking though tutorials and pictures didn`t help. What can you say about it? And can I use codes from bus for replacement?
Have a read of the link Michael gave you, that should help.
I will say this though, GRFMaker makes things like this a breeze. It can handle the simple NFO stuff very well, and at any time you can view the NFO to see what it's done and then try and work out why it's done like that. I think you can learn NFO much quicker when you are using a tool that shows you the code that
you need, not a generic example on the Internet.
I have made code of normal sprites already. It`s really easy thing!