While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Steam Controller 2 is apparently a thing and being 'tooled for a mass production' plus a new VR controller
- Steam Deck OLED: Limited Edition White and Steam Deck Australia have launched
- NVIDIA stable driver 550.135 released for Linux
- Sony reportedly looking to acquire Kadokawa, owner of ELDEN RING dev FromSoftware
- Dungeon Clawler will grab hold of your free time now it's in Early Access, plus keys to give away
- > See more over 30 days here
-
Dungeon Clawler will grab hold of your free time now it…
- Liam Dawe -
HORI Steam Controller releases in the USA in December
- bialyikar -
Deep Rock Galactic: Rogue Core teaser trailer has me ex…
- RTheren -
Star Fox 64 is getting a Native PC port from the devs o…
- ElectricPrism -
UnderworldGodot is an engine recreation of Ultima Under…
- elmapul - > See more comments
- What do you want to see on GamingOnLinux?
- Linux_Rocks - Our own anti-cheat list
- Liam Dawe - What have you been listening to?
- Cyril - Weekend Players' Club 11/22/2024
- Liam Dawe - Types of programs that are irritating
- Cyril - See more posts
View PC info
I would just like to know more about this I guess.
Porting can be as simple as exporting your game to Linux with the click of a button if you use an engine that makes this possible, or it can be a dauntingly tricky task if the original codebase is tightly tied to the original platform. This is doubly true if the game makes use of Windows-only third party libraries, or triply if it relies on quirks and outright bugs of a platform or a specific compiler.
But generally you'd first map out what parts of the project need to be ported or "made portable", then pick suitable tools and libraries for the task, like OpenAL for audio, SDL for input etc. These are good and mature libraries that work well in both Windows and Linux, so you can use whatever IDE/editor and OS you're most comfortable with for this. Although using a cross platform compiler or two and testing on all target platforms is better for your sanity at this point.
Porting the graphics engine can be really hard or just moderately hard, depending on the level of your expertise and the existing design. If the original engine was indeed built tightly around D3D as you said without any abstraction at all (which is simply bad design) it'll take major refactoring, especially if you need to keep the existing backend in addition to the new OpenGL code. Even in case the original code is excellent, this isn't a simple search-and-replace. But I'm stepping out of my depth here, so that's as far as I go.
Ryan 'icculus' Gordon is often cited as saying that porting a game from Windows to Linux can take anywhere from 24 hours to 3 months, but that's probably more than a bit optimistic for mere mortals.
View PC info
The following article previously posted on Gaming On Linux gives a pretty in-depth overview:
Why We Want Native Ports Only
View PC info