Hacking 1MB save file support? AKAIO?

CoconutCake

Well-Known Member
OP
Member
Joined
Dec 16, 2008
Messages
168
Trophies
0
XP
237
Country
United States
I noticed that GTA CW produces a 512K save file in AKAIO 1.4.1.

But I read that GTA CW actually uses a 1MB save space on the real game, and there are also a few other games that use larger saves than 512K.

Will the 512K save cause problems with GTA and games that use larger saves?

Can AKAIO support the 1MB saves in the future? Or is there a technical limitation with the 512K save support?
 

wchill

Resident chillxpert
Member
Joined
Jun 12, 2008
Messages
1,407
Trophies
1
Age
13
Website
Visit site
XP
466
Country
United States
Hmm, AKAIO should have been updated with 1MB saves by now.
But if not, then try making a blank 1MB save using Dummy File Creator, etc.
Rename and use.
Maybe it'll work?
 

CoconutCake

Well-Known Member
OP
Member
Joined
Dec 16, 2008
Messages
168
Trophies
0
XP
237
Country
United States
Hmm, OK I see you can force a 1MB save by choosing 8M in the AKAIO rom info menu. Cool.

Is there a way to expand my existing 512K save into a proper 1MB size save? I'd rather no start aggain from the beginning.

I think a lot of people will have 512MB saves since that's the automaic size you get.
 

wchill

Resident chillxpert
Member
Joined
Jun 12, 2008
Messages
1,407
Trophies
1
Age
13
Website
Visit site
XP
466
Country
United States
8KB? That doesn't seem right. 8KB seems far too small for a game.
@CoconutCake: Open up your save in a hex editor and add 512 extra kilobytes (zero out the hex values) to the end of the file. This way your save will have room to expand.
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,218
Country
New Zealand
wchill said:
8KB? That doesn't seem right. 8KB seems far too small for a game.
@CoconutCake: Open up your save in a hex editor and add 512 extra kilobytes (zero out the hex values) to the end of the file. This way your save will have room to expand.

It IS 8KB, I am ALL knowing.
 

kai445

Well-Known Member
Member
Joined
Oct 16, 2006
Messages
320
Trophies
1
XP
257
Country
United States
wchill said:
8KB? That doesn't seem right. 8KB seems far too small for a game.
@CoconutCake: Open up your save in a hex editor and add 512 extra kilobytes (zero out the hex values) to the end of the file. This way your save will have room to expand.

You sure you really want to question the guy who can code and debug code?

Furthermore, even if you were close to right, what the hell kind of data would it take an entire megabyte to save?
 

CoconutCake

Well-Known Member
OP
Member
Joined
Dec 16, 2008
Messages
168
Trophies
0
XP
237
Country
United States
Thanks Normatt.

This brings up another question about saves that you probably can answer.

I notice that all saves are 512K in AKAIO, even for games that use really small saves like 4K or 64K etc.

How come the save files aren't the game save size?
 

wchill

Resident chillxpert
Member
Joined
Jun 12, 2008
Messages
1,407
Trophies
1
Age
13
Website
Visit site
XP
466
Country
United States
It's easier to use a standard save size for all games on a flashcart.
Check this with just about every flashcart; they all use 512KB (except for 1MB games).
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,218
Country
New Zealand
CoconutCake said:
Thanks Normatt.

This brings up another question about saves that you probably can answer.

I notice that all saves are 512K in AKAIO, even for games that use really small saves like 4K or 64K etc.

How come the save files aren't the game save size?

There is no way to detect what the games save type is before running the game thus a standard save size was setup, carts like the akrpg however use a temporary save buffer which means they only backup to the sd (on next boot) the data that was actually written. No direct sd flashcart currently has save type detection as its almost impossible to do.
 

wchill

Resident chillxpert
Member
Joined
Jun 12, 2008
Messages
1,407
Trophies
1
Age
13
Website
Visit site
XP
466
Country
United States
I'm not aware of one; your best bet is to search before you start a game.
Or, you can just force 1MB saves on every single game you have.
 

Burbruee

Well-Known Member
Member
Joined
Apr 28, 2006
Messages
100
Trophies
0
Location
Kristianstad
Website
Visit site
XP
179
Country
I don't know if this answers the original question, but I got my AK2 a couple of days ago, before that I had the very old GBAMP2 with the hack.
Anyway, the GBAMP2 always produced 1 MB .sav files no matter the game you used, parts of this is filled with zeros at multiple sections of the file.
I copied my old GBAMP save file from Pokemon Pearl over to my Acekard and it works without any problems, AK does not change filesize to 512K, but keeps it at 1 MB, so it supports the size, don't know of any games that actually uses full 1 MB saves though.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/zzu0VHzy7tU?si=V2sI-JSptJg0SWmC