Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: AV8R on July 27, 2012, 08:04:49 pm

Title: HUD Issue with FS2Open
Post by: AV8R on July 27, 2012, 08:04:49 pm
Hey All,

I just opened FS2Open tonite to play through the campaign again (ok, so I was a little bored) and I discovered that when I launched the first Training mission my center circular reticle was missing from the screen. All of the other HUD components were there in the lower left, lower center and lower right, just the center reticle is gone (including the weapons and afterburner bars and the large circle that surrounds them). Only the numbers for the speed indicators are there, like they're hanging in space. Here's what I've tried so far (keeping in mind my monitor display is 1440x900 and I use the mv_root-hdg.tbm file to take advantage of the wide screen HUD feature):

1) I went into the HUD customization area and made sure the features were indeed set to on and they were. I tried all of the various color schemes and custom schemes and all had missing center reticles in the HUD.
2) I went into FS1 and ST:R and they both show the HUD fine (using separate pilot files, MODS and the mv_root file in the \fsport-mediavps\data\tables folder).
3) If I change the name or remove the mv_root-hdg.tbm file from the tables folder under mediavps_3612\data\tables then I get a correct HUD (albeit the old, oval, low resolution HUD).
4) I even recreated the pilot file in case it was corrupt (I use a separte pilot file for each campaign). Still no dice.

I am using the 3_6_14_RC6 (SSE2) executable, which is working fine for FSPort and ST:R.

Any thing else you can suggest I try to troubleshoot this?
Title: Re: HUD Issue with FS2Open
Post by: niffiwan on July 27, 2012, 08:54:41 pm
1) debug log please

2) Can you post the contents of your mediavps_3612/data/tables/mv_root-hdg.tbm?
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 27, 2012, 09:07:08 pm
Here they are. Actually the game wouldn't start in debug mode - I got an immediate error you'll see in the log. Perhaps I have the wrong table file (are they separate/different for FS2 and FSPort?).

[attachment deleted by a ninja]
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 27, 2012, 09:12:51 pm
Here's the actual error that appeared:

Cannot load hud ani: 2_energy2_fs1

ntdll.dll! KiFastSystemCallRet
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! SCP_DumpStack + 354 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! Warning + 430 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! HudGaugeAfterburner::initBitmaps + 114 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! load_gauge_afterburner + 835 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! load_gauge + 1014 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! parse_hud_gauges_tbl + 1866 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! parse_modular_table + 267 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! hud_positions_init + 129 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! game_init + 1675 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! game_main + 519 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! WinMain + 330 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_6_14_RC6_DEBUG.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 239 bytes
ntdll.dll! RtlInitializeExceptionChain + 194 bytes
Title: Re: HUD Issue with FS2Open
Post by: niffiwan on July 27, 2012, 09:21:11 pm
Yep - the mv_root-hdg.tbm file is different for FSPort and FS2  :)

Try the one attached.

[attachment deleted by a ninja]
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 27, 2012, 09:25:29 pm
Dammit!  :banghead:

I mean, thank you so much for your help!

Well, at least it was an easy fix, eh?  ;)
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 30, 2012, 12:50:33 pm
Ok, so after using the correct HUD table file for FS2Open I started to notice something was amiss. A lot of the HUD components, especially the lower left and right components seemed to be askew - off slightly. So I opened up FSPort and looked at the placement of the components there and they were perfect - nice and tight against the screen edges and perfectly aligned with each other. I went back to FS2Open and looked again and saw, in comparison to the FSPort HUD, the placement of the components in the FS2Open table files was a little sloppy. Great, now this was really gonna bug me.

So I got a wild hair and decided to open both HUD table files side by side and compare them. I was pleasantly surprised at how similar they were - just a few lines here and there were really different, most were essentially the same. So I made a copy of the FSPort HUD table file and began editing it so it would work in FS2Open (I basically took out some header lines and edited the reticle entries since FSPort has perfectly round brackets around the central reticle and FS2Open has wide, slanted brackets). Once I completed the edits I placed the new HUD table file in the FS2Open table folder and tried it and, Viola!, it worked! I'm halfway though the campaign and all of the HUD components have functioned perfectly and, as a bonus, all of the HUD components in FS2Open are now as perfectly aligned as they are in FSPort - and no more missing reticle.

Thanks again for the correct HUD table file - and by extension the lesson on table file editing.  ;)
Title: Re: HUD Issue with FS2Open
Post by: MatthTheGeek on July 30, 2012, 01:29:44 pm
Viola!
It's VoilĂ . If you're gonna torture the French language, make sure there are no Frenchmen around here to notice it first ! :p

(Also, viola means "raped". You don't want to mistake the two).
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 30, 2012, 02:45:24 pm
Raped by my lack of bilingual skill.... :ick:
Title: Re: HUD Issue with FS2Open
Post by: niffiwan on July 30, 2012, 04:42:26 pm
nice work - do you mind posting your re-aligned FS2 HUD table?  I'd like to use it  ;)
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 30, 2012, 05:12:33 pm
Keep in mind this is for widescreen displays (I run 1440 x 900).

Here you are:

[attachment deleted by a ninja]
Title: Re: HUD Issue with FS2Open
Post by: Mongoose on July 30, 2012, 11:21:11 pm
(Also, viola means "raped". You don't want to mistake the two).
It's also a musical instrument, if you want to go for a slightly more cheerful interpretation. :p
Title: Re: HUD Issue with FS2Open
Post by: Jeff Vader on July 31, 2012, 12:05:26 am
rape
Title: Re: HUD Issue with FS2Open
Post by: niffiwan on July 31, 2012, 05:13:55 am
Keep in mind this is for widescreen displays (I run 1440 x 900).

Here you are:

Thanks!  :)
Title: Re: HUD Issue with FS2Open
Post by: AV8R on July 31, 2012, 05:51:06 pm
UPDATE: This table file contains the ETS Retail and Radar Orb entries also. They are remarked out with semicolons so you'll simply have to make the appropriate edits to get them to function as you wish depending on the mod you're playing and settings you're using (you know the drill, I'm sure).

Grab it here:

[attachment removed and sold on the black market]
Title: Re: HUD Issue with FS2Open
Post by: lolplayer on July 13, 2013, 07:15:34 am
Hi there,

sorry for gravedigging (hey, it's only 1 year old). This seems to be the newest thread on this topic that I could find, and it also precisely describes the issue I'd like to solve.

So the HUD in the FS2 SCP looks not quite as nice as the one in the FSPort one. I attached the two screenshots for comparison. The differences include non-circular radar and larger (lower-res?) gauges, fonts etc...

The attachments from this thread have been deleted by ninjas, sold on the black market... or something. So I can't just try the solution that AV8R prepared. Could anyone else point me to the solution of the FS2 SCP HUD for the widescreen resolutions? Maybe there is a way I can switch to the FSPort one?

[attachment deleted by ninja]
Title: Re: HUD Issue with FS2Open
Post by: Arpit on July 13, 2013, 07:22:37 am
Here's my HUD configuration table for mediavps. Take the file from attachment and place it in your Freespace2/mediavps_3612/data/tables folder, (you may have to create the folder) and give it a try.  :)

[attachment deleted by ninja]
Title: Re: HUD Issue with FS2Open
Post by: lolplayer on July 13, 2013, 04:37:29 pm
Here's my HUD configuration table for mediavps. Take the file from attachment and place it in your Freespace2/mediavps_3612/data/tables folder, (you may have to create the folder) and give it a try.  :)
Thank you! It worked with no problems and looks great (now I need to get used to crispy polished HUD again :) ).

I didn't think I'd get a solution that fast...