Quote:
Originally Posted by hideov
I've got the same error on both Windows 8 and Linux (Debian 8, glibc 2.18 ), both 32 bit.
Also,
Code:
meta load addons/sourcemod/bin/sourcemod_mm
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (Failed to get API).
for Metamod 1.10.1-dev, Sourcemod 1.5.3.
I googled and found people with the same problem in the past, but non of their solutions seemed to help. Most of them had downloaded Meta/Sourcemod for the wrong operating system.
edit: I apologize, just realized I should have downloaded Sourcemod from the 1.6 snapshots. I had downloaded 1.5.3 Release which was giving the problem. The last snapshot seems sto be working.
|
You probably need to find and edit gameinfo.txt
Where? /home/steam/dota2/dota
Here is my example:
Code:
"GameInfo"
{
game "DOTA 2"
gamelogo 1
type multiplayer_only
nomodels 1
nohimodel 1
nocrosshair 0
GameData "dota.fgd"
SupportsDX8 0
FileSystem
{
SteamAppId 816 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
//
// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
// For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//
//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
//
SearchPaths
{
GameBin |gameinfo_path|addons/metamod/bin
Game |gameinfo_path|.
Game platform
}
}
}
OR
Download the latest copy:
Windows Linux Mac OS X
1.11.0-git935.zip 1.11.0-git935.tar.gz 1.11.0-git935.zip
from the development snapshots at
http://www.sourcemm.net/snapshots
__________________