AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: RAF v Isle of Man  (Read 22698 times)

0 Members and 1 Guest are viewing this topic.

EINN-07

  • Jr. Member
  • **
  • Posts: 88
RAF v Isle of Man
« on: March 19, 2008, 12:10:19 AM »
I have noticed that Isle of Man registered aircraft with hex code commencing 43E are showing up with country flag RAF ( hex code commencing 43C ). It looks like only the first two characters are looked at in deciding the country ? Is there any way of fixing this ?


Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: RAF v Isle of Man
« Reply #1 on: March 19, 2008, 07:42:44 AM »
Yes, I've noticed that too - most annoying.  I need to look into this further but I just haven't had time.

tarbat

  • ShipTrax Beta Testers
  • Hero Member
  • *
  • Posts: 4219
    • Radarbox at Easter Ross
Re: RAF v Isle of Man
« Reply #2 on: March 19, 2008, 08:41:03 AM »
Are you using the standard version of the D008.dat file?  That defines the RAF as 0100001111-------------- , so would include anything in the range 43Cxxx to 43Fxxx

You might want to use a modified version, as discussed at http://www.airnavsystems.com/forum/index.php?topic=171.msg3604#msg3604
« Last Edit: March 19, 2008, 08:59:25 AM by tarbat »

EINN-07

  • Jr. Member
  • **
  • Posts: 88
Re: RAF v Isle of Man
« Reply #3 on: March 19, 2008, 10:36:45 AM »
Thanks Tarbat

I'll have a go

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: RAF v Isle of Man
« Reply #4 on: March 19, 2008, 12:36:40 PM »
Are you using the standard version of the D008.dat file?  That defines the RAF as 0100001111-------------- , so would include anything in the range 43Cxxx to 43Fxxx

You might want to use a modified version, as discussed at http://www.airnavsystems.com/forum/index.php?topic=171.msg3604#msg3604

tarbat,

Your modified D008.dat file as available at the link you posted still shows the generic RAF block as RA,United Kingdom Mil,0100001111--------------

AE,United Arab Emirates,100010010110------------
RA,United Kingdom Mil,0100001111--------------
RA,United Kingdom MoD,010000000000000000------
UK,United Kingdom,010000------------------
UF,United States Mil 1,1010111-----------------
UF,United States Mil 2,1010110111111-----------
UF,United States Mil 3,1010110111110111111-----

My list includes specific codes for certain aircraft, but aircraft not covered by these specific codes - like the IOM registrations - are slipping through due to their 43Fxxx code prefix.  Have you separated out the IOM code block?

tarbat

  • ShipTrax Beta Testers
  • Hero Member
  • *
  • Posts: 4219
    • Radarbox at Easter Ross
Re: RAF v Isle of Man
« Reply #5 on: March 19, 2008, 12:44:26 PM »
My list includes specific codes for certain aircraft, but aircraft not covered by these specific codes - like the IOM registrations - are slipping through due to their 43Fxxx code prefix.  Have you separated out the IOM code block?

This bit of the modified D008.dat should cover the IoM registrations.

IF,Isle of Man 1,01000011111001110001011-
IF,Isle of Man 2,010000111110011100011---
IF,Isle of Man 3,0100001111100111001-----
IF,Isle of Man 4,010000111110011101------
IF,Isle of Man 5,01000011111001111-------
IF,Isle of Man 6,0100001111101000--------
IF,Isle of Man 7,010000111110100100000---
IF,Isle of Man 8,01000011111010010000100-

However, I'm no expert on how this works, all I've done is use the countries.dat file from http://www.homepages.mcb.net/bones/Kinetic/Kinetic_Utilities.htm and converted for use in Radarbox.  I've definately seen the IoM flag appear in my aircraft list.
« Last Edit: March 19, 2008, 12:46:37 PM by tarbat »

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: RAF v Isle of Man
« Reply #6 on: March 19, 2008, 12:46:22 PM »
Thanks tarbat,

I'll give it a try :-)

tarbat

  • ShipTrax Beta Testers
  • Hero Member
  • *
  • Posts: 4219
    • Radarbox at Easter Ross
Re: RAF v Isle of Man
« Reply #7 on: March 19, 2008, 12:50:26 PM »
Don't forget you'll need an IoM flag.

[attachment deleted by admin]

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: RAF v Isle of Man
« Reply #8 on: March 19, 2008, 12:59:27 PM »
Thanks

This seems to work very well tarbat - excellent :-)
« Last Edit: March 20, 2008, 01:23:32 PM by Allocator »

