Glide wrappers

SW diskuze o 3dfx , ovladače , tweaky atd...

Moderátoři: ps47, Vykupitel

Příspěvekod ps47 » sob dub 18, 2009 7:42 pm

stiahol som demo (f16 multirole),nainstaloval som ho,skusil som ho spustit,dostal som nadavku na chybajuce glide2x a bol som v hre (3dcard not available,software mode),exitol som,nainstaloval zeckov wrapper,znova som spustil hru a bol som akcelerovany.bez akehokolvek dalsieho nastavovania.

najdi si v systeme glide2x.dll a skus ho skopirovat (skopirovat,nie premiestnit) do adresara hry.
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Lukfi » ned dub 19, 2009 11:58 am

Jsem to tam zkopíroval, ale v menu mám pořád not available.
http://www.abload.de/image.php?img=fulcrum0m4b.png

Ale zajímavý je, že ti to nadávalo na chybějící glide2x, to mně vůbec a rovnou se to přeplo do software rendering módu.
Uživatelský avatar
Lukfi
Certifikovaný fanATik
 
Příspěvky: 888
Registrován: ned pro 16, 2007 8:38 pm
Bydliště: ne

Příspěvekod ps47 » ned dub 19, 2009 3:54 pm

hrrmmmph..tusim budem musiet odniekial vydupat plnu verziu..predpokladam ze hru mas patchnutu,copy protection je prec a win9x compatibility mode si skusal? skus tam dat dgvoodoo (staci ked z toho zipu ktory stiahnes skopirujes glide2x.dll do adresara hry),ale mne sa na nom demo nerozbehlo (3dfx je detected,ale skape to na loadingu misie)..

v kazdom pripade,urcite nezaskodi ked postnes plne specifikacie tvojho kompu.
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Lukfi » ned dub 19, 2009 5:14 pm

Tož jsem vyhrabal ze šuplíku cédéčko F-16 a nainstaloval, zkopíroval do herního adresáře soubor glide2x.dll a najednou 3D card detected, SLI detected ( :D ) a jede to s akcelerací. Ale v obraze jsou chyby:
http://www.abload.de/image.php?img=mrfbizi.jpg
Tohle je se Zeckensaw.

U Fulcruma se 3D vůbec nechytne, nevím proč, původně jsem si myslel, že jsou ty hry stejné... asi ne no...

Zkoušel jsem u F-16 dát glide2x z dgVoodoo a to zase říká že je potřeba nainstalovat novější verzi Glide :roll:

Hardware: Core 2 Duo, P965, Radeon HD 3850.
Uživatelský avatar
Lukfi
Certifikovaný fanATik
 
Příspěvky: 888
Registrován: ned pro 16, 2007 8:38 pm
Bydliště: ne

Příspěvekod ps47 » ned dub 19, 2009 5:33 pm

pri f-16 sa skus pohrat s nastaveniami v zeckovom wrapperi,je ich tam pomerne dost (skus thread policy,memory size a ine rozlisenia v hre,obcas pomaha aj nastavit desktop na 16bit farby),snad to pomoze..dgvoodoo je tym padom mimo hru (to ze emuluje starsiu verziu glide je zamer)..na fulcrum sa este mrknem..ono vysledok samozrejme nieje zaruceny,rozbehavat tieto stare potvory cez desatoro emulacii a desatoro trikov je vzdy alchymia.

mimochodom,vcera som hral incubation na ubuntu 8.10 a bezalo to nadherne aj s 3dfx akceleraciou (wine+zeckov wrapper) :D
Naposledy upravil ps47 dne ned dub 19, 2009 5:44 pm, celkově upraveno 2
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Lukfi » ned dub 19, 2009 5:39 pm

