PCM.daily banner
27-12-2024 04:54
PCM.daily
Users Online
· Guests Online: 53

· Members Online: 0

· Total Members: 162,257
· Newest Member: HerbertMow
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2013
 Print Thread
Flags issue
9-Ball
Can someone direct me to where the IDregions (i.e. 2-10501, covering regions from the countries in the game) connects in the DB to flags?

I'm having issues with riders who are defined as from some countries having no nation flag, just a pink texture placeholder. I'm pretty certain all the flags are there, however.

As an e.g., I have a rider in DYN_Cyclist with a fkIDregion value of 10301, which I understand to be Azerbaijan, as defined in STA_region.

The correctly formatted azerbaijan.tga flag file is in gui/country_flags.

In game, I see a pink texture. Same issue applies for a few other countries and I've treble-checked the graphic files and IDs.

I'm not sure of the cause. So, ideas? Thanks in advance.
It was eleven more than necessary.
Jacques Anquetil
 
Selwink
10301 is region Azerbeidzjan, for the country it's 103. Not sure, might be totally wrong here.
pcmdaily.com/images/mg/micro/npn.png[PCT] Novatek-Panarmenian.net
[ICL] Sugoi-Xanterra & Canada Dry Dev Team
Stages (Requests closed)

i.imgur.com/vR8EVAA.png

'But why were [...] they helped to get to space? To find answers, we must look at predictions not of science, but of science-fiction.'
Ancient Aliens
 
CrueTrue
Did you add the country yourself? If so, you have to add the ID for the flag in STA_TGA and link it in STA_country.
 
http://www.pcmdaily.com
Ad Bot
Posted on 27-12-2024 04:54
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
9-Ball
No, the country was already in the PCM Daily DB. Where is the STA_TGA, however? That might help unravel the mix-up. I don't see it in the main CDB. Is it in the Local or some other file?
It was eleven more than necessary.
Jacques Anquetil
 
CrueTrue
In that case, it should be working per default (and it does at my end). From the FAQ:

There's purple flags or purple icons in the equipment selection screen.
This means that the game isn't using the Local.cdb file that's compatible with the PCM.daily DB.

Open up the folder where Pro Cycling Manager is installed and find the folder called PCM.daily DB Backup. Inside it, there's a Local.cdb. Copy it to My Documents/Pro Cycling Manager 2013. Replace the existing file.

If you use Steam, you need to copy the Local.cdb to the Database folder of your installation - e.g. C:\Program Files\Steam\steamapps\common\Pro Cycling Manager - Season 2013\Database

If you can't find the backup files, note that they are also attached to this thread.
 
http://www.pcmdaily.com
9-Ball
That fixed it - many thanks.
It was eleven more than necessary.
Jacques Anquetil
 
Jaywol
Hi. I have posted with the same issue in the 2012 Database thread, local and CDB file attached. I have followed the same steps as above without success. Can anyone check the files to see if they can figure out the issue please ?
 
lluuiiggii
The solution should be the same - are you sure that you're copying the correct Local.cdb? You could try re-downloading the .cdb files in the first post of the Support and Comments thread (if it's the PCM12 DB, then the PCM12 thread for Support and Comments).
 
Jaywol
The local cdb is copied to the correct folder and all tga id's are correct, as are those in sta_country. All the tga files are in the the GUI_country_flags folder. Most of the flags show correctly, yet some such as eritrea and syria do not ?
 
JayJunior072
In order to make a rider come from a certain country, you'll have to add the country to STA_region as well, so you can assign a rider to that region in a DB editor.
That way a rider will show up as a eritrean or syrian rider f.e.

Tables you have to edit:

In the DB itself:
STA_country (for the country itself)
STA_region (for a region to be added and to assign a rider to)

Local.cdb:
STA_TGA (for the flag tga ingame, make sure to have added the flag tga to the correct folder)
STA_localized_string (for the country/region to have a correct name/translation)

Make sure all the parameters are the same in each table (f.e. country ID's, file names, etc.
"The only thing that stand between you and your dream, is the will to try and the belief that it is actually possible." - Joel Brown
 
lluuiiggii
Try doing some edit to the Local.cdb, like changing the name of a country to 'test'. That can be done in table STA_localized_string (not sure if the Fast Editor works for editing Local.cdb btw, I think you have to use Lachi's or the Full Editor). Then in game you'll be able to know with certainty whether the game is using the correct Local.cdb (in which case the country you've changed name should have a different name) or if it's replacing by the default one (in which case the country name will be normal and the pink flags will be explained). If it's the latter, and you're sure you've already copied the correct Local.cdb to both My Docs/PCM12 and [Main PCM Folder]/Database, you could also try setting it as 'read only' (right click -> Properties -> read only), maybe it helps.
 
Jaywol
Hi. The riders already show the correct country in game. However, I will try all suggestions and feed back.
 
Jaywol
Hi. Just for info, I checked the country_id's in STA_Region against those in STA_Country and some were incorrect. All flags now showing correctly Smile
 
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
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,776 PCM$
bullet df_Trek 17,774 PCM$
bullet Marcovdw 15,845 PCM$
bullet jseadog1 13,852 PCM$
bullet baseba... 10,539 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 22,090 PCM$
bullet df_Trek 15,920 PCM$
bullet Marcovdw 15,300 PCM$
bullet jseadog1 13,800 PCM$
bullet baseball... 7,432 PCM$

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