This week, I have been implementing:
This week I have been ending reveresing of the engine.
This week I have been reversing action and inventory systems.
This week I have been reversing text classes in Red Comrades engine.
This week I have spent all time reversing dialogs bytecode format.
I have almost reversed and implemented it.
Let’s look at opcode format.
The opcodes in dialog format have size of 4 bytes.
There are at least 10 opcodes:
For example, PLAY opcode contains index of struct which contains speaker id, sound name and subtitle. The engine executes this opcode and when the sound ends the next opcode is executed.
For now the only thing that I doesn’t understand why the file with dialogs contains data which is not used. But I assume this was used to display some useful info for developers.
Small video showing the current state of first game scene.
The next week I plan to implement drawing subtitles and polish dialogs, so that intro dialog in first game scene can be continued.
This week I have fully implemented demo and started reversing dialogs.
The first month of work is ended and I have implemented the game demo.