[REL] TESV Acceleration Layer, Thread 3

Post » Sun Jun 17, 2012 2:50 pm



I am opening this new thread with Arisu's permission.

Thread No 2 link:

http://www.gamesas.com/topic/1322063-rel-tesv-acceleration-layer-thread-no-2/

Link to download:

http://skse.silverlock.org/beta/TESVAL-1.3.10.0-2011-12-22-skseplugin.7z

Skyrim Nexus:

http://www.skyrimnexus.com/downloads/file.php?id=4387

Brief Description from first post:

Abstract:
TESVAL is an in-memory code patch for TESV, aiming to fix a few of the worst CPU hogs.

Supported game versions: 1.3.10.0 only.

Description:

This patch will improve your frame rate by up to 40% in all CPU-dependent situations, i.e. especially in cities.
It works mostly by rewriting some x87 FPU code and inlining a whole ton of useless getter functions along the critical paths because the developers at Bethesda, for some reason, compiled the game without using any of the optimization flags for release builds.

There has been some confusion about the original dll file and the current one for Script dragon.
Script Dragon's dinput8.dll is 592kb
The non working TESV Accelerator dinput.dll is 74kb


From the readme prepared by Ianpatt


TESV Acceleration Layer (1.3.10.0) Proof of Concept by Arisu
(small port to an SKSE plugin for compatibility by ianpatt)

Installation instructions:
1. Install SKSE from http://skse.silverlock.org, instructions are in its readme.
2. Drop TESVAL.dll from the archive above in to /Data/SKSE/Plugins. Create the SKSE and Plugins folders if they don't exist.
3. Run the game by launching skse_loader.exe.

License: Everyone is free to do whatever s/he likes with the binary or the source; it's completely free.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
User avatar
Vicky Keeler
 
Posts: 3427
Joined: Wed Aug 23, 2006 3:03 am

Post » Sun Jun 17, 2012 10:48 pm

Can we at least get a synopsis of the not working scripts problem and any steps being taken to resolve this in the OP? This way anyone not privy to the previous threads is not cast into the role of alpha tester and if solutions are found they are easy to find.

Thanks
User avatar
Jessica Stokes
 
Posts: 3315
Joined: Fri Jul 28, 2006 11:01 am

Post » Sun Jun 17, 2012 11:15 pm

Great plugin!! Once the wrinkles are ironed out with the script problems this is going to be even better; but in the meantime I am just happy I can run the game completely maxed out now, so thanks ;)

SCRIPT ISSUES FOUND PERSONALLY:
-Soljund's Sinkhole Quest -- Invisible Spike Trap "wall" (I solved the issue by clipping past it using console command TCL, after killing all draugr in the next room the invisible wall was gone... it has been reported that disabling the plugin removes this issue)
User avatar
Monika Krzyzak
 
Posts: 3471
Joined: Fri Oct 13, 2006 11:29 pm

Post » Sun Jun 17, 2012 7:51 pm

A quick reboot test, same spot & viewing angle each time in Whiterun:

Without TESV: 18+/- FPS
With TESV: 25+/- FPS

Reboot, restart steam:

With TESV: 25+/- FPS (although I seemed to have a longer "stutter" for 1-2 seconds after loading, probably due to assets not cached)
Witout TESV: 19+/- FPS

In all, I don't really see any affect of rebooting, at least in this single instance.
User avatar
Johanna Van Drunick
 
Posts: 3437
Joined: Tue Jun 20, 2006 11:40 am

Post » Sun Jun 17, 2012 8:14 pm

Thanks for the information, letrazzrot.
User avatar
Kit Marsden
 
Posts: 3467
Joined: Thu Jul 19, 2007 2:19 pm

Post » Sun Jun 17, 2012 3:48 pm

Okay, I have uploaded a test version for everyone to try out:

http://www.megaupload.com/?d=8VUSMRLT

People should give it a try in the places they have encountered issues and report back. If it doesn't fix your issue, it would be good for me to have a copy of the save game where your issues exists and an explanation of what you are experiencing.
User avatar
Ladymorphine
 
Posts: 3441
Joined: Wed Nov 08, 2006 2:22 pm

Post » Sun Jun 17, 2012 3:34 pm

Okay, I have uploaded a test version for everyone to try out:

http://www.megaupload.com/?d=8VUSMRLT

