Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Nintendo Handhelds > No$GBA Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

Reply
 
Thread Tools Display Modes
Old September 29th, 2007, 13:55   #1
ASk
Registered User
 
Join Date: Feb 2002
Posts: 6
NO$GBA <-> VBA save converter

Here's a small tool that I couldn't find anywhere, so I've whipped it up for my own use. It converts between NO$GBA 'raw' and VBA battery saves.

Limitations - when converting to VBA save, one must know the real save size - this is due to VBA determining save type by file size.

The tool is attached, you may need the VC8 runtime. you can find it on Microsoft's website. Usage is explained in the readme.
BACKUP YOUR FILES, I'M NOT RESPONSIBLE FOR ANY DATA LOSS THAT MAY OCCUR

edit: Seems that only certain games (specifically, ones with 32kbit save data size - an example is LoZ: Minish Cap) cause VBA to require the save game to be in little-endian format. YMMV.
Attached Files
File Type: zip v2n_n2v.zip (9.5 KB, 1147 views)

Last edited by ASk; September 29th, 2007 at 15:20..
ASk is offline   Reply With Quote

Advertisement [Remove Advertisement]

Old September 29th, 2007, 14:55   #2
Hiei-YYH
THE Hentai M@ster
 
Hiei-YYH's Avatar
 
Join Date: Aug 2005
Location: MAKAI
Posts: 1,834
lol you couldn't find? then i guess you didn't searched well.
__________________

My NEW Site
BEST anime ever!!
PSN(US): Hiei-YYH
PSN(Japan): JHiei-YYH

PSP Model: PSP1001 / CFW 5.50 GEN-D3 / Sony 16GB MS Pro Duo

My PC
OS: Windows XP Professional SP3
CPU: Intel Core i7 950 3.06GHz
MOBO: Gigabyte LGA 1366 Intel X58 USB 3.0 ATX Intel Motherboard GA-X58-USB3
VIDEO: EVGA GeForce GTX460 1024MB DDR5
MEMORY: Corsair 6GB (2GB x3) DDR3 PC3-12800 1600MHz
Hiei-YYH is offline   Reply With Quote

Old September 29th, 2007, 15:14   #3
ASk
Registered User
 
Join Date: Feb 2002
Posts: 6
I found a visual basic 6 "no$gba->vba" converter posted, which just strips the no$gba header from the data.

I've tried it, and well, it didn't really work on anything I've tried. VBA 1.8.0b3 and kode54's sse2 build do not recognize the save files properly, even when trimmed.

The reason follows -

VBA native save files are written as little-endian long longs (x86-style). no$gba saves the files in big-endian long longs (ARM7-style). In order for one to recognize the other's files, endianness conversion is required.

That, and the fact that VBA guesses save type/size by filesize and does not load the save data properly if the file is too big.

So, unless you got anything better to add, I rest my case.
ASk is offline   Reply With Quote

Old September 30th, 2007, 20:44   #4
Hiei-YYH
THE Hentai M@ster
 
Hiei-YYH's Avatar
 
Join Date: Aug 2005
Location: MAKAI
Posts: 1,834
this don't even open/execute for me, i tried in both cmd and clicking 2 times and in both ways it gave me a error.
__________________

My NEW Site
BEST anime ever!!
PSN(US): Hiei-YYH
PSN(Japan): JHiei-YYH

PSP Model: PSP1001 / CFW 5.50 GEN-D3 / Sony 16GB MS Pro Duo

My PC
OS: Windows XP Professional SP3
CPU: Intel Core i7 950 3.06GHz
MOBO: Gigabyte LGA 1366 Intel X58 USB 3.0 ATX Intel Motherboard GA-X58-USB3
VIDEO: EVGA GeForce GTX460 1024MB DDR5
MEMORY: Corsair 6GB (2GB x3) DDR3 PC3-12800 1600MHz
Hiei-YYH is offline   Reply With Quote

Old September 30th, 2007, 22:38   #5
ASk
Registered User
 
Join Date: Feb 2002
Posts: 6
Quote:
Originally Posted by Hiei-YYH View Post
this don't even open/execute for me, i tried in both cmd and clicking 2 times and in both ways it gave me a error.
VC8 runtime installed? yes/no?
ASk is offline   Reply With Quote

Old October 1st, 2007, 01:05   #6
Hiei-YYH
THE Hentai M@ster
 
Hiei-YYH's Avatar
 
Join Date: Aug 2005
Location: MAKAI
Posts: 1,834
Quote:
Originally Posted by ASk View Post
VC8 runtime installed? yes/no?
no, for just a command line/dos program? well, i'll not bother anyway, but you should check in case someone really wants to use and doesn't have that too.
__________________

My NEW Site
BEST anime ever!!
PSN(US): Hiei-YYH
PSN(Japan): JHiei-YYH

PSP Model: PSP1001 / CFW 5.50 GEN-D3 / Sony 16GB MS Pro Duo

My PC
OS: Windows XP Professional SP3
CPU: Intel Core i7 950 3.06GHz
MOBO: Gigabyte LGA 1366 Intel X58 USB 3.0 ATX Intel Motherboard GA-X58-USB3
VIDEO: EVGA GeForce GTX460 1024MB DDR5
MEMORY: Corsair 6GB (2GB x3) DDR3 PC3-12800 1600MHz
Hiei-YYH is offline   Reply With Quote

Old October 1st, 2007, 02:34   #7
spawn4
Registered User
 
spawn4's Avatar
 
Join Date: Apr 2005
Location: In another world
Posts: 40
I downloaded it and it's Running fine for me, though I didn't try converting any save yet...
spawn4 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

Forum Jump

All times are GMT +1. The time now is 15:37.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.