ZSNES version should be included within .cfg file
Moderator: ZSNES Mods
-
- Lurker
- Posts: 151
- Joined: Wed Oct 06, 2004 9:09 pm
- Location: Georgia, USA
- Contact:
ZSNES version should be included within .cfg file
I've been thinking. We've been having a lot of problems recently due to people not deleting their config files after an update. If the version of ZSNES was included within the .cfg file, ZSNES could detect outdated config files, and replace them with acceptable ones.
I can think of two ways to do this.
1) Delete zguicfg?.dat and zsnes?.cfg - the easiest thing, but user will loose all custom settings.
2) Delete zguicfg?.dat only, and program into zsnes default settings for all things within zsnes?.cfg. This way, everyone's custom settings could be kept, and new features would use their default settings. However, this could cause a problem if the old settings were set to values no longer available in the new version.
I can think of two ways to do this.
1) Delete zguicfg?.dat and zsnes?.cfg - the easiest thing, but user will loose all custom settings.
2) Delete zguicfg?.dat only, and program into zsnes default settings for all things within zsnes?.cfg. This way, everyone's custom settings could be kept, and new features would use their default settings. However, this could cause a problem if the old settings were set to values no longer available in the new version.
Latest ZSNES release: [url=http://zsnes.ipherswipsite.com]ZSNES 11/12/06 WIP[/url]
Latest NSRT release: [url=http://nsrt.edgeemu.com/]NSRT 3.3 Final[/url]
Latest NSRT release: [url=http://nsrt.edgeemu.com/]NSRT 3.3 Final[/url]
-
- Trooper
- Posts: 535
- Joined: Wed Jul 28, 2004 3:26 am
I suggested something like this before. It had a relatively posative response, but I don't think any of the developers commented.
[code]<Guo_Si> Hey, you know what sucks?
<TheXPhial> vaccuums
<Guo_Si> Hey, you know what sucks in a metaphorical sense?
<TheXPhial> black holes
<Guo_Si> Hey, you know what just isn't cool?
<TheXPhial> lava?[/code]
<TheXPhial> vaccuums
<Guo_Si> Hey, you know what sucks in a metaphorical sense?
<TheXPhial> black holes
<Guo_Si> Hey, you know what just isn't cool?
<TheXPhial> lava?[/code]
-
- Lurker
- Posts: 151
- Joined: Wed Oct 06, 2004 9:09 pm
- Location: Georgia, USA
- Contact:
Or the config files could simply be called "zsnes?143.cfg" and "zguicfg?143.dat" (change the "143" to the appropriate version number, of course). Official releases aren't that frequent anyway, so no big deal if the user will have to reconfigure everything.
Alternatively, the user can just be warned by reading the documentation.
Alternatively, the user can just be warned by reading the documentation.
-
- Lurker
- Posts: 151
- Joined: Wed Oct 06, 2004 9:09 pm
- Location: Georgia, USA
- Contact:
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
We have to keep them in 8.3 format.IceFox wrote:Or the config files could simply be called "zsnes?143.cfg" and "zguicfg?143.dat" (change the "143" to the appropriate version number, of course).
As said in another thread the file causing trouble is zguicfg?.dat. Just put in the docs that important changes to GUI code require this file to be deleted...
As if they read the docs before whining here.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
-
- Lurker
- Posts: 151
- Joined: Wed Oct 06, 2004 9:09 pm
- Location: Georgia, USA
- Contact:
right, but that never happens, and something like this will keep their pathetic souls from visiting the board. although... i was a user like that once, and look at me!grinvader wrote:We have to keep them in 8.3 format.IceFox wrote:Or the config files could simply be called "zsnes?143.cfg" and "zguicfg?143.dat" (change the "143" to the appropriate version number, of course).
As said in another thread the file causing trouble is zguicfg?.dat. Just put in the docs that important changes to GUI code require this file to be deleted...
As if they read the docs before whining here.

Latest ZSNES release: [url=http://zsnes.ipherswipsite.com]ZSNES 11/12/06 WIP[/url]
Latest NSRT release: [url=http://nsrt.edgeemu.com/]NSRT 3.3 Final[/url]
Latest NSRT release: [url=http://nsrt.edgeemu.com/]NSRT 3.3 Final[/url]
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Idealy, I'd like to come up with a way that you'll never have to delete your config related files no matter what we change.
I could do it if I was motivated enough.
I could do it if I was motivated enough.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Perhaps.snkcube wrote:What would motivate you? Maybe some money?Nach wrote:Idealy, I'd like to come up with a way that you'll never have to delete your config related files no matter what we change.
I could do it if I was motivated enough.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding