Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora Tech Help => Topic started by: imagitronics on December 21, 2012, 06:19:11 pm

Title: Triple Monitor Setup
Post by: imagitronics on December 21, 2012, 06:19:11 pm
Okay. Real first-world problem here. I just found out about Diaspora. I installed it and it is absolutely amazing. Slight problem: I have a triple monitor setup (5040x1050). The launcher recognizes this resolution, and the game graphics support is perfectly (with the right aspect ratio) but all menus both in the game, and during mission selection are stretched out of proportion. I did a quick search and didn't find any fixes. Quick fix for this, I hope? Thanks!!
Title: Re: Triple Monitor Setup
Post by: niffiwan on December 21, 2012, 08:19:22 pm
Unfortunately, I think you're out of luck.  I don't believe we've managed to update the interface to work without stretching in anything except a 4:3 screen resolution.
Title: Re: Triple Monitor Setup
Post by: imagitronics on December 21, 2012, 09:37:45 pm
Thanks for the reply. Follow-up question then: Is there a way to set the resolution manually via config file or something? My native single-monitor resolution, 1680x1050, isn't an option.
Title: Re: Triple Monitor Setup
Post by: niffiwan on December 21, 2012, 09:52:43 pm
You can set the resolution manually through the launcher.  Go to the "Advanced Settings" tab, then add the following to "Custom Flags" (in addition to anything else that may already be these): -res 1680x1050
Title: Re: Triple Monitor Setup
Post by: torc on January 12, 2013, 05:07:39 am
we need some screenshots or video! i'm curious to see Diaspora in triple monitor setup :)
Title: Re: Triple Monitor Setup
Post by: Davros on January 13, 2013, 09:04:58 am
As you wish (5292x1050)

