[Posting] Re: How are many enemy ship details transmitted to client?
From:streu
Thread:How are many enemy ship details transmitted to client?
Forum:Bugs
In reply to:How are many enemy ship details transmitted to client?
Date:Tue, 2025-07-01 19:50 GMT

If you get Winplan-style result files, your RST file has two sections that can contain targets. The first one is limited to 50 for DOSPLAN compatibility, the second one contains all the rest. A compatible unpacker will extract these to a file KOREx.DAT. The ship names are "encrypted", that's why they're not as obvious in a hex dump as the others.

See here and here.

Using the bigtargets command you can tell PHost to enable the AllowMoreThan50Targets option for you, which means PHost will pack everything into the normal targets section.

The PCCs and VPA will just read everything they can find.

However, one caveat: you write

but it does not contain all the details like HullID, Name, Engines, Beams, Torps

Engines, Beams and Torps are not in a scan, ever. The PCCs (and probably VPA) will merge with all information they can find, e.g. when you see a ship during a fight, you know its weapons; when you see a ship move, you can guess its engine. But this is often guesswork/outdated.

Maybe using the c2export tool from PCC2 (or the Export GUI) can save you some headache in parsing files.


--Stefan