Sign in to follow this  
Followers 0
c47

So I played wwiiol on a ramdisk

107 posts in this topic

If you do this with 2 gigs of ram I'm guessing you run the game on the 2nd gig of ram and reserve the first stick for the OS?

No. Actually you're installing the game on 768MB of RAM and running the game and the OS on 1.2GB of RAM. The goal is eliminating the harddrive, which is the bottleneck when loading/spawning, and causes stutters.

Share this post


Link to post
Share on other sites
The game can't execute from video card RAM. Executable code cannot function as such in a frame buffer.

yeah it can, well now it can. shader language code and what not.

Share this post


Link to post
Share on other sites
No. Actually you're installing the game on 768MB of RAM and running the game and the OS on 1.2GB of RAM. The goal is eliminating the harddrive' date=' which is the bottleneck when loading/spawning, and causes stutters.[/quote']

Would it be better to run with a 2 gig stick of ram or 2 - 1 gig sticks of ram?

Share this post


Link to post
Share on other sites

It's always better to have multiple sticks of RAM. The only reason to get higher single sticks is to get a higher total amount of RAM with all 4 slots filled.

Share this post


Link to post
Share on other sites
It's always better to have multiple sticks of RAM. The only reason to get higher single sticks is to get a higher total amount of RAM with all 4 slots filled.

I've got 1 gig of ram in 2 slots now. I have 1 empty slot. If I get 512mb more will ram disk work right in that configuration?

Share this post


Link to post
Share on other sites

If you have only 1 slot left I'd suggest getting a 1GB RAM stick. You want 2GB total, at least. The reason is, if you run a 768MB Ramdisk for the install of WWIIOL, and you have only 1.5GB of RAM total, you'll leave 768MB for running the OS and WWIIOL, and will probably have to keep some virtual memory running on the harddrisk. I've tried running the full thing on 1.5GB and if I had virtual memory disabled, I would eventually get an out of memory error. With 2GB, there's no problem.

Share this post


Link to post
Share on other sites
I got my ramdisk at 750mb, formated fat32. The disk is payware called 'RamDisk 8.0', has a free trial.

It has a simple windows interface, easy to use.

The game folder is 630mb. The 750 disk allows me to defrag with 15% free space.

Just dropping the game on the disk should run off-line mode without problem.

For on-line, need to tweak the game's registry entries to change the target over to the new drive, E:.

Merlin51 has an easy utility for that.

I've played with larger sized disks, but over a gig runs into vertual memory issues..., even with 2gigs ram.

You do have 2gigs ram, right?

Remember, pagefile is off too..., the point is no hard drive accessing.

Value ram is just fine..., if it's error free, like any ram.

Try the free trial on the 'RamDisk 8.0' for comparision.

[edit] here's the link,

http://www.superspeed.com/desktop/ramdisk.php

Ratszo

Thanks for the link.

You can make a ram disk NTFS and compressed of only 500 MB (or less!).

Thus, with 2 GB ram, you still have 1.5 GB free. The whole ww2ol folder

(my is about 650 MB) can be placed on this compressed 500 MB ram disk

and you still have 100 MB (actually 200 MB because it is compressed)

free ramdisk space. Works very well. I don´t think compression will

slow down the loading process. I found no difference between

compressed and not compressed.

Only draw back is that you can not copy ww2ol as complete folder

in a single copy task, you must copy the largest files first

(actually "playarc.w2v") and then the rest. This is due how

compression works, I think, files are compressed after the "copy task".

Well, once you made a good installation, you can use the image function

of the ramdisk program to save/restore the installation in one step.

Best wishes

sflo

Share this post


Link to post
Share on other sites

Well heck everyone should know about this if it gets rid of the stutters. Isn't that 90% of what everyones problems are?

Share this post


Link to post
Share on other sites
I'm going to give this a try - can someone point me towards merlins app to change the registry settings?

Easy.

start "regedit" and search for

1. "HKEY_CURRENT_USER\Software\Playnet"

and (next)

2. "HKEY_LOCAL_MACHINE\SOFTWARE\Playnet"

Export both Keys to files, e.g. to "1.txt" amd 2.txt"

The files will contain something like this:

1:

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

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Playnet]

[HKEY_CURRENT_USER\Software\Playnet\apps]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid1]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid1\instance1]

"Exec"="ww2.exe"

"Location"="G:\\WW2OL\\ww2.exe"

