Installation problem?

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Geno Whirl

Installation problem?

Post by Geno Whirl »

I recently let my freind download the ZSNES on to his computer, but he says that everytime he runs it, he has load the games and none of his data was saved. Did he install it incorreclty or something?
Joe Camacho
Devil's Advocate
Posts: 2293
Joined: Mon Aug 02, 2004 7:51 pm
Location: Hmo. Son.

Post by Joe Camacho »

Exactly, *what* data is not saved? In-game saves or save states?

Is the folder read only? Is he playing from a cd?
*Sometimes I edit my posts just to correct mistakes.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

So let me get this straight, since you're not being too descriptive.....

your friend unzipped ZSNES to a folder and then started the emulator and loaded a game. He played a little and either saved a state or made an in-game SRAM save. Next time he tried to load the save, it wouldn't load.

Am I even close?

Chances are that the folder ZSNES creates the save fils is Read-Only (if no save path is defined, then savestates and SRAM are saved in the ZSNES folder). If ZSNES is run from a CD with no save path defined, the emulator would attempt to write to the CD which doesn't work.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Geno Whirl

Sorry.

Post by Geno Whirl »

Sorry about the lack of information, I'm not even 100% sure what he means either.

I lent him the CD with the zsnes on it and he said he put the cd in and ran it and then he started playing it. He was playing Final Fantasy III and when he saved and everything, but when he quit and opened the zsnes again he had to find the list of games again and it wasn't saved on the state or on the actual game.

He also tried it with other games, but they still didn't work.

By they way, Joe, is that kikaider as ur sig?
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Sound exactly like he ran ZSNES directly from the CD and didn't edit the savepath so that ZSNES would save everything to the hard drive ---> ZSNES tries to write the save data to the CD, which just doesn't work.

Tell your friend to set up a valid savepath that doesn't point to the CD-ROM drive.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
OutrightOwnage
Rookie
Posts: 11
Joined: Sun Jul 30, 2006 3:50 am

Post by OutrightOwnage »

yeah, its prly 'cause hes running it off the cd. have him copy it to his hard drive, then right-click the folder and hit properties and make sure it isn't read-only.
abusing your punk ass since 2006
Poobah
Lurker
Posts: 164
Joined: Sun Sep 25, 2005 12:59 pm

Post by Poobah »

Doesn't ZSNES even warn users if it can't write to the file? It'd be quite reasonable to prompt users to save the file somewhere else before completely discarding all save data.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Poobah wrote:Doesn't ZSNES even warn users if it can't write to the file? It'd be quite reasonable to prompt users to save the file somewhere else before completely discarding all save data.
I don't think this is limited to ZSNES actually, as this is specifically user error. Prompting a user to save the srm file somewhere else is a little less intutive as (any) emulator will try to read the srm either in the same folder as the ROM, or in the defined save directory (both of which are issues if ZSNES is not configured properly when burned to cd).

Besides, what emulator actually has done as you have suggested?
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Well, ZSNES does inform the user that it was unable to save/load a state at the very least.
Last edited by Agozer on Tue Aug 08, 2006 12:40 pm, edited 1 time in total.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Agozer wrote:Well, ZSNES does inform the user that it was unable to save/load a state at the very least.
Fixed.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

Deathlike2 wrote:
Agozer wrote:Well, ZSNES does inform the user that it was unable to save/load a state at the very least.
Fixed.
Gah. Yes, that's what I meant. Fixed. :oops:
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
xamenus
Veteran
Posts: 907
Joined: Fri Jul 30, 2004 12:26 am

Post by xamenus »

Deathlike2 wrote:
Poobah wrote:Doesn't ZSNES even warn users if it can't write to the file? It'd be quite reasonable to prompt users to save the file somewhere else before completely discarding all save data.
I don't think this is limited to ZSNES actually, as this is specifically user error. Prompting a user to save the srm file somewhere else is a little less intutive as (any) emulator will try to read the srm either in the same folder as the ROM, or in the defined save directory (both of which are issues if ZSNES is not configured properly when burned to cd).

Besides, what emulator actually has done as you have suggested?
Snes9x for Windows will prompt the user if the current save directory is read-only.
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

xamenus wrote:
Deathlike2 wrote:
Poobah wrote:Doesn't ZSNES even warn users if it can't write to the file? It'd be quite reasonable to prompt users to save the file somewhere else before completely discarding all save data.
I don't think this is limited to ZSNES actually, as this is specifically user error. Prompting a user to save the srm file somewhere else is a little less intutive as (any) emulator will try to read the srm either in the same folder as the ROM, or in the defined save directory (both of which are issues if ZSNES is not configured properly when burned to cd).

Besides, what emulator actually has done as you have suggested?
Snes9x for Windows will prompt the user if the current save directory is read-only.
I've never encountered that problem to find out.. on the other hand, I don't think it's that simple for ZSNES to do the same...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

You can try to create a temporary file... the OS might also return an error code if you try to open a read-only file with write-access flags. There might even be a way to get the directory attributes.

(I've always worked with non-readonly files, so I never bothered to find out. :) )
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
Post Reply