So, for speedrunning purposes, I'm trying to figure out exactly how the random number generator in Sierra games works. For AGI games, this was actually easy to find, several public AGI engines exist that perfectly copy this functionality.
Now I'm wondering about SCI and how their RNG works. However, the only public SCI engine I could find is FreeSCI (and ScummVM, which actually uses FreeSCI to run SCI games). The thing is, FreeSCI does not implement Sierra's RNG but simply relies on what's in your C libraries, which may vary per operating system. It'd only be three or four lines of code, but the constants in that code are vitally important.
Maybe somebody knows more about this - is there any other port for SCI games and/or is the source code to SCI available anywhere and/or is there more technical documentation on this randomness? Any help would be appreciated, thank you!
Try the sources for sci studio:
sierrahelp.com/SCI/Tools/SCITools.html
https://sourceforge.net/projects/scistudio/