/[public]/psiconv/trunk/formats/psion/World_Data_File.psi
ViewVC logotype

Contents of /psiconv/trunk/formats/psion/World_Data_File.psi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations)
Thu Dec 28 15:49:12 2000 UTC (23 years, 3 months ago) by frodo
File MIME type: application/octet-stream
File size: 4311 byte(s)
(Frodo) Update of format description. Added some obscure layout codes.

1 7mþŸU¦˜ 
2 dÈ"Times New RomanN123&Heading 1L"Times New Roman ð
3 < &Heading 2Lð"Times New Roman ð
4 < &Heading 3L ÿÿÿh3r h3r ÐР \cûefd\c0ef8dý‚.ÆA±%[World Data File]World Data FileThis file is used by the Time program to save data about new or modified countries and cities. It is usually located in C:\System\Data and called WLD_DATA.DBW.Note that simply changing this file does not change the data within the Time program; a soft reset should do the trick, though.The World Data File starts with a «Header Section» which contains:Offset Size Data Description0000 «ID» 46 00 00 10 UID1: World Data File0004 «ID» 00 00 00 00 UID2: Unused0008 «ID» 00 00 00 00 UID3: Unused000C L F1 E7 5A 04 UID4: Checksum of UID1, UID2 and UID 30010The remaining file is structured as follows:Size Data DescriptionL 01 00 00 00 Marker to start the city sectionLListE «World Data City Section»L 00 00 00 00 Marker to start the country sectionLListE «World Data Country Section»[World Data City Section]World Data City SectionThis is an LListE.City section elements are structured as follows:Size Description«String» New city name«String» New country name«String» Original city name (empty string if this is a new city)«String» Original country name (empty string if this is a new city)8B City data«String» Area codeThe city data is very compact, probably to save space:Start End Description0000 bit 0 0001 bit 0 Horizontal map position (left=000, right=17b)0001 bit 1 0001 bit 2 Unused?0001 bit 3 0002 bit 7 Latitude in minutes (South is negative)0003 bit 0 0003 bit 7 Vertical map position (top=00, bottom=cf)0004 bit 0 0005 bit 6 Longitude in minutes (East is negative)0005 bit 7 0007 bit 1 GMT offset in minutes0007 bit 2 0007 bit 3 Summertime zone (0=none,1=europe, 2=northern, 3=southern)0007 bit 4 0007 bit 7 Unused?Longitude, Latitude and GMT offsets are encoded as normal integers, except that the highest bit is used as sign bit (0=positive, 1=negative). The preceding bits encode the absolute value of the integer value.[World Data Country Section]World Data Country SectionThis is an LListE.Note that if you change the name of a country, all its cities are also put into the «World Data City Section».Country section elements are structured as follows:Size Description«String» New capital city name«String» New country name«String» Original country name (empty string if this is a new country)«String» National code«String» National prefix«String» International prefixðð"Times New Roman " Courier New  " Courier New  " Courier New-ÿÿÿ!  " Courier New$#8 €C-$$<-1%4(1BE7D>@>,PÒo4 H
5 @"Arialð"Times New Roman  " Courier New " Courier New  " Courier New " Courier New ð"Times New Romanð"Times New Roman  " Courier New " Courier New-ÿÿÿ!  " Courier New$#-ÿÿÿ!  " Courier New$#-ÿÿÿ!  " Courier New$#Ð1ÿÿÿ! ð"Times New Roman$# " Courier New ð"Times New Romanð"Times New Roman
6   " Courier New
7   " Courier New
8   " Courier New"Word.app C"eìCZ ‰™

Properties

Name Value
svn:mime-type application/octet-stream

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26