I have a little programming experience and I'M just getting into Linux. I was wondering, how big of a deal would it be to convert some of your old classics like Half-Life and Tomb Raider from Windows to Linux? Sorry to ask such a stupid question on such a technical forum.

Dani AI

Generated

— short version: a native Linux port usually means either (a) you have the original source and the rights to build/modify it, or (b) the community has reimplemented the engine so the original datafiles can run on Linux. rightly sketched the high-level choices; this adds practical next steps and concrete resources.

If you can get the source and permission: audit the code (build system, third‑party libs, Win32/DirectX usage), add a cross‑platform build (CMake), replace Windows-only APIs with SDL2 or GLFW for input/audio/windowing (https://www.libsdl.org), and either port the renderer to OpenGL/Vulkan (https://www.khronos.org/vulkan/) or write a small abstraction layer. Use tooling (gcc/clang, sanitizers, valgrind, gdb) and test both 32/64-bit. If you want a quicker compatibility path during development, DXVK translates Direct3D calls to Vulkan and can help validation (https://github.com/doitsujin/dxvk).

If you do NOT have source: look for community reimplementations before attempting reverse engineering. Examples of community projects that revive classics are Xash3D for Half‑Life (https://github.com/FWGS/xash3d-fwgs), ScummVM for many adventure titles (https://www.scummvm.org), and OpenRA for classic RTS engines (https://www.openra.net). For running original Windows builds under Linux, modern compatibility stacks like Proton (Steam), Lutris and Wine have extensive notes and user reports — check ProtonDB and Lutris for per‑game guidance (https://www.protondb.com, https://lutris.net). Reverse engineering tools such as Ghidra exist (https://ghidra-sre.org), but verify legal/IE rights before using them and never redistribute copyrighted assets without permission.

Packaging and troubleshooting: produce distro packages or Flatpaks (https://flatpak.org) for easier distribution; debug missing libraries with ldd, trace calls with strace/ltrace, and log shader/renderer errors separately. Community ports for single titles are common; start with a small engine or an existing reimplementation to learn the workflow before tackling a major commercial game. ’s Warcraft idea is the sort of project communities have done — doable, but expect significant work.

Recommended Answers

All 2 Replies

Unless you happen to have access to the original source code for Half-life or Tomb Raider, then you have no hope of being able to port them over to run natively on Linux. But there is nothing to stop you from creating your own Half-life or Tomb Raider clone using an open source game engine. Obviously, because of copyright you wouldn't be able to call them Half-Life or Tomb-Raider. Perhaps you could call them No-Life and Sarcophagus-Snatcher heh heh! :) But that would be a pretty massive undertaking.

Personally I think the best bet would be to simply try running your old windows games with Wine. You may have varying degrees of success with this. Some windows games/programs will work fine in wine, others will need a bit of messing with, or will be unstable. And then there are those that just flat out won't work at all. So it's a bit of a lottery there!

I think the winehq website lists a lot of windows games and programs that work with wine as well as how well they run and any configuration changes that need to be made to get them to run.

Another option might be to install the games on a virtual windows machine using something like VMWare (so you're running a virtualised windows pc from within Linux). But unless you've got a pretty powerful PC, I can't imagine many games running particularly well with this option.

Dual booting your pc would also be an option (Windows and linux installed in different partitions on the same machine), that way you just install your games in your windows partition and boot into windows whenever you want to play them.

But as I said, personally I'd go with using wine. I'm pretty certain that Half-life is one of the many windows games that will run under wine. I'm not sure about Tomb Raider though!

Cheers for now,
Jas.

If you can port Window game to Linux than perhaps you can do Warcraft too.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.