Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

How to lock file Game.ini

Khoa

Member

I want to make the file Game.ini un-editable, so that no one can edit the title of my game, someone please help me, thank you (^^)
 
Unfortunately, unless you reprogrammed the game to look elsewhere for the title, you can't achieve this. .ini files are impossible to permanently lock in Windows. (Unless they are poisoned files, in which case they don't function because they aren't really .ini files.)
 
lordnick5000":8g7yh4lz said:
i think they mean encrypt it...

Once again, .ini files can't be encrypted and still be useable in Windows. They're essentially overblown .txt files. My recommendation is just redirecting the project to look for a name in a different place. (Like within the scripts) No, I don't know how to do it. I think it might require some use of an external file, like the win32API scripts for resolution use a default Windows file.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top