Možná to chce patch, teďka jsem updatoval F-16 a vyřešilo to problém s draw distance, bohužel ne s mizejícím letadlem uprostřed obrazovky :(
No a přiznám se, že vůbec netuším, co tam nastavit...

// ha, tak draw distance problém je zpátky, ani nevím jak se to stalo...
Naposledy upravil Lukfi dne ned dub 19, 2009 5:46 pm, celkově upraveno 1
Uživatelský avatar
Lukfi
Certifikovaný fanATik
 
Příspěvky: 888
Registrován: ned pro 16, 2007 8:38 pm
Bydliště: ne

Příspěvekod ps47 » ned dub 19, 2009 5:45 pm

spustis configuracnu utilitku,skusas prepinat moznosti a zistujes ci to malo pozitivny alebo negativny vplyv..mimochodom,narazil som na dalsi glide wrapper ktory vyzera ze je (pomerne) zivy,pripadne skus ten predtym nez sa zacnes kaslat s nastaveniami v tom zeckovom.
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Lukfi » ned dub 19, 2009 5:47 pm

díky, tenhle má dokonce uvedeného Fulcruma mezi supported, tak to vyzkouším

// tak to až na drobné chybičky v HUD funguje, super!
Uživatelský avatar
Lukfi
Certifikovaný fanATik
 
Příspěvky: 888
Registrován: ned pro 16, 2007 8:38 pm
Bydliště: ne

Příspěvekod ps47 » pát zář 25, 2009 9:36 pm

http://sourceforge.net/projects/macglide/

pre pripad ze by sa tu objavil nejaky milovnik shnitych jablek :D
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Ren » stř zář 30, 2009 6:45 pm

ps47 píše:http://sourceforge.net/projects/macglide/

pre pripad ze by sa tu objavil nejaky milovnik shnitych jablek :D


Hehe, diky, narazky si vyprosuju a az bude chvile, vyzkousim..;-)
Uživatelský avatar
Ren
VIP
 
Příspěvky: 2745
Registrován: pát srp 13, 2004 10:54 am

Příspěvekod ps47 » stř zář 30, 2009 9:30 pm

:twisted:


..mimochodom,prekopal som prvy post-linky na vsetky zaujimave wrappery plus nejake info navrch..nanestastie,esoteria stale nic :(
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod ps47 » sob bře 06, 2010 11:30 pm

mame tu novy wrapper,zatazkavajuci test (incubation) zvladol na jednotku,a zaroven je to prvy wrapper ktory rozbehne uprising 1/2,takze rozhodne stoji za zmienku.

http://www.zeus-software.com/downloads/nglide/



esoteria stale nic (ten isty problem,hra sa spusti ale vsetko co ma byt 3d proste chyba),ale kedze na wrapperi sa aktivne pracuje,je mozne ze v buducnosti to pobezi..idem sa regnut na ich forum,skusim ci to nepotlacim spravnym smerom.



mimochodom,aha co este existuje :lol: : http://www.billsworkshop.com/banshee/ba ... chive.html
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Ren » ned bře 07, 2010 8:48 pm

No to kdyby se povedlo..:-)
Uživatelský avatar
Ren
VIP
 
Příspěvky: 2745
Registrován: pát srp 13, 2004 10:54 am

Příspěvekod ps47 » ned bře 07, 2010 9:15 pm

v kazdom pripade to autor zobral na vedomie :D
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Ren » ned bře 07, 2010 9:18 pm

Super, kez by se to povedlo..Esoterii bych si rad jednou zahral celou..
Uživatelský avatar
Ren
VIP
 
Příspěvky: 2745
Registrován: pát srp 13, 2004 10:54 am

Příspěvekod ps47 » ned led 15, 2012 8:23 pm

nglide doplneny do prveho postu-funkcie pridane v poslednej verzii tento wrapper posuvaju na prve miesto (moznost spustit glide hru v rozliseni az 2560*1600 so spravnym pomerom stran bez nutnosti riesit gpu scaling? oh yeah :twisted: ).pridany bol aj 3dfx splash screen-sice zbytocna,ale velmi mila drobnost..

autorovi som pripomenul aj Esoteriu,ale zda sa ze mu bude treba nazdielat plnu verziu,no dufam ze sa mi tu ta od Rena este niekde vala..
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Příspěvekod Ren » pon led 16, 2012 6:29 pm

Kdyz ne, mam tu samozrejme tu krabici, kterou jsme sehnali ze Statu.
Uživatelský avatar
Ren
VIP
 
Příspěvky: 2745
Registrován: pát srp 13, 2004 10:54 am

Re: Glide wrappers

Příspěvekod ps47 » sob bře 09, 2013 10:28 am

tak pani (a hlavne Ren a jeho Esoteria), prvy krat v historii tu mame kompletnu, o nic neukratenu emulaciu glide cez dx10.1/dx11. vyhody - obrovska kompatibilita (kedze wrapper de fakto vytvara virtualnu v1/v2/rush/banshee na gpu), nevyhoda - vyzaduje velmi slusnu grafiku (autor uvadza gtx560ti alebo ekvivalentne ako optimum).

