663c1e46d1b36

663c1e46d2006
1 Guest is here.
 

Topic: SS1 EE Reactor code randomization fix
Page: « 1 [2]
Read 10935 times  

663c1e46d248cvoodoo47

Acknowledged by: dertseha
663c1e46d265e
You probably have already checked the sources, but if you have not code is randomized in PLAYER.C.

663c1e46d2742JosiahJack

663c1e46d27a3
What exactly happened to break the randomization in EE?

663c1e46d2b69dertseha

663c1e46d2bbb
What exactly happened to break the randomization in EE?
Unknown.
Wild theories follow:
Assuming that the Enhanced Edition was created without the sources, so, based on reverse engineering / patching the executable, it may be that some initialization order and/or pointers were messed up. The randomization is based on the effects-randomizer. So, it could be that this randomizer is affected.
Or - Remember when the OpenSSH library was broken by satisfying a static code checker to initialize a variable? Something similar could have happened here: Instead of reading to-be-believed random memory as a seed for the randomizer, this memory locaion is now pre-set, with always the same value.

663c1e46d2cbaTurboSnail

663c1e46d2d0c
Ok,

Well the Data Reader is behaving better but the Automap on level two is refusing to work now. It will not draw the map or move the arrow.
I am using "archive.dat" [CRC-32: 214f9e1f]
I just checked the older "archive.dat" and found it also had an Automap issues. The arrow was duplicated (One purple stationary and one red which moved), the arrows would not rotate and the map did not auto scroll but it did draw.
Very strange. Thank you for your effort!

663c1e46d2dcddertseha

663c1e46d2e17
Thank you for testing!

This whole thing is getting weirder and weirder. I might have time on the weekend to investigate.

[edit] First test: This seems to affect only level 2 (tested R up to 6), and only the left MFD. The right one is fine.
« Last Edit: 13. April 2018, 05:29:39 by dertseha »
663c1e46d2efe
There must be something very wrong with the executable. That sounds very strange.

663c1e46d2fc3dertseha

663c1e46d300c
I doubt that the cause is with the executable as I mainly work with the original CD release, where I reproduced it.
I do have a vague suspicion based on my excursions through the original code, though it is very remote and I'd want to first do some analysis before making it real by wording it ;)
663c1e46d30fa
Oh, OK. I thought the problem was with enhanced edition only.

I'm very intrigued!
1 Guest is here.
"Mírate, hacker. Una criatura patética de huesos y carne. Jadeando y sudando mientras corres por mis pasillos. ¿Cómo puedes desafiar a una máquina perfecta e inmortal?".
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
663c1e46d31e9