Aion Tips

Working around NCsoft launcher "path not found"

If the NCsoft launcher (the Aion patcher) gives you a message stating "path not found", that means the launcher needs to be updated, but it failed to do so.
Whenever this happens you can use this script (save it to your NCSoft launcher directory) to apply the patch to the launcher. Once that is done, you will be able to run the launcher again to patch the game.
#!/bin/bash
# ---
# This script comes with NO WARRANTY WHATSOEVER.
# Use at YOUR OWN RISK
#
# USAGE: bash ./patchLauncher
# from within the NCsoft launcher directory
# (ie ~/.cxgames/Aion/drive_c/Program Files/NCSoft/Launcher)
#
# This script patches the NCsoft launcher using wine, as it fails to patch
# itself. You will need to run the patcher once and get the "Path not found"
# error before running this script.
# ---

# Alter this, set it to the wine command you want to use
# (same as you use to launch the game, minus the exe to launch)
# If you need to set a WINEPREFIX, uncomment the WINEPREFIX line
# (this example uses wwine from http://random.zerodogg.org/wwine)
WINE="wwine -w cxg -b Aion"
# WINEPREFIX=""; export WINEPREFIX

# Gets created and removed on each run
PATCHDIR="./manualNCSLPatch"
# Orig PWD
ORIG="$PWD"
# Target patch
FILE="$1"

if [ "$FILE" == "" ]; then
	for f in *ncpatch; do
		if [ "$f" == "*ncpatch" ]; then
			echo "No patch available. Run the NCSoft launcher, if it says \"path not found\""
			echo "then re-run this patcher."
		fi
		$0 "$f"
	done
	exit 0
fi

# Prep PATCHDIR
rm -rf "$PATCHDIR"; mkdir "$PATCHDIR"; cd "$PATCHDIR" || exit 1
[ ! -e "$FILE" ] && FILE="../$FILE"

unrar x "$FILE" || exit 1
mv */ProductFiles/* .

for f in $(find -name '*.X-D-E-L-T-A'); do
	REAL="$(echo "$f"|perl -pi -e 's/\.X-D-E-L-T-A$//')"
	$WINE ../XDelta.exe patch "$f" "../$REAL"  "$REAL"
	mv -f "$REAL" ../"$REAL"
done

cd .. ; rm -rf "$PATCHDIR"
rm -f "$FILE"
echo ""; echo "All done."

by EskildH on 2011-01-05 13:00:42
Important Information Tips are provided by the CrossOver Community and Advocates. They are not intended to be used for official CodeWeavers Support. For that, please visit our official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzI3NDcwNjA2LCJjc3JmX3Rva2VuIjoiQ1VOVWdQRlk1Rjdid01ITCIsImdkcHIiOjB9