Page 1 of 1
32bpp tar files question.
Posted: 08 Jan 2010 17:06
by neob
i use the tar files from the
OpenTTD gfxdev file repository
my OTTD couldnt read the tar files so i extracted them into main and everything worked fine
my only point of concern was that some tar files had batch files included a call to pngcodec
with commands similar to this:
Code: Select all
pngcodec r 2344_z0.png x_offs=-253 y_offs=-354
what its for and should i get pngcodec and execute the batches in the relevant folders?
Re: 32bpp tar files question.
Posted: 08 Jan 2010 17:22
by maquinista
neob wrote:i use the tar files from the
OpenTTD gfxdev file repository
my OTTD couldnt read the tar files so i extracted them into main and everything worked fine
my only point of concern was that some tar files had batch files included a call to pngcodec
with commands similar to this:
Code: Select all
pngcodec r 2344_z0.png x_offs=-253 y_offs=-354
what its for and should i get pngcodec and execute the batches in the relevant folders?
Not, I included these files to help people that wants modify the graphics.
Re: 32bpp tar files question.
Posted: 08 Jan 2010 18:12
by neob
thank you.
Re: 32bpp tar files question.
Posted: 15 Jan 2010 14:19
by neob
i have another question regarding the
left bus tar, how do i make it work?
loading tar files doesnt work for me, so like usual i extract its content into the data folder
but this didnt work, after changing the setting the bus does drive on the left side but the sprite stays the same (the door is on the wrong side)
i checked the tar structure and its sprites located in the 'sprites\trg1r\' folder, replacing those in 'ogfx1_base' with them worked but that doesnt seem right (plus its f*** the right side buses), what am i missing?
edited.
Re: 32bpp tar files question.
Posted: 15 Jan 2010 14:34
by maquinista
You should use only the file that You want. If You want left buses, You need have only the left buses file in your data folder.
Re: 32bpp tar files question.
Posted: 15 Jan 2010 14:53
by Varivar
If you want to use left side buses you have to change the vehicle drive side to left at the options menu.
Re: 32bpp tar files question.
Posted: 15 Jan 2010 15:04
by neob
Varivar wrote:If you want to use left side buses you have to change the vehicle drive side to left at the options menu.
of course i did

and bus is driving on the other side but the
sprite stays the same, you can see the door is on the wrong side. (i edited my previous post to make it clear)
maybe its has to do with the sprites located in 'sprites\trg1r\' ?
since all the other are located in either of those folders (since they replace the sprites in opengfx grf with the same name)
ogfx1_base
ogfxc_arctic
ogfxe_extra
ogfxh_tropical
and there no trg1r.grf in opengfx neither there a trg1r.grf provided with file like the other tars...
Re: 32bpp tar files question.
Posted: 15 Jan 2010 15:15
by Varivar
I just checked the left bus tar file, and those sprites are actually right side buses. So it's a bug of the tar file. Maquinista, can you fix this?
Re: 32bpp tar files question.
Posted: 15 Jan 2010 16:05
by maquinista
Re: 32bpp tar files question.
Posted: 15 Jan 2010 16:47
by neob
thanks for fixing it so fast, but i am using the new tar file and still have the same problem

