Bioshock - by mana84
Last updated on March 05, 2013:
- more shaders fixed
Description:
- Smoke and fog effects are fixed
- Lighting and shadow issues are fixed
- Water effects are fixed
- Reflections and refractions on glass surfaces are fixed
- Added 3d crosshair (based on real depth values)
- 3D HUD
The game had a lot of 3d stereo issued shaders, I've fixed thousands of them and I believe the fix should be 100% complete now... make me know in case of other issues.
Known issues:
The moon skybox in the very first scene of gameplay appears to be a little nearer than it should be.
How to install/play:
- Extract "Bioshock_fix.zip" archive in your "..\Bioshock\Builds\Release\" directory of the game, i.e. for steam version it's "..\Steam\SteamApps\common\Bioshock\Builds\Release\".
- Start the game in DX9, i.e. create a shortcut for bioshock.exe, go to properties and append "-dx9" to the destination field. If you have steam version, you can right-click on the game, click on properties->general->set launch options and add "-dx9" in the field.
I - key switches(cycle) HUD depth (3 variants).
U - key switches (cycle) depth presets (3 variants).
If you want to save your custom convergence settings press "U" and select required preset, set custom separation/depth settings , then press F7 and your settings will be saved in the config file.
Download:
Bioshock_fix.zip
Many thanks to Helix for adding a real 3d chrossair, 3d hud, and improving shadows; and to Schmeltzer, mike_ar69, birthright and foreverseeking for supporting/testing!
Thank you very much mana84, this game is awesome, and now in great 3d it's sooooo cooool.
ReplyDeleteThanks for your work on this game.
nice one! thanks mate!
ReplyDeleteDude, this is so awesome! Can't wait to give it a go. Thanks for taking the time, you have my gratitude.
ReplyDeletethanks mana!! amazing work!!! yesterday i play a bit and looks fantastic. only issue i found its dynamic shadows, still look rare, are 3d but rare (i increase convergence to hand/weapon and have 1.1 version of the game - last update). i recommend people use sweetfx with this game, looks awesome!! 3D fix + sweetfx = other game. Thanks again mana.. .definitely i will play this game again to the end.
ReplyDeleteGreat work Mana84 !
ReplyDeleteDon't you mind if I will make few improvements(like full shadow fix for any convergence ) ?
Np, feel free to make all improvements you like! ;)
DeleteThanks !
DeleteDone :)
Wow Helix you're superfast! :)
DeleteGreat work! Thanks!
I'll look at your improvements, I hope I can understand and learn what you've done..
I just restored original position of the vertex (In other words make shadows look 2D. Did it in PS, because I'm too lazy to search VS) and move it based on the depth value from the depth buffer.
DeleteShadows use value from the depth buffer for casting, so we should use the same values for offset.
Thanks for explanations! That perfectly make sense!
DeleteMy most anticipated game to be 3D modded...and you opened that can...sweet! Thanks Mana for getting the ball rollin (and Helix if you get to fix them shadows). You guys rock!
ReplyDeleteUpdated !
ReplyDeleteShadows should be 100% fixed.
Added presets and 3D HUD and 3D crosshair(dynamic like in Dishonored).
Helix, how many hours does it take to fix a game (on average) ?
ReplyDeleteIt depends on the game.
DeleteAlien marines fix took about 2 hours in total(with all updates).
Prototype 2 took a bit longer.
Of course it depends from your experience too! ..and from what you're using to fix shaders.. for a game like this, fixing files one by one would take ages :) ...I've identified the pattern needed for bioshock shaders and I've written a java tool to make it fix automatically for me (I believe Helix is using scripting too). Last but not least, sometimes bugs arises and you lost more time...
DeleteBtw it took days of work with bioshock for me, but it could have taken less time if I had discovered I missed to dump some pixel shaders with the first one.
Hi guys. I noticed that Helix (or maybe Mana84?) modified 11ACE2E.txt to include an IF:
ReplyDeleteif_eq r0.w, c220.w
mul r0, r0, c220.x
endif
What happens now though is that whenever I look out the windows from a distance, the backdrop is no longer out at a far distance, it's always rendered 'inside' the room, which was the original problem.
What was the reasoning for adding in the IF? I've commented it out for, so hopefully it wont break anything else.
Thanks.
Ops sorry I completely forgot about it... I wanted to test that file before release but I didn't. The rescaling was good for those distant buildings (sort of skybox), but it broke other effects like the lighting on the doors of the medical pavillion. I should separate the skybox texture from other effects... I'll give a look at it later on today.
DeleteHi, I think I just posted my comments below at the same time. Anyway, some more info in the note below. Thanks!
DeleteBit more info on my previous comment:
ReplyDelete- using the new Release DLL, the above 11ACE2E.txt fix does not work, whether the If statement is there or not. The outside distant buildings render at or inside the windows depth (depending how close you stand to the windows)
- using an old Debug DLL, the above fix does not work with the IF statement
- using the Debug DLL, it does work if I remove the IF statement, i.e. the distant buildings outside appear to be at infinity.
Unfortunately, if I use an older DLL, Helix presets don't work, and therefore I am not sure what else might not work either.
It seems like this fix is tied to the presets because I noticed the outside canopy changing depth with the presets as I cycled through them.
I put the if statement just becouse I believed those buildings were rendered at screen depth and they contained 1 in 'w' but I didn't test this and I forgot to becouse I left this apart for a moment..
DeleteI still didn't look at Helix presets though, I'll give it a look as soon as I get the time.
if you just remove the if statement it will work for buildings but will cause issues with doors in the medical pavilion.
DeleteRename "11ACE2E.txt" to "011ACE2E.txt", should work in this case.
DeleteThanks for suggestion! I didn't noticed I left a copy of the file with 7 chars and added a copy with 8 chars.
DeleteFix updated, delete your old shaderoverride folder, redownload the archive and extract it. I've separated that skybox by its texture crc and it works correctly now.
ReplyDeleteThe file "011ACE2E.txt" was already present but there was a "11ACE2E.txt" too (that was wrong becouse names must be 8 chars long). I've edited "011ACE2E.txt" and the DX9Settings.ini and reuploaded the archive.
And I've deleted "11ACE2E.txt" of course.
DeleteWow - fast work! Great job. I know there is an explanation somewhere, but how do you go about identifying which textures are used in the shader? This would solve the outside Moon problem as well :-)
ReplyDeleteUnfortunately it won't help in that case (I've tested)... I can't find the needed moon shader (I believe the "D6DC4114.txt" we discussed about in nvidia's forum isn't the needed one).
DeleteAlthough other users said me that skybox is only visible in the very first minutes of gameplay. Just to be clear to anyone, the issue we are talking about is the skybox of the first scene of gameplay, it appears to be a little nearer than it should be. I'll add it in the "known issues".
You can check texture crcs in texturelog.txt after pressing f12 while using debug dll... here is Helix guide: http://helixmod.blogspot.it/2012/03/dlls-update.html
@Helix:
ReplyDeleteI've just tested a little more your proper 3d crosshair you made an awesome work and I believe it's really perfect now! I had never tested before becouse still I don't have the latest games you fixed. I'd like to add it in my next fixes too if it's fine with you... could I download your newest dll somewhere? Thanks a lot!
Anyone help, I can't get this working on Gamefly edition, thanks in advance
ReplyDeleteHello,
ReplyDeleteThanks for this but I have the steam version and nothing happens. Shaders are still broken and "i" and "u" keys doesn't work at all. I'd extracted this to "steam\SteamApps\common\bioshock\Builds\Release" and deactivated the dx10 option in the menu.
help ?
Make a shortcut of bioshock.exe and add in the end "-dx9" (without quotes)
DeleteThanks DHR!
DeleteDisabling dx10 in the game menu isn't enought indeed and this could be confusing. I've just updated the description so more users can read ;)
Thank you !
DeleteMany Thanks fellas!!!
ReplyDeleteI have an issue in Neptune's Bounty. In the main hub I get some wierd lighting on a certain texture that looks like it's using parallax occlusion mapping. I can take screens, but I don't know which program I can use to take them. I know I'm definitely using DX9.
ReplyDeletethanks for reporting, I'll give it a look this evening/night
DeleteNo problem. If it truly is an actual issue with the 3D fix, you'll notice it right away after the first couple rooms in the chapter. If you don't see it, then it's my PC or something.
DeleteI've just reached the part and identified the lighting issue, its caused by the fact in that area some surfaces are using others pixel shaders that are still not present in the fix... I really don't understand why they didn't dumped before by the debug dll. I'm addressing to them now, I'll update the fix soon.
DeleteIssues are gone ;) ...just redownload the fix!
DeleteSweet. You're the man!
DeleteThanks for all the work on this DHR and Helix. I have wanted to replay this game in 3D for a long time!
ReplyDeleteMana84/helix
DeleteOops, sorry about that. Thanks Mana84!
Delete*distracted by Katy Perry on tv....*
Well all know that feel, brother.
DeleteSeriously... A massive thank you to mana84, and for Helix for any help assisting him and in getting the fix published on your amazing website. You guys are carrying Nvidia 3D right now!
ReplyDeleteMana and Helix, you guys are incredible!
ReplyDeleteCongratulations for the fix, many thanks for your hard work for us stereovision junkies :-)
Any idea if Bioshock Infinity will have good 3D? Or, if not, any idea if it would be in theory fixable?
Thanks
Its DX10/11 so unlikely. Only place that will mention what it looks like before release is nvidia profiles but they are unreliable.
DeleteBest place to mention you want support is on the "petition" 3d vision people started.
http://forums.2kgames.com/showthread.php?205736-PC-3D-Vision-Support-please!&p=2672986#post2672986
Thank you Eqzi for the reply.
DeleteYeah, I know, I'm lazy, I could surely find answers to my questions on the web.
It's just that you guys have such a great site, I always come here ... and expect information on other games as well, not only fixes.
But you are right, normally those discussions are on the nvidia forums mostly, or the official game forums.
Cheers
Just out of curiosity (and this isn't a request), why have you guys chosen to ignore some of the more high profile games out there (or at least the ones that came before S3D was popular). I'm talking about Some of the shaders in Half-Life 2, Crysis, the S.T.A.L.K.E.R. series, etc... Obviously you guys are doing us a huge service already and I am definitely not demanding anything. Just curious.
ReplyDeleteI'd still like to fix a lot of games I didn't yet... but I'd need more free time. Although fixing games can be a lot time consuming for me (maybe a little less for Helix), sometimes you believe you've fixed a game but new bugs arises while playing.
DeleteHowever I'm giving priority to titles I missed and still have to play, or eventually to a game I bought but I wouldn't play it without 3d vision, or sometimes just to a popularly requested title. Last but not least I'd like to play something from time to time becouse this is not my work ;)
Mana84 has a HL2 WIP actually... He has posted a link somewhere in the forum here https://forums.geforce.com/default/topic/513190/3d-vision/how-to-fix-disable-shaders-in-games-dll-guide-and-fixes-
ReplyDeleteThe STALKERS are all a bit different, I looked at them a while back to find shaders I could disable. One of them works quite well in 3D, one is awful, but I can't remember which is which. I do agree though that sorting this series out would be great - unfortunately I do not have the skills/knowledge :-(
I agree it would be good to Crysis (if possible) by way of showing what C2 and C3 could look like if Crytek did it properly in the first place. I can only assume there must be a reason this one has never been fixed i.e. people tried and decided it could not be fixed...
Fix updated with other pixel shaders! This solves lighting issues in Neptune's Bounty.
ReplyDelete@Helix: some pixel shaders didn't dumped by your debug dll before... how could it be? I'm using the dll dated December 2012..
Hate to keep being that guy but I have a couple more issues to report. In Arcadia there are more of those weird lighting shaders, in the main hub. I can keep reporting these if you like since I'm currently replaying Bioshock. I have no issues at all with completing the entire game again.
ReplyDeleteNo problem ;)
DeleteI believe I've just understood what's happening with this game... every level loads some new shaders and so to be able of dump all the needed shaders, I need to load every level and execute a new dump each time (and fix the new shaders).
Fix updated with new shaders! Make me know if you'll find other issues!
For some reason, I can't extract the zip. I get WinRAR error messages ("Cannot create d3d9.dll Access is denied). There's a whole bunch of them. I have the CD version. Any ideas on how to fix this ?
ReplyDeleteHave you tried to extract temporarly into another folder and then move the files in the game's directory? Do you updated to the last patch? (I believe it's needed)
DeleteMana84,
ReplyDeleteThanks for the advice. I patched to 1.1 (that's the last one, right ?) and extracted the zip in another folder before moving them to the game folder (I have Win 7 64, and the game is in the x86 folder). However...well, it doesn't seem to work and I know this because pressing "I" or "U" does nothing (no presets)... Damn, and I was so looking forward to this !
Game must be launced in DX9 mode. DX10 surface effects in options will be grayed out if dx9 is in effect.
DeleteStart the game in DX9, i.e. create a shortcut for bioshock.exe, go to properties and append "-dx9" to the destination field. If you have steam version, you can right-click on the game, click on properties->general->set launch options and add "-dx9" in the field.
Then make sure folder layout is as follows..
Bioshock\Builds\Release\d3d9.dll
Bioshock\Builds\Release\dx9settings.ini
Bioshock\Builds\Release\shaderoverride\
If you start the game and then alt tab. And delete d3d9.dll and it lets you. It is not in in effect.
DeletePlease either make sure installed in right location, dx9 is active, or reinstall latest version of DX9
Thank you! And you can pull weapons out of the screen? It is too deep inside the screen ...
ReplyDeleteYou can switch different depth/convergence profiles by pressing 'U' key while ingame. If you like to change a profile with custom settings, you should enable "advanced settings" in nvidia's control panel (right-click on the desktop, open Nvidia control panel, hotkeys) so you can press ctrl+F6 to increase convergence (pop-out) or ctrl+F5 to decrease it (pop-in). Then if you want save your settings, press F7 and they will be saved in the config file.
DeleteYou do not understand ... I mean, that depth does not match the depth of weapons of the world. Distance weapon to the ground is very small. If not standing, and sitting. This problem was in BORDERLANDS 2. Can you fix it?
DeleteThis has to do with FOV in most cases Ive found out. Increasing FOV brings world closer to you but gun is at same poistion. So increasing FOV will make gun seem at smaller depth. Try lowering FOV a wee bit.
DeleteFix updated with other shaders fixed.
ReplyDeleteHello,
ReplyDeleteThank you for your excellent work.
Could someone suggest a solution for a problem I have, which is that when I add -dx9 to the launch options the frame rate drops to about 1 frame every second. The image looks fantastic but it updates that slowly that I can't control the mouse in the menus to exit the game. I've tried lowering all the settings to the lowest it will go but that doesn't stop it happening.
That's strange, never happened to me... what's your hardware? Does it happen even without the fix?
DeleteG'day
DeleteYes even without your fix it happens. If I use the show/hide stereoscopic effects key to disable 3d it runs fine.
I have a Intel I7 2600k CPU 3.4 ghz, 16GB ram, a GTX 580, VG278H, Win 7 64bit and it's a steam version of Bioshock.
Thank You very much for your work and assistance.
Just thought I should report that Hephaestus' skybox renders at screen depth.
ReplyDeleteOk thanks, I'll give it a look this evening ;)
DeleteArchive updated with Hephaestus' skybox fixed!
DeleteSweet! I can now continue my trek through Rapture.
DeleteWater reflections incorrect in Fort Frolic Flooded basement.
ReplyDeleteDon't know how anal you are going to fix this game, but considering this room is only a small room to aquire a tonic, it's not really so important
Would you like us to report all oddities mana84, or just serious ones?
Also found the water reflections leading up to Hephaestus are incorrect ;-)
DeleteHephaestus core even.
DeleteScratch that, it seems to be the usual suspect (water fountain) that has caused incorrect reflections earlier in the game also. I get the feeling this is due to how to game renders?
DeleteHi Foreverseeking! Thanks for reporting, please could you share a savegame/s near issue/s? Thanks!
DeleteI have done that, how can I send it to you?
DeleteI've just sent you a PM with my email.
Deleteminor bug: light reflection is 2D in Olympus heights bar.
ReplyDeleteminor bug: polar bear Olympus heights Fontain's apartment (funky shadows)
Deleteminor bug: Olympus Heights Light above medkit on path to mercury suite showing on one eye not the other.
DeleteJust completed the game, wow, thankyou mana84. It's virtually perfect. Could not detect a single graphical glitch since my last report. so other then minor visual disturbances around water ripples cased by waterfall etc (incorrect reflections) polar bear and medkit it was perfect.
DeleteThose minor bugs I would leave if I were you, unless you know you can fix them all quickly and easily. The incorrect reflections in the flooded basement is a little more moderate 'bug' but it's literally a room for 1 tonic and nothing else.
Thanks again, that was a true pleasure to play through in 3D!
you're welcome, I'm glad the fix worked pretty well for you... please if/when you have the time to send me a savegame near the issues I'll try to fix the remainig issues too. Thanks in advance!
DeleteThank you for this fix ! Do you think do the same thing for Bioshock 2? it would be great :)
ReplyDeleteNobody to answer this question ? :(
DeleteSorry I was a little busy lately... I'll give a look at Bioshock 2 too ;)
DeleteThank for answer; I hope it would be fix too :)
DeleteHave you looked finally bioshok 2? I have tested and there are many bug related to 3D :(
DeleteFix updated, thanks @foreverseeking for his savegames ;)
ReplyDeleteHi Could you please attempt a 3d fix for Strike Suit Zero Much appreciated if you are able ( looks shit in 3d!)
ReplyDeleteThanks for the fix. Everything looks great. I am having one issue though maybe someone could help me with. I used the hex converter to set the HUD back (0x3f800000) since text was still doubled. The text looks great now, but the arrow up top that points you in the right direction is doubled now. It looks like it set everything back but that. Is there somewhere in the options that i can edit to set the arrow back too? Thanks
ReplyDeleteI remember playing this soon after I got my setup (must have not been fixed). In 3D it seemed to feel like you were about 3 feet tall. I wonder how the fix will affect that. I'll have to revisit this one. Thanks!!!
ReplyDeleteMight be due to field of vision. (Game has console fov)
DeleteGo here http://forums.steampowered.com/forums/showthread.php?t=2465816
After installing the fix, the game crashes on startup. I disabled Steam Overlay but still no help.
ReplyDeletehttp://helixmod.wikispot.org/How_To_Install
DeleteMany thanks for your efforts, Mana. A fantastic game which you now made even more fabulous, if it was even possible!
ReplyDeleteI'm playing and will provide feedback. The only small thing I've spotted so far is that the very nice 3D weapon crosshair disappers when I use the zoom. It reappears after a while (cannot say exactly if it reappears by itself after a fix number of seconds or if I need to move the mouse to look around).
So I totally avoid using zoom, and I'm not sure if by doing this I lose some weapon accuracy - but I don't care, I prefer stealth anyway :-)
Thanks again for your 3D fix, it is immensely appreciated.
Hi there!
ReplyDeleteFirst of all: thanks for all the work and effort you put into these fixes, I'm new to 3d vision and really happy about the increased number of properly working games thanks to you.
Unfortunately, I can't get this particular fix working. After inserting the fix files, Bioshock won't start in dx9 mode (appcrash, stopped working). Without the files, dx9 mode runs flawlessly. I have already disabled the steam overlay and any other possibly conflicting software according to your guide.
Any suggestions? (steam version on win7 x64 with 3d vision 2)
Nevermind, I don't really know what is was, I only know that somehow a reboot or some other meaningless action must have fixed it ;)
DeleteApparently Trillian (im client) now has ingame overlay and was running in the background, must have been it.
Deletenp. Thanks for letting know.
DeleteWow, thank you for this! I am really enjoying my late first playthrough
ReplyDelete