File format question.
Posted: Thu Jul 02, 2015 9:20 am
Hi'.
What I'll ask is very basic but... well... I couldn't solve it on my own.
I have the GoG version of the game, and my goal is to edit the game's text (like planet names or dialogs...) with the very improbable prospect of doing the same with pictures.
No gameplay change whatsoever.
After having been, to my shame, unable to even understand how OCL_improved works (yeah I'm that bad), I decided I was too ashamed to ask and for my pride's sake I would edit the files directly through an hex-editor (Notepad++ with plugin).
- I learned the file format, header and content alike, and I can modify STARNAME.lbx to my heart content.
- I also learned, glad to this site, the content for palette and pictures, so yay.
But I'm stuck.
Some files, like RACESTUF.lbx for example, while still .lbx have a different format. Basically instead of the usual header beginning with:
-> 02 00 ad fe 00 00 00 00
which I'm familiar with, it begins with:
-> 0e ef ba ad 00 00 e0 a0
and everything else looks different. It's a known format, you must be familiar with it, MoO2 Workshop can read it and displays it in the usual format but despite trying for hours, I just can't get how it works.
So yeah, I'm still parsecs away from editing pictures (ah ah ah) and that's my basic question:
1) How should I read that "second" header? Let alone the content?
2) Why does that "second" format exist? What is it?
The moment I have the key, I can resume trial&erroring my way through those files.
So, uh... yeah.
What I'll ask is very basic but... well... I couldn't solve it on my own.
I have the GoG version of the game, and my goal is to edit the game's text (like planet names or dialogs...) with the very improbable prospect of doing the same with pictures.
No gameplay change whatsoever.
After having been, to my shame, unable to even understand how OCL_improved works (yeah I'm that bad), I decided I was too ashamed to ask and for my pride's sake I would edit the files directly through an hex-editor (Notepad++ with plugin).
- I learned the file format, header and content alike, and I can modify STARNAME.lbx to my heart content.
- I also learned, glad to this site, the content for palette and pictures, so yay.
But I'm stuck.
Some files, like RACESTUF.lbx for example, while still .lbx have a different format. Basically instead of the usual header beginning with:
-> 02 00 ad fe 00 00 00 00
which I'm familiar with, it begins with:
-> 0e ef ba ad 00 00 e0 a0
and everything else looks different. It's a known format, you must be familiar with it, MoO2 Workshop can read it and displays it in the usual format but despite trying for hours, I just can't get how it works.
So yeah, I'm still parsecs away from editing pictures (ah ah ah) and that's my basic question:
1) How should I read that "second" header? Let alone the content?
2) Why does that "second" format exist? What is it?
The moment I have the key, I can resume trial&erroring my way through those files.
So, uh... yeah.