Author Topic: save ram for duos  (Read 916 times)

A Black Falcon

  • Sr. Member
  • ****
  • Posts: 310
Re: save ram for duos
« Reply #30 on: September 08, 2013, 09:06:35 AM »
The link nat posted is interesting if incomplete.  But the FAQ's file sizes definitely seem to skew lower than the actual file size.  The FAQ says Ys takes up something like 45 when in actuality it takes up 61.  I've noticed this on many of his examples.

I know I'm bumping a pretty old thread, but I just got that Turbo CD and modded TG16 back yesterday, and have been playing the import and CD games I'd purchased in the interim, of course.  And yeah, the numbers in that FAQ are all too low.  I wonder, how did that happen... http://turbo.mindrec.com/files/gamesave.faq

That list has lots of detail... but on my system, all of the games I have are listed in Valis IV as having larger save file sizes as appear on this list.  Does anyone know why this would be?  Here's what I mean.

First though, in that FAQ, the guy says that he used Order of the Griffon to view the file sizes.  Do file sizes appear different in that game, versus Valis IV?  I can't imagine why that would be, but it WOULD be an explanation.  I don't have Griffon, though, so I can't test this myself.  Anyway though, in Valis IV, this is what I get:

HuCards
--
Bomberman '93 (J ver.) - 32 blocks per file (also has passwords) (can save only at Continue menu.  Three files allowed.) (listing page said 16 blocks, but it's 32 on my Turbografx.)
Tiger Road (U ver.) - 56 blocks (listing site said 40 blocks, but it's 56 on my Turbografx.)
Doraemon Meikyuu Daisakusen (J ver. of Cratermaze) - 18 blocks (also has passwords) (only saves at Continue menu) (this number is what's reported in my Japanese copy of the game.  The listing page says that the game [US version] takes up only 1 block.)
Final Soldier (J) - 34 blocks (listing page says 18 blocks, but it's 32 on my Turbografx.)

KickBall (J) - 18 blocks (this one isn't listed on the list above, but it does save, with the file that size on my system.)


CDs
--
Cosmic Fantasy 2 (U ver.) - 354 blocks per file, 2 files required (CD) (so 708 blocks required) (listing page says 336, so 676 blocks required, but on my TG16 it's 354/708.)
Last Alert (U ver.) - 48 blocks (CD) (listing page says 32, but it's 48 on my Turbografx.)
Splash Lake (U ver.) - 78 blocks (CD) (listing page says 62 blocks, but it's 78 on my Turbografx.)
Ys Books I & II (U ver.) - 61 blocks per file (CD) (listing page said 45 blocks per file, but it's 61 on my Turbografx.)
Road Spirits (J) - 149 blocks (listing page said 138 blocks, but it's 149 on my Turbografx)

Valis IV (CD) - 48 blocks (listing page didn't have a file size for this one)

cabbage

  • Sr. Member
  • ****
  • Posts: 342
Re: save ram for duos
« Reply #31 on: September 08, 2013, 11:29:08 PM »
And yeah, the numbers in that FAQ are all too low.  I wonder, how did that happen... http://turbo.mindrec.com/files/gamesave.faq

That list has lots of detail... but on my system, all of the games I have are listed in Valis IV as having larger save file sizes as appear on this list.  Does anyone know why this would be?

There is a difference of 16 bytes for each file. This just happens to be the size of the header for a save file:
2 bytes for the size of the save data
2 bytes for checksum
2 bytes for "unique" ID
10 bytes for the save file name

gamesave.faq lists the size of the actual game save data stored by each game--without the save file header.

so I assume Order of the Griffon just gets the "size of save data" in each file's header and lists the results but does not add the additional 16 bytes consumed by the header itself...whereas Valis IV reports header+data size. (Note-I don't have either of these games so forgive me if I'm mistaken)
« Last Edit: September 08, 2013, 11:32:27 PM by cabbage »

A Black Falcon

  • Sr. Member
  • ****
  • Posts: 310
Re: save ram for duos
« Reply #32 on: September 09, 2013, 07:02:48 AM »
And yeah, the numbers in that FAQ are all too low.  I wonder, how did that happen... http://turbo.mindrec.com/files/gamesave.faq

That list has lots of detail... but on my system, all of the games I have are listed in Valis IV as having larger save file sizes as appear on this list.  Does anyone know why this would be?

There is a difference of 16 bytes for each file. This just happens to be the size of the header for a save file:
2 bytes for the size of the save data
2 bytes for checksum
2 bytes for "unique" ID
10 bytes for the save file name

gamesave.faq lists the size of the actual game save data stored by each game--without the save file header.

so I assume Order of the Griffon just gets the "size of save data" in each file's header and lists the results but does not add the additional 16 bytes consumed by the header itself...whereas Valis IV reports header+data size. (Note-I don't have either of these games so forgive me if I'm mistaken)

That's a good theory, but looking at those examples, the difference in block size varies between 11 and 19, so it's not 16 in every case... still though, one thing that's interesting is that the gamesave.faq page says that Griffon says the TG16 has a total of 1726 blocks, but Valis IV says that the total is, I believe, 2048.