EINN-07

  • Jr. Member
  • **
  • Posts: 88
Re: RAF v Isle of Man
« Reply #9 on: March 20, 2008, 11:58:16 PM »
However, I'm no expert on how this works, all I've done is use the countries.dat file from http://www.homepages.mcb.net/bones/Kinetic/Kinetic_Utilities.htm and converted for use in Radarbox.  I've definately seen the IoM flag appear in my aircraft list.

Gotcha now tarbat...

In this case :

BM,Bermuda 1,01000000000000001-------
BM,Bermuda 2,01000000000000010-------
BM,Bermuda 3,010000000000000110------
BM,Bermuda 4,0100001001000000--------

Will show Bermuda with the correct flag as opposed to the Union Jack.
BM.bmp is already in the Flags folder - just nothing in DAT008 to pull it up.

Likewise :

CAY,Cayman Islands 1,010000000000000001------
CAY,Cayman Islands 2,01000000000000001000000-
CAY,Cayman Islands 3,01000000000000001100----
CAY,Cayman Islands 4,010000000000000011010---
CAY,Cayman Islands 5,010000000000000111------
CAY,Cayman Islands 6,01000010010000010011----
CAY,Cayman Islands 7,010000100100000101------

will call up the Cayman flag ( If it is called CAY.bmp ) as opposed to the Union Jack. At present there's no Cayman flag in the Flags folder, or if it's present there's no logic to the file name. I've attached the Cayman flag which hopefully looks ok.

And :

TW,Taiwan,10001001100100----------

will call up the Taiwan flag which is present as TW.bmp in the flags folder. I noticed on network flights this am ( in V1.5 ) that the flag was empty for Taiwan.

Hopefully tomorrow I can try these out to see if they work ok :)

[attachment deleted by admin]

EINN-07

  • Jr. Member
  • **
  • Posts: 88
Re: RAF v Isle of Man
« Reply #10 on: March 21, 2008, 12:05:05 AM »
And another anomaly I noticed in V1.5 and also in V1.4 I believe is that the logo for Norwegian Air Shuttle ( CNO ) is Air Baltic. The logo for Air Baltic (BTI ) is the old Air Baltic logo. I deleted the current BTI.bmp and renamed the CNO.bmp to BTI.bmp which left me with no logo for CNO.
The Norwegian Air Shuttle website doesn't have anything close to a logo ! Eventually I found one on Wikipedia which is attached and which should work ok.
 

[attachment deleted by admin]

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: RAF v Isle of Man
« Reply #11 on: March 21, 2008, 08:08:57 AM »
EINN-07,

Thanks for those extra lines for the D008.dat file and the flag and logo :-)

I'm really pleased that we're making some progress in this area, as I find that changing the flags is one on my favourite options and really make those "unusual" aircraft stand out.  I mainly track the military aircraft, but the flags I'm using for these are from Andy Flying Art, and they are the wrong size for RB and do look a bit squashed when resized to fit.

The RadarBox logos are 76 x 16 but the flags are only 16 x 11 - I'm sure that it must be possible for AirNav to allow the flags to be 16 pixels tall as they would still fit nicely in the aircraft list.  They would need to be a bit wider too to stay in proportion, say 23 pixels - that would be great.

tarbat

  • ShipTrax Beta Testers
  • Hero Member
  • *
  • Posts: 4219
    • Radarbox at Easter Ross
Re: RAF v Isle of Man
« Reply #12 on: March 21, 2008, 08:15:19 AM »
EINN-07,

The changes you mention for Bermuda, Cayman Islands, and Taiwan have already been included in the D008.dat file I've provided on the other thread - http://www.airnavsystems.com/forum/index.php?topic=171.msg3604#msg3604

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: RAF v Isle of Man
« Reply #13 on: March 21, 2008, 08:27:54 AM »
I'm using a slightly different version of D008.dat, with more military aircraft listed.

[attachment deleted by admin]

EINN-07

  • Jr. Member
  • **
  • Posts: 88
Re: RAF v Isle of Man
« Reply #14 on: March 21, 2008, 09:52:47 AM »
I'm using a slightly different version of D008.dat, with more military aircraft listed.

Hi Allocator

Nice file :)
How do you do the hex to binary conversions. I would like to add the Irish Air Corps CN235s to the file as they still have the Spanish box code and show up with the Spanish flag. I think tarbat found C252 a few weeks ago and it showed up as a Sukhoi or Mig !
I tried a few of the on line calculators to convert the hex to binary but they all seem to come up one charcter short at 23 instead of the 24. :(