Altered config file

Computer Topics
Post Reply
Stryker
Posts: 97
Joined: Thu Aug 25, 2005 2:37 pm

Altered config file

Post by Stryker » Sat Jan 13, 2007 7:30 am

I've suddenly developed a problem of my own. I've changed the values in the config file several times in the past without issue but for some reason now the image stays stretched. I must of altered something below and I can't find out what. Could somone compare their file with mine below. The values are likely different depending on your resolution...I think the issue is a syntax error in the text.


DisplayMode
{
resolution = {1680, 1050};
bpp = 32;
fullscreen = 1;
aspect = 1.6;
Interface
{
resolution = {1680, 1050};
bpp = 32;
fullscreen = 1;
aspect = 1.6;
}
Simulation
{
resolution = {1680, 1050};
bpp = 32;
fullscreen = 1;
aspect = 1.6;
}
AVI
{
resolution = {1680, 1050};
fullscreen = false;
aspect = 1.6;
}
}
User avatar
Gunner
Virtual Thunderbird
Posts: 1190
Joined: Thu Jun 01, 2006 10:01 pm
Location: Phoenix, AZ

Post by Gunner » Sat Jan 13, 2007 10:49 am

This is what I'm using for my 16:9 display:

DisplayMode
{
resolution = {1920, 1080};
bpp = 32;
fullscreen = 1;
aspect = 1.666666666;
Interface
{
resolution = {1920, 1080};
bpp = 32;
fullscreen = 1;
aspect = 1.666666666;
}
Simulation
{
resolution = {1920, 1080};
bpp = 32;
fullscreen = 1;
aspect = 1.66666666;
}
AVI
{
resolution = {640, 480};
fullscreen = 0;
aspect = 1.3333;
}
}


Hope that helps :D
Stryker
Posts: 97
Joined: Thu Aug 25, 2005 2:37 pm

Post by Stryker » Sat Jan 13, 2007 11:45 am

THX Gunner...I copied and pasted, edited the first 3 values to {1680, 1050}, tested and same result. I then edited the last value to {1680, 1050} and same thing...I'm stumped. I'll call the optician for an eye exam next week in case.
User avatar
Burner
Virtual Thunderbird Alumnus
Posts: 1420
Joined: Tue Mar 29, 2005 5:08 pm
Location: New Orleans, LA

Post by Burner » Sat Jan 13, 2007 12:52 pm

Did you previously modify the view angles in the view.lua file as well? Those will need to be correct as well to get a proper widescreen image. Here a thread detailing the file changes:

http://forum.lockon.ru/showthread.php?t ... ide+screen
Image
Stryker
Posts: 97
Joined: Thu Aug 25, 2005 2:37 pm

Post by Stryker » Sat Jan 13, 2007 1:31 pm

Thx for responding Burner. I'm aware of that post and have had that file modified to 140 degrees for some time.

This issue arose when I made some adjustments to my joystick settings in the game options. Aware that doing so resets the config file to default values, I opened and re-edited them to 1.6 aspect ratio prior to launching the game. For some reason this no longer seems to work...everything remains stretched. :?
User avatar
Lawndart
Virtual Thunderbird
Posts: 9290
Joined: Tue Mar 29, 2005 8:36 am
Location: Mooresville, NC

Post by Lawndart » Sat Jan 13, 2007 2:47 pm

Did you accidentally delete a "{" or "}" somewhere? That messes up everything! Also, double check your screen resolution on your computer and make sure that hasn't changed. If your screen is set to 1680 x 1050 the values should be what you read in your graphics.cfg file incl. the 1.6 aspect ratio. The fourth value doesn't matter, but the starting and ending "{" all have to be present at their correct places in the coding.

Tip for anyone who's editing files: Always make backups of the files you edit for Lock-On. Just copy and paste a dublicate in the same directory you're working in. It will create a copy of each file you've edited called "Copy of config.lua" for example. Easy to identify and all you need to do to restore settings is delete the original and edited file and rename the backup copy by removing the "Copy of" part of the file name.
Stryker
Posts: 97
Joined: Thu Aug 25, 2005 2:37 pm

Post by Stryker » Sat Jan 13, 2007 2:53 pm

THX LD. Thats exactly what I was suspecting...a small typo. Gunner's post would have solved that issue when I copied and pasted his post into my config file and matched the resolution, but that didn't work either. It turns out that the problem is I messed up a manual install of the VSB Tutor mod. I somehow created some duplicate folders and sub-folders while extracting files resulting in 2 graphics.cfg files. I've edited both of them and presto...everything works now. Problem now is which folders are duplicated and could be deleted....I won't touch that one.
Last edited by Stryker on Sat Sep 22, 2007 7:53 pm, edited 1 time in total.
User avatar
Redeye
Virtual Thunderbird
Posts: 852
Joined: Wed Mar 30, 2005 1:48 pm
Location: Vancouver, BC

Post by Redeye » Sun Aug 05, 2007 1:22 pm

Here's my info on a 40" LCD. I'm wondering if the following is correct for my display?
I can't remember if i adjusted the View.lua as Burner mentioned. Right now i can't bring up LockOn.ru to read the thread...

I need to compare with someone with widescreen! What they see compared to what i see at default zoom.

I used the HDTV overscan configuration in the video card properties to resize my desktop to the following stats.

DisplayMode
{
resolution = {1768, 992};
bpp = 32;
fullscreen = 1;
aspect = 1.78;
Interface
{
resolution = {1768, 992};
bpp = 32;
fullscreen = 1;
aspect = 1.78;
}
Simulation
{
resolution = {1768, 992};
bpp = 32;
fullscreen = 1;
aspect = 1.78;
}
AVI
{
resolution = {640, 480};
fullscreen = 0;
aspect = 1.78;
}

My default zoom
Image

Zoomed out
Image
Post Reply