Welcome, Guest. Please login or register.
July 20, 2025, 09:45:13 PM

Login with username, password and session length

Search:     Advanced search
we're back, baby
*
Home Help Search Login Register
f13.net  |  f13.net General Forums  |  Gaming  |  Topic: Random PC game performance tip 0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: Random PC game performance tip  (Read 2643 times)
Nija
Terracotta Army
Posts: 2136


on: October 20, 2006, 09:58:44 AM

I posted this in the Gothic 3 thread on SA, but I figured I should crosspost it here as it's good information I think.

Especially for mass multi games and stuff that is patched often. When those huge files get patched the stuff moves all over the hard drive.

This really helped my eq2 zoning times when I played, as they'd update the big zone files with nearly every patch.

------------


Here's a cool utility that comes in handy for pretty much any game.

http://www.sysinternals.com/Utilities/Contig.html

Contig. This is a single file defragmenter, but you can tell it to specifically defragment an entire directory, including all subdirectories, with a couple of switches.

Place the contig.exe file somewhere in your path statement. Easiest place is \windows\system32\ - do this so you can run contig from any directory and it'll be found.

Code:
C:\Games\Gothic III>contig

Contig v1.41 - Makes files contiguous
Copyright (C) 1998-2001 Mark Russinovich
Sysinternals - [url]www.sysinternals.com[/url]


Contig is a utility that relies on NT's built-in defragging support
to make a specified file contiguous on disk. Use it to optimize execution
of your frequently used files.

Usage:
    contig [-v] [-a] [-s] [-q] [existing file]
or  contig [-v] -n [new file] [new file length]

  -v: Verbose
  -a: Analyze fragmentation
  -q: Quite mode
  -s: Recurse subdirectories


C:\Games\Gothic III>

With these options what you'd do is change directory to where you installed gothic iii then run "contig *.* -s" without the quotes. This will hit every file and include the subdirectories.

I've already done this for my gothic iii directory, so I'm going to run contig *.* -a to analyse.

Code:
Summary:
     Number of files processed   : 51
     Average fragmentation       : 1 frags/file

Now I'll check out another directory that isn't so clean.

Code:
C:\Games\rFactor>contig *.* -a

Contig v1.41 - Makes files contiguous
Copyright (C) 1998-2001 Mark Russinovich
Sysinternals - [url]www.sysinternals.com[/url]

binkw32.dll is in 4 fragments
dsetup.dll is in 3 fragments
libmysql.dll is in 5 fragments
mss32.dll is in 5 fragments
ReadMe.chm is in 4 fragments
rF Config.exe is in 5 fragments
rFactor Dedicated.exe is in 5 fragments
rFactor.exe is in 7 fragments
rFm is in 3 fragments
UIData is in 2 fragments
V8Factor_Uninstall.exe is in 2 fragments
------------------------
Summary:
     Number of files processed   : 33
     Average fragmentation       : 2.0303 frags/file

C:\Games\rFactor>

I should have ran "contig *.* -a -s to analyse the subdirectories as well, but it is early and I forgot that step.

Now I'll run "contig *.* -s" in the rFactor directory. (great racing game, btw)

Code:
Summary:
     Number of files processed   : 7161
     Number of files defragmented: 535
     Average fragmentation before: 1.35191 frags/file
     Average fragmentation after : 1 frags/file

As you can see this is a pretty useful tool. I normally use it after a game is patched or every couple of days on whatever I'm playing. If you really want to test if it works or not, go to the windows defragmenter and analyse and view the report. It'll list the most fragmented files on your system. Sort that list by the most fragments and use contig to defrag specifically that file. Analyse again with windows defrag and see if that file shows up in the list.
Yegolev
Moderator
Posts: 24440

2/10 WOULD NOT INGEST


WWW
Reply #1 on: October 20, 2006, 10:12:43 AM

Nice.  Funny how staring at the Sysinternals web site just makes my eyes hurt instead of revealing useful tools.

This should also give me a way to batch up defrags; no one has ever been able to tell me how to construct something that allows "one-button" defragging of my whole system.  Damn DOS.  The flexibility to just defrag certain objects is gravy; I'll be using this on FarCry after the inevitable patching.

Why am I homeless?  Why do all you motherfuckers need homes is the real question.
They called it The Prayer, its answer was law
Mommy come back 'cause the water's all gone
Sairon
Terracotta Army
Posts: 866


Reply #2 on: October 23, 2006, 03:42:02 PM

For all defragmentation needs I use http://www.oo-software.com/en/products/oodefrag/. It's many many times faster than the one in windows.

Oh, and on the subject of Gothic 3. It's buggy as hell and runs like total shit. There's no difference in performance no matter what settings I use. Judging by heresay performance seems very much CPU related. Something funny is that boars are ultra powerful, you can slay tons of orcs but as soon as there's a boar nearby you better run. JoWood is more or less a symbol for buggy software.
« Last Edit: October 23, 2006, 03:46:50 PM by Sairon »
Nija
Terracotta Army
Posts: 2136


Reply #3 on: October 23, 2006, 05:36:20 PM

The KEY to gothic3 performance is 'resource cache' on high.



It runs pretty good for me but it a long, long time to figure out what works best for performance. You would figure putting everything on low makes it run the best - but resource cache on low means it stores the majority of the stuff in your pagefile instead of ram. (i'm guessing)

http://www.youturd.com/g3wolves.avi
Tebonas
Terracotta Army
Posts: 6365


Reply #4 on: October 25, 2006, 11:23:26 AM

Get a bow for the boars. For all animals in fact. I fucking slew a demon without breaking a sweat and when I turn the corner with the second best buyable armor  a lowly wolf made me his bitch by hiding in the shrubbery and impregnating me with his filthy seed.
Furiously
Terracotta Army
Posts: 7199


WWW
Reply #5 on: October 26, 2006, 11:06:02 AM

Hope the baby doesn't claw in the womb.

Pages: [1] Go Up Print 
f13.net  |  f13.net General Forums  |  Gaming  |  Topic: Random PC game performance tip  
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC