PCM.daily banner
24-11-2024 20:21
PCM.daily
Users Online
· Guests Online: 89

· Members Online: 0

· Total Members: 161,803
· Newest Member: actronspareparts
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2015
 Print Thread
How do you add countries (with the right flag)
timpiej
Hi

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
 
matt17br
Followed this? https://pcmdaily.com/forum/viewthread....st_1155390
(Former) Manager of pcmdaily.com/images/mg/2020/Micros/gen.png Generali pcmdaily.com/images/mg/2020/Micros/gen.png
 
http://v.ht/Matt17
timpiej


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?
 
matt17br
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.
(Former) Manager of pcmdaily.com/images/mg/2020/Micros/gen.png Generali pcmdaily.com/images/mg/2020/Micros/gen.png
 
http://v.ht/Matt17
timpiej
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.
 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Advertising
Advertising
PCM12: Funny Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,345 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,800 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.20 seconds