Kód: Vybrat vše
======================================================
dgVoodoo 2.13:  Glide to Direct3D11 Wrapper
Released:       March 7, 2013
Author:         Dege
======================================================


1. Intro
--------

I wanted to get experience in Direct3D11 and its Shader Model 4/5.
I was thinking about what to code and felt that small primitive example
applications would not be enough. I wanted some other bigger project
because there is no other way to truly learn something.
Since I like reverse engineering, emulation and cool API implementations I
began to ponder on whether Glide and its pipeline could be implemented
perfectly and easily using the new shader model(s) and apparate. I got to
the answer "yes" so decided to quickly rewrite dgVoodoo from the ground.
It is a good project to start with.

(*So, it is not an update, it does not have anything to do with the old 1.x
versions. Completely brand new code architecture, new approach of implementation,
etc. The setup looks like its predecessor but that's all. I was even thinking
on not to name it dgVoodoo.)

(No, I do not want to get back into the Glide-businness. It is just a
learning project and I share the result to the public like other things
currently.)


2. Features
-----------

ShaderModel 4.1 with its structured buffers, integer types and operations
makes it possible to emulate Glide perfectly. Ok, it needs a thousand of
horsepowers so a strong hardware is required to use it with good framerates.
In fact, this version runs the complete (chip) emulation on the GPU with
minimal CPU interaction.

There are no "supported" and "unsupported" applications. If something shows
graphical glitches or defects then that must be because of a programming
bug and not a limitation of the underlying implementation.
But of course, there are tested and untested applications, hehe. :)


3. Requirements
---------------

- Operating system:       Windows Vista/7/8 with DirectX11 installed.
- Hardware:               GPU supporting DirectX feature level 10.1.


4. Tested on
------------


Operating system

- Windows 7


Graphic cards:

- Intel HD 2000:          Seemed to work OK but with low framerates, not
                          recommended.

- GeForce 8600 GT:        I used a special build for this one since it
                          does not support feature level 10.1. It worked
                          OK as well (apart from lack of mipmapping) but
                          with low framerates too.

- ATI Radeon HD 6450:     Works OK and usable with low resolutions.

- GeForce GTS 450:        Works OK and usable. Larger resolutions like
                          1280x1024 or larger can cause performance drop
                          in specific applications. (I'm hearing the howl:
                          is 1280x1024 large resolution?? Haha.. But do not
                          forget, it uses a lot power for exact emulation.)

- GeForce GTX Ti560:     Works like a charm.


5. Usage
--------

There is no installer for dgVoodoo beacuse you can copy its dlls anywhere
you want (to use). If u like it and want to use as the only global Glide
wrapper on your machine then copy them to the system folder.

A Glide wrapped application can start up either in windowed or full screen
mode (it is controlled by setup, see later). Also, you can switch between
them during the gameplay by Alt-Enter. See 'Known issues' for more.


6. Configuring
--------------

As different options might wanted to be used for particular applications,
I kept the concept of local/global configurations.
The configuration data is not stored in the dlls themself anymore.
It is in a separate file named 'dgVoodoo.conf'. All of the glide dlls
(glide 2.11, glide 2.43, glide 3.0) uses this file.

When the glide wrapped application starts, dgVoodoo tries to read
config data from the same folder where the application (exe) resides.
If it is not found then it looks for the file in the user's application
data folder. If none found then the default config is used.

In dgVoodooSetup you can choose a folder where you can save the current
configuration. After you chose a folder, it remains in the list permanently.
By default the user's application data folder is selected.

*New in 2.1: if an application tolerates losing focus without closing/minimizing
itself, you can configure it dynamically: when the setup starts up it builds
a list of detected running Glide wrapped applications and insert it into
the folder selector combobox. When you select such a running instance then
the current state of the application is read as config and most of the options
can also be changed. So, you can set resolution, msaa, brightness, etc on
the spot without restarting the application. When an option changes, it
takes effect at once. If the dialog gets cancelled or an other config
folder/instance is selected, all the changes gets cancelled as well.
Important to note:
 - If the Glide wrapped app and the setup runs on different privilege levels
   (admin/nonadmin) then the app won't appear in the instance list or they
   cannot communicate to each other. Sorry for the inconvenience.
 - Switching resolution or MSAA can only be performed perfectly if the
   application re-renders everything on each frame. If it uses or keeps
   previously (once-)rendered things like cockpits or similars then they will
   be missing as will not get re-rendered.


