• There seems to be an up tick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

GSL file format

RingTingTing

Members +
Hi all
Does anybody have any info on the Structure of the GSL file ?
I have been studying the HEX code , and think I have a lot of it figured out, but I am struggling with the GOB code.
The 6 hex numbers before the .gob - Example : 2621fe.gob

I am pretty sure it specifies the position of the GOB, but cannot completely figure it out :

I think the 1st 3 hex numbers specify the Lat coords , and the last 3 specify the Lon coords.
I could reliable get the correct Longitude by taking the last three bytes hex, converting it to a 16bit Integer and then multiplying it by 360/4096
I have not been able to figure out a pattern for the Lat coords using the 1st 3 Hex number though.

Any insights will be appreciated

Regards
 
Why? The tools already exist to modify the gsl file.

Try contacting Martin Wright, who designed the GSLEdit & GSLMan programmes. He probably already has it worked out.

I think the gob nomenclature probably ties in with the LOD scenery structure used...
 
Thanx for the reply Uncle,
I would like to be able to write out the gobs for scenery created in a tool I'm busy working on,
it would just be so much less hassle than going to MB every time to create the gobs.
I will definitely try to track down Martin
 
Go to https://mwgfx.co.uk/

click on "Developers Corner" & Martin has instructions for how to contact him & request his gsl tools.

Amongst them is a little prog call "gobcheck" which lets you check a CFS2 layout for it's gob address - very handy!!!
 
Back
Top