People should give it a try in the places they have encountered issues and report back. If it doesn't fix your issue, it would be good for me to have a copy of the save game where your issues exists and an explanation of what you are experiencing.
Helgen script is working now as intended! Thanks! There were some other bugs?
No performance drop in new version as well. Same 25 fps on ultra near Riverwood, and vanilla is 19 fps.
User avatar
Ice Fire
 
Posts: 3394
Joined: Fri Nov 16, 2007 3:27 am

Post » Sun Jun 17, 2012 7:27 pm

Okay, I have uploaded a test version for everyone to try out:

http://www.megaupload.com/?d=8VUSMRLT

People should give it a try in the places they have encountered issues and report back. If it doesn't fix your issue, it would be good for me to have a copy of the save game where your issues exists and an explanation of what you are experiencing.

That fixed the Helgen script and the missing forge in Morvunskar for me.

I know it isn't an official release, but could source be kept with it as well?

-sf
User avatar
Taylor Bakos
 
Posts: 3408
Joined: Mon Jan 15, 2007 12:05 am

Post » Mon Jun 18, 2012 4:57 am

This is just a quick hot fix for a specific issue people reported. I haven't had time to research exactly why the bug is happening. People are reporting other issues too. I'm not sure if this fix covers all the issues. Once I've had a chance to look at the code more carefully, I can see if there is some kind of inherent flaw that needs to be addressed.

All I have done is prevent a specific piece of code from being injected. Therefore, a performance loss may be noticed. Once we can determine the reason for the failure a workaround may be found to add some performance back.
User avatar
Scott
 
Posts: 3385
Joined: Fri Nov 30, 2007 2:59 am

Post » Sun Jun 17, 2012 5:53 pm

All I have to say is that some of these things are just unbelievable. I sure hope Bethesda will fix this stuff officially so that fans don't have to load half a dozen mods (like this one, enbseries, etc) to get the game running smoothly when Bethesda should just fix the game so that it runs properly in the first place. When you consider how many players out there don't visit the forums and try to keep up to date with all the releases in the fan community, you can imagine that for every person who benefits from this excellent work, there are probably 10 or more who don't.
User avatar
Setal Vara
 
Posts: 3390
Joined: Thu Nov 16, 2006 1:24 pm

Post » Sun Jun 17, 2012 6:37 pm

There is also this issue:

http://skyrimnexus.com/modules/members/index.php?id=11180920 reputation 0 kudos2 posts
Just encountered an invisible wall (spike trap) in Soljund's Sinkhole. Disabling this patch fixes it.

Which needs to be tested with this newer version.
User avatar
chinadoll
 
Posts: 3401
Joined: Tue Aug 22, 2006 5:09 am

Post » Sun Jun 17, 2012 9:09 pm

I can also confirm the Ralof & Imperial bug is fixed with this new version. I wasn't having the collapsing bridge issue others reported before, but I tested it anyway - both new and old versions worked normally. I'm not sure what else to test - I will play with this newer version as time allows, and report any oddities. Framerate increase seems to be on par with other release, at least in the same Whiterun area I've been using as a bench.
I'm not sure I have a save with Soljund's Sinkhole, I'll look...
User avatar
Steven Hardman
 
Posts: 3323
Joined: Sun Jun 10, 2007 5:12 pm

Post » Mon Jun 18, 2012 2:04 am

Soljund's Sinkhole quest is confirmed working with the band-aid link above. I do have a save-game of that particular issue; if anyone needs it for debugging just send me a PM. I will continue to test and post-back. Thanks yet again.
User avatar
Cool Man Sam
 
Posts: 3392
Joined: Thu May 10, 2007 1:19 pm

Post » Mon Jun 18, 2012 2:45 am

Its not working for me, Though I swear it did when I first put it in.

SKSE is up to date, Loading correctly. The .dll is loading correctly. I'm running it as an admin through the skse.exe the log shows everything loading up fine, But my FPS or performance dosen't budge at all.
User avatar
Oceavision
 
Posts: 3414
Joined: Thu May 03, 2007 10:52 am

Post » Sun Jun 17, 2012 10:34 pm

Some other important things to try, (mainly because a different mod accidentally prevented these quests AND radiant quests from working) is, become Jarl and see if Lydia appears,
Test out the
Spoiler
Ending Nightingale/Thieves Guild
quests, the Final Companions Quest etc, because with the other mod, important things were not getting triggered
in any of those quests and they were rendered unfinishable

The easy way to check if radiant quests are broken is to get a radiant quest and see if your Journal says something like "Rescue at Ygnars Tomb"
(made that up...)
User avatar
Eliza Potter
 