"Params"="-serverip $QUAD -serverport $PORT -serverotp $OTP -side $SESSIONID"

"Version"="1.16.2.255"

"Path"="G:\\WW2OL\\"

[HKEY_CURRENT_USER\Software\Playnet\apps\appid1\instance1\debug]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid5]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid5\instance1]

"Params"=""

"path"="G:\\WW2OL\\Playgate"

"Exec"="PlayGATE.exe"

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

and

2:

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

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid1]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid1\instance1]

@=""

"Exec"="ww2.exe"

"Location"="G:\\WW2OL\\ww2.exe"

"Params"="-serverip $QUAD -serverport $PORT -serverotp $OTP -side $SESSIONID"

"Path"="G:\\WW2OL\\"

"Version"="1.16.2.255"

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid5]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid5\instance1]

"Exec"="PlayGATE.exe"

"Params"=""

"path"="G:\\WW2OL\\Playgate"

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

Well "G:\" is my original drive I installed ww2ol (Yours most likely will be

"C:\").

Next make a copy of the two files and name the , eg. "1_ram.txt" and

and "2_ram.txt".

In these copies replace "G:\" (or in your case most likely "C:\"with the

drive letter of yor ram disk.

Now rename all 4 files from ".txt" to ".reg".

Double-Clicking on:

"1.reg"

"2.reg"

will load your original destination to game.

Double-Clicking on:

"1_ram.reg"

"2_ram.reg"

will load your destination to ramdisk copy of the game.

Easy to switch.

Of course, locate the same folder structure on the ramdisk as you had

on the hard disk (C:\ww2ol will become X:\ww2ol where X:\ is the

drive name of your ram disk)

Share this post


Link to post
Share on other sites
Wow' date=' this topic is still up here ? :P[/quote']

Got my 2nd 1 GB ram last weekend, but remembered this thread.

Made my own experiences the last days and wanted to share

the results. Should I have open a own thread?

Share this post


Link to post
Share on other sites
Got my 2nd 1 GB ram last weekend, but remembered this thread.

Made my own experiences the last days and wanted to share

the results. Should I have open a own thread?

No, this thread is the best we got to Q&A ramdisk.

Thx for the regedit info, i couldn't find merlin's app.

On a ramdisk, try unchecking 'no lock to refresh' ..., i notice the locked frames increase smoothness.

Can actually see frames fluctuate.

Ratszo

Share this post


Link to post
Share on other sites
Got my 2nd 1 GB ram last weekend, but remembered this thread.

Made my own experiences the last days and wanted to share

the results. Should I have open a own thread?

No no no :P

I'm just suprised how it was resurrected after 3 months.

Share this post


Link to post
Share on other sites

excellent results - stutterfree flying even in high load situations like AF's under attack, CAS work in cities.

Recommended!

Share this post


Link to post
Share on other sites

I have followed all instructions in this thread and it still seems to take about the same time to load. Is there any way I can check to make sure it isn't still somehow loading things from the hard drive? I even changed the path of my WW2OL directory on my C drive to check to see if it was running it from there. How great an improvement should I realistically expect?

Share this post


Link to post
Share on other sites
I have followed all instructions in this thread and it still seems to take about the same time to load. Is there any way I can check to make sure it isn't still somehow loading things from the hard drive? I even changed the path of my WW2OL directory on my C drive to check to see if it was running it from there. How great an improvement should I realistically expect?

Are you talking about the red loading bar?

That's not the point of using a ramdisk. It's about loading ingame, on the fly.

Planes load and swap very fast. That's where the hdd bogs down and causes stutter.

Not sure if a ground unit would benefit since textures/units/sounds swap at a slower rate.

Ratszo

Share this post


Link to post
Share on other sites

I have experimented with the SpeedSeed RAM disk demo.

It is very helpful to delete any auto-downloaded patch files in the Playnet directory and to save your existing screenshots in the CRS directory elsewhere to get the overall file size to 630mb.

It's also found it best to make the RamDrive 768mb, otherwise at 750mb it sometime wouldn't allow defragging or would defrag, but still leave two large fragments. The 768mb RamDrive seemed to be the most simple solution to me.

It would be very helpful, if a more techincal person could compile a one-stop checklist for setting up and using the RamDisk option as a sticky, instead of having to hunt and peck through the thread.

Very noticable improvement none-the-less, thanks for mentioning it.

Share this post


Link to post
Share on other sites

I prefer to use as little Ram as necessary, setting the ramdisk to 625 Mb. I defraged my hdd version before copying the CRS folder to the ramdisk. Then use 2 script files to set the registery settings to the new folder. When there is a patch I run another set of script files to reset the registery settings to the Hdd and proceed to update the game to the Hdd. Then setup the Ramdisk again. A minor inconvience on patch day but worth it.

Originally posted by sflo:

Easy.

start "regedit" and search for

1. "HKEY_CURRENT_USER\Software\Playnet"

and (next)

2. "HKEY_LOCAL_MACHINE\SOFTWARE\Playnet"

Export both Keys to files, e.g. to "1.txt" amd 2.txt"

The files will contain something like this:

1:

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

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Playnet]

