I think that "SpeedTree 5 sdk" might just work out of metin2 client. Now I got 10 errors at compile time. (Other functions in the sdk) You just have to update functions.
Error for example:
void CArea::TObjectInstance::SetTree(float x, float y, float z, DWORD dwTreeCRC, const char* c_szTreeName)
{
CSpeedTreeForestDirectX8& rkForest=CSpeedTreeForestDirectX8::Instance();
pTree=rkForest.CreateInstance(x, y, z, dwTreeCRC, c_szTreeName);
dwType = prt::PROPERTY_TYPE_TREE;
}
error C2065: 'CSpeedTreeForestDirectX8' : undeclared identifier C:UsersxDesktopsrcclientGameLibArea.cpp 589 1 gamelib
error C2039: 'pTree' : is not a member of 'CArea::SObjectInstance' C:UsersxDesktopsrcclientGameLibArea.cpp 277 1 gamelib
The need for some changes in gamelib. I do not know exactly what. The code is a bit much