Skip to content

A question about default BG:EE and IWD:EE install directory in GOG and Steam releases (windows+mac)

switswit Member, Translator (NDA) Posts: 495
edited March 2015 in General Modding
Hello,
I need to know all default directories for these 2 games for my mods. Default windows Beamdog launcher dirs for BG:EE are:

C:\Program Files (x86)\BeamDog\Games\00766
C:\Program Files (x86)\Baldur's Gate Enhanced Edition\Data\00766
C:\Program Files\BeamDog\Games\00766
C:\Program Files\Baldur's Gate Enhanced Edition\Data\00766
And for IWD:EE

C:\Program Files (x86)\BeamDog\Games\00798
C:\Program Files (x86)\Icewind Dale Enhanced Edition\Data\00798
C:\Program Files\BeamDog\Games\00798
C:\Program Files\Icewind Dale Enhanced Edition\Data\00798
I'm also aware about default BG:EE one for MACS:

Applications/Baldur\'s\ Gate-EE/Game\ Data/00777/Baldur\'s\ Gate\ -\ Enhanced\ Edition.app/Contents/Resources
What I still need to know are following dirs:
- default dirs for GOG and Steam releases of BG:EE and IWD:EE (windows and mac)
- default dirs for Beamdog launcher of IWD:EE (mac)

Thanks in advance.
CrevsDaak

