Jump to content

[Solved] Error when running GemRB on Windows 7


Adul

Recommended Posts

Hello,

I'm trying to run GemRB with the GOG version of BG1 for the first time. I'm on Windows 7, and so far I've installed Visual Studio and GemRB, and I tried to make sure all the paths in the config file are correct. I get this log when I run GemRB, after which it terminates itself:

[Core]: GemRB Core Initialization...
[Core]: Initializing Video Driver...
[SDL 1.2 Driver]: Creating display
[SDL 1.2 Driver]: SDL_SetVideoMode...
[SDL 1.2 Driver]: Checking for HardWare Acceleration...
[SDL 1.2 Driver]: Creating Main Surface...
[SDL 1.2 Driver]: Creating Back Buffer...
[SDL 1.2 Driver]: Creating Extra Buffer...
[Core]: Initializing Search Path...
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\ (Data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\Data (Data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\CD1\data\ (CD1/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\CD1\data\ (CD1/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\CD2\data\ (CD2/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\CD2\data\ (CD2/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\CD3\data\ (CD3/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\CD3\data\ (CD3/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\CD4\data\ (CD4/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\CD4\data\ (CD4/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\CD5\data\ (CD5/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\CD5\data\ (CD5/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\CD6\data\ (CD6/data)
[ResourceManager/WARNING]: Invalid path given: C:/Games/Baldurs Gate\data\CD6\data\ (CD6/data)
[Core]: Initializing KEY Importer...
[KEYImporter]: Opening C:/Games/Baldurs Gate\chitin.key...
[KEYImporter]: Checking file type...
[KEYImporter]: Reading Resources...
[KEYImporter]: BIF Files Count: 159 (Starting at 24 Bytes)
[KEYImporter]: RES Count: 16694 (Starting at 4780 Bytes)
[KEYImporter]: Resources Loaded...
[Core]: Initializing GUI Script Engine...
 4780 Bytes)
[KEYImporter]: Resources Loaded...
[Core]: Initializing GUI Script Engine...
iles Count: 159 (Starting at 24 Bytes)
[KEYImporter]: RES Count: 16694 (Starting at 4780 Bytes)
[KEYImporter]: Resources Loaded...
[Core]: Initializing GUI Script Engine...
ImportError: No module named site

There are several warnings that show invalid path issues, though as far as I can tell the first data path it shows is actually correct, and since I'm using the GOG version I don't have separate CD data directories.

I've tried changing the slashes in my paths to backslashes and back, that didn't seem to make a difference.

Please help me figure out what the issue is. (Sorry if I'm missing something obvious!)

GemRB.cfg

Link to post

Update: I've since tried to run the minimal test game instead of BG1, and it produces the same error. I've also tried installing Python 3.8 on my computer, thinking that might solve the problem, but it didn't. I'm still getting the same error.

Link to post

I've managed to solve the issue with lynx's gracious help.

I needed to install Python 2.7 (not 3.x), and set the system variables PYTHONHOME to C:\Python27 and PYTHONPATH to C:\Python27\Lib (you may need to change the paths based on where your Python folder is located).

System variables are accessible by right-clicking My Computer and going to Properties -> Advanced System Settings -> Advanced tab -> Environment Variables.

Link to post
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...