


This is a script i made for automatic installation of Neverwinter Nights 2 windows based expansions to the Native Mac version of the game. The script now supports both the Mac App Store version and the standalone CD version of Neverwinter Nights 2 for Mac.
Requirements
* A full Windows installation of Neverwinter Nights 2 (could be made via wineskin or bootcamp)
The installation must include the latest patches and the following expansion packs.
Neverwinter Nights 2 Mask of the betrayer
Neverwinter Nights 2: Storm of Zehir
Neverwinter Nights 2: Mysteries of Westgate
* Mac App Store OR CD version of Neverwinter Nights 2 installed on your Mac.* Run the Mac OS installation of the game once BEFORE running the Expansion Installer app.
* Recomendation: Backup your Neverwinter Nights 2 installation before running the expansion installer.
Changelog
2012-12-24 MINOR FIXES AND TWEAKS
* ADDED A COUPLE OF MISSED FILES NECCECERY FOR MYSTERIES OF WESTGATE EXPANSION.
* UPDATED THE SERIAL REGISTRATION PROCESS FOR THE WESTGATE EXPANSION, NOW SAVES SERIAL FOR MoW IN SEPARATE KEYFILE IN ORDER TO GET THE EXPANSION WORKING.
2012-03-29 SCRIPT CONVERTED TO APPLESCRIPT AMONG WITH NEW FEATURES
* GUI TO SIMPLIFY SELECTING TARGET AND SOURCE FOLDER FOR NWN.
* NOW SUPPORTS BOTH MAC APP STORE AND THE CD VERSION OF NWN.
* GUI WINDOW FOR VERSION SELECTION OF NWN , MAC APP STORE/CD.
* NO NEED TO MANUALLY EDIT THIS SCRIPT BEFORE USAGE ANYMORE!!! JUST RUN, CLICK AND WAIT * * FOR THE MAGIC TO BEGIN.
* USER CHOICE TO AUTOMATICLY BLOCK NWN SERIAL AUTHENTICATION VIA /ETC/HOSTS.
2012-03-24 FIRST VERSION OF THE SCRIPT (BASH SCRIPT)
* SUPPORT INSTALLATION OF WINDOWS BASED EXPANSIONS FOR NWN MAC APP STORE VERSION
* AUTOMATIC APPLY OF SERIAL NUMBERS TO NWN AND IT'S EXPANSIONS.
Download latest version of the installer here
Neverwinter Nights_2_Expansion_Installer_1.1.zip (1.1)
Download archive
Neverwinter Nights_2_Expansion_Installer.zip (1.0)
http://users.kladhes...l_expansions.sh (old bash script)
How do I use this ?
1. Automatic Serial number activation for the expansion installer
1.1 I have not included any valid serials for Neverwinter Nights 2 or it's expansions due to respect to the developers of this great game and it's superb expansions. However you can input your own serial numbers directly into the script for easier installations.
To change the serial numbers right click on the "Neverwinter Nights 2 Expansion Installer" and click "Show Package Contents".
1.2 Expand the directories and open the main.scpt file.
Contents
Resources
Scripts
main.scpt
1.3 Browse to these lines bellow
# SELECT SERIAL FOR NWN
set {button returned:nwn_serial_nwn} to display dialog "Select serial number for: Neverwinter Nights 2" buttons {"SERIAL1", "SERIAL2", "SERIAL3"} with icon caution)
# SELECT SERIAL FOR NWN MOTB
set {button returned:nwn_serial_motb} to (display dialog "Select serial number for: Neverwinter nights 2 Mask of the betrayer" buttons {"SERIAL1", "SERIAL2", "SERIAL3"} with icon caution)
# SELECT SERIAL FOR NWN SOZ
set {button returned:nwn_serial_soz} to (display dialog "Select serial number for: Neverwinter Nights 2: Storm of Zehir" buttons {"SERIAL1", "SERIAL2", "SERIAL3"} with icon caution
# SELECT SERIAL FOR NWN MOW
set {button returned:nwn_serial_mow} to (display dialog "Select serial number for: Neverwinter Nights 2 Mysteries Of Westgate" buttons {"SERIAL1", "SERIAL2", "SERIAL3"} with icon caution)
1.4 These lines tell the script which serial numbers that are available for the user to pick in the graphical installer.
To input your own serial numbers for the game simply edit the "SERIAL1" SERIAL" and "SERIAL3" for Neverwinter Nights 2 and then for it's expansions in the statements bellow.
Here's an example of adding three serial numbers for the main game of Neverwinter Nights 2.
# SELECT SERIAL FOR NWN
set {button returned:nwn_serial_nwn} to ("Select serial number for: Neverwinter Nights 2" {"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX", "YYYYY-YYYYY-YYYYY-YYYYY-YYYYY-YYYYY-YYYYY", "VVVVV-VVVVV-VVVVV-VVVVV-VVVVV-VVVVV-VVVVV"} with icon caution
Make sure you add alteast one valid serial number for each of the expansions aswell besides the main game.
2 Running the Neverwinter Nights 2 expansion installer
2.1 Double click on the "Neverwinter Nights 2 expansion installer" app from Finder.
2.2 Choose which version of Neverwinter Nights 2 for Mac OS you have installed (Mac App Store / CD version)
2.2 Select the directory to your Windows installation of Neverwinter Nights 2.
2.3 Select the Neverwinter Nights 2 "my documents" directory from your windows installation (usually c:\Users\<MY-USERNAME>\My Documents)
2.4 Select the directory to your Mac installation of Neverwinter Nights 2 (For the Mac App Store version you need to select the application file instead of a folder).
2.5 Verify that you want to continue with the installation.
2.5 Enter your Mac OS users password. (after this the installer will copy all necessary files for the game in the background, just wait 'til you get a new popup)
2.7 Choose if you want the expansion installer to apply serial numbers automaticly or if you want to do this manually afterwards (the installer do not contain the serial numbers as default,
for more info look at "1. Automatic Serial number activation for the expansion installer"
2.8 Choose if you want the expansion installer to modify your /etc/hosts in order to block out BioWare's CD KEY validation process (you won't be able to use the standard server browser for network games if you do so but can still play direct connection sessions).
2.9 Choose to start the game or go back to Mac OS X
You should now have a lot more hours of gameplay with your Neverwinter Nights 2 game with all the expansions ![]()
Neverwinter Nights 2 : Mask of the betrayer - Official Launch Trailer
http://www.youtube.c...h?v=t3qPl4pjaeE
Neverwinter Nights 2 : Storm of Zehir - Official Launch Trailer
http://www.youtube.c...h?v=rM0lUT90Z9Q

