Comments

  • argent77argent77 Member Posts: 3,431
    Please take into account that the default installation directories on Windows are governed by the registry keys "ProgramFilesDir" and "ProgramFilesDir (x86)" in HKLM\Software\Microsoft\Windows\CurrentVersion. For example, I've changed them on my system to "D:\Program Files" and "D:\Program Files (x86)" respectively. Mac OS X might also have some settings to define the default install folder.
    swit
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    For Mac the folders are as follows (these are the locations of the CHITIN.KEY file for each game):

    PS - You forgot about the Mac App Store!

    BGEE:
    Beamdog: "/Applications/Baldur's Gate - Enhanced Edition/Game Data/00777/Baldur's Gate - Enhanced Edition.app/Contents/Resources/" (use quotes and you don't have to use '\' on every special character)
    Mac App Store: "/Applications/Baldur's Gate - Enhanced Edition.app/Contents/Resources/"
    Steam: "~/Library/Application Support/Steam/SteamApps/common/Baldur's Gate Enhanced Edition/Baldur's Gate - Enhanced Edition.app/Contents/Resources/"
    GOG: "/Applications/Baldur's Gate Enhanced Edition.app/Contents/Resources/game/Baldur's Gate - Enhanced Edition.app/Contents/Resources/"

    IWDEE
    Beamdog: "/Applications/Icewind Dale - Enhanced Edition/Game Data/00799/IcewindDale.app/Contents/Resources/"
    Mac App Store: "/Applications/IcewindDale.app/Contents/Resources/"
    Steam: "~/Library/Application Support/Steam/SteamApps/common/Icewind Dale Enhanced Edition/IcewindDale.app/Contents/Resources/"
    GOG: "/Applications/Icewind Dale Enhanced Edition.app/Contents/Resources/game/IcewindDale.app/Contents/Resources/"

    JuliusBorisovswit
  • switswit Member, Translator (NDA) Posts: 495
    edited March 2015
    thanks, @argent77. I'm now using %programfiles% %programfiles(x86)% and %ProgramW6432% environment variables to check such directory changes on windows.

    @AstroBryGuy thank you! Could you please test if the attached test plugin will be able to find your mac BG:EE location and extract a BALDUR.GAM file from there? You can install it on any game.
    Or maybe @CrevsDaak could check it out?

    Also a request to Windows XP users - please install below test plugin and let me know if test/temp folder is there after installation (it should be deleted, just need to be sure that syntax works on older systems). It won't leave anything changed on your computer outside test dir (it won't even edit the weidu.log), so don't worry.

    btw. if someone needs something similar than the test plugin contains the code that may be useful (also has additional stuff like reading dir from pre-made file and/or via weidu batch argument list).

    ---

    So, the only missing directories are:
    - default dirs for GOG and Steam releases of BG:EE and IWD:EE (windows)
    Post edited by swit on
  • AstroBryGuyAstroBryGuy Member Posts: 3,437
    @swit - This is what I get when I run it:
    [./setup-test] WeiDU version 23800

    Using ./lang/en_us/dialog.tlk

    Install Component [test]?
    [I]nstall, or [N]ot Install or [Q]uit? i

    Installing [test] [beta 0.1]
    Creating 1 directory



    SUCCESSFULLY INSTALLED test

    Press ENTER to exit.
    And here is the setup-test.DEBUG:
    [spoiler]
    WeiDU v 23800 Log

    ./setup-test
    [./chitin.key] loaded, 495088 bytes
    [./chitin.key] 73 BIFFs, 35212 resources
    [./weidu.conf] loaded, 17 bytes
    [./lang/en_us/dialog.tlk] loaded, 8660153 bytes
    [./lang/en_us/dialog.tlk] 62893 string entries

    Using ./lang/en_us/dialog.tlk
    BG1NPC/BG1NPC.TP2 0 0 Installed
    BG1NPC/BG1NPC.TP2 0 1 Installed
    BG1NPC/BG1NPC.TP2 0 8 Installed
    BG1NPC/BG1NPC.TP2 0 9 Installed
    BG1NPC/BG1NPC.TP2 0 10 Installed
    BG1NPC/BG1NPC.TP2 0 11 Installed
    BG1NPC/BG1NPC.TP2 0 12 Installed
    BG1NPC/BG1NPC.TP2 0 13 Installed
    BG1NPC/BG1NPC.TP2 0 14 Installed
    BG1NPC/BG1NPC.TP2 0 15 Installed
    BG1NPC/BG1NPC.TP2 0 16 Installed
    BG1NPC/BG1NPC.TP2 0 20 Installed
    BG1NPC/BG1NPC.TP2 0 28 Installed
    BG1NPC/BG1NPC.TP2 0 29 Installed
    BG1NPC/BG1NPC.TP2 0 200 Installed

    Install Component [test]?
    [I]nstall, or [N]ot Install or [Q]uit?
    Installing [test] [beta 0.1]
    Creating 1 directory


    Saving This Log:
    BG1NPC/BG1NPC.TP2 0 0 Installed
    BG1NPC/BG1NPC.TP2 0 1 Installed
    BG1NPC/BG1NPC.TP2 0 8 Installed
    BG1NPC/BG1NPC.TP2 0 9 Installed
    BG1NPC/BG1NPC.TP2 0 10 Installed
    BG1NPC/BG1NPC.TP2 0 11 Installed
    BG1NPC/BG1NPC.TP2 0 12 Installed
    BG1NPC/BG1NPC.TP2 0 13 Installed
    BG1NPC/BG1NPC.TP2 0 14 Installed
    BG1NPC/BG1NPC.TP2 0 15 Installed
    BG1NPC/BG1NPC.TP2 0 16 Installed
    BG1NPC/BG1NPC.TP2 0 20 Installed
    BG1NPC/BG1NPC.TP2 0 28 Installed
    BG1NPC/BG1NPC.TP2 0 29 Installed
    BG1NPC/BG1NPC.TP2 0 200 Installed
    [bg1npc/tra/english/setup.tra] has 134 translation strings

    SUCCESSFULLY INSTALLED test

    WeiDU Timings
    AT_INTERACTIVE_UNINSTALL 0.000
    AT_INTERACTIVE_EXIT 0.000
    ACTION_FOR_EACH 0.000
    OUTER_INNER_PATCH 0.000
    OUTER_SPRINT 0.000
    DEFINE_ACTION_MACRO 0.000
    load TLK 0.000
    OUTER_INNER_PATCH_SAVE 0.000
    DEFINE_PATCH_MACRO 0.000
    OUTER_SET 0.000
    [/spoiler]
    swit
  • argent77argent77 Member Posts: 3,431
    I've executed your test mod in my WinXP and WinXP64 VMs and on both systems it removed the temp folder without problems.

    And just for completeness, the DEBUG outputs for Windows XP:
    [spoiler]WeiDU v 23800 Log C:\Games\Baldur's Gate II Enhanced Edition\setup-test.exe [./chitin.key] loaded, 843538 bytes [./chitin.key] 185 BIFFs, 59859 resources [.\weidu.conf] loaded, 17 bytes [.\lang\en_us/dialog.tlk] loaded, 11552519 bytes [.\lang\en_us/dialog.tlk] 102833 string entries Using .\lang\en_us/dialog.tlk Install Component [test]? [I]nstall, or [N]ot Install or [Q]uit? Installing [test] [beta 0.1] Creating 1 directory Copying and patching 1 file ... Copied [test-inlined/programfiles.bat] to [test/temp/programfiles.bat] (NO BACKUP MADE!) Copying and patching 1 file ... [test/temp/programfiles.txt] loaded, 18 bytes programfiles = C:\Program Files Copying and patching 1 file ... Copied [test-inlined/programfiles.bat] to [test/temp/programfiles.bat] (NO BACKUP MADE!) Copying and patching 1 file ... [test/temp/programfiles(x86).txt] loaded, 13 bytes programfiles(x86) = ECHO is on. Copying and patching 1 file ... Copied [test-inlined/programfiles.bat] to [test/temp/programfiles.bat] (NO BACKUP MADE!) Copying and patching 1 file ... [test/temp/ProgramW6432.txt] loaded, 13 bytes ProgramW6432 = ECHO is on. Saving This Log: SUCCESSFULLY INSTALLED test WeiDU Timings OUTER_INNER_PATCH_SAVE 0.000 <<<<<<<< 0.000 ACTION_FOR_EACH 0.000 load TLK 0.000 DEFINE_PATCH_FUNCTION 0.000 AT_INTERACTIVE_EXIT 0.000 DEFINE_ACTION_FUNCTION 0.000 OUTER_SPRINT 0.000 OUTER_SET 0.000 BUT_ONLY 0.000 MKDIR 0.000 parsing .log files 0.000 AT_NOW 0.000 process_patch2 0.000 eval_pe 0.000 AT_EXIT 0.000 DEFINE_ACTION_MACRO 0.000 OUTER_INNER_PATCH 0.000 ACTION_IF 0.000 PRINT 0.000 READ_* 0.000 saving files 0.000 AT_INTERACTIVE_UNINSTALL 0.000 DEFINE_PATCH_MACRO 0.000 COPY 0.000 INCLUDE 0.016 Parsing TP2 files 0.016 Parsing TPA files 0.031 unmarshal KEY 0.047 stuff not covered elsewhere 0.047 loading files 0.063 unmarshal TLK 0.156 TOTAL 0.375 Executing: [rmdir /s /q test\temp]
    [/spoiler]
    and Windows XP x64:
    [spoiler]WeiDU v 23800 Log c:\Games\Baldur's Gate II Enhanced Edition\Data\00783\setup-test.exe [./chitin.key] loaded, 847192 bytes [./chitin.key] 186 BIFFs, 60118 resources [.\weidu.conf] loaded, 17 bytes [.\lang\en_us/dialog.tlk] loaded, 11589335 bytes [.\lang\en_us/dialog.tlk] 103044 string entries WARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory") Using .\lang\en_us/dialog.tlk Install Component [test]? [I]nstall, or [N]ot Install or [Q]uit? Installing [test] [beta 0.1] Creating 1 directory Copying and patching 1 file ... Copied [test-inlined/programfiles.bat] to [test/temp/programfiles.bat] (NO BACKUP MADE!) Copying and patching 1 file ... [test/temp/programfiles.txt] loaded, 24 bytes programfiles = C:\Program Files (x86) Copying and patching 1 file ... Copied [test-inlined/programfiles.bat] to [test/temp/programfiles.bat] (NO BACKUP MADE!) Copying and patching 1 file ... [test/temp/programfiles(x86).txt] loaded, 24 bytes programfiles(x86) = C:\Program Files (x86) Copying and patching 1 file ... Copied [test-inlined/programfiles.bat] to [test/temp/programfiles.bat] (NO BACKUP MADE!) Copying and patching 1 file ... [test/temp/ProgramW6432.txt] loaded, 18 bytes ProgramW6432 = C:\Program Files Saving This Log: SUCCESSFULLY INSTALLED test WeiDU Timings OUTER_INNER_PATCH_SAVE 0.000 <<<<<<<< 0.000 ACTION_FOR_EACH 0.000 load TLK 0.000 DEFINE_PATCH_FUNCTION 0.000 AT_INTERACTIVE_EXIT 0.000 DEFINE_ACTION_FUNCTION 0.000 OUTER_SPRINT 0.000 OUTER_SET 0.000 INCLUDE 0.000 BUT_ONLY 0.000 MKDIR 0.000 AT_NOW 0.000 process_patch2 0.000 eval_pe 0.000 AT_EXIT 0.000 DEFINE_ACTION_MACRO 0.000 OUTER_INNER_PATCH 0.000 ACTION_IF 0.000 PRINT 0.000 READ_* 0.000 saving files 0.000 AT_INTERACTIVE_UNINSTALL 0.000 DEFINE_PATCH_MACRO 0.000 COPY 0.000 unmarshal KEY 0.016 Parsing TP2 files 0.016 loading files 0.016 Parsing TPA files 0.016 stuff not covered elsewhere 0.031 unmarshal TLK 0.063 TOTAL 0.156 Executing: [rmdir /s /q test\temp]
    [/spoiler]
    swit
  • switswit Member, Translator (NDA) Posts: 495
    edited March 2015
    Thanks for tests.
    @argent77, you didn't have BG:EE installed on default directories on those XP systems, right? Then it looks good :)

    @AstroBryGuy huh, it didn't work as expected :( Please try it again with this new version attached to this post. I've removed quotes from directories and added '\' before every special character (other than tilde in Steam link - is this also a special character? If yes than please add it before testing).
  • switswit Member, Translator (NDA) Posts: 495
    edited March 2015
    attachment in next post (this one had 1 error)
  • switswit Member, Translator (NDA) Posts: 495
    attachment
  • ConjurerDragonConjurerDragon Member Posts: 110
    I just noticed that BG EE (steam installation) has created a directory for the savegeames in
    E:\User1\Baldur's Gate - Enhanced Edition
    in addition to the games directory in the Steam folder on another harddisk.

    Did I mess up something installing the game or is it intentional that the savegames are not located below
    E:\User1\My Games\
    and then the name of the game like the savefiles of other games like Civ IV or Pirates?
Sign In or Register to comment.