- Untitled.png (45.2 KiB) Viewed 3373 times
Re: 32bpp tar files question.
Posted: 15 Jan 2010 17:41
by GeekToo
Please see this:
http://www.tt-forums.net/viewtopic.php?p=848718#p848718
If you use opengfx, and the tar file is also using the opengfx directories, you only have to untar the opengfx tars, and put the files in the data directory mentioned in the link.
If you use opengfx, and the tar file is using the 'old' grf-name directories, like trg(1)r etc, then you need to untar the tar with the sprites and rename it to it's opengfx equivalent, like ogfx1_base (and you can tar it again if you want). You also need to untar the opengfx tars.
If you don't use opengfx, and the tar is for the old dir-name, you don't need to do anything, it will work out of the box
And if you don't use opengfx, ant the tar has opengfx paths in it, untar it (and delete it!), and rename the directories to the old names.
In other cases, the sprites won't appear.
All this mess can be prevented if the tars would have been packed with a symbolic link between the directories (or individual sprites, can't remember exactly), which is very easy to do on Linux, but I don't know if it can be done on Windows.
http://www.tt-forums.net/viewtopic.php? ... 3&p=708618
Re: 32bpp tar files question.
Posted: 15 Jan 2010 19:25
by neob
GeekToo wrote:Please see this:
http://www.tt-forums.net/viewtopic.php?p=848718#p848718
If you use opengfx, and the tar file is also using the opengfx directories, you only have to untar the opengfx tars, and put the files in the data directory mentioned in the link.
If you use opengfx, and the tar file is using the 'old' grf-name directories, like trg(1)r etc, then you need to untar the tar with the sprites and rename it to it's opengfx equivalent, like ogfx1_base (and you can tar it again if you want). You also need to untar the opengfx tars.
If you don't use opengfx, and the tar is for the old dir-name, you don't need to do anything, it will work out of the box
And if you don't use opengfx, ant the tar has opengfx paths in it, untar it (and delete it!), and rename the directories to the old names.
In other cases, the sprites won't appear.
All this mess can be prevented if the tars would have been packed with a symbolic link between the directories (or individual sprites, can't remember exactly), which is very easy to do on Linux, but I don't know if it can be done on Windows.
http://www.tt-forums.net/viewtopic.php? ... 3&p=708618
thank you, i bolded the appropriate part - i use opengfx and in the tar the png files stored under 'sprites\trg1r\'
so like you suggested, i already tried to change the folder name to 'ogfx1_base' but then the 'left bus' files have to overwrite the 'right bus' files which named the same...
its not that i cannot make left bus but that i can make either left or right bus available by overwriting the other set, dont they suppose to have different names?
Re: 32bpp tar files question.
Posted: 15 Jan 2010 19:30
by maquinista
neob wrote:GeekToo wrote:Please see this:
http://www.tt-forums.net/viewtopic.php?p=848718#p848718
If you use opengfx, and the tar file is also using the opengfx directories, you only have to untar the opengfx tars, and put the files in the data directory mentioned in the link.
If you use opengfx, and the tar file is using the 'old' grf-name directories, like trg(1)r etc, then you need to untar the tar with the sprites and rename it to it's opengfx equivalent, like ogfx1_base (and you can tar it again if you want). You also need to untar the opengfx tars.
If you don't use opengfx, and the tar is for the old dir-name, you don't need to do anything, it will work out of the box
And if you don't use opengfx, ant the tar has opengfx paths in it, untar it (and delete it!), and rename the directories to the old names.
In other cases, the sprites won't appear.
All this mess can be prevented if the tars would have been packed with a symbolic link between the directories (or individual sprites, can't remember exactly), which is very easy to do on Linux, but I don't know if it can be done on Windows.
http://www.tt-forums.net/viewtopic.php? ... 3&p=708618
thank you, i bolded the appropriate part - i use opengfx and in the tar the png files stored under 'sprites\trg1r\'
so like you suggested, i already tried to change the folder name to 'ogfx1_base' but then the 'left bus' files have to overwrite the 'right bus' files which named the same...
its not that i cannot make left bus but that i can make either left or right bus available by overwriting the other set, dont they suppose to have different names?
You should use only one TAR file for the bus, not the two TAR files.
Re: 32bpp tar files question.
Posted: 15 Jan 2010 20:59
by neob
maquinista wrote:You should use only one TAR file for the bus, not the two TAR files.
i see... i thought there was an option to use them both.
maybe it should be considered a use of grf like for the 'gresley_a4' 'jubilee' from the train tar.
so its can be turned on and off from the menus without overwriting files.
anyway thanks for the help.