Hi!
Yes, you were asked something along these lines some time ago, in a locked post
However, I would like to add my opinion to this: registry entries are a waste of time, and make moving the game needlessly difficult. Imagine I'm re-installing Windows, as I usually have to do every six or eight months. Instead of simply formatting and re-installing on drive C and then immediately playing again on the untouched drive D, I have to re-install the game.
Dito on a new computer, new motherboard, new hard drive, etc etc.
You said that you find .INI files so very Win 3.1 :D - call it .cfg then. This would also allow us to take this great game along on an USB stick, showing it off to friends.
Ciao,
Klaus
PS: Should you want some Delphi code for this, I'll gladly write you a little unit, so you don't have to change your code.
.cfg instead of accursed registry entries
- klausbreuer
- Posts: 19
- Joined: Mon Oct 20, 2008 8:38 am
- Implode
- Site Admin
- Posts: 433
- Joined: Fri Feb 24, 2006 3:35 am
- Location: Newfoundland, Canada
- Contact:
Re: .cfg instead of accursed registry entries
Yes but most users don't want to take it on a USB stick, they want all this kinds of stuff to be hidden so they simply install and run it. If you want to put it on a USB stick, just put the MSI installer on there, that's what its for :D
Anyway, once its in Java it'll be using XML config files anyway since using the Windows registry is very non-Java-ish :D
Implode.
Anyway, once its in Java it'll be using XML config files anyway since using the Windows registry is very non-Java-ish :D
Implode.
- klausbreuer
- Posts: 19
- Joined: Mon Oct 20, 2008 8:38 am
Re: .cfg instead of accursed registry entries
Weeeeell, I hate to disagree with you, but most people in my area seem to rather dislike the registry. It gets cluttered very quickly, messes up your reinstalls, and a simple config file is very quick and easy to modify, too.
On the other hand, this could all quickly turn completely trivial - I'm delighted about the Java port! :D
On the other hand, this could all quickly turn completely trivial - I'm delighted about the Java port! :D