Hard Light Productions Forums

Community Projects => The FreeSpace Upgrade Project => Topic started by: Commander Zane on January 17, 2007, 05:28:47 pm

Title: Shockwaves
Post by: Commander Zane on January 17, 2007, 05:28:47 pm
I have the .TGA of the 512 x 512 shockwave from the normal effects.vp but I don't know how to overwrite the enormus shockwave effect from the advanced effects.vp.
Title: Re: Shockwaves
Post by: Mars on January 17, 2007, 05:29:22 pm
Try putting it in your data/effects folder of your media vps
Title: Re: Shockwaves
Post by: Wanderer on January 18, 2007, 03:13:12 am
AFAIK the cause of the slowdowns is not the single tga that is used for the actual shockwave texture but the immense glow-texture animation that is used with it. That is using a separate (new) tga map for the main texture wont help you a bit with the memory consumption of the glow animation (eff, 1024x1024, 159 frames, compared to single 1024x1024 tga image)
Title: Re: Shockwaves
Post by: Kaine on January 18, 2007, 06:59:13 am
well can we sort out what the fix is and get a download for it? i've been chasing this for ages, and i know plenty of other people are too.
Title: Re: Shockwaves
Post by: Ravage on January 18, 2007, 08:20:35 am
Here here...  It would be nice to have a patch that would turn off the superhighend shockwaves and default to the standard mid range ones in the mediavps.  The only reason I want to use the adveffects is for the nebulae, explosion textures and planets.

Is it as simple as deleting them from the adveffects.vp file?
Title: Re: Shockwaves
Post by: Huggybaby on January 18, 2007, 03:42:20 pm
This is a timely topic!

I've been using the medium size shockwave tga, and it does improve performance...I drop to 50fps rather than 10fps. Now I see I'm only partially on the right path.

I tried converting the tga to a dds, but performance remained at 50fps, so my next question was how to configure the following properly:

(http://xs211.xs.to/xs211/07034/Shockwave.jpg)

But it seems there's more to it than that. I've fixed the beamglows using DaBrain's set, so if I could tweak this one last bit, everything would be great.

<edit> OK, soon I'll have a new adv_effects file, hold on....
Title: Re: Shockwaves
Post by: Commander Zane on January 18, 2007, 04:31:56 pm
Try putting it in your data/effects folder of your media vps
I remember seeing something about literally overwriting the shockwaves to change them. I'd probably trust that more than simply putting it on a folder...(If I knew how to make anything work to begin with...)
Title: Re: Shockwaves
Post by: Turey on January 18, 2007, 04:42:53 pm
Try putting it in your data/effects folder of your media vps
I remember seeing something about literally overwriting the shockwaves to change them. I'd probably trust that more than simply putting it on a folder...(If I knew how to make anything work to begin with...)

That requires knowing how to make .vp files.

This way is easier, and works just as well.
Title: Re: Shockwaves
Post by: Huggybaby on January 18, 2007, 04:59:09 pm
I have the new vp ready. If it works I'll upload it for everyone's enjoyment.

<edit> Hmm, interesting. Just replacing the Shockwave3D.tga seems to be just as beneficial as removing the animations. Guess you guys will have to test to see...uploading...
Title: Re: Shockwaves
Post by: Commander Zane on January 18, 2007, 05:29:18 pm
Try putting it in your data/effects folder of your media vps
I remember seeing something about literally overwriting the shockwaves to change them. I'd probably trust that more than simply putting it on a folder...(If I knew how to make anything work to begin with...)

That requires knowing how to make .vp files.

This way is easier, and works just as well.
Trust, me NOTHING I try to do that requires putting x file in y folder a thousand times works on my part.
Title: Re: Shockwaves
Post by: Huggybaby on January 18, 2007, 06:12:36 pm
OK, HERE'S THE TEST:

Two things to try, they both seem to work the same, but I need more observations----

BASELINE TEST) You should be using the big shockwaves. That means mv_adveffects.vp is in your "C:\Games\FreeSpace2\mediavps" folder. Check your FPS slowdowns during big explosions.

