Yoshi's Island help

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

Moderator: ZSNES Mods

Traiklin
New Member
Posts: 3
Joined: Fri Aug 13, 2004 5:08 am

Yoshi's Island help

Post by Traiklin »

How exactly do I save in-game with Yoshi's Island?

I beat a castle and it's supposed to save but it never does and I can't just do the save state cause I only play it over the net for my girlfriend but we had another game screw up on us wen we tried that.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

If I remember correctly, Yoshi's Island saves your progress automatically everytime you clear a level. I could be wrong though as it's been a while since I've played it.

Edit: Useless fingers.
Last edited by Agozer on Fri Aug 13, 2004 10:27 am, 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
snkcube
Hero of Time
Posts: 2646
Joined: Fri Jul 30, 2004 2:49 am
Location: In front of the monitor
Contact:

Post by snkcube »

Agozer wrote:If I remember correctly, Ypshi's Island saves your progress automatically everytime you clear a level. I could be wrong though as it's been a while since I've played it.
You are correct, sir.
Try out CCleaner and other free software at Piriform
Image
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Config->Options->SRAM Check&Save.

With that, ZSNES will save the srm file when it's supposed to (like a real snes).
皆黙って俺について来い!!

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
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Perhaps the option that causes the most difficulty, and yet it is not enabled by default.