(Why still need a setup at all? Well, now it's not for choosing from
millions of techical options due to weak glide implementation but for
fancy things, see the next chapter.)


6. Setup options
----------------

I did not wanted to have a lot of setup options like in the old version.
It is confusing and now needless, I removed all that crap.

I explain it below what ones I kept after all and why other useful
ones disappeared and what the new ones are:


General settings:


- API:                  OK, since the only rendering API is Direct3D11 right
                        now, this one is pointless.


- Video card (adapter): In case you have more than one, let you choose
                        which one to use for rendering.


- Monitor (output):     If you have multiple monitors then you can choose
                        which one to use for fullscreen mode.
                        "Default" means the primary monitor. Also, if default
                        is selected then switching from windowed to fullscreen
                        during playing a game selects the monitor containing
                        the largest part of the game window.


- Full Screen / Windowed:    See section "Usage".


- Preferring centered/scaled full screen:
                        If the current resolution the Glide app using does not
                        match any natural resolution your adapter supports
                        then the display can be strethed out to fit all the
                        screen or its size can be left unchanged but centered.


- Color adjustments:    Brightness and color intensity can be finetuned here.
                        The defaults are good in general so treat this as a
                        cool extra. (I'm using it in some cases for making colors
                        more vital to get a bit cartoon-like effect.)
                       


- Keep window aspect ratio:
                        In windowed mode, when sizing the window, you can keep
                        the aspect ratio of the current resolution.


Glide settings

- 3Dfx card:            Don't think of anything serious here. It only limits your
                        choice possibilities in respect of 'Onboard RAM',
                        'Texture memory' and 'Number of TMUs' according to the
                        card type. Some applications (like the miniGL driver)
                        may check for those values and won't work if one of them
                        is too high. So it is more handy to select a card type
                        to limit those values alltogether than configuring
                        one-by-one by heart.

                        *New in 2.1: Selected card type affects some exposed
                         capabilites. See techical info for more. List of different
                         card caps/behaviors may be extended in the future,
                         according to 3dfx specs.


- Onboard RAM:          Videomemory without texture memory. Some application
                        compute by this value that what resolutions are supported.


- Resolution/MSAA:      Since forcing them proved to be a good thing in practice,
                        I kept the possibility in this version too. Antialiasing
                        is new of course. Note that you can set your own custom
                        resolution: if you want, say 128x128, then just type this
                        string here and it gets saved when you OK the dialog.


- Number of TMUs:       This version can emulate more than one Texture
                        Management Units.


- Texture mem size:     Not much to say.


- Force bilinear filter: Not much to say.


- Disable mipmapping:   I liked it in some games that looked nicer without
                        mipmapping. :)


- Enable Glide-gamma ramp:
                        See section "Gamma Correction".

- Force VSync:      Forces at least one vertical retrace before buffer swapping.
                        Use this option if something gets too fast.

- Force Emulating True PCI Access:
                        see section 'Some techincal info'

- 16 bit depth buffer:  see section 'Tips'

- 3Dfx Watermark:       Enables displaying the 3Dfx logo during the app animation.
                        You need the 3Dfx splash dlls for this. If they are
                        missing, no logo will be displayed.

- 3Dfx Splash screen:   Enables splash screen at game/app startup.
                        You need the 3Dfx splash dlls for this. If they are
                        missing, no splash screen will be rendered.

- Pointcast Palette Driver Build:
                        see section 'Some techincal info'



Removed but (maybe) useful options:

- Screenshots:          Did not have time&mood to code it, but you can capture
                        the screen easily in other ways, I think. :)

- Force trilinear mipmapping:
- Autogenerate mipmaps:
                        Since no real texturing takes place in the emulation,
                        there is no way to generate mipmaps for a particular
                        texture. It would have to be done on-the-fly which is
                        impossible. Also, trilinear filtering would end up in
                        more complex shader code which is complex enough right
                        now.


- Texmem scaling to 4MB: It was specific to Red Baron 3D to be able to cache
                        more textures than with 4MB (to avoid texture corruption).
                        However uploading textures to the Voodoo TMUs are very
                        quick and virtually free now so I do not see the point
                        of scaling. No texture caching.


- Triple buffering:     Did not work well with some games. Also, it would not
                        fit well into the current implementation. Glide has
                        3 buffers of which one may be an auxiliary buffer.


7. Gamma correction
-------------------

A gamma correction curve can be set through the Glide interface. Since Glide
uses a linear curve by default it might not match the default or one's taste
and can look ugly (at least in the old days, I remember it looked ugly on CRTs).
For the standard see sRGB on google.

That's why the setup has the 'Enable Glide gammaramp' option: you can disable
the curve coming from Glide and let your monitor use the default.


*As taking a closer look into this, I realized that a linear curve is used by
the nowadays adapters by default but they probably post-calibrate it according
to the sRGB standard. So Glide's linear curve won't change anything to wrong.
I'm little confused about this. Back in the old days my real problem could be
that either brightness of my CRT was too high by default or sRGB was not
followed by the adapters therefore some gamma-adjusting game had really bad (pale
and really bright) look. I do not know it by now but won't remove the possibility
of disabling Glide gamma ramp. Test it on your monitor.


Color adjustments are supported in both fullscreen and windowed mode however
brightness is always calculated into the gamma ramp curve in fullscreen so
it has effect only if your adapter supports setting up gamma curves.


8. Some technical info
----------------------

Unfortunately Glide cannot be implemented in practice as a standalone API which
is completely independent on the underlying hardware. If someone looks through
the Glide SDK then it is clear that this API is suited for the 3Dfx Voodoo
hardware and its registers. However there are rules even in Glide (as in other
APIs too) that must be observed in respect of driving the API. An application
should never assume anything about the hardware being driven even if it knows
what hardware it is driving. The application should get all the info from the
API and keep the driving rules.
However in practice there are some application violating those rules very hard.
Since Glide provides free direct access to the frame buffer it is typical to
utilize the properties of a real 3Dfx hardware connected to the PCI bus. For
example, writing to the frame buffer while it was requested to lock for reading,
swapping buffers while one/some of the buffers are locked and assuming that the
mapped pointers of buffers remains unchanged, using 2048 bytes as frame buffer
stride, or drawing simultaneously by the 3D hardware and LFB writes through the
PCI bus even when a buffer was locked with idle 3D hardware mode.
Most of them can be workarounded easily but there is one case which can cause
performance drop if emulated perfectly. This case is the mentioned simultaneous
writing. dgVoodoo can emulate this usecase but you must enable it explicitly so
I reluctantly inserted an option into the setup, named
'Force emulating true PCI access'. This is the only technical option related to
the quality of the implementation. The only application I know it must be used
for is Carmageddon, so it would be a pity to have it pointlessly enabled for
the rest.

There is another strange option in the setup, namely 'Pointcast Palette driver
build'. Well, early 3Dfx hardware allowed separate texture palettes/ncc tables
for each TMU so this possibility was reflected in Glide 2.11 and 2.43. However,
latter 3Dfx hardware used a unified memory model meaning that only one global
palette/ncc could be set for all the TMUs. Glide3 don't even allow to set them
in any other way. The funny thing is that original Glide2 drivers internally
also forced the global palette/ncc thing despite the API allowed separate ones.
It was because of pushing the programmers towards the future hardware. But, maybe
there were drivers built for custom vendors with the capability of separate
tables. So if this option is enabled in the setup then such a driver build is
emulated. I don't think that any Glide application in the world requests such a
driver build so always keep this option disabled. It just makes the appearance
wrong if more than one TMU are used. This option is only for the sake of fullness.

dgVoodoo exposes the following capabilities according to the selected card
type:

................................................................................
Card type                   FBI revision    TMU revision     Glide3 extensions

? (unexposable via dgVoodoo)     1               0                 none

Voodoo Graphics (SST-1)          2               1                 none

Voodoo Rush (SST-96)             2               1              CHROMARANGE

Voodoo2                          2               1        CHROMARANGE, TEXMIRROR,
                                                                PALETTE6666

Voodoo Banshee                   2               1        CHROMARANGE, TEXMIRROR,
                                                                PALETTE6666

Other (greater)                  3               2        CHROMARANGE, TEXMIRROR,
                                                          PALETTE6666, FOGCOORD,
                                                          TEXCHROMA
................................................................................


9. Tips and known issues
------------------------

-  Forcing things (like resolution, antialiasing, texture filtering, etc) is
   not a healthy thing. If an application or game uses low resolution or point
   sampled textures or anything dissonant to the eye then it has reasons for
   that. It is not because the programmers were so lame but of avoiding artifacts
   that would otherwise get brought in (typical example is a bilinear filtered
   texture with colorkey based transparency). If you force anything then
   potentially get one of those artifacts. If you can live with it then it is ok,
   use the wrapper in forced mode. If not then disable all forcings and use the
   particular game or application in the mode it was designed for, because no
   general method exists to fix such type of artifacts.

-  Forced trilinear texture filtering is not available in this wrapper version
   but an application can implement it by 2 drawing passes if one TMU is used.
   If more than one TMU are enabled then it can be done by one pass. Since
   more TMUs are generally used for drawing the same as with one TMU but with
   less passes, enabling multiple TMUs can be useful even if the gpu is loaded
   with heavier shader code. It depends. Try out both cases.

-  Keep in mind that not all Glide application are usable in windowed mode. Some
   of them behave very well while others may not at all. Since they were
   designed for an environment with one monitor and exclusive fullscreen display,
   an application can get minimized or simply quits when its window loses the
   focus. Also, they may capture the mouse into a fix area and you cannot even
   move the game window. Or worse: if this fix area is hardcoded and (so) is on
   the primary monitor then you can play the game only on the primary monitor even
   in fullscreen mode. dgVoodoo tries to workaround these cases by hiding some
   events from the application but generally it is not enough.

-  Controlling antialiasing cannot be done on per-primitive basis in Direct3D 11
   when feature set larger than 10.0 is used. That is why antialiased drawing
   is not emulated automatically in this version in any way (per-primitive or
   per-edge). It can only be forced globally in the setup.

-  Fullscreen gamma ramp may not be supported by your card. nVidia and ATI seem
   to handle it as expected but (e.g.) Intel does not.

-  When an application is being run in compatibility mode (Win98/XP etc) then
   the user's application data folder is different than the OS default.
   Therefore dgVoodoo cannot read the global config file and the default
   config gets applied if no local config file is present. The preferred way
   is creating a local config for such cases if other than the default needed.
   (Perhaps using the user's appdata folder is not a too good idea after all,
   I might change it later.)

-  DosBox issue: if I got it right, Gulikoza's solution (which is great! Finally
   I could play Tomb Raider with my own wrapper :), but I use Ykhwong's build)
   cannot handle embedded frame buffer locks and assumes something about the lock
   stride. If dgVoodoo uses 2048 bytes as stride (it should because a real voodoo
   also uses 2048 for 16 bit locks and 4096 for 32 bit ones) then roughly only the
   upper half of the screen is visible. That is the only reason of that this build
   of dgVoodoo does not use 2048 bytes stride (in Glide2x).
   Extreme Assault both applies embedded buffer locks and hard-utilize 2048
   byte stride so this game does not work right.

-  Emulating PCI access is optimized for applications locking and accessing the
   LFB very frequently (per frame). Altough it provides faster lfb data access than
   doing the normal way, I cannot recommend to use it in general for all apps.
   Due to nature of the technique used it can cause slowdown in applications
   that access the lfb "regularly", so that once or twice per frame.
   Carmageddon 1 and Pyl are the only cases where it has to be used, afaik.

-  A strange case: when I tried to run a Glide based scene-demo, TBC,
   it always crashed at a certain point due to stack overflow. I had to
   manually grow the reserved stack size of the exe file to get it to run.
   Probably a real 3Dfx driver required smaller stack than a Direct3D11
   based driver.
   (http://xona.com/tobecontinued/)

-  I run into a problem with NFS 3 Hot Pursuit: ugly z-fighting which is most
   noticable with projected headlights. This game does not use depth bias
   but utilize the inaccuracy of the 16 bit voodoo depth buffer when rendering
   polygons onto each other (I'm not sure if it was intentional or just a bug).
   If an app uses z-buffering then using a 16 bit depth buffer in the emulation
   provides the correct and exact mapping of the z values, like on a real Voodoo.
   And so NFS3 HP also works well with a 16 bit depth buffer. I was thinking on
   how to workaround this problem or automate this mechanism but found no way.
   So, reluctantly again, I exposed this into an option in the setup...
   This is the second option related to the quality of the implementation,
   aaaarrghh.


10. Closing words
-----------------

As for a completely new version of any piece of software, there are always
bugs in that, no matter how carefully it was coded. So, of course I'm sure
there are bugs in this version of dgVoodoo as well. They are intended to be
fixed in some new dgVoodoo releases until the wrapper does not get mature
(I didn't do extensive tests, especially on Glide3).

Despite the fast coding (recent 4 months or so because I wanted to finish before
the end of the world (epic failed) meanwhile still drink a lot of beer
(epic succeeded)) I was careful: I applied the DX11 debug layer all the time
to trace down any bug or API-misdriving and did not use any card-specific
feature but the ones feature level 10.1 guarantees.


11. Change list
---------------

2.13:   - Improved PCI emulation for LFB access: heavy lfb-lockers like Carma1 or Pyl
          SHOULD run much smoother now (see Tips for more)
        - Glide3 fixings: bad color order with packed RGBA, uninitialized texchroma state
        - General glide fixings: bug in glide setstate and clip rectangle
        - Missing feature "fog with iterated z" is implemented along with minor shader
          modifications
        - Support for splash screen and shameless plug: dgVoodoo needs the 3Dfx splash
          dlls to get it working (3DfxSpl2.dll, 3DfxSpl3.dll, all with version 1.0.0.4),
          however I did not include them in the core dgVoodoo pack
        - Minor modification for DosBox
        - TMUnum selector combobox is fixed, I fcked it down last time

2.12:   - More shader optimizations: most critical ones are reduced to 90% in size again
          (So, by now, their size are 65% of the original. I hope I have not messed up
           anything with them.)
        - Optional 16 bit depth buffer (see Tips for why is that)
        - Some fixings in Glide3 thanks to some unexpected API-driving (scene demo Virhe)
        - Some bugs related to maintaining/switching/handling windowed/fullscreen state
          are fixed
        - Voodoo2 with 1 TMU is no longer selectable in the setup; A Voodoo2 always have
          2 TMUs and it is the default now because shaders are optimal enough now to
          handle 2 TMUs

2.11:   - Refactoring GPU querying to get it to work with ATI drivers
          (ATI does not seem to handle them correctly, my code was always fooled into
           infinite loop at a certain point)
        - Further shader optimizations: most critical ones are reduced to 90% in size
        - Minor cursor-issue related to losing window focus, fixed

2.1:    - Potential stalling rendering (even on fast GPUs) when switching screen modes, fixed
        - Shader optimizations: most critical ones are reduced to ~80% in size
        - Ability to configure running Glide wrapped applications dynamically
          (see section 'Configuring')
        - Different exposed capabilities according to the selected card type
        - More Dosbox compatibility
        - Bug in gammaramp handling, fixed
        - Bug in fogtable generating code, fixed
        - Bug in PCI access emulation, fixed
        - Forced vSync is enabled by default to avoid overkilling the GPU with
          wild-rendering applications

2.01:   - Undrawn polygons when updating TMU memory, fixed
        - Potentially bad drawing of strip-primitives in Glide3, fixed
        - Malfunctioning LFB lock with 32bit formats when PCI emulation is
          enabled, fixed
        - Fullscreen/Windowed state was not always remembered between
          Glide-initializings, fixed

2.0:   The original version


Have luck,

Dege

http://dege.freeweb.hu/


edit: ale ta esoteria stale nic. :roll:
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

Re: Glide wrappers

Příspěvekod Ren » čtv bře 14, 2013 7:26 pm

No jo, kdyz ja cekam jenom na ni.:-) Uz jsem davno ztratil nadeji, ted jsi akorat znovu zazehl plaminek.:-)
Uživatelský avatar
Ren
VIP
 
Příspěvky: 2745
Registrován: pát srp 13, 2004 10:54 am

Re: Glide wrappers

Příspěvekod ps47 » čtv bře 14, 2013 7:35 pm

ja na nu snad vypisem odmenu alebo co.
3Dfx Help Page / 3Dfx Game Guide
ObrázekObrázek
Pain is temporary...Support is forever.
Uživatelský avatar
ps47
Moderátor
 
Příspěvky: 8005
Registrován: čtv dub 29, 2004 7:48 pm
Bydliště: SK,BA

PředchozíDalší

Zpět na SW diskuse o 3DFX

Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 1 návštěvník

cron