Author Topic: Commandline Pruning  (Read 7689 times)

0 Members and 1 Guest are viewing this topic.

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Looking over the commandline, I noticed a few options that would benefit from a little pruning. Then AdmiralNelson mentioned how one of them interfered with UW. So, that was enough of a reminder for me to make this post.

There may be a few more, but I was wondering what people thought of moving these to a table option instead of the commandline.

-rearm_timer
-dualscanlines
-targetinfo
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
They'd fit better into a table, allright. That's mostly visual stuff, not really important, though I think I'd actually miss having a rearm timer on by default. Perhaps a table override instead?

 

Offline Kopachris

  • 28
  • send penguins
    • Steam
    • Twitter
Existing table or new table?  Can we have a mod-global "options.tbl" and player-specific "<callsign>-opt.tbm" tables?
----
My Bandcamp | Discord: Kopachris | My GitHub

 

Offline Admiral Nelson

  • Resurrecter of Campaigns
  • 211
  • The GTA expects that every man will do his duty.
Shouldn't at least some of these be hud-gauges options?  The -targetinfo one creates issues for UW, at least.  I want to be able to hide that targetinfo from the player.
If a man consults whether he is to fight, when he has the power in his own hands, it is certain that his opinion is against fighting.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
I imagine that's the table he had in mind. It's a logical place to put such stuff into. I agree, there should be Hud_gauges.tbl overrides.

 

Offline Echelon9

  • 210
Existing table or new table?  Can we have a mod-global "options.tbl" and player-specific "<callsign>-opt.tbm" tables?

I don't think we should require individual users/callsigns from having to edit tables to change their settings. Many users do not even know tables exists -- they set their chosen settings through the launcher or in game options.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Put the options in a table then have the launcher view / edit that table based on user selection.  Then fsopen reads the table file on launch.

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Is there some reason for -missile_lighting ("Apply lighting to missiles") to exist, besides truly marginal performance gains? If not, then it seems like unnecessary clutter, especially considering that modders can and should use the "apply no light" weapon flag anyway, if they want their missiles to not be lit.

 

Offline Kolgena

  • 211
Lighting settings would be nice if they were mod specific. We have campaigns ranging from Windmills to BP which don't necessarily look right without tweaked lighting on a per-mod basis.

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Lighting settings would be nice if they were mod specific. We have campaigns ranging from Windmills to BP which don't necessarily look right without tweaked lighting on a per-mod basis.
You can make them mod-specific in wxLauncher by just making a separate profile for each mod.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

  

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
My question, at this point, is if anyone is actually interested in pursuing making this change.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
 :bump:

Just cause I think this is worth it.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
I stoop to concur. Do you get it. It's a pun

e: also would love the ability to move 'use models for ship/weapon selection' to a table force
« Last Edit: January 05, 2014, 05:26:24 pm by General Battuta »

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
e: also would love the ability to move 'use models for ship/weapon selection' to a table force

Indeed, though I figured out a way to "force" it for BtA... don't remember how I did it, though. It was something along the lines of using a table entry for every ship and weapon to remove any icons that were loaded forcing FSO to use models for the selection screen as a backup.

Edit:

Remove these in ships.tbl entries
Code: [Select]
$Ship_Icon:
$Ship_Anim:
$Ship_Overhead:

Add these in weapons.tbl entries
Code: [Select]
$Icon: none
$Anim: none
« Last Edit: January 05, 2014, 05:48:32 pm by mjn.mixael »
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Steam
    • Something
Honestly I think these types of options are the things that could properly belong in that oft-proposed in-game "advanced" settings menu.  I mean I like having stuff like the dual lines and extra target info on, but as an end-user I don't really want to have to go faffing about with table files just to get them turned on when I so choose.  And I'm part of the relatively-small percent who would actually know how to do that...your average newbie wouldn't have any hope at all.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
There is not doubt this would step into mod dev rights vs player rights (or whatever you want to call it) and I'm not sure what the answer is. However, I don't think the in-game menu is an option, cause honestly, who knows if we'll ever have it. I'm betting not for now. If the menu became a reality, we could have them moved again. But the commandline is not really a place for these anymore.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Honestly I think these types of options are the things that could properly belong in that oft-proposed in-game "advanced" settings menu.  I mean I like having stuff like the dual lines and extra target info on, but as an end-user I don't really want to have to go faffing about with table files just to get them turned on when I so choose.  And I'm part of the relatively-small percent who would actually know how to do that...your average newbie wouldn't have any hope at all.

QFT & Ditto...  At least if I ever get back to playing.

 

Offline Macfie

  • 210
  • If somebody made a campaign I've probably got it
What about turning them on by default and have a disable option in the launcher the way we do with some of the visual stuff.  That way they would only be in the command line if you turn them off.
Normal people believe that if it isn't broke, don't fix it. Engineers believe that if it isn't broke, it doesn't have enough features yet.
The difference between Mechanical Engineers and Civil Engineers is:
Mechanical Engineers build weapons.  Civil Engineers build targets
An optimist sees the glass half full; the pessimist sees it half empty. An engineer sees that the glass is twice as big as it needs to be.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
The defeats the whole purpose of pruning the commandline, though. The whole point is to clean out flags that don't really belong there... for example, dual scan lines. I love me some dual scan lines, but we are talking about a single line moving across a small area of the HUD... a whole commandline for that?
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Ideally, as you said, the best place to put such things as dual scan lines is an in-game options screen.  But since we don't have that, the next best place is the command line.  Neither tables nor registry settings are appropriate, and no other option is practical.

But we can't simply remove working command-line features if no replacement option exists.

EDIT: This post assumes dualscanlines is a user-preference option, as elaborated in later posts
« Last Edit: January 06, 2014, 11:19:49 pm by Goober5000 »