Why?!?!
[u][url=http://bash.org/?577451]#577451[/url][/u]
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

It's nicer on system ressources.

*Iirc (i can be wrong) in the beggining of zsnes the default config was all disabled or on the minimal quality, mono, 8000Hz, and so on.
皆黙って俺について来い!!

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
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

Well, since SRAM is memory, a game *could* be programmed to modify portions of it on each cycle. If a file is updated on a mechanical hard drive each time the SRAM data is changed, this could be a serious problem. That is why the option is disabled by default.

I suspect that Traiklin's problem might be because ZSNES cannot create an SRM file due to read-only file-system/directory/media restrictions.
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Ichinisan wrote:Well, since SRAM is memory, a game *could* be programmed to modify portions of it on each cycle. If a file is updated on a mechanical hard drive each time the SRAM data is changed, this could be a serious problem. That is why the option is disabled by default.
Then update it in memory, and write it to disk a max of once per 30 seconds or something. Shouldn't be a problem for anything but laptops.
[u][url=http://bash.org/?577451]#577451[/url][/u]
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

OK then Matutinal, what do you suggest if I was on a laptop, which, I am.
Disclaimer: I got two desktops also.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

adventure_of_link wrote:OK then Matutinal, what do you suggest if I was on a laptop, which, I am.
Disclaimer: I got two desktops also.
I would suggest not using the Check+Save option. It's perfectly fine that ZSNES updates the file when you close the emulator, assuming the file can be written to.
Traiklin
New Member
Posts: 3
Joined: Fri Aug 13, 2004 5:08 am

Post by Traiklin »

I'm on a desktop with 512mb ddr ram 2.8ghz P4 so the resorce thing isn't a problem. I was just wondering cause Yoshi's Island is the only game that wasn't saving properly, I would beat a castle and it wouldn't save but other games that had you go somewheres to save auto saved it.

edit: Thanks grinvader that worked :D
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

If I coded an SNES program to read/write SRAM at every interval, and you ran it in ZSNES on your computer with SRAM Check+Save enabled, ZSNES would appear to lock up completely.

A hard drive is mechanical. Memory is electrical. Memory is thousands or hundreds-of-thousands of times faster than mechanical storage. (no matter how fast your computer is)
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

Good thing most SNES games are programmed intelligently.

Writing to SRAM consistently or often is terrible practice. It's even worse to use save ram for storing common variables, like those that should be in low ram.

I would certainly hope (and presume) ZSNES checks whether a game has sram before doing any writes to disk. When sram (and/or the battery) is missing, that area of CPU memory acts just as expansion ram.
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

Because some games do not use a battery, but still have SRAM...it is perfectly acceptable to use it as work RAM.
PHoNyMiKe
Retrosexual
Posts: 1011
Joined: Wed Jul 28, 2004 2:09 am
Location: Rapture

Post by PHoNyMiKe »

yeah like starfox and other FX games. if zsnes did write the sram to file right after being modified on this game, then there'd be a lot of hdd usage :)
[url=http://www.alexchiu.com/affiliates/clickthru.cgi?id=phonymike]ultimate immortality[/url]
[url=http://www.sloganizer.net/en/][img]http://www.sloganizer.net/en/image,zsnes,white,purple.png[/img][/url]
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Ah, I see. I didn't know some games used it as regular RAM.
[u][url=http://bash.org/?577451]#577451[/url][/u]
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

You confuse save ram and expansion ram, Ichinisan. They're mapped to the same region of CPU memory; but the former exists only when there is a battery.

It is perfectly valid to write anything the program desires to expansion ram, and I said nothing to the contrary.
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

I said "SRAM".

SRAM is "Static Random Access Memory". Static RAM does not need to be electrically refreshed as aggressively as standard memory, so data can be retained for a long time with very little electrical power. The "S" does not mean "Save", therefore it does not imply the existence of a battery. However, even with a battery, portions of SRAM that are not used for retaining information could theoretically be used by some games as work RAM; and this would be perfectly acceptable. This is a good reason for the CHECK+Save option to be disabled by default. Disk-thrashing would be reduced because the file would be updated only when the emulator is closed or a different game is loaded. While the game is being played, the hard disk could idle in power-save mode and conserve a lot of energy/wear.
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

Ichinisan wrote:I said "SRAM".

SRAM is "Static Random Access Memory". Static RAM does not need to be electrically refreshed as aggressively as standard memory, so data can be retained for a long time with very little electrical power. The "S" does not mean "Save", therefore it does not imply the existence of a battery. However, even with a battery, portions of SRAM that are not used for retaining information could theoretically be used by some games as work RAM; and this would be perfectly acceptable. This is a good reason for the CHECK+Save option to be disabled by default. Disk-thrashing would be reduced because the file would be updated only when the emulator is closed or a different game is loaded. While the game is being played, the hard disk could idle in power-save mode and conserve a lot of energy/wear.
You're right -- SRAM does stand for static ram. I never explictly defined it in any other way. Most of the time, static ram and save(d) ram are identical; therefore the terms end up being used inter-changably. The same cannot be said for save ram and expansion ram, or static ram and expansion ram.

I'd like to know how your static ram is being maintained without the use of a battery, though. Leaving the system on all day? :p Static ram certainly does not require the use of a battery. However, in the case of SNES games (the real topic of our discussion), batteries were used virtually exclusively to maintain the data. Therefore you can see where I make the connection between static ram and a battery.

The connection between static ram and save ram is different. It is denotatively derived. If a section of RAM is static, which technically means unmoving/unchanging, then it only logically follows that it must also be saved. RAM that is not changed and yet is not saved either is entirely useless.

Any area of the expansion ram where static and/or save ram is not mapped is still entirely valid for any use, just as you have said. And once again, I have said nothing to the contrary. In both the SNES and an accurate emulator, the leftover unmapped areas of expansion ram would not be maintained to any permanent source.

I have not even once said that the check and save option should be enabled by default. If I implied that, I apologize.

My main point here remains the same as before. Only a poorly programmed game would write to static/save ram repeatedly in a short period. There are many playstation games which are fine examples of this. Do you enjoy sitting at those annoying prompt windows waiting for a few bytes of data to be written? (In all likelihood, opening and closing the window with its drawing animations takes longer than the actual writes. Another reason this methodology is poor programming.)
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

Kagerato wrote:
Ichinisan wrote:I said "SRAM".

SRAM is "Static Random Access Memory". Static RAM does not need to be electrically refreshed as aggressively as standard memory, so data can be retained for a long time with very little electrical power. The "S" does not mean "Save", therefore it does not imply the existence of a battery. However, even with a battery, portions of SRAM that are not used for retaining information could theoretically be used by some games as work RAM; and this would be perfectly acceptable. This is a good reason for the CHECK+Save option to be disabled by default. Disk-thrashing would be reduced because the file would be updated only when the emulator is closed or a different game is loaded. While the game is being played, the hard disk could idle in power-save mode and conserve a lot of energy/wear.
...
My main point here remains the same as before. Only a poorly programmed game would write to static/save ram repeatedly in a short period.
...
Ichinisan wrote:...
However, even with a battery, portions of SRAM that are not used for retaining information could theoretically be used by some games as work RAM; and this would be perfectly acceptable.
...
SRAM is RAM. It does not wear out from excessive reads/writes like Flash/EEPROM. Data is set/retained instantaneously. It is exactly the same as work RAM, though perhaps slightly slower to access because it must be read across the cartridge bus. During the SNES' day, SRAM was more expensive and higher-performing than the type of memory used for main work RAM, though it was limited to significantly smaller sizes (due to cost). In-cartridge processors like the Super FX chip communicate directly with the memory in real-time. It is perfectly acceptable to use the memory as work RAM, even if a portion of it is used for saving.
PHoNyMiKe
Retrosexual
Posts: 1011
Joined: Wed Jul 28, 2004 2:09 am
Location: Rapture

Post by PHoNyMiKe »

this argument about sram is more idiotic than the ones about the correct spelling of s-dd1.
[url=http://www.alexchiu.com/affiliates/clickthru.cgi?id=phonymike]ultimate immortality[/url]
[url=http://www.sloganizer.net/en/][img]http://www.sloganizer.net/en/image,zsnes,white,purple.png[/img][/url]
Kagerato
Lurker
Posts: 153
Joined: Mon Aug 09, 2004 1:40 am
Contact:

Post by Kagerato »

Ichinisan keeps asserting many things that I already know and/or agree with, so I'll just quit responding.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Anything your have read about expansion RAM and SRAM being on an SNES cart is nonsense.

Some carts contain SRAM, most that do have a battery to keep it's data stored when you turn off the SNES, some do not. Most notably some Super FX and SA-1 games contain SRAM but no battery.

NSRT gives read outs on the amount of SRAM a game has as well as if it uses a battery or not. To my knowledge, no other program does that.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

Kagerato wrote:Ichinisan keeps asserting many things that I already know and/or agree with, so I'll just quit responding.
You keep asserting that it is bad programming practice to use the SRAM as work RAM. It's not. Using SRAM is completely different from saving to non-volatile [save] memory as you compared it to.
Nach wrote:Anything your have read about expansion RAM and SRAM being on an SNES cart is nonsense.
If non-save SRAM is used, how is this not considered to be expansion RAM?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

You see docs and programs on the web which will tell you something like ROM+Expansion RAM+SRAM.

There is nothing remotely like that. The same chip used for backup on one cart is used for work RAM on another cart. There is no game which has two different RAM chips on it.

The RAM works as a place to store data and some games back it up and some do not. Hence SRAM is Static RAM, nothing more nothing less. Expansion RAM == SRAM. Do not defrentiate between the two.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply