Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: 1 [2] 3

Author Topic: [0.95.1a-RC6] Fast Engine Rendering v1.1.2 - Combat FPS Booster  (Read 82363 times)

Szasz

  • Captain
  • ****
  • Posts: 315
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering - Combat FPS Booster
« Reply #15 on: September 19, 2021, 07:40:07 AM »

Title baited me here and left awed because apparently people have fps problems in battles, not in adventure mode.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24105
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering - Combat FPS Booster
« Reply #16 on: September 19, 2021, 01:23:42 PM »

There is no API method to detect if an engine is fading to another colour at a particular point in time. I am fully aware of how the game does it, it is just not accesible to mod scripts.

In the situation of a mod script attempting to change the engine colour, the FER flare will simply not change colour. Otherwise it will behave as expected, such as changing in size, depending on the system.

Just added to ShipEngineControllerAPI: ColorShifterAPI getFlameColorShifter(). Does that seem like it should cover what you need?

(Very nice work, btw!)
Logged

tomatopaste

  • Captain
  • ****
  • Posts: 306
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering - Combat FPS Booster
« Reply #17 on: September 19, 2021, 04:45:56 PM »

There is no API method to detect if an engine is fading to another colour at a particular point in time. I am fully aware of how the game does it, it is just not accesible to mod scripts.

In the situation of a mod script attempting to change the engine colour, the FER flare will simply not change colour. Otherwise it will behave as expected, such as changing in size, depending on the system.

Just added to ShipEngineControllerAPI: ColorShifterAPI getFlameColorShifter(). Does that seem like it should cover what you need?

(Very nice work, btw!)

:O

Yes, thank you!
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24105
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering - Combat FPS Booster
« Reply #18 on: September 19, 2021, 06:29:25 PM »

Excellent :D
Logged

tomatopaste

  • Captain
  • ****
  • Posts: 306
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering - Combat FPS Booster
« Reply #19 on: September 19, 2021, 06:40:54 PM »

Fast Engine Rendering v1.1.0

v1.1.0
-updated shader code to optimised versions from Jon Micheelsen
-tweaked glow visuals
-fixed bugs with system activated engines for good hopefully
-reload engine data with F8
-fixed bug with force override setting
-enabled utility flag

Download in OP.
Logged

TMPhoenix

  • Ensign
  • *
  • Posts: 35
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering v1.1.0 - Combat FPS Booster
« Reply #20 on: September 20, 2021, 11:27:51 AM »

It seems the download, and in fact your entire repository for this mod is gone from github... Or maybe just set to private?
Logged

SirHartley

  • Global Moderator
  • Admiral
  • *****
  • Posts: 840
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering v1.1.0 - Combat FPS Booster
« Reply #21 on: September 20, 2021, 12:48:14 PM »

Tomatopaste had a slight falling out with moderation on discord and decided to set his repos to private for now. This affects all of his published mods.
He might be back at some later point - for now, his works are inaccessible.

Edit - the mods are accessible again, thank you Tomato!
« Last Edit: September 21, 2021, 03:29:57 AM by SirHartley »
Logged

Thaago

  • Global Moderator
  • Admiral
  • *****
  • Posts: 7208
  • Harpoon Affectionado
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering v1.1.0 - Combat FPS Booster
« Reply #22 on: September 22, 2021, 03:16:03 PM »

Been playing with this mod and it does improve performance on my system quite a bit! I think I've stumbled across a rare crash:

I recently experienced a CTD in combat with no java error message, but it did generate an hs_err_pid file (attached) with:
Code
data.scripts.shaders.fer_EngineFlareShader.getFlare(Lcom/fs/starfarer/api/combat/ShipEngineControllerAPI$ShipEngineAPI;)Ldata/scripts/shaders/fer_EngineFlareAPI; (77 bytes) @ 0x0000000002d83276 [0x0000000002d82d00+0x576]
It seems that Fast Engine Rendering (fer) might be the culprit? I've been playing with it for a few hours now and this is the first crash.

Mod list:
Spoiler
  "chatter" (combat chatter),
  "lw_console",
  "DetailedCombatResults",
  "fast_engine_rendering",
  "lw_lazylib",
  "MagicLib",
  "TAR" (simulator targets)
[close]

