Snre3n 94 Report post Posted November 4, 2016 Hello PKOdev, I created this thread in hope that we could get the source code working with VS2015.I want to point out that this thread concerns this solution file "Client\Client\proj\kop.sln" from 'FILE.rar'. The build are successful for both MindPower3D (dll) & Game.exe. So what is the problem? - Running game.bat does nothing - Running MakeBin.bat does nothing - Running Game.exe results with "Load Txt File[scripts/txt/CharacterAction.tx] Fail!" Things I've done to make it compile: ( Something might be missing ) - Installed DirectX 8.1 SDK - Set Zc:forScope to 'No' in C/C++ -> Language -> "Force Conformance in For Loop Scope" in MindPower3D.project Why? To fix these kind of errors, without having to redefine a lot of variables. - Most of libraries in Common folder has to be rebuilt to work with VS2015 Why? They were compiled with old VS version and gave unresolved external symbols. - Ignored libc.lib (MindPower3D.project) Why? I read somewhere that solved the issue. LOL! - Added legacy_stdio_definitions.lib (MindPower3D) Why? Fixed error codes, see https://msdn.microsoft.com/en-us/library/bb531344.aspx (Search 'legacy_stdio_definitions.lib') Changes in source code: MPParticleSys.cpp At row: 4129~, 4179~, 4450~ fwrite(_vecPointRange._Myfirst,sizeof(D3DXVECTOR3),_wVecNum,t_pFile); To this: fwrite(_vecPointRange.front(),sizeof(D3DXVECTOR3),_wVecNum,t_pFile); MPFont.cpp At row: 957~, 962~, 977~, 983~ _pDev->GetDevice()->DrawPrimitiveUP(D3DPT_TRIANGLELIST, prc->iAshNum, prc->_vecHsl._Myfirst,sizeof(FONT_VER)); To this: _pDev->GetDevice()->DrawPrimitiveUP(D3DPT_TRIANGLELIST, prc->iAshNum, &prc->_vecAsh[0],sizeof(FONT_VER)); UIEditData.cpp At row: 146~ _memorys.insert( &_memorys[_nCursor], pObj ); To this: _memorys.insert( _memorys.begin() + _nCursor, pObj ); At row: 163~ _memorys.erase( &_memorys[nIndex] ); To this: _memorys.erase( _memorys.begin() + nIndex ); At row: 196~ _memorys.erase( &_memorys[start], &_memorys[end] ); To this: _memorys.erase( _memorys.begin() + start, _memorys.begin() + end ); 2 Quote Share this post Link to post Share on other sites
Ximboliex 85 Report post Posted November 28, 2016 (edited) . Edited November 29, 2016 by Ximboliex Quote Share this post Link to post Share on other sites
deguix 64 Report post Posted June 13, 2017 (edited) Which src code? 1.3x or 2.x? Did you try to create the simplest possible characteraction with 1 char and 1 pose to test? Which version of libraries did you get? latest or closest to the version already available? I would like to reproduce these steps tomorrow (my day off). ----- Any idea how do I get dx 8.1? I tried using game's but it gives me errors. Edited June 14, 2017 by deguix Quote Share this post Link to post Share on other sites
Wrexor 61 Report post Posted June 17, 2017 On 6/13/2017 at 8:27 AM, deguix said: Which src code? 1.3x or 2.x? Did you try to create the simplest possible characteraction with 1 char and 1 pose to test? Which version of libraries did you get? latest or closest to the version already available? I would like to reproduce these steps tomorrow (my day off). ----- Any idea how do I get dx 8.1? I tried using game's but it gives me errors. Use version of Visual Studio that matches project files, you can see that in .sln file. Quote Share this post Link to post Share on other sites