moddingSuite icon indicating copy to clipboard operation
moddingSuite copied to clipboard

RUSE Dic Files won't open in 0.9.0

Open RugnirViking opened this issue 6 years ago • 1 comments

When using the suite on RUSE .dat files, the localisation files are not recognised. They won't open at all in the suite. Exporting the files works, and they appear to be localisation files (contain fragments of unit names, scenario descriptions etc) but with a weird encoding I don't understand.

image

RugnirViking avatar Feb 27 '19 09:02 RugnirViking

I did a bit of digging and downloaded the source. I managed to get them to read and save correctly. The different was the file header - ruse localisation files dont use TRAD, they use TRA and then either a null character ("\0") or "\u0001". After changing the code to detect these, it loaded correctly.

RugnirViking avatar Feb 27 '19 19:02 RugnirViking