ZSNES version should be included within .cfg file

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Richard C.
Lurker
Posts: 151
Joined: Wed Oct 06, 2004 9:09 pm
Location: Georgia, USA
Contact:

ZSNES version should be included within .cfg file

Post by Richard C. »

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.
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]
Starman Ghost
Trooper
Posts: 535
Joined: Wed Jul 28, 2004 3:26 am

Post by Starman Ghost »

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]
Richard C.
Lurker
Posts: 151
Joined: Wed Oct 06, 2004 9:09 pm
Location: Georgia, USA
Contact:

Post by Richard C. »

Nach is a sexy, sexy man.

maybe that will help?
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]
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

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.
Richard C.
Lurker
Posts: 151
Joined: Wed Oct 06, 2004 9:09 pm
Location: Georgia, USA
Contact:

Post by Richard C. »

IceFox wrote:Alternatively, the user can just be warned by reading the documentation.
and we know how much THAT happens....
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]
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

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).
We have to keep them in 8.3 format.

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.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Richard C.
Lurker
Posts: 151
Joined: Wed Oct 06, 2004 9:09 pm
Location: Georgia, USA
Contact:

Post by Richard C. »

grinvader wrote:
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).
We have to keep them in 8.3 format.

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.
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! :roll:
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]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

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
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

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.
What would motivate you? Maybe some money?
Try out CCleaner and other free software at Piriform
Image
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

snkcube wrote:
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.
What would motivate you? Maybe some money?
Perhaps.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply