Nyerguds 102 Posted October 6, 2010 I dunno... since the savegames can't contain actual mod info I don't really see the point. Problems are: -I'm not entirely sure C&C95 supports long filenames, meaning the filename probably has a maximum of 8 characters -this would enable modders to put the filenames of both lores and hires savegames to the same thing, which would inevitably lead to the savegame resolution bug that makes the sidebar unusable when loading a wrong-width savegame Share this post Link to post
CCHyper 3 Posted October 6, 2010 The C&C file engines (RawFile, CCFile, WWFile etc) Can handle upto 256 IIRC, but its MixFileClass that can have troubles with over 8 char long filenames, excluding the extension. Share this post Link to post
Nyerguds 102 Posted October 6, 2010 Well I don't think that the fact they're savegames would stop WW from using mixfileclass. They used it for the high scores file, remember? Share this post Link to post
ShadowDog 0 Posted October 6, 2010 Perhaps you could allow them to define up to 8 characters for the savegame name, with the last 3 replaced by _HI (though you're using ASM, so that's probably a heck of a lot harder than I generally think of it being)? Admittedly, it's not anywhere near high priority, but it's a cool little idea. Speaking of which, could you put in some sort of way to distinguish the missions on the highscore table? Maybe using the mission name, but having an .ini key that can have it use a different name on the highscore screen (i.e. to make "Destroy Hassan's Elite Guard" show up as "Dest. Hassan"). And perhaps a way to make the new game button automatically go to the GDI campaign. Sorry, like I said before on the command and patch forums, I get a bit request heavy when I come back after a long time. Just throwing ideas at the wall to see if they stick, you know what I mean? Share this post Link to post
Nyerguds 102 Posted October 7, 2010 Meh. Limiting string length is dead easy; strings always end on a 00 byte, so all I gotta to is place a 00 byte after the 5th read byte, and wham, I got a cut off string. If the string was already shorter, nothing changed Really, the fact that this is in asm is not much of a handicap for me, besides the locating of specific pieces of game code. Which isn't an issue in this case, since all of this is my own code. Not sure what you mean with the other requests... -There simply isn't any space on the high score table to put anything more than a mission number. And TS only did that with savegames anyway. -you mean skipping the choice screen? Well, that's probably not too hard; after all it's exactly the same as starting a mission through the New Missions menu. All I'd need to add is a SingleCampaign=Goodguy/Badguy key, which makes it skip the struggle animation and just fill in the side right away. Share this post Link to post