(http://img855.imageshack.us/img855/4727/fs21e.jpg) (http://imageshack.us/photo/my-images/855/fs21e.jpg/)

(http://img802.imageshack.us/img802/1029/fs22.jpg) (http://imageshack.us/photo/my-images/802/fs22.jpg/)

(http://img195.imageshack.us/img195/2373/fs24h.jpg) (http://imageshack.us/photo/my-images/195/fs24h.jpg/)

(http://img204.imageshack.us/img204/1235/fs25.jpg) (http://imageshack.us/photo/my-images/204/fs25.jpg/)

Title: Re: Triple Monitor Setup
Post by: newman on January 14, 2013, 03:53:46 am
Yea that's definitely in the "cool but useless gimmick" territory. I have a dual monitor setup, twice 1920x1200, but I still only play Diaspora on one (distance I'd have to sit to take it all in with eyes isn't covered by the desk). Three's definitely overkill unless you had wide angle lenses installed instead of regular human eyes.
Title: Re: Triple Monitor Setup
Post by: MatthTheGeek on January 14, 2013, 03:57:50 am
You'll want to make yourself a new HUD_gauges table.
Title: Re: Triple Monitor Setup
Post by: Luis Dias on January 14, 2013, 05:40:35 am
You guys are so negative! I find the screenshots beautiful and I'd love to play Diaspora in such a set!! I envy you Davros :)
Title: Re: Triple Monitor Setup
Post by: Davros on January 14, 2013, 11:09:13 am
Most cards now support 3+ monitors so its easy to do

You'll want to make yourself a new HUD_gauges table.
Yes I already have one for standard fs2 open

How it looks (blueplanet i believe) with a fixed hud
(http://img825.imageshack.us/img825/7673/screen0023z.jpg) (http://imageshack.us/photo/my-images/825/screen0023z.jpg/)
Title: Re: Triple Monitor Setup
Post by: Luis Dias on January 14, 2013, 11:28:32 am
It's easy *if you haaaave threeee monitors* lool
Title: Re: Triple Monitor Setup
Post by: KyadCK on January 14, 2013, 02:28:07 pm
Most cards now support 3+ monitors so its easy to do

You'll want to make yourself a new HUD_gauges table.
Yes I already have one for standard fs2 open

How it looks (blueplanet i believe) with a fixed hud
(http://img825.imageshack.us/img825/7673/screen0023z.jpg)

Hey, I remember that, I made that HUD (http://www.hard-light.net/forums/index.php?topic=70841.msg1644311#msg1644311).  :D

Here's one for BP in-cockpit:
(http://imageshack.us/a/img842/6162/screen0042.png)

Anyway, if you really really want it, I will try to adapt the Diaspora HUD to Eyefinity res for you.
Title: Re: Triple Monitor Setup
Post by: Ace on January 14, 2013, 03:21:43 pm
Right now we have 4:3 and 16:9 setups but if you'd be willing to make the table tweaks and post up pics of how they look we can put it into the next patch or release.
Title: Re: Triple Monitor Setup
Post by: KyadCK on January 14, 2013, 04:29:12 pm
Right now we have 4:3 and 16:9 setups but if you'd be willing to make the table tweaks and post up pics of how they look we can put it into the next patch or release.

Done.

TBL: http://www.mediafire.com/download.php?9w661u71i4t6xel
(http://img201.imageshack.us/img201/5720/screen0015.png)

It would probably be a good idea at this point to request that Diaspora and SCP add a new variable to $Required Aspect named UltraWide Screen to handle these new resolutions since as they are now I need to leach off Wide Screen, meaning then you need to put the TBL in the tables folder and overwrite normal wide screen.

Also, for anyone interested in the future, it's simply an offset of the base resolution by the horizontal value. I.E, a Base resolution of 1600x900 means changing base to 4800x900, and adding 1600 to the horizontal position on the position flag for each gauge.

This:
Code: [Select]
$Ship: Raptor
$Color: ( 160, 225, 255 )
$Font: 4
$Base: (1600, 900)
$Required Aspect: Wide Screen
$Min: (1280, 720)
$Max: (1920, 1080)
$Gauges:
+Custom:
Position: (635, 277 )
Name: MiscSEXPBar
Text:
X Offset: 10
Y Offset: 5
Gauge Type: RADAR
Slew: YES
Active by default: NO
Filename: col_miscbargauge

Becomes this:
Code: [Select]
$Ship: Raptor
$Color: ( 160, 225, 255 )
$Font: 4
$Base: (4800, 900)
$Required Aspect: Wide Screen
$Min: (3840, 720)
$Max: (5760, 1080)
$Gauges:
+Custom:
Position: (2235, 277)
Name: MiscSEXPBar
Text:
X Offset: 10
Y Offset: 5
Gauge Type: RADAR
Slew: YES
Active by default: NO
Filename: col_miscbargauge

In the case of Diaspora however, leave "Radar BSG" alone since they bind that to the ship anyway.
Title: Re: Triple Monitor Setup
Post by: Davros on January 15, 2013, 04:19:54 pm
Thanks a lot....
Title: Re: Triple Monitor Setup
Post by: Ace on January 15, 2013, 04:57:30 pm
Kyad, since you're good at these would you be willing to do some alt resolutions for the Cylon HUDs in the tables? Since currently we only have a 4:3 one that is stretched for everything.

You'll get a nice bit in the next release credits for your efforts :)
Title: Re: Triple Monitor Setup
Post by: KyadCK on January 15, 2013, 07:30:30 pm
Kyad, since you're good at these would you be willing to do some alt resolutions for the Cylon HUDs in the tables? Since currently we only have a 4:3 one that is stretched for everything.

You'll get a nice bit in the next release credits for your efforts :)

I'll give it a shot. It's quite a bit more work then off setting horizontal res though, so it may take a while.
Title: Re: Triple Monitor Setup
Post by: CenturionModel0005 on February 08, 2013, 06:32:35 am
Right now we have 4:3 and 16:9 setups but if you'd be willing to make the table tweaks and post up pics of how they look we can put it into the next patch or release.

Done.

TBL: http://www.mediafire.com/download.php?9w661u71i4t6xel
(http://img201.imageshack.us/img201/5720/screen0015.png)

It would probably be a good idea at this point to request that Diaspora and SCP add a new variable to $Required Aspect named UltraWide Screen to handle these new resolutions since as they are now I need to leach off Wide Screen, meaning then you need to put the TBL in the tables folder and overwrite normal wide screen.

Also, for anyone interested in the future, it's simply an offset of the base resolution by the horizontal value. I.E, a Base resolution of 1600x900 means changing base to 4800x900, and adding 1600 to the horizontal position on the position flag for each gauge.

This:
Code: [Select]
$Ship: Raptor
$Color: ( 160, 225, 255 )
$Font: 4
$Base: (1600, 900)
$Required Aspect: Wide Screen
$Min: (1280, 720)
$Max: (1920, 1080)
$Gauges:
+Custom:
Position: (635, 277 )
Name: MiscSEXPBar
Text:
X Offset: 10
Y Offset: 5
Gauge Type: RADAR
Slew: YES
Active by default: NO
Filename: col_miscbargauge

Becomes this:
Code: [Select]
$Ship: Raptor
$Color: ( 160, 225, 255 )
$Font: 4
$Base: (4800, 900)
$Required Aspect: Wide Screen
$Min: (3840, 720)
$Max: (5760, 1080)
$Gauges:
+Custom:
Position: (2235, 277)
Name: MiscSEXPBar
Text:
X Offset: 10
Y Offset: 5
Gauge Type: RADAR
Slew: YES
Active by default: NO
Filename: col_miscbargauge

In the case of Diaspora however, leave "Radar BSG" alone since they bind that to the ship anyway.

Hi I also Have a triple Monitor set up I have downloaded your file but It had no read me with it on how to install it Can you please tell me where I place the file .TBL so I can get My HUD in the right Ratio please
Many Thanks For your great work  ;)
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 08, 2013, 08:47:32 am
Hi I also Have a triple Monitor set up I have downloaded your file but It had no read me with it on how to install it Can you please tell me where I place the file .TBL so I can get My HUD in the right Ratio please
Many Thanks For your great work  ;)

Ah, sorry about that, it goes in:
Code: [Select]
C:\Games\Diaspora\Data\tables\
Or where ever your Diaspora folder is located.
Title: Re: Triple Monitor Setup
Post by: CenturionModel0005 on February 08, 2013, 09:14:19 am
(http://i332.photobucket.com/albums/m345/28cdm/fs2_open_Diaspora_R12013-02-0815-07-18-42_zps788e086c.png)

wow that was really easy and it worked 1st You are a star that little fix has made so much difference I am now thinking I am going to Dig the Old X52 Pro Out and Map it in to game I already have TrackerIR pro 5 with Pro Head Clip I got that out day before and installed that and I was blown away then I see the triple  monitor post and I have that working so I think I can only do this game justice by adding my flight Stick  :pimp:
Title: Re: Triple Monitor Setup
Post by: Nightstorm on October 23, 2013, 10:33:04 am
Thank you for posting this.  I was just getting ready to try and set this up with a pair of NVIDIA cards.  Should work exactly the same way.  I was wondering if you found the solution to the main menu being stretched across three displays?  If not, that's something I can live with.  I'm a big fan of Falcon BMS and once I started messing with SoftTH (Direct X Only sorry) and had a taste of triple monitor flight sims....I just had to find a way to make it work in Diaspora.  Even if that meant getting a second card to run SLI instead of two different cards and a software solution.

For those interested in SofTH:

http://www.kegetys.fi/forum/index.php?board=1.0

Again, does not work in OpenGL...yet.  But it rocks DX games.
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 22, 2014, 03:08:49 pm
My base resolution is 2560x1600 and my total resolution is 7680x1600.

Where can I find the default values for the tables?

I tried modifying the attached .ini in this thread, by subtracting 1600 then adding 2560 to the position offset for each gauge, but my HUD is not centered at all. Some gauges are OK, some aren't.

For instance, escort view in the attached file is set at 2966, 330, which for me should become 3926,330 (2966-1600+2560) but that doesn't work at all.

It'd be easier if I could play with the default values but I dont know where they are.

Here is a screenshot (http://praxiantheories.com/screen0003.jpg)
Title: Re: Triple Monitor Setup
Post by: niffiwan on February 22, 2014, 07:04:35 pm
The default HUD configuration is stored in the R1.1 patch VP file.  It's called "data\tables\Hud_Gauges.tbl" and you need a VP viewer/editor like this one (http://www.hard-light.net/forums/index.php?topic=83920.0) to extract it from the VP  (other VP viewers/editors can be found listed here (http://www.hard-light.net/wiki/index.php/VP)).  Once you've extracted it, it's a simple text file that can be opened with any text editor like notepad or notepad++.

(I'd add it to this post except that it exceeds the max allowed post size)
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 22, 2014, 11:29:37 pm
Thanks a lot!
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 22, 2014, 11:52:34 pm
Hum... here's is the result with default values and res set to 7680x1600.

Screenshot (http://praxiantheories.com/screen0005.jpg)

Here an edited screenshot to show actual screen boundaries.
Screenshot 2 (http://praxiantheories.com/screen0006.jpg)

I don't know how to fix it.  It's not centered on the first monitor so offsetting it won't help much.

If anyone can help me figure it out I'll be happy to do the legwork.
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 12:06:40 am
Hum... here's is the result with default values and res set to 7680x1600.

Screenshot (http://praxiantheories.com/screen0005.jpg)

Here an edited screenshot to show actual screen boundaries.
Screenshot 2 (http://praxiantheories.com/screen0006.jpg)

I don't know how to fix it.  It's not centered on the first monitor so offsetting it won't help much.

If anyone can help me figure it out I'll be happy to do the legwork.

Ya, sure thing. Send me your INI file, I'll see what's wrong.
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 23, 2014, 12:41:02 am
Here is a direct link (http://praxiantheories.com/Hud_Gauges.tbl) to it.

Thanks so much!
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 12:54:23 am
Here is a direct link (http://praxiantheories.com/Hud_Gauges.tbl) to it.

Thanks so much!

-MAY- not work, but it's a quick and dirty fix:

http://pastebin.com/P2uTMcWr

Try this one? Just save it as "Hud_Gauges.tbl" and put it in your "Diaspora\Data\tables\" folder.
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 23, 2014, 01:09:44 am
Didnt work. With these settings there's just no visible hud at all.
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 01:14:42 am
Didnt work. With these settings there's just no visible hud at all.

Your resolution actually is 7680x1600 right? No Bezel Compensation? If so it could need modifying for 16:10 instead of 16:9, but I want to make sure that's the case first.
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 23, 2014, 01:16:14 am
That's correct, it's 7680x1600 as seen in the Diaspora launcher.
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 02:00:45 am
That's correct, it's 7680x1600 as seen in the Diaspora launcher.

That is honestly really strange. Talked with some coders, I'm putting it on the Mantis. I couldn't get it working locally, so for now I don't have anything for you. Sorry.
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 02:48:07 am
Double post I know, but Diaspora coders hang out here and it's directly related.

7680x1600 Eyefinity patch works perfectly with FSO and the BP hud at all relevent resolutions. Diaspora's patch works fine at 5760x1080 with $MAX set to either 5760x1080 or 7680x1600, but the HUD fails to render if resolution is also set to 7680x1600.

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

BP 7680x1600 HUD:
http://pastebin.com/WLXnZtLL

Works with res set to 5760x1080 and 7680x1600.


Diaspora 7680x1600 HUD:
http://pastebin.com/P2uTMcWr

Works with res set to 5760x1080, but fails to render the entire HUD with it set to 7680x1600.

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

I do not know what the problem is, but if I had to narrow it down, it would be something that Diaspora has and BP does not. I'm thinking the radar, but I can't provide any proof. Any ideas?
Title: Re: Triple Monitor Setup
Post by: niffiwan on February 23, 2014, 03:06:30 am
You didn't update the max res for the 2x Viper HUDs :)

Code: [Select]
...
#Gauge Config

$Ship: Viper Mark VII
$Color: ( 91, 175, 40 )
$Font: 4
$Base: (4800, 900)
$Required Aspect: Wide Screen
$Min: (3840, 720)
$Max: (5760, 1080)
...
#Gauge Config

$Ship: Viper Mark VIIe
$Color: ( 91, 175, 40 )
$Font: 4
$Base: (4800, 900)
$Required Aspect: Wide Screen
$Min: (3840, 720)
$Max: (5760, 1080)
...
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 03:20:46 am
You didn't update the max res for the 2x Viper HUDs :)

Code: [Select]
...
#Gauge Config

$Ship: Viper Mark VII
$Color: ( 91, 175, 40 )
$Font: 4
$Base: (4800, 900)
$Required Aspect: Wide Screen
$Min: (3840, 720)
$Max: (5760, 1080)
...
#Gauge Config

$Ship: Viper Mark VIIe
$Color: ( 91, 175, 40 )
$Font: 4
$Base: (4800, 900)
$Required Aspect: Wide Screen
$Min: (3840, 720)
$Max: (5760, 1080)
...

I blame the fact it is 3 AM, plus my general lack of knowlege of BSG, though I should have known the Viper. Thank you for fixing that very simple error I just spent 2-3 hours on. You can read the #SCP logs later and laugh at me. :blah:

Anyway, TigerLord, try this one:
http://pastebin.com/eaf5RsFB

It works, I confirmed it.

niffiwan: If you did include the old Eyefinity HUD, you should probably include this one. In fact, I should make it future proof for the next decade and just make it work with tri-4k screens, but I don't trust myself this late at night. Besides, the new HUD code should be in by then I'd imagine.
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 23, 2014, 09:43:09 am
OMG I'm so sorry I made you spend 3h on this! But it worked perfectly :)

Proof (http://praxiantheories.com/screen0007.jpg)

May I ask what the problem was? I'm building myself a curved screen with three projectors and will probably have a new weird resolution to deal with.
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 02:24:56 pm
OMG I'm so sorry I made you spend 3h on this! But it worked perfectly :)

Proof (http://praxiantheories.com/screen0007.jpg)

May I ask what the problem was? I'm building myself a curved screen with three projectors and will probably have a new weird resolution to deal with.

It's no problem.

Change the $MAX resolution and ONLY the $MAX resolution of the working TBL to your total resolution. Do it for each ship that is labeled to use "Wide Screen".

The reason for this is because the HUD code will handle scaling all on it's own. The HUD elements do not change in size, so with a base-res of tri-900p screens and a minimum of tri-720p screens, it will scale up to any triple 16:9 or triple 16:10 resolution perfectly, so long as it is between $MIN and $MAX. So if your resolution goes us, adjust $MAX accordingly.

The reason it did not work before was I only edited the Raptor, and not the Viper used in the first mission. Unlike FSO which only has one "Master HUD", Diaspora chose to make a HUD per ship, since they show the cockpit and each is different.
Title: Re: Triple Monitor Setup
Post by: TigerLord on February 23, 2014, 04:20:22 pm
Gotcha!

I had to re-adjust "Messages" and "Target Monitor" to 1605 since they showed on the first monitor.

Otherwise everything works fine!
Title: Re: Triple Monitor Setup
Post by: karajorma on February 23, 2014, 08:20:40 pm
If it's okay with you guys, I'll include this file in the final 1.1 patch. I'll credit KyadCK and niffiwan of course.

Since everything in Diaspora is under CC sharealike, I should ask you if it's okay to re-release in this way.
Title: Re: Triple Monitor Setup
Post by: niffiwan on February 23, 2014, 08:44:05 pm
Honestly, if you credit me for this I'll feel like a moocher - Kyad did all the work :)
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 09:34:02 pm
If it's okay with you guys, I'll include this file in the final 1.1 patch. I'll credit KyadCK and niffiwan of course.

Since everything in Diaspora is under CC sharealike, I should ask you if it's okay to re-release in this way.

It and the BP versions are here to help those with Eyefinity/surround, of course I don't mind.  :)

However, I would not include that file. It WILL mess up normal Widescreen, because it overwrites the standard WideScreen aspect.

So... use this one instead:
http://pastebin.com/dJT1rzuX

I added min/max settings for the normal Widescreen resolutions for between 1280x720 to 2560x1600. I also added a second Widescreen aspect with a minimum of 3840x720 up to 7680x1600, with a base of 4800x900 and centralized hud, with the Messages fix I forgot last time. The origonal Fullscreen aspect was let alone.

I have tested this HUD TBL at both 1920x1080 as well as 5760x1080. The proper HUD works both times. It should be good to go.
Title: Re: Triple Monitor Setup
Post by: karajorma on February 23, 2014, 09:51:07 pm
I didn't doubt you'd be okay with it, but I'm very, very careful about licensing when it comes to Diaspora. :) It avoids nonsense like when TAP quit and couldn't release certain assets.
Title: Re: Triple Monitor Setup
Post by: KyadCK on February 23, 2014, 10:15:31 pm
I didn't doubt you'd be okay with it, but I'm very, very careful about licensing when it comes to Diaspora. :) It avoids nonsense like when TAP quit and couldn't release certain assets.

Ya I get it. Some good work gets lost that way.

I found a typo for the Target Monitor on the Viper Mark VIIe Eyefinity HUD. Fixed it. Same link.
Title: Re: Triple Monitor Setup
Post by: napoleon85 on May 03, 2014, 04:01:59 pm
Sorry for being a thread necro, but I just wanted to say thanks to those of you that made this happen.  This has greatly improved my Diaspora experience since moving to a triple monitor setup.

Side note - can this same fix be made for WCS easily?

Edit: looks like no, per this thread: http://www.hard-light.net/forums/index.php?topic=85266.0