I'm a bit stuck with the flag system. I'm adding countries for my DB.
So far I've added them in the DB itself in STA_region & STA_country and in LOC of the local.cdb.
With this new system I can't seem to figure out how the flag system works. There's still a collumn gene_tgaID_flag that used to link to STA_TGA in the local.cdb, but that is table gone. So how does the game link the country to the right flag? Is it just by the name of the country_flags1080.xml and the LOC of local.cdb, or what?
And is there anywhere else that I should add the countries?
EDIT:
Another question on top of that. When testing, I can run races without a problem, but when trying to start a career it has the famous crash when the game is generating new riders.
Yes, I have read the FAQ. I tried the local.cdb of the backup folder of the PCM daily EP and it still crashed. After I edited the LOC table (added the above mentioned countries, I thought it maybe crashed because it couldn't link STA_country to LOC) it still crashes. What else could be problem?
Edited by timpiej on 04-09-2016 18:11
Hmmm, I forgot about the regens names. Could that be the cause of the crash?
I do need some help with the 'add the flag to the TGA-file' though. So I'm getting the flags from google, I edit them to a 30 x 30 size. But which format? And then I open the XML file in Photoshop, how to I 'place' the flag on the right place? I can't imagne it's just a drag and drop procedure?
It can be any format as long as the pic is transparent. The size should be 24x16 btw.
Open countryflags1080.tga with paint.net - or photoshop too, but I never opened that program so no clue how it works - and you just need to drag and drop - yep - the flag to an empty place of the image, as long as it's perfectly parallel to the flag above it.
matt17br wrote:
It can be any format as long as the pic is transparent. The size should be 24x16 btw.
Open countryflags1080.tga with paint.net - or photoshop too, but I never opened that program so no clue how it works - and you just need to drag and drop - yep - the flag to an empty place of the image, as long as it's perfectly parallel to the flag above it.
Okay thanks, I thought 30 x 30 because that what it says in the XML-file.