Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Visualboy Advance Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old May 24th, 2005   #1 (permalink)
Registered User
 
Join Date: May 2005
Location: USA
Posts: 3
VBA mac help

hi, i have VBA on my Mac osx. the roms i have play but an error comes up saying "error creating file battery saves/spyro - season of ice.sav
How do i fix it so it can save?
velvet is offline   Reply With Quote
Old May 25th, 2005   #2 (permalink)
Registered User
 
Join Date: May 2005
Location: USA
Posts: 3
hello???
velvet is offline   Reply With Quote
Old May 29th, 2005   #3 (permalink)
Customized User Title
 
Join Date: Apr 2004
Location: In my little apartment eating the only food I can afford, ramen noodles.
Posts: 345
Quote:
Originally Posted by velvet
hello???
Noone has responded because not many people around here know how to use, or even have macs.
__________________
[Gaming PC] Intel Intel Xeon X3350 @3.5GHz , 2GB DDR2-1066 RAM, Nvidia Geforce 9600GT 512MB (720/2150MHz), 120GB Western Digital Sata Harddisk, Hec 585Watt Power Supply (<- The PSU Sucks, barely even powers my system.)
-
[HTPC] Intel Pentium E2160 @ 2.5GHz, 2GB DDR2-800 RAM, Nvidia GeForce 8600GT 512MB (Stock), 500GB Western Digital SATA Harddisk, Antec EarthWatts 430watt Power Supply
proger is offline   Reply With Quote
Old May 31st, 2005   #4 (permalink)
Registered User
 
Join Date: May 2005
Location: USA
Posts: 2
I have a mac but when i played spyro the same thing happened to me.
So i just think it's the rom.
Anbu1_3 is offline   Reply With Quote
Old June 1st, 2005   #5 (permalink)
Resident Mac User
 
Valcrist's Avatar
 
Join Date: Apr 2003
Location: (Hicksville Florida)
Posts: 1,447
gee how did I miss this thread o.0

Check other roms to see if they save, also you might want to go to your disk utility and validate and fix persmission on the whole disk.
__________________
| Athlon 64 3200+ | ASUS 6600GT | 1 GB Dual Channel
| 20 GB Windows XP | 100 GB Ubuntu | 120 GB Storage |

|14" iBook G4 1.33Ghz|512 MB|Radeon 9200|60GB OSX Tiger|

>--Visit my blog--<
http://blog.efx2.com/user/Tim
Valcrist is offline   Reply With Quote
Old June 12th, 2005   #6 (permalink)
Registered User
 
Join Date: May 2005
Location: USA
Posts: 3
Quote:
Originally Posted by Valcrist
gee how did I miss this thread o.0

Check other roms to see if they save, also you might want to go to your disk utility and validate and fix persmission on the whole disk.
none of my other roms save either.. are the games suppose to be in a certain folder or something?..
velvet is offline   Reply With Quote
Old June 22nd, 2005   #7 (permalink)
Unofficial Mac VBA Guy...
 
Join Date: Jun 2005
Location: Canada
Posts: 8
IIRC, this is a known issue with Mac VBA. Since AFAIK the code for battery saves are in the core, it's probably some nonportable code therein. The only thing I can tell at this point is that it may be a problem with the code in Util.cpp (since all roads practically lead there) - it is most likely an endian issue (a similar issue prevented CB decryption from working on the Mac) from casting something something with inherent byte sex to void*, ie. where every byte is sexually ambiguous. I suspect that any build on VBA on a big-endian system (eg. vba on solaris-sparc) will have similar issues.
kelvSYC is offline   Reply With Quote
Old June 23rd, 2005   #8 (permalink)
Emu author
 
Forgotten's Avatar
 
Join Date: Oct 2001
Posts: 483
No, the saving issue is not an endian problem. There must be something else wrong in the system. All it tries to do is write to a file in the specified battery directory. I don't know at what state flea left the Mac port, so I have no idea how you even configure it.
Forgotten is offline   Reply With Quote
Old June 23rd, 2005   #9 (permalink)
Unofficial Mac VBA Guy...
 
Join Date: Jun 2005
Location: Canada
Posts: 8
Ah I see. I was looking at the wrong sources (Flash.cpp and EEprom.cpp). The problem stems from the file pointer from calling std::fopen() in CPUWriteBatteryFile() in GBA.cpp returning null.

Still, I have found that utilGzWriteInt() is not endian-safe in any case...
kelvSYC is offline   Reply With Quote
Old June 24th, 2005   #10 (permalink)
Emu author
 
Forgotten's Avatar
 
Join Date: Oct 2001
Posts: 483
Endian-safe is different from the problem writing to the file. I never worried about producing the correct endian-safe files, but the saves I think are endian safe, maybe with the exception of the compression on top of them, because aside from that, they are just bytes in the order the game writes. It is up to the game and emulator to read it correctly.
Forgotten is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:46.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5