Welcome to Radarspotting. Please login or sign up.

May 15, 2026, 11:25:08 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

Countries.dat file for Basestation

Started by Roadrunner, May 16, 2017, 07:35:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


aviationpete

I recently downloaded the larger Countries DAT file with no issues. How ever the Air Tahiti Nui flight called for French_Overseas country flag instead of a France flag so i renamed a 40 X 20 BMP France flag as French_Overseas as enclosed.



Ospreyv22

Or put this one in for French_Overseas


terrywadeairbus

Would anyone please be able to supply me with the latest countries dat file for Taiwan, I'm currently using the one below, but some aircraft don't show the country flag, for example B-16735 B77W EVA hex 899039

Taiwan=10001001100100xxxxxxxxxx,14,Taiwan.bmp

Many Thanks

Terry

DaveReid

Quote from: terrywadeairbus on April 06, 2024, 09:40:26 AMWould anyone please be able to supply me with the latest countries dat file for Taiwan, I'm currently using the one below, but some aircraft don't show the country flag, for example B-16735 B77W EVA hex 899039

Taiwan=10001001100100xxxxxxxxxx,14,Taiwan.bmp

Many Thanks

Terry

That line corresponds to the range 899000-8993FF, so if it's not catching 899039 then I can only think that there's another line in your Countries.dat that's overriding it.

Anmer

Quote from: DaveReid on April 07, 2024, 07:46:00 AMThat line corresponds to the range 899000-8993FF, so if it's not catching 899039 then I can only think that there's another line in your Countries.dat that's overriding it.

Forum member egnx has made a very useful tool to check the Countries.dat file.

You can download it from here
Here to Help.

terrywadeairbus

Hi Anmer

I've downloaded the countries.dat tool that's very useful.

Is there any easy way of checking my countries.dat file to see what might be overriding this Taiwan hex?

Would a new install of the entire countries.dat file possibly sort it out, although that might be a bit drastic for the odd one or two aircraft that are missing country flags?


Thanks

Terry

Anmer

Quote from: terrywadeairbus on April 07, 2024, 10:23:01 AMIs there any easy way of checking my countries.dat file to see what might be overriding this Taiwan hex?

As it says "on the tin":

"By entering a hex ModeS code it will search a Countries.dat file and return:-

The binary representation of the queried Mode S
Every record where the queried Mode S matches the record's binary mask
The matching record that would be used as the displayed country is highlighted in yellow"

Give it a try!

Quote from: terrywadeairbus on April 07, 2024, 10:23:01 AMWould a new install of the entire countries.dat file possibly sort it out, although that might be a bit drastic for the odd one or two aircraft that are missing country flags?


Depends whether the replacement Countries.dat file has the relevant entries for Taiwan and doesn't "break" another hex range.


Here to Help.

terrywadeairbus

Hi Anmer

In that case I think I'll just leave things alone and have the odd country flag missing

Thanks for you help and thanks egnx for the useful look up hex program

Terry

Anmer

Here to Help.

terrywadeairbus

Hi Anmer

I did use the tool for the Taiwan hex code and
it came back from an identical Taiwan dat file
I'm using

Thanks






Anmer

Did the hex code return just the one record for Taiwan?
Here to Help.

DaveReid

My (very elderly) copy of Countries.dat only has a 16-digit mask, i.e. fewer trailing x's:

Taiwan=10001001100100xx,14,Taiwan.bmp

I don't think it should make any difference, but might be worth a try.

terrywadeairbus

Thanks David & Anmer

I'll have another look tomorrow to see what the look up returns

Terry

terrywadeairbus

This is the response from the hexcode check ?

   C:\Kinetics\BaseStation\Countries.dat                        
                           
   Hex ModeS                        
   899039                        
                           
   899039 = 100010011001000000111001                        
734   Taiwan=10001001100100xxxxxxxxxx,14,Taiwan.bmp                        
809   Not Allocated_1=1xxxxxxxxxxxxxxxxxxxxxxx,1,Not_Allocated.bmp

Thanks

Terry