karl-police wrote:So, I've tried to open the save.txt file, because I wanted to find the keycodes
The only one I found is the keycode for the veryfineradio, like you know the... code for dr. maynards office? I guess.
But I want to know the other code that is on the SCP-372 document, like where is that saved, and where are the other saved at? I've tried to open the save.txt file with Notepad++ and put hexeditor on it but it didn't tell me anything. How can I open the save.txt file? Like what methods will tell me how to open it. I want to know it so I can learn like more coding and stuff?
Can someone tell me, please?
I made some research and found out that the code written in SCP-372's file is actually not saved in any way by the game, instead it gets calculated using Dr. Maynards office code.
This is the calculation written in the code for it:
Code: Select all
temp = ((Int(AccessCode)*3) Mod 10000)
If temp < 1000 Then temp = temp+1000
This means it gets the value of the access code and multiplies it by 3, then it uses "Mod 10000" in order to make the number not over 9999. The last step is to check if the number is smaller than 1000 (as 1000 is supposed to be the minimum) and if it is, then it adds 1000 to that number.
Some examples:
- 2451 ---> 7353
- 5414 ---> 6242
- 9554 ---> 8662
- 1321 ---> 3963
The number 5414 goes to 6242 because 5414*3 is 16242 and Mod basically removes the "1" in front of it (it removes the front number only if the value is 10000 or more).
Or 9554 goes to 8662 because 9554*3 = 28662 and Mod 10000 removes the 2 in front of it.
The numbers in the list above are just some random examples, as there are a lot of possible codes for Dr. Maynards office (and thus for the other code written in the SCP-372 document as well).
Hope I could help out a bit with it
![Very Happy :D](./images/smilies/biggrin.gif)