Turok 4 Multiplayer, Part 2: Picking Back Up in an AI Era
Nearly nine years later, a bit of a retrospective on T4MP, reverse engineering the Quagmire engine, and where I'd like to take the project utilizing the technology available to us today.

Well, it only took me nearly nine years to get around to writing part 2.
The original idea behind part 1 of this series was to document some of the hurdles I encountered throughout the development of T4MP, the methodology I utilized to overcome them, and hopefully provide other people with enough information to approach similar projects of their own. Given how much has changed since I originally wrote that post in February of 2018, I don't necessarily think continuing the series in the manner I'd originally intended makes a whole lot of sense anymore.
That being said, quite a bit occurred between when I wrote that post and when AI became something I could reasonably utilize to assist with the project, which I never really got around to documenting.
Having spent my last two posts bitching about some of the implications of AI, the quality of some of the software being produced utilizing it, and the importance of people continuing to understand what they're actually doing, I figured it'd be worthwhile to document how I'm approaching some of those things myself. This post will be more of a follow-up to the original, an introduction to the direction I'm taking the project, and somewhat of a precursor to some more technical write-ups I'd like to do regarding how I'm approaching it.
What happened to T4MP?
For those who haven't read the original post or any of the other posts I've written regarding T4MP over the years, the original idea was relatively straightforward.
Find a game that doesn't have online multiplayer and implement it.
A considerable portion of the inspiration for doing this came from what people had accomplished with GTA III, more specifically what eventually became known as Multi Theft Auto. I thought the concept of taking a game that was never intended to be played online and implementing that functionality yourself by means of reverse engineering, code injection, and function replacement was particularly interesting.
A friend of mine and I eventually landed on Turok Evolution and here I am still messing around with the damn thing nearly twenty years later.
Initially the objective was more so to develop a proof of concept. I wanted to get to a point where I could link two players together, have them interact with one another within the game, and worry about a considerable portion of the other problems associated with actually making it playable later.
As you can probably tell from the original article, a lot of the methodology I utilized to accomplish that consisted of investigating portions of the engine as I encountered a need to do so. If I needed to figure out how to spawn another player, I'd reverse engineer enough of the functionality associated with spawning a player to accomplish that. If I needed to synchronize a particular action performed by that player, I'd reverse engineer enough of the functionality associated with that action to get it working.
There were plenty of instances where I understood what I needed to understand to accomplish something without necessarily understanding the entirety of the functionality I was interacting with or the implications of interacting with it in that particular manner. Which, for the purposes of developing a proof of concept, was fine.
At some point though, you accumulate enough of these things that you start running into problems associated with the portions of the engine you didn't bother understanding. And that's more or less what happened with T4MP.
The original project is still available here:
Taking a step back
A considerable portion of what I did after the development of the original T4MP, and subsequently writing part 1, was taking a step back from the actual multiplayer aspect of the project and spending more time reverse engineering the engine itself.
One of the benefits of working on Turok Evolution is that it wasn't the only game developed utilizing the Quagmire engine. There were several other games, some of which had debug builds available containing symbols, that I could utilize to assist me in understanding portions of the engine that would otherwise have taken me considerably more time to reverse engineer.
Over the years I accumulated quite a few IDBs associated with these games, including Vexx, The Red Star, and 100 Bullets, in addition to various prototype and debug builds of Turok Evolution itself. A considerable portion of my time was spent manually comparing routines across those IDBs, developing various techniques to correlate functionality between the different versions of the engine, and subsequently applying what I'd learned back to the PC version of Turok Evolution.
Obviously the fact that two games utilize the same engine doesn't necessarily mean their implementations of a particular piece of functionality are identical. There are differences in the versions of the engine being utilized, differences in functionality specific to the games themselves, differences associated with the platforms they were developed for, compiler optimizations, etc. However, in a lot of instances there was enough similarity between the implementations to make some fairly reasonable determinations regarding what I was looking at.
Some of that research was documented and made available here:
There were also some other smaller projects associated with dissecting various portions of the game's content, such as:
By the time I'd gotten to a point where I was relatively satisfied with the progress I'd made on identifying engine routines, I'd managed to label what I'd estimate to be roughly 75% of the engine's functions. All of that was done prior to utilizing AI for reverse engineering.
What continued to elude me to a considerable extent was getting the same degree of completeness with respect to classes, structures, their individual members, global variables, etc. I'd have instances where I knew exactly what a particular routine was responsible for doing, had identified the original name of it from one of the other games, and still had a fairly incomplete understanding of the objects that routine was operating on.
I'd often utilize ReClass to reconstruct portions of those objects as I needed to interact with them, but again a lot of that was done on an as-needed basis. I'd identify the members I was interested in, determine their offsets, and move on to whatever else I was attempting to accomplish. That gets you a working understanding of the portions of the engine you're interested in interacting with, but it's not necessarily the completionist state I'd wanted to get the research to.
I wanted to get to a point where I could open the IDB, navigate to a relatively obscure portion of the engine I hadn't spent much time interacting with, and have a reasonable understanding of what I was looking at without having to spend another several hours reconstructing the structures associated with it.
I never quite got there manually.
From multiplayer to an SDK
At some point throughout all of this the objective had shifted from exclusively developing a multiplayer modification to developing something more akin to an SDK for Turok Evolution. The reasoning behind it was relatively simple. The more of the engine I understood and could expose to myself, the easier a considerable portion of the things I was attempting to accomplish with T4MP would theoretically become.
Rather than having a bunch of relatively specific implementations of things scattered throughout the multiplayer modification, each based on some portion of the engine I'd reverse engineered at the time, why not develop something that provides a much more comprehensive interface into the engine itself? Then the multiplayer modification becomes something developed on top of that SDK rather than the thing dictating which portions of the engine I bother reverse engineering in the first place.
There were also numerous other things I'd contemplated doing with the game that would benefit from having that same understanding of the engine. I'd contemplated attempting a full decompilation or recompilation of the game numerous times throughout the years, and there were instances where I'd actually get started doing some of that manually. Every time I did, I'd eventually come to the conclusion that the amount of time I'd have to invest into doing it wasn't particularly reasonable given that there were other things I wanted to accomplish with the game.
An SDK seemed like a somewhat more reasonable middle ground. I could continue utilizing the original engine where appropriate, reconstruct the classes and structures associated with it, expose the functionality I was interested in utilizing, and selectively replace portions of the engine without necessarily needing to reconstruct the entirety of the original game into a compilable codebase.
The problem was that even doing that to the extent I wanted to do it was a fairly substantial undertaking.
In came the clankers
As Claude, Gemini, and ChatGPT became available and got progressively better at programming (although admittedly not particularly great at some of the things I wanted to utilize them for initially), it became apparent that I could utilize them to assist with some of the problems I'd historically encountered throughout the development of T4MP. Eventually this resulted in the second iteration of the multiplayer modification:
V2 was essentially a reworking of what I'd previously accomplished with T4MP, with a considerably more organized codebase, a reduction in some of the more questionable hooks and inline assembly utilized throughout the original, and some changes to the underlying architecture of the modification. I moved away from some of the custom Winsock code I'd written in favor of ENet, moved away from Detours in favor of MinHook, and changed the manner in which some of the networking and serialization associated with the modification was being handled. There was also more of an emphasis on integrating some of the functionality into the game itself.
However, there was still quite a bit of manual reverse engineering involved, and I still hadn't gotten anywhere near deprecating all of the things I'd wanted to deprecate from the original implementation. There were still unnamed classes, unknown structure members, partially reconstructed objects, and functionality I was interacting with without necessarily having a complete understanding of the engine's utilization of it.
If you take a look at the issues associated with both T4MP V1 and T4MP V2, you'll probably notice some similarities between them. Issues associated with synchronizing weapon fire, ammunition, weapon selection, player damage and death, the SpiderMine, the Sniper Pistol, etc. Some of these are things that persisted across both iterations of the modification despite the fact I'd changed a considerable amount of the underlying implementation.
Part of the problem, in my opinion, was that I was still approaching some of these things in much the same manner I had when originally developing T4MP. I was attempting to solve individual problems as I encountered them rather than having a sufficiently comprehensive understanding of the engine to determine how those problems should have been approached in the first place. AI made aspects of that process considerably easier, but I wasn't necessarily utilizing it in a manner that addressed the underlying problem.
Making it feel like it belongs
Another thing that has changed considerably since I originally started working on T4MP is the amount of consideration I'm able to give to the experience of actually utilizing the modification.
Going back to the original implementation, I had an external server browser that was somewhat reminiscent of GameSpy and some of the other external server browsers people utilized back in the day. That project has since been archived but is still available:
It wasn't necessarily an ideal solution, and I even acknowledged that in the original repository, but it worked for what I needed it to do at the time. I was considerably more interested in getting two people into the game and having them interact with one another than I was in developing a particularly seamless experience for someone attempting to join a multiplayer game.
In V2 I moved more of that functionality into the game utilizing ImGui. You could interact with the multiplayer functionality without necessarily having to go through an entirely separate application to do so.
It was an improvement over what I'd previously implemented, but it still didn't necessarily feel like something that belonged within the original game. It felt like what it was, a modification with an additional UI being drawn on top of the game.
One of the things I've been somewhat enjoying with the recent advancements in AI is having the ability to give considerably more consideration to some of those things without having to sacrifice an unreasonable amount of time I could otherwise be spending reverse engineering the engine. I've been doing quite a bit of what some people would probably refer to as embracing the slop with respect to redesigning some of the game's menus, experimenting with different UI implementations, and seeing what I can get AI to produce. Except the objective isn't to accept whatever it produces and call it a day.
I'd like the multiplayer functionality to feel as though it actually belongs within Turok Evolution. I'd like someone to be able to start the game, navigate the menus, select whether they want to play locally or online, configure a game, select a character, and subsequently play it without feeling as though they're interacting with an entirely separate piece of software that happens to be running within the same process.
The fact that AI can generate a menu for me doesn't necessarily mean it can determine what makes that menu good. There are things associated with UI and UX that I consistently struggle to get any of the LLMs I'm utilizing to adequately understand.
Something might look fine in a screenshot but feel absolutely horrible to actually interact with. Something might make sense utilizing a mouse and keyboard but be particularly annoying to navigate utilizing a controller. Something might look relatively polished but be completely inconsistent with the experience of utilizing the rest of the game. There are also things that only become apparent once you've actually spent time playing the game and interacting with whatever you've implemented.
I don't know if AI will eventually be capable of adequately understanding some of that context on its own, but it's certainly not something I've found it particularly good at doing as of late. That's where a considerable portion of the effort associated with utilizing it comes into play. Investigating what it's produced, determining what actually works for the player, reconsidering some of the decisions that were made, and subsequently iterating on it.
I think there's a difference between having AI produce something for you and directing it towards producing something you actually want.
Decompilation for the sake of decompilation
One of the things I find particularly interesting about some of the recent game decompilation and recompilation projects popping up is what people consider a decompilation to actually be. For instance, you can take a binary, produce a C or C++ representation of a considerable portion of the instructions contained within it, get that representation to compile, and potentially even get something that behaves in a manner that's reasonably consistent with the original binary. That's an accomplishment in and of itself.
However, if the resulting codebase consists of thousands of routines named func_XXXXX or sub_XXXXX, variables named v1, v2, and v3, structures consisting of unnamed members and arbitrary amounts of padding, what exactly have you accomplished with respect to understanding the original application?
You've potentially produced something that can be compiled, and depending on the objective of the project that may be entirely sufficient. But I wouldn't necessarily consider that the same thing as having reconstructed a reasonably human-readable representation of the original source code.
One of the things I've seen people mention on Reddit and in various repositories associated with these projects is that having a decompilation of a game is going to make it considerably easier for people to develop modifications for it. I'm not necessarily convinced that's the case if the decompilation in question is what I'd consider slop.
You may no longer be staring at assembly instructions or pseudocode within IDA, but you still have to reverse engineer the functionality you're attempting to modify. You still have to determine what the routines you're interacting with are responsible for doing, what the arguments being passed to them represent, what the members of the objects they're operating on represent, and what the implications of modifying that functionality are.
Except now you're doing it within some generated C or C++ codebase that may not have been architected in a manner representative of the original source code and may have introduced its own inconsistencies throughout the process of getting it to compile. You've effectively deferred a considerable portion of the reverse engineering until after you've produced the decompilation.
And if you're subsequently utilizing AI to develop modifications against that codebase, you're probably going to be consuming tokens doing a considerable portion of that research anyway. The more piecemeal the research associated with the codebase is, the more difficult it potentially becomes for both humans and AI to navigate it, understand the relationships between various components, and chase down issues.
I think there's a fairly significant distinction between reconstructing code and reconstructing knowledge of the engine. It's the latter that I'm considerably more interested in.
Also, if the objective is just to develop modifications for a game, you don't necessarily need to decompile it in the first place. The entire original premise behind T4MP is a demonstration of how versatile code injection, hooking, and function replacement can be. It's certainly not the only project to have demonstrated that either. People were developing some fairly impressive modifications to games long before AI made it reasonable to contemplate reconstructing the entirety of their source code.
A decompilation can be particularly useful for a number of reasons, but I don't think having one should inherently be considered a prerequisite for modding a game. Nor do I think getting something to compile should necessarily be the end of the reverse engineering associated with producing one.
The context problem
Something that's particularly easy to do today is take one of the issues associated with T4MP, throw the relevant code at Claude, tell it that something doesn't work the way I want it to, and watch it attempt to resolve the problem. Perhaps it even resolves it.
Did it do it right though?
Or did it introduce some hotfix that I'm going to have to deal with six months from now? Did it resolve the actual cause of the issue or did it simply implement something that prevented the circumstances under which the issue was occurring? What happens when I subsequently have it implement another piece of functionality that overlaps with the functionality associated with that particular fix?
Does it know that the other hook exists? Does it understand why the hook was implemented? Does it understand the order in which some of those things need to occur within the engine? Does it know if the game already provides a means of accomplishing what I'm asking it to accomplish?
Without the appropriate context, the AI is operating on a considerable number of assumptions.
If I point it at a handful of routines responsible for accomplishing a relatively specific thing within the engine, its understanding of the engine is largely going to be limited to what it's able to infer from those routines and whatever additional context it's able to acquire. There's potentially quite a bit of functionality elsewhere within the engine that it hasn't given any consideration to, either because it isn't aware that it exists or because it doesn't recognize that it would be relevant to what it's attempting to accomplish.
This isn't necessarily an issue exclusive to reverse engineering either. It's something I've encountered numerous times utilizing LLMs to work within relatively large codebases in general. Rather than utilizing existing functionality somewhere else within the codebase, they'll sometimes independently implement it again. They'll introduce workarounds for things they haven't adequately investigated, make assumptions regarding the intended behavior of something, or make changes that appear relatively reasonable within the context of what they're currently working on but aren't particularly reasonable within the context of the application as a whole.
That's the technical debt you're potentially assuming every time you just ask your clanker to do something for you without giving much consideration to how it does it. At some point you're probably going to have to tell it to revisit some of those decisions, investigate something further, or redo something entirely. And you're going to be consuming more tokens doing so.
Some of that is probably inevitable regardless of how well you plan things out. However, I'd like to give the AI a considerably better foundation to work from than what I was giving myself throughout the original development of T4MP.
Picking back up in an AI era
Given what I've already accomplished with respect to reverse engineering the Quagmire engine, what I'd like to utilize AI for now is largely a continuation of what I'd been attempting to accomplish manually for years. Rather than taking the existing T4MP codebase and attempting to resolve individual issues associated with it, I'm approaching it from the perspective of trying to establish as comprehensive an understanding of the underlying engine as I reasonably can.
That means giving the AI access to the various IDBs I've accumulated throughout the years, including those associated with the other games developed utilizing the Quagmire engine where debug symbols are available, as well as the research I've already conducted myself. The methodology I'm currently targeting consists of a few relatively straightforward concepts, although actually accomplishing them to the extent I'd like to is considerably more involved.
1. Finish what I started within IDA
The first objective is to get the IDB for Turok Evolution into as complete a state as I reasonably can. This means identifying the remaining unnamed routines, global variables, classes, structures, and their individual members.
Where possible, I want those findings to be derived from the actual symbols available within the other versions of the engine, much like what I spent years doing manually. Where a direct correlation can't be established, I'd like the AI to make use of whatever similarities exist between the implementations, the context associated with how the functionality is utilized, and the research already available within the other IDBs.
There are going to be things where the original names can't reasonably be determined and some degree of inference is required. That doesn't necessarily mean I want the AI to pretend it recovered the original name of something when what it actually did was come up with a reasonably descriptive name for it.
There's a difference between having identified an original symbol, having established a reasonably good correlation to another implementation of something, and having inferred the purpose of something based on how it's utilized throughout the engine. I'd like to maintain that distinction throughout the research.
The particularly important aspect of this is that I want the findings reflected back into the actual IDB. I don't want Claude to investigate something, develop a reasonable understanding of it within the context of whatever conversation it's currently having with me, write a bit of code based on that understanding, and subsequently lose that understanding when the context is no longer available.
I want the IDB itself to continue improving as additional research is conducted. That way the next time something needs to interact with that portion of the engine, whether it's me or another instance of Claude, we're not independently reverse engineering the same thing again.
2. Reflect the research within the SDK and validate it
As classes, structures, and their individual members are identified, I want those findings reflected within the appropriate header files in the local repository.
One of the things that can be particularly annoying when reconstructing classes and structures associated with an existing application is getting something that looks entirely reasonable from the perspective of C++ and subsequently discovering that it isn't representative of the layout of the original object in memory.
Maybe you've incorrectly inferred the type of a member. Maybe there's an alignment issue. Maybe the compiler has introduced padding you weren't accounting for. Maybe you've incorrectly reconstructed the relationship between a base class and a derived class. Depending on what you're doing with the object, some of those mistakes might not even be particularly apparent initially.
The goal here is to establish a generic means of validating some of those findings against the original engine wherever possible, including comparing the memory layout of reconstructed objects against their original representations. There are also things that can be validated at compile time, such as expected sizes, offsets, and alignment requirements where appropriate.
A header compiling successfully doesn't necessarily establish that it's an accurate representation of the object within the original game. Similarly, a function successfully accessing one of the members of an object doesn't necessarily establish that the rest of the object was reconstructed correctly. I'd like to be able to establish considerably more than that before I start developing things that are going to be dependent on those definitions.
3. Establish standards that aren't optional
Something I've given a considerable amount of attention to throughout this particular effort is developing a standard for how the resulting code should look. A lot of that standard is based on the actual symbols available within the other versions of the engine, in addition to some partial engine source code I've been able to reference. That includes things as seemingly trivial as the capitalization of function names, the naming conventions utilized for classes and members, spacing between declarations, line breaks, the formatting of comments, and even the lengths of lines associated with those comments.
The intention is to have a compile-time validation step that runs through a linter enforcing some of those standards and also prevents some of the things I don't particularly want to see within the resulting codebase.
For instance, I don't want the AI introducing another routine named sub_XXXXX into the SDK because it couldn't be bothered investigating what the routine actually does. I don't want arbitrary members named unkXX, var1, var2, or a bunch of unidentified regions of a class being passed off as a completely reconstructed object.
That doesn't mean I expect to magically determine the purpose of every single byte of every single object within the engine. There is obviously legitimate padding associated with the memory layout of some objects, and there may be things that can't reasonably be identified.
However, there should be a distinction between padding that has actually been established to exist, something that's still an unresolved portion of the research, and a reconstructed object we're claiming to understand. I don't want those things being silently treated as equivalent just because doing so allows something to compile.
Where something is still unknown, it should be considered incomplete rather than having Claude come up with some bullshit name for it just to satisfy a linter. The standard should encourage the AI to actually investigate those things, not simply find another way to work around the standard itself.
It's also something that needs to be enforced outside of simply providing Claude with instructions telling it to adhere to the standard. Anyone who's utilized AI for any considerable amount of time has probably encountered instances where it's particularly good at acknowledging instructions and subsequently ignoring them. I'd prefer to have something capable of rejecting the output rather than relying on it to tell me that it followed the instructions.
The intention behind all of this is to lay what I'd consider a relatively stable foundation for the most appropriate reconstruction of the engine I can reasonably accomplish. Something that's representative of the original engine, reasonably human-readable, consistent throughout its implementation, and capable of being utilized by both humans and AI without having to continually reconstruct the context associated with it.
If I subsequently decide to decompile additional portions of the engine, I've got considerably more information available to me when doing so.
This consumes a shitload of tokens
One of the downsides to approaching things in this manner is that it consumes considerably more tokens than simply asking Claude to develop some modification for the game. Rather than asking it to figure out how to implement one particular thing, I'm asking it to investigate things I may not have an immediate use for.
I'm asking it to compare functionality across multiple binaries, investigate how classes are utilized, establish relationships between different portions of the engine, update the IDB, produce corresponding definitions within the repository, validate those findings, and subsequently adhere to a fairly specific set of standards. That's a considerable amount of additional work.
And perhaps the average person attempting to develop a modification or recompilation of a game isn't particularly interested in doing any of that. Maybe their objective is just "I want this game to run on PC" or "I want to be able to modify this particular aspect of the game." That's fine if that's the extent of their objective.
However, I think it's worth contemplating some of the costs associated with deferring that work rather than doing it up front.
If I subsequently want to implement multiplayer, investigate some issue associated with rendering, modify the manner in which the game handles audio, or expose some portion of the engine's functionality to a scripting engine, a considerable amount of the context associated with doing those things should already be available to me.
More importantly, it should already be available to the AI.
Rather than repeatedly consuming tokens investigating the same objects and routines across different contexts, I've got something persistent that those contexts can refer back to. Rather than having several different implementations of functionality based on incomplete understandings of the engine, hopefully I've got a common foundation those implementations can utilize. There's also considerably less ambiguity associated with what I'm asking the AI to do if it already has a reasonable understanding of the functionality that's available to it.
Whether this ultimately results in less token consumption over the lifetime of the project is something I'd be particularly interested in determining. At the moment I don't have the data necessary to make that assertion.
What I do know is that I'm considerably more interested in spending tokens developing an understanding of the engine that can continue to be utilized throughout the development of the project than I am in spending them repeatedly fixing things that were implemented based on an incomplete understanding of it.
Are we still programmers?
Something else I've found myself contemplating while working on this is how much of what I'm doing now would traditionally have been considered programming.
A considerable portion of my time utilizing AI throughout the development of something is spent contemplating how it should be architected, how I'm going to break the work associated with it down into something reasonable, how I'm going to validate what's being produced, and subsequently directing the AI towards whatever it is I'm attempting to accomplish. I'm also spending time investigating things it got wrong, understanding why it got them wrong, and determining what needs to change throughout the process to prevent it from continually getting those things wrong.
In some respects I'm spending more time acting as a software architect, a technical lead, and a program manager than I am manually writing the code associated with the thing I'm developing. I don't necessarily have an issue with that.
However, I think those responsibilities still need to exist even if we're no longer the people manually typing out a considerable portion of the code.
Someone still needs to determine what the software should do, how it should be developed, what constitutes a reasonable implementation of it, and whether what's being produced actually satisfies those requirements. Someone still needs to consider the experience of the people who are ultimately going to be utilizing it.
AI can assist with a considerable portion of those responsibilities as well, but I don't think simply deferring all of them to the AI is necessarily conducive to producing good software.
That's particularly relevant to what I'm currently attempting to accomplish with Turok. I have a fairly specific idea of what I'd like the game to eventually become, based on the amount of time I've spent playing it, reverse engineering it, developing modifications for it, and contemplating things I'd personally like to see improved throughout the years. Some of that is context that isn't necessarily available to an AI.
If I'm not providing that context, establishing the direction of the project, and subsequently evaluating whether what's being produced is consistent with that direction, what exactly am I contributing to the development of it?
Perhaps we're doing considerably less programming in the traditional sense than we used to. But I think we still need to be acting as software engineers.
Otherwise we're just generating slop and hoping for the best.
Turok Evolution: Reforged
All of that being said, I don't think what I'd ultimately like to accomplish with Turok Evolution can particularly be described as T4MP anymore. The original idea behind T4MP was to introduce multiplayer functionality to the PC version of the game. That's still something I'd like to accomplish, and arguably something I'd like to accomplish considerably better than I did throughout the previous two iterations of the modification.
However, given what I'm currently attempting to accomplish with respect to the SDK and the amount of time I'm able to give to things I previously wouldn't have considered particularly reasonable to invest my time into, I'd like to expand the scope of the project considerably. For now I'm referring to this next iteration of the project as Turok Evolution: Reforged.
Some of the things I'd ultimately like to accomplish with it include:
- Various quality of life improvements and bug fixes throughout the game.
- Improvements to the existing lighting and rendering functionality.
- Improved controller support and input handling.
- Modern widescreen and aspect ratio support.
- FSR or other appropriate rendering and upscaling improvements.
- Support for loading custom maps.
- An in-game level editing and object placement tool, including the ability to define things such as player spawn points.
- Scripting functionality for developing more extensive modifications and custom game modes.
- Improvements and corrections to the game's audio functionality.
- Seamlessly integrated menus for local and online multiplayer.
- Properly functioning online multiplayer.
Some of those things are obviously considerably more involved than others, and there are dependencies between some of them that need to be given consideration throughout the development of the project.
I also don't necessarily want to take the game and turn it into something entirely different from what it was. A considerable portion of the reason I'm interested in doing any of this is because I genuinely enjoyed playing Turok Evolution, particularly its multiplayer, and I'd like to be able to continue enjoying it in a manner that doesn't require dealing with some of the limitations associated with the original release.
I'd also like other people to have the opportunity to develop things for the game that otherwise would have required them to invest a considerable amount of time reverse engineering it themselves. That's where I think the SDK aspect of what I'm working on becomes particularly interesting.
If the engine's functionality is sufficiently well understood, documented, and exposed in a manner that's conducive to interacting with it, people don't necessarily need to independently reverse engineer the same functionality every time they want to develop something for the game. That goes whether they're developing something themselves or utilizing AI to assist them in doing so.
Maybe we can actually work together on something
In my last post, Reinventing the Wheel at Scale, I spent quite a bit of time discussing my frustrations regarding the number of people independently developing things that other people are already developing, and some of the implications I think that has for collaboration. One of the potentially positive aspects of AI making some of these capabilities accessible to virtually everyone is that people who previously wouldn't have possessed the experience necessary to contribute to something like this may now be in a position to do so.
There were quite a few things I wanted to accomplish with Turok Evolution over the years that I probably could have accomplished had I had a few other people interested in working on them with me. There just weren't particularly many people interested in reverse engineering Turok Evolution, and of the people who were interested in the game there were considerably fewer who possessed the experience necessary to work on some of those things. That's not necessarily the case anymore.
Someone who's particularly passionate about the game, has an idea for something they'd like to implement, and is willing to put some effort into understanding the existing project could potentially contribute something particularly useful utilizing AI. Hopefully the more comprehensive understanding of the engine I'm attempting to develop would facilitate some of that.
Of course, that also hinges on whether or not I ultimately decide to make the source code for the project publicly available, which is something I'm still contemplating given some of the things I discussed throughout my previous posts. There's also something particularly interesting about that question in and of itself.
If I decide not to release the source code for Reforged, does that prevent someone else from developing modifications for Turok Evolution utilizing AI?
Absolutely not.
People are already doing it, and as I've previously mentioned you don't necessarily need a decompilation or an SDK to develop modifications for a game.
However, are they going to be developing those modifications with the same degree of context associated with the engine that I'm currently attempting to establish? Are they going to have the same understanding of the relationships between its various components, the original naming conventions, the classes, the structures, their members, and some of the more obscure behavior associated with it? Not necessarily without investing some of the same time, effort, direction, and research into establishing that understanding themselves.
Having access to the same AI model doesn't inherently mean you have access to the same context. And there's quite a bit of context associated with nearly twenty years of intermittently working on the same game.
That being said, there's still the T4_Research repository available for people interested in developing their own modifications, in addition to the original implementations of T4MP and some of the other things I've worked on. I suspect some of the more recent AI-assisted modifications to Turok Evolution may have benefited from some of that research already, although I don't particularly have any way of establishing that.
I'd certainly like to see some of the people interested in modifying the game take an interest in collaborating on it, rather than having everyone independently attempt to accomplish the same things. Perhaps this will eventually give people something to collectively contribute towards. I don't know yet.
Where things go from here
I think this will probably be the last post under the original Turok 4 Multiplayer series, and somewhat of an introduction to a new series of posts regarding the development of Turok Evolution: Reforged.
I'd like to get into considerably more technical detail regarding some of the things I've mentioned throughout this post, particularly the pipeline I'm developing to continue reverse engineering the engine, how I'm enforcing some of the standards associated with it, and how I'm validating what's being produced throughout the process. I'd also like to document some of the actual work being done on the game, some of the interesting things I've encountered throughout the process, and where AI has been particularly useful or particularly fucking annoying to work with.
I don't expect everything I've contemplated throughout this post to work exactly as I've described it, nor do I necessarily expect the methodology I'm utilizing today to be the same methodology I'm utilizing a year from now. The technology itself is changing considerably faster than anything I've previously utilized throughout the development of this project.
However, I think there's something particularly interesting about revisiting a project I've worked on intermittently for nearly twenty years with access to technology that would have been relatively unimaginable when I originally started working on it.
The objective isn't simply to see how quickly I can get Claude to develop something that works. I'd like to see what I can accomplish by utilizing it in conjunction with everything I've already learned throughout the development of the project, and whether I can finally get some of that research to the completionist state I'd wanted to get it to for years.
Hopefully it results in something that's not only enjoyable for people to play, but something that's been developed in a manner conducive to other people understanding it, maintaining it, and potentially contributing to it.
And hopefully it doesn't take me another nine years to write the next post.

Comments