Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Topic started by: Igorrr on April 30, 2004, 08:24:16 PM

Title: File System Object
Post by: Igorrr on April 30, 2004, 08:24:16 PM
I was wondering, there is nothing in WME that can handle the file system, right? Like writing to and reading from custom files stored on the computer.

Does anybody have an idea how I could store general game settings in WME besides saving the game.
I am talking about being able to customize the keys in the game, gore level, game (talk) speed, perhaps detail control etc. Store this info in a text file so that every time the game is started the customizations are active (regardless of the savegames).
Title: Re: File System Object
Post by: Mnemonic on April 30, 2004, 09:02:06 PM
No FileSystem object (yet), but WME is able to store/read values to/from the Windows registry. Check the docs for the following methods:

Game.RegWriteNumber()
Game.RegWriteString()
Game.RegReadNumber()
Game.RegReadString ()
Title: Re: File System Object
Post by: Daniel on April 30, 2004, 09:15:35 PM
Damn, Mnemonic!
Title: Re: File System Object
Post by: Igorrr on May 01, 2004, 04:34:15 AM
That's fair enough! THANKS !!!! :)