NWN SoU+HotU 1.69 camera mod.
Unofficial NWMAIN.EXE modification.
1. Unlock camera angle, so u can look to the sky.
2. Unlock camera distance, so u can see game like FPS, or zoom out far away.
3. Increase FOG distance.
The best way how to get min zoom "FPS like wiev" is by pressing "Home" button
and to restore normal wiew is by pressing "Num *". If u zoom to "FPS wiev"
only by middle mouse scrool button u might still see your character's body...
If u zoom out, u will not see more creatures/enemies then in not modifed game,
u will see only more terain.
If u press "End" button, u might see only black screen, its becouse u zoomed
out too much, simply use middle mouse scrool button to zoom in or press
"Home" button or "Num *".
The reason why I created this is that I was interested in the feeling of
"FPS like wiev" in NWN and the possibility how to use it during creating
in-game video.
This mod is inspired by BrandonW's Camera Angle Hack Version J
Link
as well as Forrestwolf's Camera Hack
Link
This patch were built in uNivErsaL PatCheR 2.0.b1
This patch will find path to nwmain.exe in registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\BioWare\NWN\Neverwinter]
"Location"= (for.ex.: "D:\Games\NeverwinterNights")
Or you can use "Location" button and find nwmain.exe by your self.
This patch does not create backup, but it is able to restore changes.
If u have diferent version of nwmain.exe, download this Official UpDate
NWNEnglish1.69HotUUpdate.exe and apply it.
//Sry for bad english
Enjoy game.
If you prefere hex editing this might be helpfull:
To calculate float value I used: "Float / Hex Conversion" by John Gerthoffer
Link
*****************************************************************************
Max distance: 00 00 C8 41 = float 25 to 00 00 C8 42 = float 100
000a93f0h: 3F C7 05 A0 58 90 00 00 00 C8 41 C7 05 A4 58 90 ; ?Ç. X...ÈAÇ.¤X
to - - - - - - 3F C7 05 A0 58 90 00 00 00 C8 42 C7 05 A4 58 90
- Drive mode
000a9690h: 05 A0 58 90 00 00 00 C8 41 C7 05 A4 58 90 00 00 ; . X...ÈBÇ.¤X..
to - - - - - - 05 A0 58 90 00 00 00 C8 42 C7 05 A4 58 90 00 00
*****************************************************************************
*****************************************************************************
Min distance: 00 00 80 3f = float 1 to cc cc 4c be = -0.2 (1st person wiev)
000a93e0h: 00 00 00 48 42 EB 28 C7 05 9C 58 90 00 00 00 80 ; ...HBë(Ç.œX.ÌÌL
to - - - - - - 00 00 00 48 42 EB 28 C7 05 9C 58 90 00 cc cc 4c
000a93f0h: 3f C7 05 A0 58 90 00 00 00 C8 41 C7 05 A4 58 90 ; ¾Ç. X...ÈAÇ.¤X
to - - - - - - be C7 05 A0 58 90 00 00 00 C8 41 C7 05 A4 58 90
- Drive mode
000a9680h: 00 78 42 EB 28 C7 05 9C 58 90 00 00 00 80 3F C7 ; .xBë(Ç.œX...€?Ç
to - - - - - - 00 78 42 EB 28 C7 05 9C 58 90 00 cc cc 4c be C7
*****************************************************************************
*****************************************************************************
Angle: 00 00 B2 42 = float 89 to 00 00 B2 53 = float 1.52901e+012
000a9400h: 00 00 00 80 3F C7 05 A8 58 90 00 00 00 B2 42 D9 ; ...€?Ç.¨X...²BÙ
to - - - - - - 00 00 00 80 3F C7 05 A8 58 90 00 00 00 B2 53 D9
- Drive mode
000a96a0h: 00 80 3F C7 05 A8 58 90 00 00 00 B2 42 D9 45 68 ; .€?Ç.¨X...²SÙEh
to - - - - - - 00 80 3F C7 05 A8 58 90 00 00 00 B2 53 D9 45 68
*****************************************************************************
*****************************************************************************
Fog distance: 00 00 34 42 = float 45 to 00 00 94 42 = float 75
003bcdf0h: 00 C7 86 C4 01 00 00 00 00 34 42 C7 86 CC 01 00 ; .džÄ.....4BdžÌ..
to - - - - - - 00 C7 86 C4 01 00 00 00 00 94 42 C7 86 CC 01 00
*****************************************************************************
[Edit: old camera mod removed, as installer was infected, Sawark's new version posted]
Edit (2015-01-01):
The original camera hack mods (v1 & v2) - by Roma_CZ - restored, but the patching tool changed to XVI32 Freeware Hex Editor 2.55.
The auto-patching XVI32 scripts for v1 / v2 - written by Sawark; the detailed manual is in the download file for v1 & v2]
Attachment | Size |
---|---|
![]() | 1.84 MB |
![]() | 564.59 KB |
please note that the main v2.rar appears to be infected with a trojan virus, specifically trojan.generic.3954275 and has been reported by multiple anti-virus programs as a trojan or infector. Meaning it will infect your system, even if it does what the original program was intended to do.
Do you know how to get rid of the trojan part of the file?
/if not I will edit and make big red warning sign about that..
If it came to it, couldn't someone just hex edit a fresh copy of a clean exe file per the author's instructions and upload that?
v2 Did indeed!
*Removed*
This is the "clean" version, without the virus (checked with Avast to be double sure).
I had this once, but my antivirus wouldn't let me install it again when I reinstalled the game and even removed it from my downloads. I kind of missed it.
Well, maybe: "clean", but not: clean, I'm afraid. My Avira alerted at once when I tried to download this: nwn_souhotu_1.69_camera_mod.rar
Yet another proof that checking only with Avast is no proof of being clean and is not a recommended way to be sure (and even less: double sure) - of anything. ;)
I actually double-checked that and I found that at VirusTotal site this file has very high Detection Ratio - 28/53:
Link
I simply don't buy any fairy tale that all these detections could be false positives.
Thus my advice is: AVOID this hack!
Edit #1 (2014-11-15):
Being inspired by Carcerian's PMs, I've made the hex editing - according to Roma_CZ (the author of this hack) instructions, done some testing (to confirm it does the job as advertised) and I think it's ready for the uploading. I'm waiting only for Carcerian's confirmation. Meanwhile you can try it by downloading it from: HERE (121).
Note: It requires NWN +SoU +HotU 1.69 of course, so do not try it on any earlier versions. It DOES NOT launch any shady tool (i.e. uNivErsaL PatCheR 2.0.b1 - used by Roma_CZ - which probably installs not only Camera Hack Mod, but a trojan/rootkit as well).
How to install: Simply unpack and move the chosen variant of nwmain.exe (there are two variants prepared: with / without the fog distance change; the latter just in case someone's gonna use this mod on an ancient machine - where increasing this distance might have a negative impact on performance, I suppose) to your Neverwinter Nights\NWN folder (it should replace the original nwmain.exe file). I advise you to make a backup of the original nwmain.exe file first - in case you'll want to restore it later.
I've also uploaded my code modifications for AV scanning - to ensure that they are 100% safe and harmless.
Here are the results from VirusTotal site:
The whole archive: Report #1: 0/54
nwmain.exe (mod with the fog distance change): Report #2: 0/55
nwmain.exe (mod without the fog distance change): Report #3: 0/54.
Edit #2 - v1.1 uploaded!
While I tested hex values as proposed by Roma_CZ, I realized that 1st-person view is flawed (in Top-Down Camera Mode particularly, and - to less extent - also in Driving Mode), because min distance value: -0.2 is too close to PC's body/head.
So I've made few small fixes: set the min.distance to: -0.5 and -0.3 accordingly (note that the -0.3 value for Driving mode was also suggested by Forrestwolf in its Camera Hack - see his comment from 2006-02-19 06:39:07 here: http://neverwintervault.org/rolovault/projects/nwn1/other/1052/index.html ). Also I set Fog Distance to the correct hex value for 75 meters (00 00 96 42, instead 00 00 94 42 - which actually equals 74, not 75). This new version of Camera Hack Mod for NWN HotU 1.69 can be downloaded from here:
camera_mod_hotu169_v11.7z (1344)(file obsolete! - not recommended anymore; more info - read my EDIT below)EDIT 2017-09-02:
==============
NOTE: the v1.1 is now regarded "obsolete". For the most recent version of my camera unlocking mod, look: Improved Camera Mod for NWN HotU 1.69 + Camera Height Control System (v1.3 + v1.1) and for the updated version of nwmain.exe file - you should look HERE (in my comment #3 on the project page)
============== End of the edit
You are encouraged to read the "Note" and "How to install" - above - and to download & try it as well. :)
And here are its AV scan results from VirusTotal site: Report #4: 0/54.
Removed virusey installer, replaced with Sawarks version as the safer option. (+100 Karma)
I never had virus problem with the old version and i have been using it for a long time (the rogue toolkit fingerprint used to create it was probably detected as a virus) but it was not as good and convenient as Sawark's version, and if VirusTotal check it clean, this is for the better.
Well done Gentleman !
CG
My improved 1.2 version of Camera Mod for 1.69, along with my new Camera Height Control System v1.0 - coming very soon!!! (a question of hours, not days!)
My Camera Mod has been based on:
- this Camera Mod Hack (v2) by Roma_CZ;
- its Linux version (slightly modified parameters - compared to both v1 and v2 by Roma_CZ);
- HG's (Higher Grounds) version (yet another approach and another set of parameters);
- and finally on my 1.1 version (which was based on Roma_CZ's Mod v1, only slightly improved: min. distances in particular).
For my v.1.2 I've tried to take what's best - from them all. Also, in contrast to Roma_CZ's Mods, I used a non-controversial patcher for mine: the script interpreter that is built-in excellent XVI32 Freeware Hex Editor by Christian Maas.
And for my Camera Height Control System I took the initial inspiration from Camera Control 1.0 by The Munchkin Lord, but the system has been completely reworked and refined - to work WITHOUT conversation (which was one of few major inconveniences of the original system) and with focus to improve game experience with the most common PC races (Humans - both males and females, Elves, Half-Elves, Half-Orcs, Dwarves, Halflings, Gnomes) - I've decided that, eg.: enabling the view from 50 m high above the ground is pointless: much better to enable view, eg.: from 1,4 m - for a dwarf warrior (1.4 m is the level of his eyes) instead. And that's because BioWare's default camera height levels are either too low or too high - for a comfort 1st person view (eg. human male, eyes level = about 1.8 m; Camera Heights are: about 1.5 m - in Top-Down Mode and about 2 m in Driving / Chase Mode; the result: either we look from below or from above - at the other humans).
Additionally: my Camera Height Control System can be used in virtually all modules WITHOUT need for adding any hakpak / rebuilding. Yeah - it means that my system can be used in premium modules as well: I tested it with the Pirates of the Sword Coast - and it worked like a charm!
E.T.A.: 30-12-2014 (I'have finished tests and I'm preparing to upload, but tomorrow I'd be quite busy elsewhere).
Note: I'll upload them as a new content.
I just set this up on my install, and loaded up my PW in progress with an Oculus Rift.
It's a bit choppy, and the FOV needs adjusting, but bugger me if it wasn't a mind altering experience.
All my thanks and appreciation for the work that went into this one.
Which version have you applied?
There's already the Improved Camera Mod v1.2 + Camera Height Control System v1.0 available.
The first (Camera Mod) practically eliminates major possible inconvenience, previously very often met in the unlocked First Person View in all camera modes, i.e. player not being able to point to any object when camera is rotated (and thus not being able to move smoothly and immediately in a direction he wants, which can be very frustrating sometimes) - because a part of PC's body is obscuring his Field of Vision.
Version 1 of Roma_CZ mod was especially irritating in this field; v2 was only slightly better and only in Driving Mode (Top-Down still being unusable in FP View); my first modification (v1.1) eliminated this effect entirely in Top-Down Mode, but it still was occuring sometimes in Driving Mode - under some circumstances.
The latter add-on (Camera Height Control) improves game experience, esp. in FP View - allowing you to quickly and easily set the CameraHeight parameter - while in game - on more natural levels than BioWare's defaults.
Hi Sawark.
I applied this version, as I'm still getting used to tweaking the Rift for each game, and didn't want to over do it.
Now that I have NWN sorted a bit better, I'll put this version back in the temp folder, and attempt v1.2 and the CHCS.
I realised that I porbably sounded a bit critical in my first post. The choppiness is probably comparing NWN to the games that are actually tweaked for the Rift, and my poorly worded point was that it was still mind blowing to be able to experience some presence in a world that I personally created.
I'll give the newer stuff a try tonight, and let you know how it goes on the other page!
Hi, Theality.
You're welcome to do so.
I'm gonna work on improving CHCS this week - to enable setting a suitable for use First Person view also for the characters in the saddle.
When creating v1.0 of CHCS I had only the footmen - not riders - in mind, thus its Height Range is not sufficient for the horsemen, making the idea of switching to FP view for a mounted character quite pointless at this stage.
Freaking rightous dude.. this is like having a new game, the emotional exp of being on the ground instead of behind or above...
Improved Camera Mod for NWN HotU 1.69 + Camera Height Control System
have been updated (to v1.3 and v1.1 - respectively).
I found a way to eliminate those annoying perspective distortions (i.e. fisheye) at last!!!
ROMA_CZ in his v2 had indeed managed to decrease them a bit but not enough.
After I examined several different combinations of the settings more thoroughly, I found that too high value of the Fog Distance setting was the culprit here - since it also caused the camera to take much wider angles.
IMPORTANT INFO: The functions of this mod are distorted in CHASE CAMERA mode (you cannot scroll far away or look into the sky as the camera gets locked). So whatever you do stick to Top Down or Driving Camera Modes.