![this game requires shader model 3.0 this game requires shader model 3.0](https://lasopawing828.weebly.com/uploads/1/2/6/9/126957499/281058910.jpg)
Having to remove some graphical effects because of the register and texture sample limits. I spent some time making sure the HLSL files compiled without problems on a SM 2.x target. Do so numShaderFiles times and you've extracted all the HLSL files.
![this game requires shader model 3.0 this game requires shader model 3.0](http://www.simhq.com/_technology/images/SCCT_image5.png)
After having read the file size, create and write the next fileSize bytes to the new file. Where fileName is the wide string file name of the file entry. Int fileSize // size of the HLSL text directly after Short fileName // size of short * fileNameLength
![this game requires shader model 3.0 this game requires shader model 3.0](https://i.pinimg.com/736x/cc/41/f3/cc41f32e8a20a6f655ecc294a5f39872--free-games-pc-games.jpg)
Int unknown // might be a timestamp or some reference for use in a shader tool? With a little thinking it is quite easy to figure out the file entry structure: Reverse engineering the SPK format there seems to be a file header of 8 bytes:Įach plain text HLSL entry seems to be preceded by a file entry header:Ġx0008: AmbientDistortion.hlsl:Đ1 00 00 00 7d a9 8d 46 16 00 00 00 39 12 00 00Ġx127d: Base.hlsl: 01 00 00 00 85 30 97 46 09 00 00 00 A8 0c 00 00Ġx1f47: Canvas.hlsl: 01 00 00 00 9a f5 8a 46 0b 00 00 00. The precompiled shaders are only used for reducing the map load time and can be ignored while hacking the shaders. HLSL ShadersīioShock shaders can be found in plain text in the shaders.spk (shader pak?), and the precompiled shaders for DX9 and DX10 can be found in the files with the pcs (precompiled shaders?) and pcs10 extensions respectively. There are a lot of people with shader model 2.0 cards that want to run BioShock and it was on one of the BioShock forums I found that it is possible to modify the shaders. Not unexpected as the graphics card is a SM 2.0b card. It did run, no warnings about graphics card requirements during startup, but there were some major graphical corruptions seen once I started a new game that ruins the immersion a lot.
This game requires shader model 3.0 install#
BioShock Shader Model 2.0 Hack Arne Olav HallingstadīioShock requires a shader model 3.0 card, but I couldn't help myself to try to install it and see what happened on my A64 3200+ with an ATI Mobility X700.