[DiscordArchive] so im getting wmo ids from wmos and i noticed that it doesnt work for those which end with 001 002 0
[DiscordArchive] so im getting wmo ids from wmos and i noticed that it doesnt work for those which end with 001 002 0
Archived author: Rymercyble • Posted: 2024-06-29T19:08:47.247000+00:00
Original source
so im getting wmo ids from wmos and i noticed that it doesnt work for those which end with 001 002 003 etc how are those different ?
Archived author: Titi • Posted: 2024-06-29T19:15:53.653000+00:00
Original source
wmo groups have a different format
Archived author: Rymercyble • Posted: 2024-06-29T19:17:24.767000+00:00
Original source
if its group i suppose it wont be as easy as basic wmo to just read number at offset to get id right ?
![[Image: image.png?ex=690c4ba0&is=690afa20&hm=a5f...5538b6853&]](https://cdn.discordapp.com/attachments/415944535718494208/1256690117175804034/image.png?ex=690c4ba0&is=690afa20&hm=a5f76d74fa7422d2b2b8d2f4708b92e1b9de624cf36ebf53ce4f48c5538b6853&)
![[Image: image.png?ex=690c4ba0&is=690afa20&hm=7ba...b831b1607&]](https://cdn.discordapp.com/attachments/415944535718494208/1256690117553422526/image.png?ex=690c4ba0&is=690afa20&hm=7ba4ca3840577b3a77923abe1268df5d004bc6a4de97601834f126fb831b1607&)
Archived author: Titi • Posted: 2024-06-29T19:17:52.197000+00:00
Original source
for the root it's in the main MOHD chunk, for groups it's in the main chunk called MOGP with a different structure
![[Image: image.png?ex=690c4ba0&is=690afa20&hm=a5f...5538b6853&]](https://cdn.discordapp.com/attachments/415944535718494208/1256690117175804034/image.png?ex=690c4ba0&is=690afa20&hm=a5f76d74fa7422d2b2b8d2f4708b92e1b9de624cf36ebf53ce4f48c5538b6853&)
![[Image: image.png?ex=690c4ba0&is=690afa20&hm=7ba...b831b1607&]](https://cdn.discordapp.com/attachments/415944535718494208/1256690117553422526/image.png?ex=690c4ba0&is=690afa20&hm=7ba4ca3840577b3a77923abe1268df5d004bc6a4de97601834f126fb831b1607&)
Archived author: Titi • Posted: 2024-06-29T19:18:22.376000+00:00
Original source
nah it's as basic, just a different structure
Archived author: Titi • Posted: 2024-06-29T19:19:44.689000+00:00
Original source
Technically reading at x offset isn't the ideal way to do it, parsing the chunks and read relative to that would be better, but in 99.9% of cases the main chunk should be in the same place
Archived author: Rymercyble • Posted: 2024-06-29T19:20:46.414000+00:00
Original source
its still giving me somewhat strange numbers