Posts: 3481
Joined: Mon Mar 05, 2007 3:20 am

Post » Mon Jun 18, 2012 4:14 am

I can confirm that the issue I had with the forge not showing in the Understone Keep at Markarth has been fixed by the version published by Silverglade.

Thank you to all involved.
User avatar
Angel Torres
 
Posts: 3553
Joined: Thu Oct 25, 2007 7:08 am

Post » Mon Jun 18, 2012 2:45 am

Also confirming the Helgen/imperial bug is fixed.

However, I still do not notice FPS improvement.
User avatar
Chantel Hopkin
 
Posts: 3533
Joined: Sun Dec 03, 2006 9:41 am

Post » Sun Jun 17, 2012 5:28 pm

Also confirming the Helgen/imperial bug is fixed.

However, I still do not notice FPS improvement.

Okay so I'm not the only one without an FPS improvement.

I've got a I7 920 4Ghz, ATI 4890HD 1gb. If somehow relevant at all.
User avatar
Suzy Santana
 
Posts: 3572
Joined: Fri Aug 10, 2007 12:02 am

Post » Sun Jun 17, 2012 4:18 pm

However, I still do not notice FPS improvement.
FPS increases only occur in certain places where the game is CPU bound. Go to the top step in Whiterun and look down at the barren tree on left. Try it with and without the DLL in place. You'll need a FPS meter like FRAPS.
User avatar
Khamaji Taylor
 
Posts: 3437
Joined: Sun Jul 29, 2007 6:15 am

Post » Sun Jun 17, 2012 10:08 pm

Someone should also test the
Spoiler
Bit where you have to go into the time rift. I've seen the radiant AI fail on that quest in the stock game, this might make the issue worse.
User avatar
Latisha Fry
 
Posts: 3399
Joined: Sat Jun 24, 2006 6:42 am

Post » Mon Jun 18, 2012 1:31 am

Now that I've had a chance to look at the their code some more, I can see why it is failing. I'm not sure if my assembly/injection knowledge is good enough to come up with an alternative for what he was doing originally, but I have checked all his other bit checks and they are all okay. Hopefully that bit 30 check is his only bug. I'll keep looking to see if I can find a way to duplicate what he planned originally.
User avatar
CArla HOlbert
 
Posts: 3342
Joined: Wed Feb 21, 2007 11:35 pm

Post » Sun Jun 17, 2012 8:10 pm

FPS increases only occur in certain places where the game is CPU bound. Go to the top step in Whiterun and look down at the barren tree on left. Try it with and without the DLL in place. You'll need a FPS meter like FRAPS.

You are definitely correct. I went to the top step of whiterun and looked at that tree without this mod and it was around 19 fps constant. With this mod, it went up to 24 fps.

Thank you for the clarification.
User avatar
Amy Masters
 
Posts: 3277
Joined: Thu Jun 22, 2006 10:26 am

Post » Sun Jun 17, 2012 1:52 pm

This doesn't work with windows 8, it shows this error:

"TESV.exe - Bad image

TESVAL.dll is either not design to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support."

Any way to fix this?
User avatar
Roisan Sweeney
 
Posts: 3462
Joined: Sun Aug 13, 2006 8:28 pm

Post » Mon Jun 18, 2012 12:05 am

Okay so I'm not the only one without an FPS improvement.

I've got a I7 920 4Ghz, ATI 4890HD 1gb. If somehow relevant at all.

Not very surprising. You are probably not CPU bound. Your processor is very powerful. Your GPU is certainly not bad, but it isn't as current as the CPU.
User avatar
Lil'.KiiDD
 
Posts: 3566
Joined: Mon Nov 26, 2007 11:41 am

Post » Sun Jun 17, 2012 4:09 pm

Aye, I've only gained 2fps though.

I guess I was expecting a lot more then 2 fps..



Not very surprising. You are probably not CPU bound. Your processor is very powerful. Your GPU is certainly not bad, but it isn't as current as the CPU.

Yeah, I would still figure I would get a larger boost though. Its letting the game use the CPU better, My CPU speed should factor in to more fps gain and stutter drop I would assume. Well, Alot larger than 2fps, I can't tell the difference at all, But what the hell I'll leave it on.
User avatar
RaeAnne
 
Posts: 3427
Joined: Sat Jun 24, 2006 6:40 pm

Next

Return to V - Skyrim