Jump to content

Editing fix for EE versions


Recommended Posts

Posted

I was just passing though and stopped here. As you've all found out, dialog.tlk, override, etc. are no longer in the main EE folders. I think CamDawg was responsible for the following, but I can't remember. Drop it in the main EE folder and run it - afterwards for editing you'll be able to treat EE in the same way as Classic. If you're worried about batch files doing nasty things to your PC, here's the code. Copy, paste into Notepad and save as a batch file.

@setlocal enableextensions
@cd /d "%~dp0"

:: replace the en_US part of this command with the appropriate folder for non-English installs
IF NOT EXIST dialog.tlk (mklink /H dialog.tlk .\lang\en_US\dialog.tlk)



:: create override foler
IF NOT EXIST override (mkdir override)

IF EXIST "%userprofile%\Documents\Baldur's Gate - Enhanced Edition" (goto yours)
IF EXIST "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition" (goto mine)
goto none

: yours
:: check for and create folders only if they don't exist already

IF NOT EXIST baldur.ini (mklink /H baldur.ini "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\baldur.ini")

IF NOT EXIST "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\save" (
  mkdir "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\save"
)
IF NOT EXIST "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\characters" (
  mkdir "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\characters"
)
IF NOT EXIST "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\Portraits" (
  mkdir "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\Portraits"
)
:: now that those folders are created, create links if they're not present already
IF NOT EXIST save (
  mklink /D save "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\save"
)
IF NOT EXIST characters (
  mklink /D characters "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\characters"
)
IF NOT EXIST Portraits (
  mklink /D Portraits "%userprofile%\Documents\Baldur's Gate - Enhanced Edition\Portraits"
)
goto end

: mine
:: check for and create folders only if they don't exist already

IF NOT EXIST baldur.ini (mklink /H baldur.ini "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\baldur.ini")

IF NOT EXIST "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\save" (
  mkdir "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\save"
)
IF NOT EXIST "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\characters" (
  mkdir "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\characters"
)
IF NOT EXIST "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\Portraits" (
  mkdir "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\Portraits"
)
:: now that those folders are created, create links if they're not present already
IF NOT EXIST save (
  mklink /D save "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\save"
)
IF NOT EXIST characters (
  mklink /D characters "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\characters"
)
IF NOT EXIST Portraits (
  mklink /D Portraits "%userprofile%\My Documents\Baldur's Gate - Enhanced Edition\Portraits"
)
goto end

:none
ECHO "Can't find Documents folder, not making links"

:end
pause

-Y-

bgee_run_once_mklink.bat

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...