Nation flags for GPxPatch 4.21 by TDL

Posted by TheDarkListener 
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:36AM
Posted by: ipswich2007
What is the width and height I need to specify, is it the 64x32 size of the graphic?

Also TDL what ones to use, 32 or 128?

Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:45AM
Posted by: ipswich2007
Okay so now that's working :D however a weird issue, has the image flipped for some reason??

[i948.photobucket.com]

EDIT: Hold on, now I load it and it's working properly :D :/ lol





Edited 2 time(s). Last edit at 06/11/2013 12:49AM by ipswich2007.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:47AM
Posted by: TheDarkListener
You can chose which resolution you want to use.

The smaller one is 64x32.
The bigger one is 256x128.

BMW Sauber Ferrari
Ferrari F10
Virgin Racing
Ferrari F150
Marussia Virgin Racing
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:54AM
Posted by: ipswich2007
All working now, surely the 128 resolution is too big for the screen? and when you resize them to fit on the driver name both the 32 and 128 resolution images appear the same size anyway??

Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:57AM
Posted by: ipswich2007
Also my first wish for a flag would be the England and Scotland flags, although maybe when a template is available we could make our own?

Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:04AM
Posted by: SDI
Whatever resolution it is, it will be scaled to about 32 in height. But it will also be scaled to 120% width. This means the 128 version might be slightly better, although you may not see the difference. It just costs a bit more video memory.

In general, the width and height you have to specify is the source rectangle in the .tga image, assuming the flag starts at 0,0 (left, top). But since in this case EDL already made the size a power of 2, you don't need to specify the width and height. The size of the image file (e.g. 256x128) will be used then. So I think for .tga you don't even need a flags.ini because the default Ext is also .tga :)

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:08AM
Posted by: SDI
ipswich2007 Schreef:
-------------------------------------------------------
> Also my first wish for a flag would be the England
> and Scotland flags, although maybe when a template
> is available we could make our own?

Hmm, no ISO 3166-1-alpha-2 code exists for those countries :)
You can make up your own though, as long as it doesn't match any existing code and it matches the flag image name. I only used standard codes in case I need to do more with nationalities in the future and to have some standard for modders.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:16AM
Posted by: ipswich2007
O right, so i could use EN when making one for my own use. But if someone were to release an English flag using EN to this community, we'd have to make sure no-one else was using EN for another country already?

Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:33AM
Posted by: SDI
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 04:42AM
Posted by: Pietro60
Hi to all boys,


thanks again to Rene, for the new Gpxpatch 4.21 and to TDL Thedarklistener; i have a little alternative and is this:





let it be clear that it is not 'to belittle the work of those who truly' dedicated to do this for all of us, thanks again, but it could be an alternative to those who can not properly display the flags, or do something different, I hope I can be a good idea.


Bye.


[gp4international.mastertopforum.eu]
Support Forum and Backup Gp4 International
[grandprix4.mastertopforum.com]
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 09:42AM
Posted by: quickslick
everything works fine, thank you for the nice additon of the flags(Y)



Edited 3 time(s). Last edit at 06/11/2013 10:50AM by quickslick.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 10:56AM
Posted by: SDI
@Pietro60: yes, that's one of the reasons I didn't include it in GPxPatch by default. So that the community can create alternative flag packs. The flags directory can also be changed in gpxsat.ini using the FlagsDir key (see docs), so you can easily switch between multiple installed flag packs.

@quickslick. GPxCInfo has nothing to do with the flags. Please read the documentation in GPxSAT.

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 11:52AM
Posted by: quickslick
i know René, i've made a mistake at the first time during the installation, but now i've corrected it and all works fine:)
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 11:59AM
Posted by: mclarenaustralia
The flags should be a tad darker so they don't stand out as much.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:15PM
Posted by: MDBSnake
Thank you for the flag pack!! It's looking very good :)


mclarenaustralia Schreef:
-------------------------------------------------------
> The flags should be a tad darker so they don't
> stand out as much.

I made a little edge around all the flags, that works for me :)






If you are racing, keep on racing and get some points!

GPG Super League S11 | Driver #41 | Team-manager | Snake Motorsports Racing Group | Next Race: Emmeloord - Flevoland GP | Constructors: 10th | Best Race Finish: 1st
GPG Super League Season 9 Testers Champion*
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 12:33PM
Posted by: quickslick
here are the missing scotland and ireland flags, but only in 64x32

[www55.zippyshare.com]
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:13PM
Posted by: richardparfitt63
Ok. firstly thankyou to everyone for keeping this brilliant game alive and constanly updating and improving both the game and no doubt your skills. I have read all i can about the flags, but I am now at the point where I am totally confused. I have made the Flags Directory under gfx/digital2010. greated a flags.ini but now i ma lost what goes where and how. Apologies for not understanding, but I am new to all this editing thing.

Refards Richard
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:30PM
Posted by: SDI
richardparfitt63 Schreef:
-------------------------------------------------------
> Ok. firstly thankyou to everyone for keeping this
> brilliant game alive and constanly updating and
> improving both the game and no doubt your skills.
> I have read all i can about the flags, but I am
> now at the point where I am totally confused. I
> have made the Flags Directory under
> gfx/digital2010. greated a flags.ini but now i ma
> lost what goes where and how. Apologies for not
> understanding, but I am new to all this editing
> thing.
>
> Refards Richard

It would have been better if the pack already included the flags.ini file.
But it seems the only thing left for you to do is to put the nationalities in gpxpdata\drivers.ini. You can copy it from this post. Just replace the content of drivers.ini with what's posted there.
And perhaps you didn't copy the flag images into the flags directory yet? In the TDL pack they are in the 128 subdirectory.

René Smit, Independent Software Developer.
Download my GPx tools here.



Edited 1 time(s). Last edit at 06/11/2013 01:31PM by SDI.
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:37PM
Posted by: Pietro60
@Rene Thanks for the reply,



I found these flags on this forum by the friends of Grandprix 3, I modified and updated to 2013, with names of drivers and teams, I would like to make it available to everyone, and gives me a great pleasure to do this, but before doing this, I seems logical and correct, going by the friends of Grandprix 3 and ask for permission for publication, I will let you know something.


Nice day to all.


[gp4international.mastertopforum.eu]
Support Forum and Backup Gp4 International
[grandprix4.mastertopforum.com]
Re: Nation flags for GPxPatch 4.21 by TDL
Date: June 11, 2013 01:52PM
Posted by: richardparfitt63
René, thankyou for your reply, flags are complete, drivers.ini is complete, but what exactly has to go in the flags.ini file. sorry for sounding dumb here.

Regards Richard, spelt it right this time!
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy