Difference between revisions of "SkyGfx"

From GTAMods Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
== GTA San Andreas ==
 
== GTA San Andreas ==
 
<div class="thumb" style="overflow-x: auto;"><div class="thumbinner" style="width:877px;">
 
<div class="thumb" style="overflow-x: auto;"><div class="thumbinner" style="width:877px;">
<div class="thumbimage">[[https://i.ibb.co/0CqGP93/SkyGfxSA.png|873px|From top left: default, PS2, Spec, Xbox, Mobile, Env, LCS, VCS]]</div>
+
<div class="thumbimage">[[File:SkyGfxSA.png||873px|From top left: default, PS2, Spec, Xbox, Mobile, Env, LCS, VCS]]</div>
 
<div class="thumbcaption">From top left: default, PS2, Spec, Xbox, Mobile, Env, LCS, VCS</div>
 
<div class="thumbcaption">From top left: default, PS2, Spec, Xbox, Mobile, Env, LCS, VCS</div>
 
</div></div>
 
</div></div>

Revision as of 05:18, 24 March 2021

SkyGfx
Developed by:User.pngThe Hero
Supported games:GTA III Vice City San Andreas
Website:GTA Net GTAForums topic

SkyGfx is a plugin for GTA III, Vice City, and San Andreas that brings accurate PS2 and Xbox graphics into the PC version. The INI files are plain-text files that contain customization options (see below for details). Line comments are indicated by the character ; (semicolon), meaning the plugin will ignore an entire line if there is a semicolon character placed at the beginning of the line. For most options, if the option has no value at all or its line removed or commented out completely, the plugin will not hook the code for that option. A value of 0 still allows the plugin to hook the code so that it can be toggled in-game.

GTA San Andreas

From top left: default, PS2, Spec, Xbox, Mobile, Env, LCS, VCS
From top left: default, PS2, Spec, Xbox, Mobile, Env, LCS, VCS

Files

If you are using Silent's ASI Loader:

<directory>
| data
| | colorcycle.dat
| models
| | Mobile_details.txd
| | texdb.txt
| neo
| | carTweakingTable.dat
| | neo.txd
| skygfx.asi
| skygfx1.asi (PS2 style config)
| skygfx2.asi (PC style config)
| skygfx3.asi (Mobile style config)
| stream.ini

This section is incomplete. You can help by fixing and expanding it.

GTA III and Vice City

From left: default, texblendSwitch switched on, neoCarPipe switched on
From left: default, texblendSwitch switched on, neoCarPipe switched on

Files

If you are using the Ultimate ASI Loader:

<directory>
| scripts (create this folder if it does not exist)
|  | neo
|  |  |- carTweakingTable.dat
|  |  |- neo.txd
|  |  |- rimTweakingTable.dat
|  |  \- worldTweakingTable.dat
|  |- skygfx.asi
|  \- skygfx.ini
|- d3d8.dll
|- dinput8.dll (Ultimate ASI Loader, can be renamed to a number of other names if another mod uses the same file name)
|- gta3/gta-vc.exe
\- rwd3d9.dll

If you are using Simple DLL Loader:

<directory>
| dlls (create this folder if it does not exist)
|  | neo
|  |  |- carTweakingTable.dat
|  |  |- neo.txd
|  |  |- rimTweakingTable.dat
|  |  \- worldTweakingTable.dat
|  |- skygfx.dll
|  \- skygfx.ini
|- d3d8.dll
|- dinput8.dll (Simple DLL Loader, can be renamed to a number of other names if another mod uses the same file name)
|- dlls.cfg
|- gta3/gta-vc.exe
\- rwd3d9.dll

dlls.cfg must contain this line for the above directory tree: dlls\skygfx.dll. With Simple DLL Loader you do not have to strictly follow the above directory tree; you can customize the path and file names.

The neo folder along with its contents can optionally be placed in the main game directory instead, except if you are using the Mod Loader. Mod Loader uses skygfx.asi.

Settings

You can tweak the settings of the plugin in the plain-text skygfx.ini file. Note that some settings are commented out by default. You have to uncomment them by removing the starting ; (semicolon) for them to have an effect.

Option Values Description
replaceDefaultPipeline 0 1 Replaces the default d3d8 RW pipeline by one that is very close to the default Xbox pipeline. Enabling this will fix bugs happening to objects with transparent vertex colors.
ps2Loadscreen 0 1 Randomizes the loading screen like the PS2 version. If you have Open Limit Adjuster, you must use v1.5.6 or above for this option to work.
texblendSwitch 0 1 Selects which texture blend effect for MatFX environment mapping to use. This option can be toggled in-game through a key set in the texblendSwitchKey option.
texgenSwitch 0 1 Selects which texture coordinate generation method for MatFX environment mapping to use. This option can be toggled in-game through a key set in the texgenSwitchKey option.
dualPass 0 1 Draws almost all transparent geometry in two passes to reduce alpha bugs.
ps2FootSplash (GTA III only) 0 1 Enables PS2 foot splash effect. For this option to have an effect, the particle.cfg file needs to be modified to use the PED_SPLASH line from PS2. To do this, open the file and search for PED_SPLASH. By default, you should see a grouping of four PED_SPLASH lines with the first, second, and fourth ones commented out while the third isn't. Comment out the third one and uncomment the second one.
disableBackfaceCulling (Vice City only) 0 1 Disables backface culling like on the PS2 version.
neoCarPipe 0 1 Selects whether to use Xbox-like car reflections; requires d3d9. This option can be toggled in-game through a key set in the neoCarPipeKey option.
envMapSize * Sets the size of the reflection map used for Xbox car reflections.
neoRimLightPipe 0 1 Selects whether to use Xbox-like rim lighting on peds; requires d3d9. This option can be toggled in-game through a key set in the neoRimLightKey option.
neoWorldPipe 0 1 Selects whether to use the Xbox-like world pipeline; requires d3d9 to work properly, but there is a fallback for d3d8. This will only have an effect if you actually use objects that have lightmaps. This option can be toggled in-game through a key set in the neoWorldPipeKey option.
neoGlossPipe 0 1 Selects whether to use the Xbox-like gloss pipeline for roads; requires d3d9. This option can be toggled in-game through a key set in the neoGlossPipeKey option.
neoWaterDrops 0 1 Draws Xbox-like water drops.
neoBloodDrops 0 1 Draws Xbox-like blood drops. This option requires the neoWaterDrops option to also be enabled.
texblendSwitchKey * Switches texblendSwitch (0x76 = F7)
texgenSwitchKey * Switches texgenSwitch (0x77 = F8)
neoCarPipeKey * Toggles neoCarPipe (0x75 = F6)
neoRimLightKey * Toggles neoRimLightPipe (0x74 = F5)
neoWorldPipeKey * Toggles neoWorldPipe (0x73 = F4)
neoGlossPipeKey * Toggles neoGlossPipe (0x7B = F12)
VCEnvFrame (GTA III only) 0 1 Uses the Vice City MatFX environment map frame where the reflections depend on the camera with PC texture coordinate generation
IIIEnvFrame (Vice City only) 0 1 Uses the GTA III MatFX environment map frame where reflections don't depend on camera angle even with PC texture coordinate generation
YCbCrCorrection 0 1 Allows color tweaking in YCbCr space
lumaScale * Requires YCbCrCorrection to be set to 1
lumaOffset * Requires YCbCrCorrection to be set to 1
CbScale * Requires YCbCrCorrection to be set to 1
CbOffset * Requires YCbCrCorrection to be set to 1
CrScale * Requires YCbCrCorrection to be set to 1
CrOffset * Requires YCbCrCorrection to be set to 1

There are notable changes that SkyGfx makes that are not available as options. In GTA III, texture lookup falls back to generic.txd and player skins are set to use linear filtering. In Vice City, the blend mode for both the PSG-1 (.308 Sniper) laser dot and the auto-aim crosshair are corrected and aiming with a sniper rifle enables motion blur if the trails setting is switched on.

External links