Log end (though its not very informative in this case):
Spoiler
5313194 [Thread-9] INFO  sound.oo0O  - Creating streaming player for music with id [faction_pirate_encounter_02_hostile.ogg]
5313194 [Thread-9] INFO  sound.OooO  - Playing music with id [faction_pirate_encounter_02_hostile.ogg]
5315620 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Chatter plugin initialized
5316632 [Thread-7] INFO  sound.oo0O  - Cleaning up music with id [faction_pirate_encounter_02_hostile.ogg]
5316697 [Thread-9] INFO  sound.oo0O  - Creating streaming player for music with id [battle_ambience_01.ogg]
5316697 [Thread-9] INFO  sound.OooO  - Playing music with id [battle_ambience_01.ogg]
5327532 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship Black Swan, isEnemy 0
5327532 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship Alisanos, isEnemy 0
5327532 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship ISS Venusean, isEnemy 0
5327532 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship Coatlicue, isEnemy 0
5327532 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship Griffin, isEnemy 0
5327533 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship ISS Starfarer, isEnemy 0
5327533 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship ISS Old Earth Or Bust, isEnemy 0
5328431 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship null, isEnemy 0
5328431 [Thread-3] INFO  org.histidine.chatter.combat.ChatterCombatPlugin  - Adding ship null, isEnemy 0
[close]

Graphics card is an RX580 (AMD) and processor is a Ryzen 1600, Windows 10.

[attachment deleted by admin]
Logged

BreenBB

  • Commander
  • ***
  • Posts: 150
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering v1.1.0 - Combat FPS Booster
« Reply #23 on: October 12, 2021, 12:06:50 AM »

Do you have plans making something like that for other effects? I found what all these jitter effects badly affects performance too, especially when they applied to fighters like Targeting Feed does, big battles with alot of fighters is just turn battles into crawl.

Also about graphic features, interesting how about idea to overlay color on ship or weapon sprites using masks? Like many multiplayer games do with skins, instead of premade textures of ships with different color they overlay its on top of the texture, main plus is what that uses much less resources, and still its good idea to make all ships in player fleet match each other.
Logged

Zalpha

  • Commander
  • ***
  • Posts: 185
    • View Profile
Re: [0.95a-RC15] Fast Engine Rendering v1.1.0 - Combat FPS Booster
« Reply #24 on: December 04, 2021, 05:59:18 AM »

I doubt anyone looking to use this mod would be looking at this comment but I was wondering if my old laptops card could use this. This is the info I found and I can use it. OpenGL 3.3 Release date: March 11, 2010, my graphics card is from the GeForce 100 series first released in March 2009 but it has support for OpenGL 3.3 so I can use it. You can use this as a basis for where or not you graphics card can support this mod. 

Thanks for the mod.
Logged

tomatopaste

  • Captain
  • ****
  • Posts: 306
    • View Profile
Re: [0.95.1a-RC6] Fast Engine Rendering v1.1.1 - Combat FPS Booster
« Reply #25 on: December 26, 2021, 01:02:09 AM »

Minor update:
v1.1.1
-use smooth engine colour transition
-visual effects tweaks
-update to latest game version
Logged

Mr_8000

  • Lieutenant
  • **
  • Posts: 69
    • View Profile
Re: [0.95.1a-RC6] Fast Engine Rendering v1.1.1 - Combat FPS Booster
« Reply #26 on: December 26, 2021, 05:13:26 PM »

After enabling this mod, engine plumes seem to have grown in both size and brightness, has anyone else had this? It ends up being quite distracting.
Here are a few images for comparison:
Vanilla
Spoiler
[close]

FER
Spoiler
[close]

FER again, except in combat, the large remnant vessel is almost half engine plume
Spoiler
[close]
Logged

tomatopaste

  • Captain
  • ****
  • Posts: 306
    • View Profile
Re: [0.95.1a-RC6] Fast Engine Rendering v1.1.1 - Combat FPS Booster
« Reply #27 on: December 26, 2021, 05:58:26 PM »

After enabling this mod, engine plumes seem to have grown in both size and brightness, has anyone else had this? It ends up being quite distracting.
Here are a few images for comparison:
Vanilla
Spoiler
[close]

FER
Spoiler
[close]

FER again, except in combat, the large remnant vessel is almost half engine plume
Spoiler
[close]

... whoops, that's an oopsie, I was trying to improve the visuals on low tech flares but obviously neglected to double check the effects on ships with larger engine flares. I'll release a patch soon with those tuned down. Thanks for bringing it up :)
Logged

tomatopaste

  • Captain
  • ****
  • Posts: 306
    • View Profile
Re: [0.95.1a-RC6] Fast Engine Rendering v1.1.2 - Combat FPS Booster
« Reply #28 on: December 26, 2021, 06:55:30 PM »

Minor update:
-visual improvements
Logged

Nick XR

  • Admiral
  • *****
  • Posts: 713
    • View Profile
Re: [0.95.1a-RC6] Fast Engine Rendering v1.1.2 - Combat FPS Booster
« Reply #29 on: December 26, 2021, 09:49:26 PM »

Thanks tomatopaste, this along with JVM8 has done wonders for my performance.  This is a huge boon to the community!
Pages: 1 [2] 3