Skip to content

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)

License

Notifications You must be signed in to change notification settings

OpenXRay/xray-16

Repository files navigation

OpenXRay

OpenXRay is an improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World.

Goals

  1. Clean up engine code, boost performance, and fix original X-Ray Engine bugs that were polluting S.T.A.L.K.E.R. series.
  2. Make it a drop-in replacement for original engine.
    1. Aim at 99% compatibility and same behaviour, where possible.
  3. Support all three games in the series: SOC/CS/COP. (see Supported game platforms below)
  4. Introduce a solid platform for modmakers:
    1. Add frame/render graph for those who want to add new graphics features.
    2. Add new scripting, development and debugging features.
    3. New game SDK with new features.
  5. Enhance player's experience with new graphics, gameplay and other features that can be enabled optionally. (by default, we stay close to vanilla)

Main differences from original X-Ray are:

  • Support for 64-bit.
  • Improved performance, better FPS.
  • Original bugs fixes.
  • New features for modmakers.
  • Gamepad support. (not yet finished, but you can try already, see #943)
  • Works on Linux, macOS, *BSDs and supports ARM, ARM64, E2K (Elbrus 2000), PPC64LE architectures.

You can see the detailed differences table here

Supported game platforms

OpenXRay is based on X-Ray 1.6.02, used in S.T.A.L.K.E.R.: Call of Pripyat, but the engine was extended to support more than that:

Call of Pripyat Clear Sky Shadow of Chernobyl Call of Chernobyl
Yes Release candidate (see #382).
Minor bugs possible, but game is stable finishable.
Not supported yet (see #392) Yes

Documentation:

Make sure to visit our wiki.

How to
Build and setup On Windows On Linux
Install and play On Windows -

Contributing

All contributions are more than welcomed. There are several ways how you can contribute:

Community

Discord

Play and enjoy the game, file an Issue when you encounter any bugs, or you have an enhancement request.

Join us on our Discord, subscribe to our YouTube channel, join our VK group, leave a comment, put a like and communicate there!
Also you can put a star on this repository or boost our Discord server :)

Development

GitHub Actions Build Status Contributors

Join our efforts in making our beloved game better, send pull requests, participate in discussions and code reviews!

It is a place to share ideas on what to implement, gather people that want to work on the engine, and work on the source code. However, the following things should be taken into consideration:

  • We want to keep the game close to the vanilla, so if you want to introduce new gameplay features, make sure it is optional, and doesn't break compatibility with original game resources (i.e. everything in gamedata folder and .db*/.xdb archives). You also may want to add non-gameplay features, fix bugs, or improve engine performance and code quality.
  • Major changes should be discussed before implementation.

Take a look at our Issues page:

  • See issues labeled as good first issue to get familiar with the engine code in practice.
  • You may also want to look at issues labeled as help wanted. Some of them are difficult ones, though.

The dev branch is the default and base branch for the project. It is used for development, and all pull requests should go there. But be aware that this branch sometimes may be broken, and we can only rarely do force pushes to this branch.

Be advised that this is a community project not sanctioned by GSC Game World in any way – and they remain the copyright holders of all the original source code and S.T.A.L.K.E.R. franchise. However, they know about many community projects, including this, and support the S.T.A.L.K.E.R. community efforts to make the game better.

Funding

Financial Contributors Sponsors Patreon

You may provide financial support for this project by donating via different ways:

  • Boosty – a large part of the team is located in Russia, if you have an ability to donate through Boosty, please use it, since we don't have an ability to withdraw funds from services like Patreon, etc. to our local Russian banking cards/accounts.
  • GitHub Sponsors, Patreon, Open Collective – funds raised from these services will be used to support our developers outside of Russia, and also we may use them to pay for paid services on GitHub, AppVeyor, etc.
  • BTC: 363ZUoWcQe9fDvRPK9Kee2YuPdyhSFQpr2
  • ETH: 0x45a4fe8566e76946591e1eeabf190aa09b1cdb66
  • TRX: TGx7QAhTPsRcwnb4mwCtNDU7NF6kuoACpt
  • Please, contact @xottab_duty in our Discord if you would like to use another cryptocurrency.

Thank you for your support!

Thanks

  • GSC Game World – for creating S.T.A.L.K.E.R. and supporting the community.
  • Loxotron – for making the engine sources available.
  • All the OpenXRay contributors – for making the project what it is:
    • The first OpenXRay team (2014-2017) – for being at the origins of the project:
      • nitrocaster – original project founder.
      • Kaffeine – initial work on the Linux port, refactoring, polishing.
      • CrossVR (Armada651) – creation of the OpenGL renderer, work on the build system, other project maintenance work.
      • andrew-boyarshin – work on the build system.
      • CasualDev242 (Swartz27) – work on renderer features.
      • awdavies – project maintenance work.
    • The second OpenXRay team (2017-now) – for continuing work on the project:
      • Xottab_DUTY – current project leader.
      • intorr – work on the project quality, memory leaks, refactoring and optimizations.
      • eagleivg – main part of the work on Linux port.
      • q4a – main part of the work on Linux port.
      • SkyLoader – OpenGL renderer improvements, stabilization and polishing, other project work.
      • qweasdd136963 – supporting the OXR_COC project (Call of Chernobyl port to latest OpenXRay), other project work on new features, refactoring and bug fixing.
      • JohnDoe_71Rus – our regular tester.
      • Chip_exe – work on Linux port, maintaining AUR package, our regular tester.
      • a1batross – work on Linux port.
      • The Sin! – new features, refactoring, bug fixing polishing.
      • Zegeri – work on Linux port, code quality, fixes, polishing.
      • drug007 – work on Linux port.
      • vTurbine – work on renderer multithreading, improvements and refactoring.
      • Zigatun – work on ARM port.
      • Masterkatze – work on the build system, bug fixing.
      • Chugunov Roman – work on porting Call of Chernobyl to latest OpenXRay, extending functionality for modmakers.
      • yohjimane – work on introducing many new features, fixing original engine bugs.
    • Other contributors:
      • alexgdi – work on organizing project infrastructure, external dependencies.
      • Shoker – contributing new features, bug fixing.
      • Alundaio – useful new features, bug fixes and optimizations.
      • NeoAnomaly – help with debug functionality on Windows.
      • RainbowZerg – work on the renderer features, bug fixing.
      • FozeSt – help with some fixes and features.
      • justtails (mrnotbadguy) – work on gamepads support and bug fixing.
      • devnexen – work on FreeBSD support and portability.
      • vamit611 – work on code quality and bug fixes.
      • ZeeWanderer – work on the build system.
      • GeorgeIvlev – work on the build system, bug fixing.
      • r-a-sattarov – work on portability and E2K support.
      • TmLev – work on code quality and Docker support.
      • Plotja – work on new gameplay features, bug fixes, portability, polishing.
      • jjdredd – work on various useful features.
      • dimhotepus – work on code quality.
      • HeapRaid – work on renderer cleanup, code quality, portability.
      • OPNA2608 – maintaining NixOS package, work on portability.
      • kosumosu – work on portability, including E2K support, and renderer features.
      • Graff46 – work on various scripting features.
      • vertver – work on macOS support.
      • Lnd-stoL – work on macOS support.
      • GermanAizek – work on code quality, finding and fixing vanilla bugs.
      • dasehak – work on FreeBSD support, finding and fixing vanilla bugs.
      • Hrust – work various features, including UI, CS/SOC support and bug fixes.
      • johncurley – work on EFX, bugs and portability.
      • v2v3v4 – work on physics, useful help with the engine and showing sexy screenshots and videos about his X-Ray fork, but refusing to send pull requests :D
      • Neloreck – work on extending Lua scripting features.
      • sobkas – work on code quality and bug fixing.
      • AMS21 – work on CMake, code quality, and project standards and infrastructure.
      • olefirenque – work on multithreading and code optimization.
      • tsmp – work on performance and code optimization.
    • Individuals, whose work was used, merged or imported:
      • Im-Dex – x64 support, work on the engine.
      • tamlin-mike – work on the build system.
      • Vincent – work on the Linux port.
      • abramcumner – useful fixes and additions.
      • Morrey (nouverbe, viventaje) – work on Clear Sky support and his Return to Clear Sky mod, and work on DX12 support.
      • avoitishin – work on scripting features expansion, other improvements and fixes.
    • Financial supporters:
      • nitrocaster, Lukas Friedrich, Luke Jones, NekoIt,
      • Igor Polyakov, Incognito, PJ, RazDva, astral jellybean,
      • Kirill Reprintsev, John Curley, The ParaziT, clayne, sobkas,
      • MANfromMOON, Valevicor, Nac, Midiy, Vadim Balashov,
      • Jacob Arms, CatWMuttonChops, Reed777, Interpreter_, nexusasx10,
      • Egor Olefirenko, Igor Zharenko, SLF, Dmitriy Terletskiy, Alex Brodskiy,
      • Neizvestniy Chelovek, LinuxNerd, tyabus
  • Particular projects and their contributors:
    • Oxygen – for being our friends and giving tips and help with new features, optimizations, bug fixes, etc.
    • Shoker Weapon Mod – for first introducing 3D (PiP) scopes and implementing new features to overall improve the weaponry of the game.
    • OGSR – for amazing work on Shadow of Chernobyl.
    • Call of Chernobyl – for useful new features, bug fixes and optimizations.
      • Anomaly – for pushing the boundaries, adding new features and enhancing player experience.
    • Lost Alpha – for their effort on restoring the old game concept.
      • Lost Alpha DC – for continuing work on Lost Alpha and mastering it.
    • Living Zone – for pushing the limits of our engine past the edge.
    • OpenXRay Gunslinger – for introducing new fascinating features and enhancing the game experience with players-approved weapon pack on top of OpenXRay.
    • IX-Ray – for being at the edge of technology.
  • Companies:

If your work is being used in our project and you are not mentioned here or in the contributors page, please, write to us and we will add you. Or send us a pull request with you added to this list ;)