TEST 1) Leave mv_adveffects.vp in place. Unzip this Shockwave3d.tga file (http://huggybaby.fs2downloads.com/shockwave3d.zip) into your "C:\Games\FreeSpace2\mediavps\data\effects\" folder. Test again, you should see improvement as the smaller file overides the larger one.

TEST 2) Remove the Shockwave3d.tga file. Remove the mv_adveffects.vp file. (Store them safely elsewhere please). Unzip THIS FILE (http://huggybaby.fs2downloads.com/mv_adveffects2.7z) into "C:\Games\FreeSpace2\mediavps" and test again. This file has had the shockwave animations removed as well, as suggested by Wanderer.


(And for me, the biggest help was using DaBrain's optimized beamglows. Here are DaBrain's optimized beam glows (http://huggybaby.fs2downloads.com/beams.7z) 7zipped into a vp file. The original post is HERE (http://www.hard-light.net/forums/index.php/topic,38935.msg792209.html#msg792209).

Extract the file and put it in your "C:\Games\FreeSpace2\mediavps" folder and it will really help beam slowdown problems if you have them.)

I'm running with all my Graphics Features turned on.
Title: Re: Shockwaves
Post by: Commander Zane on January 18, 2007, 06:34:17 pm
I've already tried that, that's why I'm asking about an overwrite file.
Title: Re: Shockwaves
Post by: Turey on January 18, 2007, 06:57:35 pm
I've already tried that, that's why I'm asking about an overwrite file.

 :hopping: :mad:

Fine. Use VPView to unpack everything in mv_adveffects.vp to their respective folder. Move mv_adveffects.vp to a new folder. overwrite the files you don't like.


Happy?  :rolleyes:
Title: Re: Shockwaves
Post by: DaBrain on January 19, 2007, 05:55:49 am
This is a timely topic!

I've been using the medium size shockwave tga, and it does improve performance...I drop to 50fps rather than 10fps. Now I see I'm only partially on the right path.

I tried converting the tga to a dds, but performance remained at 50fps, so my next question was how to configure the following properly:

(http://xs211.xs.to/xs211/07034/Shockwave.jpg)

But it seems there's more to it than that. I've fixed the beamglows using DaBrain's set, so if I could tweak this one last bit, everything would be great.

<edit> OK, soon I'll have a new adv_effects file, hold on....

Forget about it. Converting the TGA to DDS won't have any noticable effect.
The beamglows already exsist in DDS form. They'll be in the adveffects VP of the next Media VP version. Actually they already are in the tester version, along with a lot of other performance optimizations. In fact I reworked the whole model/texure system. That's the reason why it took me so long.
Title: Re: Shockwaves
Post by: Wobble73 on January 19, 2007, 06:11:15 am
So DaBrain, any news on when the Mediavps 3.6.9 will be released???
Title: Re: Shockwaves
Post by: DaBrain on January 19, 2007, 06:19:35 am
So DaBrain, any news on when the Mediavps 3.6.9 will be released???

The testers found a lot of bugs. 95% model/texture problems. Anyway, I'm trying to ge the second test version done this weekend.

This could also be the final version depending on how well I did the fixing... I doubt it will be bug-free though.
It's a bit much for one person to handle... that's why I've been thinking about a new system for the development.
Title: Re: Shockwaves
Post by: karajorma on January 19, 2007, 12:29:48 pm
I've already tried that, that's why I'm asking about an overwrite file.

If putting that file in that folder didn't work you have bigger problems that won't be resolved by adding files to the VPs.

In addition no one will help you if you later have problems with VP files you've arsed about with. There are just too many ways you can screw that up.
Title: Re: Shockwaves
Post by: Commander Zane on January 19, 2007, 04:28:41 pm
It's the ONLY thing I've added on to the game.
Title: Re: Shockwaves
Post by: Agentbolt on January 20, 2007, 01:35:28 am
The .tga file in my data/effects folder made no difference.  I'm still not sure about that fix since I had to create an effect folder to stick it into, I may have something effed up with my install to begin with. 

The different VP with the animations turned off worked BEAUTIFULLY, however.  Brought me from ~6 FPS during an explosion to never dropping below 60.  Well done. 

Title: Re: Shockwaves
Post by: Huggybaby on January 20, 2007, 01:33:24 pm
Awesome, thanks for the good report. I'm glad that file helped someone!

There is more than one "data\effects" folder possible.

"C:\Games\FreeSpace2\mediavps\data\effects\" is the exact path you should have used for the tga file. The effects folder is missing because it usually is empty, so most of the installs have it removed. It's perfectly OK to create it. Be sure to spell it with an "e" instead of an "a".
Title: Re: Shockwaves
Post by: Agentbolt on January 20, 2007, 01:43:18 pm
Ohhh okay, gotcha.  That is the exact path I put the .tga into, however like I said, it didn't really improve performance at all, whereas putting in your edited vps file made all the difference in the world.  So thanks again for messing with it. :) 

Title: Re: Shockwaves
Post by: Huggybaby on January 20, 2007, 01:47:12 pm
Cool. Now if I could just figure out why the tga works for me... :confused:

Anyway, that's why I did both.  :yes: :yes:
Title: Re: Shockwaves
Post by: Commander Zane on January 20, 2007, 06:21:54 pm
The .tga file in my data/effects folder made no difference.  I'm still not sure about that fix since I had to create an effect folder to stick it into, I may have something effed up with my install to begin with. 

The different VP with the animations turned off worked BEAUTIFULLY, however.  Brought me from ~6 FPS during an explosion to never dropping below 60.  Well done. 


What do you mean by the animation is turned off? Could you show me where to get it?
Title: Re: Shockwaves
Post by: Turey on January 20, 2007, 06:34:08 pm
here (http://huggybaby.fs2downloads.com/beams.7z).
Title: Re: Shockwaves
Post by: Commander Zane on January 20, 2007, 08:40:14 pm
Beams? Weren't you talking about shockwaves without animations?
Title: Re: Shockwaves
Post by: Huggybaby on January 20, 2007, 09:07:44 pm
I  think he was, regardless, both are here:
http://www.hard-light.net/forums/index.php?topic=44757.msg913653#msg913653