AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: EINN-07 on March 19, 2008, 12:10:19 AM

Title: RAF v Isle of Man
Post by: EINN-07 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 ?

Title: Re: RAF v Isle of Man
Post by: Allocator 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.
Title: Re: RAF v Isle of Man
Post by: tarbat 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
Title: Re: RAF v Isle of Man
Post by: EINN-07 on March 19, 2008, 10:36:45 AM
Thanks Tarbat

I'll have a go
Title: Re: RAF v Isle of Man
Post by: Allocator 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?
Title: Re: RAF v Isle of Man
Post by: tarbat 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.
Title: Re: RAF v Isle of Man
Post by: Allocator on March 19, 2008, 12:46:22 PM
Thanks tarbat,

I'll give it a try :-)
Title: Re: RAF v Isle of Man
Post by: tarbat on March 19, 2008, 12:50:26 PM
Don't forget you'll need an IoM flag.

[attachment deleted by admin]
Title: Re: RAF v Isle of Man
Post by: Allocator on March 19, 2008, 12:59:27 PM
Thanks

This seems to work very well tarbat - excellent :-)
Title: Re: RAF v Isle of Man
Post by: EINN-07 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]
Title: Re: RAF v Isle of Man
Post by: EINN-07 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]
Title: Re: RAF v Isle of Man
Post by: Allocator 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.
Title: Re: RAF v Isle of Man
Post by: tarbat 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
Title: Re: RAF v Isle of Man
Post by: Allocator 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]
Title: Re: RAF v Isle of Man
Post by: EINN-07 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. :(
Title: Re: RAF v Isle of Man
Post by: Allocator on March 21, 2008, 10:06:54 AM
I use this spreadsheet, obtained on the SBS-1 forum and modified to suit the RadarBox dat file.  You should be able to see how it works, just fill in the blanks and it produces a field which can be copied into the D008.dat file

http://www.ruyton.demon.co.uk/Downloads/hexconvert.ZIP
Title: Re: RAF v Isle of Man
Post by: tarbat on March 21, 2008, 10:26:30 AM
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. :(

I use the standard Windows calculator in Scientific mode.  If you only get 23 characters, just put a zero on the beginning.

(http://img524.imageshack.us/img524/530/ppwq8.th.jpg) (http://img524.imageshack.us/my.php?image=ppwq8.jpg)

And Ireland military are already in the D008.dat file I'veposted on the other thread:

IB,Ireland Mil 251,010011001010000000100011
IB,Ireland Mil 256,010011001010000101011000
IB,Ireland Mil 258,010011001010001000000100
IB,Ireland Mil 260,010011001010000111100111
IB,Ireland Mil 261,010011001010000111101000
IB,Ireland Mil 262,010011001010000111101001
IB,Ireland Mil 263,010011001010000111101010
IB,Ireland Mil 264,010011001010000111101011
IB,Ireland Mil 265,010011001010000111101100
IB,Ireland Mil 266,010011001010000111101101
IB,Ireland Mil 267,010011001010000111101110
IB,Ireland Mil 270,010011001010001010001100
IB,Ireland Mil 271,010011001010001010001011
IB,Ireland Mil 274,010011001010001100011110
IB,Ireland Mil 275,010011001010001100110000
IB,Ireland Mil 276,010011001010001100110001
IB,Ireland Mil 277,010011001010001100110010


The full D008.dat and flags are attached to this post as well.

[attachment deleted by admin]
Title: Re: RAF v Isle of Man
Post by: Allocator on March 21, 2008, 10:34:18 AM
A slightly taller CAY.bmp which matches the other flags.  The size should be 16 x 11 for the best effect.

[attachment deleted by admin]
Title: Re: RAF v Isle of Man
Post by: tarbat on March 21, 2008, 10:37:25 AM
All the flags in my zip are either 16x11 (for countries) or 11x11 (for Airnav legacy military roundals), and are coloured/designed to match the standard AirNav ones.



[attachment deleted by admin]
Title: Re: RAF v Isle of Man
Post by: Typhoon on March 21, 2008, 11:30:20 AM
Hi Guys

I had the same problem with the Manx reg aircraft and the RAF roundal, all I did was put 1 line of code in D008.dat and it works,

IoM,Isle of Man,010000111110------------


:-))
Title: Re: RAF v Isle of Man
Post by: tarbat on March 21, 2008, 11:47:33 AM
IoM,Isle of Man,010000111110------------

I didn't think the IoM (http://homepages.mcb.net/bones/01UKAV/ManxRegister.htm) was allocated 4096 hexcodes.  Isn't there a risk that you'll end up with some RAF aircraft displaying an IoM flag?

See this thread to see the amount of work that went into the original SBS1 countries.dat file from which the D008.dat file I've posted is derived - http://www.kinetic-avionics.co.uk/forums/viewtopic.php?t=4023
Title: Re: RAF v Isle of Man
Post by: EINN-07 on March 22, 2008, 08:00:15 AM
Allocator , tarbat

Thanks for the hex info guys. And here's the proper Sliverjet Logo to replace Sobelair which is showing up on SLR flights. And also a logo for Eos Airlines as there's none in the folder at present :)

