Adventure Game Studio | Forums

Community => Adventure Related Talk & Chat => Topic started by: Radiant on 24 Dec 2017, 12:46

Title: Is the source code for SCI available anywhere?
Post by: Radiant on 24 Dec 2017, 12:46
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!
Title: Re: Is the source code for SCI available anywhere?
Post by: Joseph DiPerla on 25 Dec 2017, 18:33
Try the sources for sci studio:

sierrahelp.com/SCI/Tools/SCITools.html

https://sourceforge.net/projects/scistudio/