Pink flags
|
SilasColdfire |
Posted on 22-01-2014 12:51
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
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
Please see the attached screenshot, I hope you have an idea
|
|
|
|
Jesleyh |
Posted on 22-01-2014 12:53
|
Tour de France Champion
Posts: 15274
Joined: 21-07-2012
PCM$: 200.00
|
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.
Feyenoord(football) and Kelderman fanboy
PCMdaily Awards: 12x nomination, 9x runner-up, 0x win.
|
|
|
|
SilasColdfire |
Posted on 22-01-2014 13:05
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
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 |
Posted on 22-01-2014 13:06
|
Tour de France Champion
Posts: 15274
Joined: 21-07-2012
PCM$: 200.00
|
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.
Feyenoord(football) and Kelderman fanboy
PCMdaily Awards: 12x nomination, 9x runner-up, 0x win.
|
|
|
|
SilasColdfire |
Posted on 22-01-2014 13:12
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
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 |
Posted on 22-01-2014 13:14
|
Tour de France Champion
Posts: 15274
Joined: 21-07-2012
PCM$: 200.00
|
Hmm, strange.
Feyenoord(football) and Kelderman fanboy
PCMdaily Awards: 12x nomination, 9x runner-up, 0x win.
|
|
|
|
SilasColdfire |
Posted on 22-01-2014 13:15
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
No, that doesn't work. As soon as I add a line and try to save, DatabaseXML.exe is crashing
|
|
|
|
Atlantius |
Posted on 22-01-2014 13:18
|
Team Leader
Posts: 6795
Joined: 21-07-2010
PCM$: 200.00
|
SilasColdfire wrote:
No, that doesn't work. As soon as I add a line and try to save, DatabaseXML.exe is crashing
Yeah, fast editor doesn't work on the local.
For that you'll need the Excel editor
|
|
|
|
SilasColdfire |
Posted on 22-01-2014 13:20
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
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 |
Posted on 22-01-2014 14:37
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
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 |
Posted on 22-01-2014 14:42
|
Team Leader
Posts: 6795
Joined: 21-07-2010
PCM$: 200.00
|
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
|
|
|
|
SilasColdfire |
Posted on 22-01-2014 14:59
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
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 |
Posted on 22-01-2014 15:41
|
Stagiare
Posts: 226
Joined: 05-11-2007
PCM$: 200.00
|
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
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 |
Posted on 22-01-2014 16:14
|
Stagiare
Posts: 191
Joined: 21-04-2012
PCM$: 200.00
|
Wow... just... wow.
Replacing the local.cdb WAS in fact the thing to do. It's always the easy and logical things I keep forgetting
Well, thanks for explaining the complete process, I copied your answer to a txt file just in case.
Fantastic, thank you! |
|
|
|
KenL |
Posted on 22-01-2014 17:10
|
Stagiare
Posts: 226
Joined: 05-11-2007
PCM$: 200.00
|
I also have a simpler version copied to text.
Glad it works. |
|
|