Welcome to Radarspotting. Please login or sign up.

March 18, 2025, 04:36:38 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

Started by boro, February 13, 2024, 11:44:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

boro

My countries DAT file hasn't been updated for a number of years and I am wondering if there is an up to date countries DAT file available? I running basestation on windows 11 via modemixer2.

Peter

rikgale

Hello
This is one that I try and keep up to date. There may be others out there.
https://raw.githubusercontent.com/rikgale/VRSCountries.dat/main/Countries.dat
Rik

Auto updated daily ZIP files on GitHub

boro

Hi rikgale, thanks for the link but am i doing something wrong because when i copy the contents of the link into the countries dat file, having saved the old dat file as a copy just in case, and opened up basestation it will not open, i reverted back to the old dat file and basestation opened up ok.

Anmer

I copied and pasted the contents from Rik's link into a new Notepad file and saved it as Countries.dat in a temp location.

Renamed the existing Countries.dat file "Countries.dat.old".

Closed Basestation and copied the new file to the Basestation folder.

Relaunched Basesation and everything works as expected.

Attached is a copy of the new file if that helps?
Here to Help.

rikgale

Thanks for sorting Anmer. Unfortunately I can only link to a link that opens in a webpage.

Or you can go this link (https://github.com/rikgale/VRSCountries.dat/blob/main/Countries.dat) and download as per the screenshot attached to this message

Auto updated daily ZIP files on GitHub

boro

hi Rik & Anmer thanks for your help, i have copied the new dat file across but i can't be doing something right as basestation will not open up with the new dat file, i keep getting the message

Application Error Exception EOutOfResources in module BaseStation.exe at 000570A7.
Error creating window device context.

Basestation
Access violation at address 77BB5385 in module 'ntdll.dll'. Write of address 00000014.

but when I change back to the old dat file everything works ok, i've updated the dat file in the past and never had any problems so there is something I am not doing right here.

peter
   
---------------------------

rikgale

Over to Anmer on this. BaseStation is definitely his area of expertise!

Auto updated daily ZIP files on GitHub

Anmer

Can I do a remote session with you to see what's going on?
Here to Help.

boro

Hi Anmer thanks for your help, much appreciated, I am puzzled why the new dat file isn't working but i think i will leave it for now and have another go later when i get a bit more time to see if i can get it working.

cheers

peter

Anmer

Check you are working in the correct folder, the one from which you launch Basestation.  And you pasted the file I attached.

Basestation will definitely launch OK if there's no recognised .dat file.

I'm assuming there's a .dat file there but it's corrupted.
Here to Help.

boro

Hi Anmer & Rik, I renamed the BMP flags folder and used the new dat file without the BMP flags folder and basestation opened up ok. My old dat file was 46kb whilst the new dat file is 126kb, I don't know why it wouldn't work with the old BMP folder but at the moment i am not using a BMP flags folder.

peter

Anmer

Thanks Peter.

This suggests there's a corrupt or unmanageable file in your BMPFlags folder.

Use Windows Explorer set to View Details and look for a file either with an extension other than .bmp or a file size in excess of 2 KB.

Or Zip the folder and upload here as an attachment. 
Here to Help.

boro

I've had a look and they are all BMP flags, there are some which are 3kb but they are the same ones I've been using for some while without any problems. To be honest i am not really too bothered if the country flags are not showing as long as the operator flags are working I am quite happy to leave it as it is, but I've uploaded the BMP flags folder which I was using, I don't know if you can see if there is anything there that shouldn't be in there.

Peter

Anmer

The Zip contains a folder "BMPFlagsold".  The folder contains 499 files including one named "Thumbs.db".

I renamed my existing BMPFlags folder BMPFlagsOld and extracted all the files, including the db one, to a new folder named BMPFlags.

My Basestation runs OK using the extracted files with the new Countries.dat file (from Rik).

There doesn't appear to be any reason for the new Countries.dat file to cause Basestation to error.  Or when using your country flags.

My offer to take a look with you still stands.  Otherwise make sure you're naming files and folders correctly and in the right location.
Here to Help.

boro

Hi Anmer thanks for having a look the flags, I will have another look and see why Basestation stops working when using that flags folder.