PCM.daily banner
23-11-2024 16:20
PCM.daily
Users Online
· Guests Online: 86

· Members Online: 1
Caspi

· Total Members: 161,795
· Newest Member: nshill1229
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2011
 Print Thread
Pink flags
SilasColdfire
Okay, so here comes an expert-level question:

1. All flag files have the same size (32x32 px, 5 KB)
2. All flag files were made by the same guy
3. All flag files have been converted in the same way
4. SOME show up correctly, some don't.

I double- or even triple-checked everything but I still have this weird error Frown

Please see the attached screenshot, I hope you have an idea Smile
SilasColdfire attached the following image:
flags.jpg
 
Jesleyh
My guess would be that the local.cdb isn't right.
You probably have download a DB but haven't put(or the installer didn't put) the local.cdb in My docs/PCM 2011 correctly.

i1326.photobucket.com/albums/u660/jesleyh/Junk/0ca5fb14-ed59-44b1-8eb0-596097ba5c01_zps8e97f370.jpg

Feyenoord(football) and Kelderman fanboy


PCMdaily Awards: 12x nomination, 9x runner-up, 0x win.
 
SilasColdfire
Under My Docs/ I've got:

Local.cdb (with a star icon because it's linked to the PCM Fast Editor)
Local.cdb~ (with a blank white icon)

I'm using the PCMdaily 2012 DB for PCM11
Edited by SilasColdfire on 22-01-2014 13:05
 
Jesleyh
Which of the local.cdbs is bigger?
I guess you have to use the biggest one. That one should be the .cdb , not the .cdb~(which isn't used but just a back-up)

Otherwise you might have missed the added flags in the download.
i1326.photobucket.com/albums/u660/jesleyh/Junk/0ca5fb14-ed59-44b1-8eb0-596097ba5c01_zps8e97f370.jpg

Feyenoord(football) and Kelderman fanboy


PCMdaily Awards: 12x nomination, 9x runner-up, 0x win.
 
SilasColdfire
they're both the same size.

I opened the DB with the Fast Editor and I think I found the soultion.

Under STA_TGA there are no entries for countries like Albania etc, so probably I must add them manually.
 
Jesleyh
Hmm, strange.

i1326.photobucket.com/albums/u660/jesleyh/Junk/0ca5fb14-ed59-44b1-8eb0-596097ba5c01_zps8e97f370.jpg

Feyenoord(football) and Kelderman fanboy


PCMdaily Awards: 12x nomination, 9x runner-up, 0x win.
 
SilasColdfire
No, that doesn't work. As soon as I add a line and try to save, DatabaseXML.exe is crashing Sad

 
Atlantius
SilasColdfire wrote:
No, that doesn't work. As soon as I add a line and try to save, DatabaseXML.exe is crashing Sad



Yeah, fast editor doesn't work on the local.
For that you'll need the Excel editor

pcmdaily.com/images/awards/2013/teamstory.png

Svensk Proffscykling - Your gateway to news about Swedish Cycling
Twitter | Facebook | Instagram | Web
 
SilasColdfire
okay I'll give it a try

EDIT: what do I have to put into "IDtga"? The other editor created the ID automatically
Edited by SilasColdfire on 22-01-2014 13:24
 
SilasColdfire
tried using the same ones as were given.

Still: No success. So I guess I'll have some pink squares in the game, shouldn't be much bother.
 
Ad Bot
Posted on 23-11-2024 16:20
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
Atlantius
In STA_Country there is a column called gene_tgaID_flag
That is the number that should be the IDtga in the local.cdb as this is where the game will look for directions to the flag.

Similarly with the name in STA_region (gene_strID_name), which refers to a row in STA_Localized_string of the local.cdb

pcmdaily.com/images/awards/2013/teamstory.png

Svensk Proffscykling - Your gateway to news about Swedish Cycling
Twitter | Facebook | Instagram | Web
 
SilasColdfire
Okay, thanks. I'll think about if I'm patient enough for that. But if so, then I've got something to try. Thanks!
 
KenL
Here is the main reason flags disappear.

You open a database, edit it and then save it possibly as a version 2.

You eliminate your old database version, restart the game, go to databases and choose your new version. Your old database is not there so the original custom database is now your default.

Even though you choose your edited database as the new default the game reverts back to the original local.cdb?

The solution I used was to put my edited database in the my docs/pcm11/database folder, delete the custom database, copy my edited database and rename it custom.

This way PCM will choose my database with the correct files as stated by Atlantius and if I edit a new db it will only change back to custom db which is set up properly with flags and will retain the correct local.

I also make a copy of the local with the correct flags and place it in my docs/pcm11 folder and name it as local_all flags as a backup. If I make a mistake with the custom database I just have to delete the local, copy and rename the local_all flags to local and all works.

The second part with the local is the simple version and will work on its own, but the first part with the custom ensures I never have this problem.

Long winded answer Embarassed

I don't have the file, but replacing your local with the pcmdaily one that goes with the database you are using should fix the flags issue, and then do the steps I said.
Edited by KenL on 22-01-2014 15:43
 
SilasColdfire
Wow... just... wow. :lol:

Replacing the local.cdb WAS in fact the thing to do. It's always the easy and logical things I keep forgetting Pfft

Well, thanks for explaining the complete process, I copied your answer to a txt file just in case.

Fantastic, thank you!
 
KenL
I also have a simpler version copied to text.

Glad it works.
 
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
E.T. = Gilbert??
E.T. = Gilbert??
PCM10: 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.41 seconds