The words inside StarCraft - weapon names, ranks, button tooltips - come from stat_txt.tbl, and FileManager is where that table is changed. Swapping one existing string for another just works; putting in words of your own needs FileManager enabled.
Write even one new string and the whole map uses your table from then on, ignoring the player's own language setting and their custom hotkeys. It works by building and substituting a whole new tbl - so changing one word can put someone who plays in English into Korean.
| <3> | Yellow. Writing <03> as you would in ScmDraft does nothing - the leading zero has to go. |
|---|---|
| <20> | Invisible - this is how you erase text. |
| <5> | Grey - and unusually, it ignores every colour code after it. |
<5>ABC<8>DEF → ABCDEF 가 전부 회색
Wireframes are changed here too. EUD Editor 1's wireframe editing does not work on Remastered, so do this in 2 or later. There is also a code route: SetWireframes(unit, wireframe) changes all three at once, and SetTranWire, SetGrpWire and SetWirefram change them individually.
While here: the way to tell whether this StarCraft is 32-bit or 64-bit also goes through wireframes. The condition Is64BitWireframe() loads a custom wireframe and decides from what happens.
Two things to know before using it. It is a local condition - true for one player in the room and false for another - so driving a shared action from it splits the game. And the probe itself glitches the wireframe graphics briefly. Its use is not "behave differently by bitness" but "do not do the thing that is broken on 64-bit".
There are two ways of counting and they are one apart, every time. A TBL editor's list starts at one, so Terran Marine is entry 1 - but the number you hand settbl or GetTBLAddr counts from zero, where Marine is index 0. That is measured from the shipped stat_txt.tbl binary. Say which numbering you mean, every time.
What Is64BitWireframe() is actually for shows up in the technique for giving a wireframe an arbitrary colour - and the mechanism is a lesson in desync on its own.
A wireframe's colour comes from an index derived from current HP over max HP, used to step into a fixed colour table. Push the ratio far outside the normal range and the lookup walks past the table into other memory. That much was known, and unusable, because nobody knew what it landed in.
What was found is that Remastered keeps its simple data regions at fixed distances from one another, so a well-chosen ratio lands the lookup squarely in the image remapping colour palette at 0x669A40. Remastered reads and writes that table but no longer uses it for anything, so colours written there become the wireframe's with no side effects.
This is where desync comes in. The two regions sit at different distances on a 32-bit and a 64-bit client, so the same HP gives a different colour - but giving the clients different current HP splits the room, because current HP is in the sync hash. The actual solution is the same very large current HP everywhere and a different max HP per client: max HP is a dat value and is not hashed.
Do not implement this from the tables. The author's own notice at the top says the body is kept for the record and the way to use it now is the wf_colors library. The ratio tables are not fully stable either - a reader found the 64-bit indices shifting past 192, and the author's answer was that it varies by machine and by map.
One more, about observers: making what an observer does affect the game is not possible from EUD. Somebody ran the whole experiment and left the result.
An observer's QueueGameCommand does not transmit. Chat packets and the leave-game packet were all tried and none arrive; re-pointing their Local Storm ID does not help; and observer chat never goes through the command queue at all. What does work is reading, on that machine, what the observer clicked or attack-moved - you can see it and you cannot send it.
Showing observers text does work, though. The filter that decides where a message goes is at 0x68C144, unshared and read/write. Pin it to 2 and observers can chat to everyone, shown as “[Observer]nick: text”; pin it to 5 and a message goes only to observers while players see nothing at all; pin it to 0 and chat is blocked.
Desync, and the local playerThe stat_txt string table