Battlezone Universe

Battlezone Universe => Archive Vault => 1.3 Public Beta 5: Tech Alpha 5 => Topic started by: Tempest Storm on April 30, 2009, 03:22:07 PM

Title: BZ2 with ENB Series
Post by: Tempest Storm on April 30, 2009, 03:22:07 PM
Now that TA5 has gone public, those of you interested in enhanced graphics for BZ2 might want to take a look at ENB Series. ENB Series is a 3rd party script that runs additional graphical enhancements on Direct X9 applications. Now that BZ2 has been updated to the DX9 API it is possible to run ENB Series alongside BZ2 in order to achieve more graphical enhancements.

ENB Series supports a wide range of graphical features that can all be activated and configured individually; some may enhance the way BZ2 looks, some may not. There are plenty of options to choose from, including (and not limited to)  Bloom effects, SSAO (Screen Space Ambient Occulsions) and SSIL (Screen Space Indirect Lighting), Depth of Field, as well as even Motion Blur. I have done some basic experimenting with BZ2 and ENB Series and with the right tweaks to the settings you can get a real pretty picture. :)

AFAIK, some of the effects use Shaders V2.0 (or V3.0 if the setting is enabled and your card supports it) and other features that may be specific to modern videocards. I have not tested it on older cards but my system runs the game just fine at 1920x1080 with most of the effects enabled without any real framerate hit at all. Performance wise it is all hardware specific from what I can tell.

