SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Sh4 and the replay.tmp file... (https://www.subsim.com/radioroom/showthread.php?t=136995)

DeepIron 05-18-08 09:16 PM

Sh4 and the replay.tmp file...
 
I spent a little time today checking out SH4 and some of the "large file" issues popping up here and there on the forums... Some folks have voiced concerns at to whether or not RFB or OM might be the culprits.

Here's what I found out:

In a nutshell: SH4 creates a replay.tmp file in the users SH4 personal directory when it runs. The file can grow to gigabyte+ size during a long mission or campaign. A few things I've found:
1. As I posted elsewhere, if your drive is heaviy fragmented or low on disk space, the read/writes to the drive can take a while.
2. If #1 happens, and you use high TC, (above 2048) I think the replay.tmp can become corrupted, leading to the inability to save it properly.
3. A large file, even when properly written to disk, can take a while to read back during the "Save" phase of a game. I think users mistake this for a *problem* and abort the game early.
4. Neither RFB or OM do NOT have a detrimental effect on this file. I ran an identical mission in both my RFB modded SH4 and stock SH4 directories. The file size was virtualy identical.
5. IF the game is shutdown or exited correctly and then restarted, the old replay.tmp file is erased from the HD.

The way to get around these issues of writing to disk constantly is to increase your system RAM to 2GB or better (32 bit XP will only see 3.5GB sysetm RAM) and this will allow SH to store the replay.tmp file in memory.

If you can't install more RAM, then be sure you have plenty of space on your HD and that it's defragged as best as you can. Personally, I'm using Diskeeper and it works circles around the MS supplied stock defrag program.

Fish40 05-19-08 03:55 AM

Good detective work! I have to agree about the defragging of the HD often:yep:. I have both RFB and OM installed (presently playing a Drumbeat campaign), and don't seem to have large save files. If I do, I've never noticed because the games seem to save and reload fairly quickly.


As you pointed out, HD maintainance is key! I use Perfectdisk myself, and alsoCcleaner. I run them both every time I play!


All times are GMT -5. The time now is 05:43 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.