[HKEY_CURRENT_USER\Software\Playnet\apps]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid1]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid1\ins tance1]

"Exec"="ww2.exe"

"Location"="G:\\WW2OL\\ww2.exe"

"Params"="-serverip $QUAD -serverport $PORT -serverotp $OTP -side $SESSIONID"

"Version"="1.16.2.255"

"Path"="G:\\WW2OL\\"

[HKEY_CURRENT_USER\Software\Playnet\apps\appid1\ins tance1\debug]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid5]

[HKEY_CURRENT_USER\Software\Playnet\apps\appid5\ins tance1]

"Params"=""

"path"="G:\\WW2OL\\Playgate"

"Exec"="PlayGATE.exe"

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

and

2:

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

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid1]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid1\in stance1]

@=""

"Exec"="ww2.exe"

"Location"="G:\\WW2OL\\ww2.exe"

"Params"="-serverip $QUAD -serverport $PORT -serverotp $OTP -side $SESSIONID"

"Path"="G:\\WW2OL\\"

"Version"="1.16.2.255"

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid5]

[HKEY_LOCAL_MACHINE\SOFTWARE\Playnet\apps\appid5\in stance1]

"Exec"="PlayGATE.exe"

"Params"=""

"path"="G:\\WW2OL\\Playgate"

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

Well "G:\" is my original drive I installed ww2ol (Yours most likely will be

"C:\").

Next make a copy of the two files and name the , eg. "1_ram.txt" and

and "2_ram.txt".

In these copies replace "G:\" (or in your case most likely "C:\"with the

drive letter of yor ram disk.

Now rename all 4 files from ".txt" to ".reg".

Double-Clicking on:

"1.reg"

"2.reg"

Share this post


Link to post
Share on other sites

Just to be clear for those who don't understand.

A ramdisk is using system memory like a hard drive. A fake drive created in system memory is called a Ram Drive.

You install the game to it manually and run it from there.

It will NOT change your FPS at all.

What it does do is change both loading time when you start the game and in game loading of terrain and objects while your spawning and playing.

Once you spawn the area around you gets loaded, all the terrain for several miles, all the bushes, all the buildings, every tree, who they belong to and their damage state. After that all the vehicles around you get loaded, all their sounds get loaded etc. A lot of data for each one.

Once you start moving, as you move through the world things behind you get unloaded and things in front of you get loaded on the fly. Aircraft are constantly loading and unloading thousands of objects and sounds as they move so fast through the world. Every time you dive over a large battle, everyone below you gets loaded in and unloaded from your memory as you pass over them.

We preload a lot of this in memory but it does little good, Windows takes that memory and writes it to disk anyway if it's not used all the time, so it still has to get it from the hard drive where windows memory management swapped it out to and stutters every time it does.

When running with a large amount of memory with no swap file, most things will be preloaded, and since windows can't swap that data out to disk it will eliminate a lot of in game stuttering because it stays in system memory where the game loaded it to.

What running the game from a ramdisk does is ensure nothing gets read from hard disk initially and the few things that do while playing are loaded very fast. BUT if you run from a ramdisk, and DON'T turn off your swap file windows will write that data out to you hard disk and you'll still get stutters as windows fetches it from the hard drive when you need it.

So this can really reduce in game stutters, or eliminate them totally(There will be a few that are math related when we really load the CPU with a wad of ballistics, like calculating ballistics and penetration for 1000+ shrapnel pieces at once). It's really most useful for pilots as ground players don't tend to load a lot of objects and vehicles in and out and don't see the stuttering some pilots do.

It would still improve spawn times and initial wait to move after you spawn though, but probably not enough to make it worth the trouble if you don't fly.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.