I took two comparison screenshots just to give a basic idea of what ENB Series is capable of, for quality preservation purposes I kept them at full resolution:
Check:  BZ2 W/O ENB  (http://www.starfleetplatoon.com/~tempest/bzonewoenb.png) for TA5 in its current state, and  BZ2 W/ ENB  (http://www.starfleetplatoon.com/~tempest/bzonewenb.png) for TA5 with a basic setup from ENB Series.

It needs alot more fine tuning but it gives the general idea of what can be accomplished using ENB Series. :P

You can find ENB Series at its homepage  Here  (http://boris-vorontsov.narod.ru/index_en.html) if you are interested. I'm curious to see what a few modders might be able to come up with after messing around with the settings. :-D
Title: Re: BZ2 with ENB Series
Post by: Nielk1 on April 30, 2009, 03:30:41 PM
I've been looking for a way to remote control that via DLL since you showed it to me during the 1.3 beta.
Title: Re: BZ2 with ENB Series
Post by: Steeveeo on April 30, 2009, 03:58:54 PM
Where the frik is the download link? I only see a bunch of presets for the actual thing I cant find! What, do we select one of them and tune from that?
Title: Re: BZ2 with ENB Series
Post by: Tempest Storm on April 30, 2009, 04:03:29 PM
That's what I did honestly. :P

I originally found a link for a specialized version on another site about a year ago and had used that version. I suppose there is no download link to a basic version now that I look at it, so yeah I would just grab any one for a specialized game and tweak it as needed. They all have the same capabilities, they are just configured differently from what I can see. Be sure to check the documentation on the website as well to see how to edit the settings effectively.
Title: Re: BZ2 with ENB Series
Post by: Steeveeo on April 30, 2009, 04:57:53 PM
(http://www.bzcomplex.com/gallery/albums/userpics/10054/normal_MY_EYEEEES.JPG) (http://www.bzcomplex.com/gallery/albums/userpics/10054/MY_EYEEEES.JPG)

MY EYEEEES!!

lol, careful when touching the bloom controls! :D

BTW, I found that when alttabbing with this on, I get this AV:


---- Battlezone II Log File ----
//=====================================================
App version: Patch 1.3TechAlpha5 EDITOR Apr 23 2009 13:39:30
Windows version: Windows Version: 5.1.2600 'Service Pack 3' PlatformID=2

Last few battlezone.log lines (may or may not be relevant):
DIAG|                 vid:538  |09:59:08|321328 |d3d: supports border address mode
DIAG|                 vid:701  |09:59:08|321328 |In Vid::OnResetDevice, pd3dDevice = 0x05BCF008
DIAG|              icroot:193  |09:59:08|321332 |Root window now 1280x1024
DIAG|                DXUT:2570 |09:59:08|321333 | DXUT unpause on change device done
(done)

Exception code: C0000005 (ACCESS VIOLATION) READING from 00000000h
Message :  Exception
Error occurred at 4/30/2009 09:59:10.
D:\Games\Battlezone II 1.3TA5\BZ2Edit.exe, run by Steeveeo.
D:\Games\Battlezone II 1.3TA5\BZ2Edit.exe, run by Steeveeo.
CPU: 2 processor(s), Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
     x86 Family 6 Model 23 Stepping 6
Process Memory :   1776 MB free out of   2048 MB total
Physical memory:    971 MB free out of   2047 MB total
Page(swap) file:   2959 MB free out of   3940 MB total
This exe is using 15 MB, peak use 126 MB

Fault address:  4FE5B00A 01:0008A00A C:\WINDOWS\system32\d3d9.dll

Registers:
EAX:000000AE
EBX:0206ED60
ECX:00000000
EDX:0206ED60
ESI:0010F140
EDI:0AF1C0A0
CS:EIP:001B:4FE5B00A
SS:ESP:0023:0206ED20  EBP:0206ED3C
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00010246

Call stack:
Address   Return    Function            SourceFile
4FE5B00A  00000000  4FE15703  Direct3DShaderValidatorCreate9+0x0002B65A
4FE15703  00000000  4FE1F650  DebugSetLevel+0x0001A6D3
4FE1F650  00000000  4FE59DE0  DebugSetLevel+0x00024620
4FE59DE0  00000000  4FE76DA4  Direct3DShaderValidatorCreate9+0x0002A430
4FE76DA4  00000000  4FE58920  Direct3DShaderValidatorCreate9+0x000473F4
4FE58920  00000000  05159359  Direct3DShaderValidatorCreate9+0x00028F70


Perhaps because I chose to use Shader Model 3 for the effects, or perhaps the bloom was so damn bright the game didnt wanna display it anymore. :P
Title: Re: BZ2 with ENB Series
Post by: AHadley on April 30, 2009, 05:30:09 PM
Looks pretty, TS

Steeveeo... less so.
Title: Re: BZ2 with ENB Series
Post by: TheJamsh on April 30, 2009, 05:41:37 PM
looks good. will definately use this somewhere...

how damaging is it to performance though?
Title: Re: BZ2 with ENB Series
Post by: hybirdisdf on April 30, 2009, 06:06:35 PM
Man,I cant even see the picture.Its all whiteout and washout detail complete.Horrible Horrible
Title: Re: BZ2 with ENB Series
Post by: AHadley on April 30, 2009, 06:08:02 PM
@Jamsh: Could this be implemented in the update, or are we too late-stage for that?
Title: Re: BZ2 with ENB Series
Post by: TheJamsh on April 30, 2009, 06:14:01 PM
It COULD be but id rather keep this out of it, as its changing the original game too much. Its also probably got to go through a bundle of bug testing...

I do think it looks good. A lot of detail is missing, and the brightness and darkness thresholds need bringing closer together somehow...

I will DEFINATELY be using this some places in S-mod, mainly because steeveeo's environment has made something much easier.
Title: Re: BZ2 with ENB Series
Post by: TheJamsh on April 30, 2009, 06:19:10 PM
Saying that, it does make things look blurry and overly soft...
Title: Re: BZ2 with ENB Series
Post by: AHadley on April 30, 2009, 06:24:09 PM
I'm sure this can be adjusted. I'd love to see this implemented into the engine in some way in a patch.
Title: Re: BZ2 with ENB Series
Post by: General BlackDragon on April 30, 2009, 06:34:53 PM
http://boris-vorontsov.narod.ru/download_en.htm

Wich thing do i download  :|

I hate navigating some websites
Title: Re: BZ2 with ENB Series
Post by: TheJamsh on April 30, 2009, 07:04:14 PM
any one of them (i got the top one)

you have to tune it yourself. you can turn it on/off in game using SHIFT+F12
Title: Re: BZ2 with ENB Series
Post by: Vid on April 30, 2009, 07:09:44 PM
with ENB looks far far too fuzzy/bright,  without looks fine to me, but /shrugs.
It basically looks like the same picture, except ENB you raised blurness and brightness.
Title: Re: BZ2 with ENB Series
Post by: General BlackDragon on April 30, 2009, 07:49:37 PM
ok all i see in the zips is a dll, an ini file, and some text files.

should i try to use the enb tuner?

or how do i adjust things? in the ini?
Title: Re: BZ2 with ENB Series
Post by: Nielk1 on April 30, 2009, 08:07:08 PM
All the presets come with an EXE, some of the EXEs tweaked slightly in how they work. Best bet is to get the one with the latest date as it most likely has most of the features intact for whatever game it is for.

Anyone find a way to make this not effect the HUD layer?
Title: Re: BZ2 with ENB Series
Post by: AHadley on April 30, 2009, 08:19:18 PM
I'm getting a missing file error (d3dx9_40.dll) and then an AV. I downloaded a DLL and then it AV'd, so I'm guessing my PC doesn't support it. Correct?
Title: Re: BZ2 with ENB Series
Post by: Russian Roulette on April 30, 2009, 08:46:49 PM
When I start bz I get this:

Quote
---- Battlezone II Log File ----
//=====================================================
App version: Patch 1.3TechAlpha5 Apr 23 2009 13:36:08
Windows version: Windows Version: 5.1.2600 'Service Pack 2' PlatformID=2

Last few battlezone.log lines (may or may not be relevant):
DIAG|              dsutil:210  |16:43:17|27232  |-- Prefsfile set audio mem purge at 33554432 bytes
DIAG|              dsutil:213  |16:43:17|27232  |Done with audio caps log
DIAG|            AudioSys:323  |16:43:17|27234  |Audio: DirectSound8 setup complete
DIAG|            mcimovie:180  |16:43:18|27381  |Movie opened movies\intro.bik
(done)

Exception code: C0000005 (ACCESS VIOLATION) READING from 00000000h
Message :  Exception
Error occurred at 4/30/2009 16:43:20.
C:\Program Files\Battlezone II\bzone.exe, run by RussianRoulette.
C:\Program Files\Battlezone II\bzone.exe, run by RussianRoulette.
CPU: 1 processor(s), Intel(R) Pentium(R) III Mobile CPU      1200MHz
     x86 Family 6 Model 11 Stepping 1
Process Memory :   1814 MB free out of   2048 MB total
Physical memory:    212 MB free out of    512 MB total
Page(swap) file:    828 MB free out of   1250 MB total
This exe is using 45 MB, peak use 51 MB

Fault address:  03994880 01:00003880 C:\Program Files\Battlezone II\d3d9.dll

Registers:
EAX:00000000
EBX:7E41F3B3
ECX:00000000
EDX:021DE130
ESI:03AE0140
EDI:00000001
CS:EIP:001B:03994880
SS:ESP:0023:0209F358  EBP:00000000
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00010246

Call stack:
Address   Return    Function            SourceFile

It appears that my computer does not like 'd3d9.dll'
Title: Re: BZ2 with ENB Series
Post by: Nielk1 on April 30, 2009, 08:53:18 PM
Set it to be toggled on by key and start off if you can.
Title: Re: BZ2 with ENB Series
Post by: GSH on April 30, 2009, 09:10:54 PM
Quote
I'm getting a missing file error (d3dx9_40.dll) and then an AV. I downloaded a DLL and then it AV'd, so I'm guessing my PC doesn't support it. Correct?

Download the full DirectX Redist installer, as linked in the first page of changelog.txt. BZ2 installs what it needs to use. You're running an app that needs something else. You can get either the web (online) or offline installer; just use those to update all DX9 dlls.

-- GSH
Title: Re: BZ2 with ENB Series
Post by: bigbadbogie on April 30, 2009, 10:03:49 PM
I get the same AV as Russian Roulette.
Title: Re: BZ2 with ENB Series
Post by: Purplehaze on April 30, 2009, 10:10:13 PM
Agreed. im getting the directx9 upgrade now, Ill see if it works now.
Title: Re: BZ2 with ENB Series
Post by: Purplehaze on April 30, 2009, 10:21:23 PM
Hmm, Well when I turn on the update it works, But the problem is that I am getting a bunch of white boxes when i toggle on/off, The problem in the main menu is that your cursor goes into tile like you background, bascially, I have to turn off the scoreboard, and then turn on the enhancement, Turn on the scoreboard again, also my regular 20 fps is horrid, Ill have to config it.


EDIT: Anyone got the config down, Everytime I think I have it right i get a white screen when i turn it on :(
Title: Re: BZ2 with ENB Series
Post by: Tempest Storm on April 30, 2009, 10:33:04 PM
I'm not sure what some of these issues are, although since you all are most likely working off of a different version of ENB that I originally started tweaking there may be settings in the version you have that BZ2 doesn't like. Probably best off to turn all of the effects off at first and then work out each one individually until it functions the way you want it to. Also make sure the effect does not overlay itself on startup as that may be the cause of some AVs. (The effects are overlayed over the game and i have found BZ2 to crash on startup numerous times when a program that uses an overlay is active at the time) All of those settings can be found in the enbseries.ini file.

The settings I am using are nowhere near perfect but I find it to be a large improvment IMO, with the right tweaking it can probably look tons better. If you wanna tweak the settings for yourself do a bit of research on the documentation on the website. Learn what the functions do and how to tweak them appropriately, its not a thing you just install and run and then BZ2 will look pretty. That aside though, if you guys want shaders and all that cool stuff in BZ2 this is probably your best shot ATM.
Title: Re: BZ2 with ENB Series
Post by: Zero Angel on May 01, 2009, 12:37:12 AM
lies. that second pic is of far cry, just with similar terrain.
Title: Re: BZ2 with ENB Series
Post by: bigbadbogie on May 01, 2009, 12:43:36 AM
Quote from: Zero Angel on May 01, 2009, 12:37:12 AM
lies. that second pic is of far cry, just with similar terrain.

Ever seen an ISDF constructor in Farcry?
Title: Re: BZ2 with ENB Series
Post by: Steeveeo on May 01, 2009, 12:54:35 AM
Its called a mod, duh! :P