Path: chuka.playstation.co.uk!news From: James Shaughnessy Newsgroups: scee.yaroze.programming.codewarrior Subject: Help with DSAVEing Date: Thu, 01 Oct 1998 20:35:58 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 26 Message-ID: <3613D99E.7ABB@manc.u-net.com> Reply-To: james@manc.u-net.com NNTP-Posting-Host: manc.u-net.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) Hello challengees! I have a problem in that I don't have CodeWarrior so I can't fix a problem I have with my Gravitation demo saver program CW_DSAVE for CW users (who can't use my "savepal" siocons batch file). This is so Mac users can enter replays to my Grav Championship. Anyhoo, the problem is that it currently saves 74000 bytes, as opposed to the required 73728 (ie. exactly 72Kb == 0x12000), even though the functions are being called with 0x12000 as data size. The file it creates is MYPAL.DAT if you select "Save PAL replays" and it's this that should be exactly 73728 bytes. Same for NTSC. So if someone could take a look at the code, in particular the SaveRecordToHost() function in CW_DSAVE.C which should save exactly 72K from the relevant address (depending whether the user wants to save PAL or NTSC demos) to the 'host' ie. a PC file: http://www.netyaroze-europe.com/~shaughnj/ftp/help.zip Thanks greatly, Jim -- ----------------------------------------- James Shaughnessy james@manc.u-net.com http://www.netyaroze-europe.com/~shaughnj -----------------------------------------