[attachment deleted by admin]
Title: Re: RAF v Isle of Man
Post by: Roadrunner on March 22, 2008, 10:40:52 AM
Would it be possible to have a collection point for all additions to the D008 file and new .bmp logos so that we can follow any changes made. Perhaps regular available .zip files for both?
Title: Re: RAF v Isle of Man
Post by: Allocator on March 22, 2008, 10:43:58 AM
Would it be possible to have a collection point for all additions to the D008 file and new .bmp logos so that we can follow any changes made. Perhaps regular available .zip files for both?

Good idea, I'll start a new thread.
Title: Re: RAF v Isle of Man
Post by: Roadrunner on March 22, 2008, 10:45:14 AM
Thanks Allocator.

Mike
Title: Re: RAF v Isle of Man
Post by: tarbat on March 22, 2008, 10:45:24 AM
Would it be possible to have a collection point for all additions to the D008 file and new .bmp logos so that we can follow any changes made. Perhaps regular available .zip files for both?

I'm happy to update the D008.dat file whenever the SBS1 community update their countries.dat file - last update was October 2007.

Ideally, I'd like to see Airnav maintaining and distributing a complete D008.dat file that contains all countries and military flags/roundals.
Title: Re: RAF v Isle of Man
Post by: Roadrunner on March 22, 2008, 10:47:58 AM
Quote from: tarbat
[/quote
Ideally, I'd like to see Airnav maintaining and distributing a complete D008.dat file that contains all countries and military flags/roundals.

That would be a good idea. I only just remembered to make a copy of the d008 file when I did the last upgrade so was able to reload that.....
Title: Re: RAF v Isle of Man
Post by: Allocator on March 22, 2008, 10:57:31 AM
When I asked on the SBS-1 forum if anybody minded me using their work for the Radarbox D008.dat file, apart from being told off for discussing RadarBox, I was greeted with grudging consent - providing that all their hard work didn't end up as a Radarbox distributed item!

I did make the comment about being in the public domain, but that fell on deaf ears.  There is nothing on the SBS-1 forum that couldn't be done the hard way for the D008.dat file, it would just take longer.
Title: Re: RAF v Isle of Man
Post by: AirNav Development on March 22, 2008, 01:57:37 PM
You have to ask them why many of their users contacting our support the day after V1.3 was released just to get the 1200+ airline logo files we have to add them to their SBS-1 installations...
Title: Re: RAF v Isle of Man
Post by: Roadrunner on March 22, 2008, 07:21:22 PM
I am sure we can all find things from each of the systems that fits with what we want. I have both machines so use elements from each that I like. No one system has the monopoly on good ideas :-)
Title: Re: RAF v Isle of Man
Post by: AirNav Development on March 22, 2008, 07:24:32 PM
So can you send me an email with what the competitor has that we don't so we can implement it in an upgrade?
Title: Re: RAF v Isle of Man
Post by: Roadrunner on March 22, 2008, 07:28:40 PM
So can you send me an email with what the competitor has that we don't so we can implement it in an upgrade?

Mine was an observation,. No I will not as you keep making out you are so clever, you figure it out :-)
Title: Re: RAF v Isle of Man
Post by: AirNav Development on March 23, 2008, 03:43:50 AM
:-)
Title: Re: RAF v Isle of Man
Post by: Allocator on March 23, 2008, 08:57:14 AM
I am sure we can all find things from each of the systems that fits with what we want. I have both machines so use elements from each that I like. No one system has the monopoly on good ideas :-)

It's one thing having good ideas, and a totally different thing to implement them!  I don't bother running my SBS-1 now, as it doesn't give me anything I cant get from RadarBox.

Of course, my SBS-1 is Ethernet capable so I can run the laptop wirelessly in the garden and watch the aircraft via BaseStation with the SBS-1 in the house.  However, I did have to invalidate my guarantee by carry out what Kinetic described as a "hack" and the "butchering" of my SBS-1 to achieve this!

Local wireless networking of RadarBox would be a nice option, but just how many people would want it is questionable.

Choice of what is shown in the aircraft label would be nice though.

Can't think of much else.
Title: Re: RAF v Isle of Man
Post by: Roadrunner on March 23, 2008, 09:03:20 AM
I think it is like anything. Not everyone buys the same make of car, or fridge or etc etc etc.

I like both my machines and I cant choose between them most of the time but if push comes to shove, I like my first-born the most as it has been with me longest - If you know what I mean :-)