Code Monkey home page Code Monkey logo

openxray / xray-15 Goto Github PK

View Code? Open in Web Editor NEW
167.0 43.0 65.0 74.25 MB

X-Ray Engine 1.5 expansion. Original version was used in S.T.A.L.K.E.R.: Clear Sky.

Home Page: https://discord.gg/sjRMQwv

License: Other

C++ 71.69% CSS 0.02% Lua 0.11% C 20.50% Shell 0.27% Cuda 0.03% Objective-C 0.01% C# 0.06% R 0.01% Perl 0.03% LiveScript 0.01% Python 0.57% Pascal 1.45% TeX 0.36% HTML 4.57% PostScript 0.06% Makefile 0.10% Batchfile 0.04% CMake 0.01% xBase 0.11%
directx9 directx10 opengl cpp game-engine ai stalker gsc-game-world xray xray-engine

xray-15's People

Contributors

crossvr avatar decane avatar v2v3v4 avatar xottab-duty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xray-15's Issues

dxguid.lib troubles

EN

Hello!
I have troubles with compiling X-Ray Engine 1.5.

error LNK2001: неразрешенный внешний символ "_CLSID_DirectPlay8Address"   E:\GIT\xray\cs\engine\xrNetServer\NET_Client.obj    xrNetServer

And some more lines like that line above.
I tried to find dxguid.lib in Windows Kit 7.0, 7.1, but i didn't find it. I found it in 8.0 and 8.1, but I am not sure, can I use it. Can you please give link to that file or help me finding it?

RU

Добрый день!
У меня возникли проблемы с компиляцией этого движка.

error LNK2001: неразрешенный внешний символ "_CLSID_DirectPlay8Address"   E:\GIT\xray\cs\engine\xrNetServer\NET_Client.obj    xrNetServer

И другие ошибки, связанные с DirectPlay8. Я не нашел dxguid.lib ни в Windows Kit 7.0, ни в 7.1. Зато нашел в 8.0 и 8.1. Можно ли использовать их? Если нет, то скиньте ссылку на скачивание нужного dxguid.lib.

oalib_mt.lib

When trying to compile xrEngine, it says it can't find oalib_mt.lib. I downloaded OpenAutomate, and have it's libs and includes selected already. I tried rebuilding OpenAutomate but it didn't generate this file either. It doesn't seem to exist.

Update LUA

RU

Сделал отдельный issue для этой задачи.
Сейчас в движке:

Сейчас LuaBind заброшен(последний коммит 2010 года). LuaJIT обновился до 2.0.3.
Можно опробовать связку:

Но необходимо сначала diff изменений от GSC в LuaBind и LuaJIT, чтобы знать, что они изменили в оригинальных файлах.
Сложное - адаптация старого кода к новому и неизбежный дебаггинг(вида "куда подевалась половина экспортированных классов").
Если перенос пройдет успешно, производительность Lua движка вырастет в разы.

Bizzare problem

Although the source has been compiling for me just fine for a while, all of a sudden I'm getting the following error when trying to start a new game:

FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitWindow
[error]File : ui\UIXmlInit.cpp
[error]Line : 88
[error]Description : XML node not found
[error]Argument 0 : ui_inv_outfit_radiation_protection
[error]Argument 1 : ui\actor_menu_item_16.xml


Do you have any idea what could cause this? I haven't modified UIOutfitInfo.cpp which seems to contain this. I have modified xrGame, but not in any way that should disrupt UI (added actor shadow to R2/R3, added new reload sound type to WeaponMagazined, unlocked fov command).

Any ideas what could cause this? I'm not sure the exact commit I'm using, it's at least 4-5 commits old now, but this is the first compile where I've had trouble like this.

Multi-threading

Any thoughts about making the project multi-threaded as well as possibly moving to a 64-bit exe?

Trouble compiling xrEngine

1>x_ray.cpp(399): error C2065: 'hCheckPresenceMutex' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Don't know what's causing this.

Windows SDK issue

I was wondering, I know I need Windows SDK for Windows 7, but since I'm on Windows 8.1 will using the 8.1 SDK work?

I tried with the 8.1 SDK and got these errors:

"1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6173): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6177): error C2061: syntax error : identifier '__RPC__in_xcount_full'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6381): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6385): error C2061: syntax error : identifier '__RPC__in_xcount_full'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6589): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6593): error C2061: syntax error : identifier '__RPC__in_xcount_full'"

And it goes on and on. Either I did something wrong, or 8.1 isn't compatible?

I've been trying to install the Win7 SDK but it keeps failing, I believe because it detects the following initially: "Visual C++ Standard Compilers 2010" which I believe got left over after uninstalling Visual Studio 2010 to try and get it working, but apparently it didn't delete that and I can't find a trace of it on my computer or in the registry.

Windows SDK issue

I was wondering, I know I need Windows SDK for Windows 7, but since I'm on Windows 8.1 will using the 8.1 SDK work?

I tried with the 8.1 SDK and got these errors:

"1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6173): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6177): error C2061: syntax error : identifier '__RPC__in_xcount_full'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6381): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6385): error C2061: syntax error : identifier '__RPC__in_xcount_full'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6589): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\objidlbase.h(6593): error C2061: syntax error : identifier '__RPC__in_xcount_full'"

And it goes on and on. Either I did something wrong, or 8.1 isn't compatible?

I've been trying to install the Win7 SDK but it keeps failing, I believe because it detects the following initially: "Visual C++ Standard Compilers 2010" which I believe got left over after uninstalling Visual Studio 2010 to try and get it working, but apparently it didn't delete that and I can't find a trace of it on my computer or in the registry.

Is the OpenGL renderer done?

Hello, just curious if the OpenGL renderer is finished in the dev branch before trying to compile it? If not I'll just compile the master branch. Thanks.

OpenAL Sound issues

RU

Добрый день!
После успешной компиляции абсолютно всех проектов в решении мною были предприняты следующие шаги:

  1. Очищена(конечно с бэкапом) папка bin оригинальной игры
  2. Содержимое binaries/Debug было скопировано в папку bin оригинальной игры
  3. Игра была запущена bin/xrEngine.exe из папки игры
  4. После отображения сплэш-скрина(он еще отображается) вылетает ошибка OpenAL: Can't create sound device. и игра закрывается.
    Последние строчки лога игры:
SOUND: OpenAL: enumerate devices...
SOUND: OpenAL: EnumerationExtension Present
devices 
SOUND: OpenAL: system  default SndDevice name is 

Необходимо обратить внимание на пустое имя устройства.
Код C#( xrSound.OpenALDeviceList:75 ):

devices = (char *)alcGetString(NULL, ALC_DEVICE_SPECIFIER);
Msg("devices %s",devices);
m_defaultDeviceName = (char *)alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
Msg("SOUND: OpenAL: system  default SndDevice name is %s", m_defaultDeviceName.c_str());

В коде движка мною ничего не менялось.
Запуск с -nosound -nointro запускает игру без звука. Там есть свои проблемы, но о них не в этом тикете.
Я продолжаю исследовать причины ошибки.

xrGame compile issue

Hopefully this will be the very final compilation issue I bug you with as I compiled every other dll fine.

I get this at the end of trying to compile xrGame.dll:

1> Generating Code...
1> cximage.lib(xmemfile.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
1>LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.