I spent a year reverse engineering Rumble Racing's 3D worlds (PS2)
A birds-eye view of the map True Grits as seen on noclip.website
One of my favorite websites on the internet is noclip.website. It allows you to freely explore 3D worlds from classic video games right in your browser. There's something so liberating about being able to fly around a video game level without having the camera constrained to the character's perspective. It allows you to slow down and appreciate the effort and artistry that has been poured into these 3D worlds.
At the end of 2025 I was looking for a new coding project. I decided that I was going to try to push my reverse engineering skills to the limit by taking on a 3D game for the first time and contribute something back to noclip if I was successful. The first question naturally became: Which game should I choose? Nintendo games were given the most attention on noclip (making up more than 50% of the games), while PS2 games made up a measly 5% of the total selection. I wanted to help balance things out by giving some attention and love to a PS2 exclusive title.
I thought about games that I had childhood nostalgia for and ultimately decided on Rumble Racing. The maps are hard to explore because the camera is set at a fixed angle behind your car and can't be rotated. Since it's a fast-paced racing game, the player is encouraged to speed through the level as fast as possible while their attention is focused on avoiding the NPC-controlled cars. Even if you stop to intentionally explore the map, the other cars will frequently slam into you and flip you far away from whatever it was that you were looking at. Breaking free from the rigid camera constraints and time pressure would allow the maps to become the center of attention and to be explored from new angles with an entirely new freedom.
Exploring Game Files
The first step of reverse engineering something is to look at the raw data.
When I started this project I was not a complete stranger to Rumble Racing's files.
I had briefly looked at them half a decade ago when I was searching for hidden passwords.
The raw game data has three main file types: .AV, .TRK., and .LSC.
Five years ago I speculated that these might stand for "Audio/Video", "Track", and "Loading Screen" respectively and this assumption would turn out to be correct.
At a high level they are all archive files, akin to something like a ZIP file.
That is to say, they are a single binary file built up from many smaller individual binary files.
Each section of the data begins with a FourCC
code,
followed by a four byte integer that contains the size of the data,
and finally the raw data itself.
I defined this combination of bytes with the shape of [FourCC] + [size] + [data] as a "Chunk".
The entire container file consists of a series of chunks back-to-back.
What each chunk represents (and how the game reads them) entirely depends on its FourCC type.
Some chunks can have a series of other nested chunks in their raw data, and so on, in a hierarchical fashion.
Resource List
While inspecting a chunk type called RLst
I realized that it stood for "Resource List".
It had of a list of entries where each entry was made up of a FourCC code, index, and a resource name.
Extracting this to JSON gave me a readable bird's-eye view of everything the entire archive file contained:
The Resource List as it appears in the raw game binary data (left) vs extracted to JSON (right)
This list of resource metadata likely provided the developers useful context
for debugging as they would be able to print the name of the resource causing trouble.
In my case, 25 years later, this list was helping me infer a lot about what kind of data each file held.
For example, it looked like anything with the o3d FourCC was an .O3D file, which probably stood for something like
Object3D.
It's reasonable to assume that an O3D chunk with index 15 was most likely
the 3D model for the cropduster plane:
{
"TypeTag": "o3d ",
"ResourceIndex": 15,
"ResourceName": "RCES:SE_CROP_DUSTER.O3D"
},
A Bit of Luck
I had been poking around in the release version of Rumble Racing's executable in Ghidra. I found the function that was responsible for parsing the archive files which was basically a giant switch statement that checked the FourCC value of the current chunk and then dispatched it to function that knew how to parse it properly. Thanks to the resource list file endings, I had an idea of what kind of data each FourCC corresponded to, which made it made it easier to know where to start.
But I'd get even luckier. A few weeks into the project I stumbled across an awesome resource called debugging.games.
This website hosts executable files of games that shipped with debug information in their binaries.
To my absolute delight, someone had gotten a hold of a prototype disk
of this already niche 2001 PS2 game and had dumped it and it contained debug symbols!
The prototype had included a text file called XMAP.TXT which contained
a list of debug symbols that had every function's address, name, and original file it came from:
00139700 000001E4 .text SFX_SimulateStormCloud (USfx.c)
001398F0 0000015C .text SFX_WaterSplash (USfx.c)
00139A50 000001E0 .text Vehicle_Reset (UVehicle.c)
00139C30 0000033C .text VehicleEngineInit (UVehicle.c)
...
001F2510 00000190 .sdata gTerrainData (USfx.c)
001F26A0 0000017C .sdata gWallData (USfx.c)
001F2820 000000F0 .sdata gsTerrainProperties (UVehicle.c)
001F2910 00000024 .sdata gTrailColors (UVehicle.c)
This was an extremely lucky find. Now I knew with certainty what each function in the entire game does, as well as the names of global/static data variables. I wrote a script that could export this text file to a format that both Ghidra and PCSX2's debugger could import. Now when I navigated around Ghidra or hit a breakpoint in PCSX2 I could see a readable stack trace and understand exactly what the game was doing. It also made the decompiled parsing function much easier to follow at a glance, and I was able to gain an even more clear image of what data was in each chunk type:
else if (iVar2 == 0x676d6420) { // 'gmd ' chunk type
TrkInfo_DownloadTrack(iVar3);
}
else if (iVar2 == 0x6f626620) { // 'obf ' chunk type
TrkInfo_DownloadTrackMesh(iVar3);
}
else if (iVar2 == 0x6f336420) { // 'o3d ' chunk type
Object3D_DownloadData(iVar3);
}
I counted about 30 unique resource types that the game was parsing out of the archive file. Everything from UI icons, car engine sounds, background images, fonts, and so on. At the end of the day, I only really needed two things to extract all of the game's levels: The 3D model geometry and the 2D texture data. Since I had no prior experience with 3D programming, but had a ton of 2D programming experience, it seemed obvious where to start.
Compression Woes
I was not quite ready to dig into raw data yet though; a fair amount of the chunk data ended up being compressed. The game streams all of the file and chunk data into memory during the load screen (shocking, I know) and if the chunk is determined to have compressed data the game decompresses it on the fly at runtime. If I was going to start looking at texture data I needed to make sure it was decompressed properly first.1
It was trivial to find the decompression routine by pausing the PCSX2 emulation during the load screen, searching the memory for a compressed byte sequence, and then setting a read breakpoint on that memory address. It was also trivial to find samples of the decompressed data in PCSX2 memory by pausing after the loading screen finished and searching the memory for a decompressed byte sequence.
I took the decompiled C pseudocode of the decompression function from Ghidra and pasted it into ChatGPT2. I also supplied it with binary samples of compressed and decompressed chunk data so it had test input and something to validate its implementation against. It did a surprisingly decent job and got the data decompressing to a ~95% match on the first attempts before giving up. I then repeatedly verbally abused it until it acquiesced and eventually shat out a Go function which was near-perfect.
Textures
After having my laziness emboldened by ChatGPT and curious to discover how capable LLMs were getting, I directed it to vibe-reverse engineer the parsing function for the texture container format (.TXF). The texture on the left is GPT's output, and the right is a screenshot of the car texture in-game:
ChatGPT vibe-coded texture parse for the Widow Maker car (left) vs. the in-game texture (right)
Once again ChatGPT got it about 80% of the way there but there were obvious issues. The colors were close but not correct and the smaller versions of the textures (Mipmaps) were stretched and scaled incorrectly. This time no amount of repeated verbal abuse was enough to fix it because the script it wrote was simply exporting the raw data in a variety of different combinations. It was making all kinds of assumptions about possible texture widths, color palettes, and dumping a ton of combinations while asking me to sort through them to find the closest one that was correct.
As would become a common theme for me when using AI in this project, if you are doing something novel it can get you about 80% there with no effort. If there's an issue AI can't fix on its own it's going to be a grueling battle for you to get caught up in your understanding enough to fix that last 20%. Reading the AI's imperfect code is not enough to build this understanding if you're unfamiliar with the context in the first place (as I was with PS2 programming), so you typically have to start from scratch and redo it own your own to build the comprehension necessary to bring it to the finish line.
Back To the Drawing Board
Starting from scratch I slowly but surely reverse engineered the TXF file by stepping over every assembly instruction one at a time in the PCSX2 debugger while observing what each instruction did and annotating it in Ghidra. I got to the point where I was able to correctly export the mipmaps at the correct scale, but I independently ran into the same issue with not getting the correct colors out of the color palette:
My attempt at parsing the texture from scratch ended up with the same color palette issue
Eventually I found a trove of original PS2 developer documentation
PDF files and after reading the GS User's Manual I found a table which demonstrated
how the PS2 expects the color lookup tables to be laid out.
In the following image for the arraignment of IDTEX8 you can see that the indices into the color lookup table (CLUT)
are not linear but rather laid out in 8x2 rows from left to right, top to bottom.
This made it clear why I was getting the wrong palette colors.
For example, if the pixel expected a color with the CLUT index of 8, it would need to be read from
the 16th index in the CLUT (first row, second column), not the literal 8th index (first row, eighth column):

Once I wrote code to re-arrange the CLUT index according to the layout in the GS users manual I got the proper colors!
Correctly parsed texture after indexing the CLUT properly
But I was not fully out of the woods yet. At this point I was only extracting half of the textures properly. The second half of the textures had a different way they stored their pixels, along with another way of indexing into a color lookup table. When I handled this new case the texture data was being extracted correctly but once again I was having problems getting them to read the correct color palette:
More color palette lookup issues
After losing more hair I eventually wrote a tool that exported each texture with every possible color palette to make sure that the correct colors were actually there, and to try and find any semblance of a pattern with how they were chosen. While this approach led to some cool modern art, I was still at a loss.
70 different flavors of chicken. Can you find the right color palette?
Only after some more reverse engineering in Ghidra and PCSX2 was I able to realize that the game was reading the texture's palette index from a special byte in the texture's header. After using the proper palette index I was able to successfully extract all textures from the game! Behold all of the textures needed for the entirety of the level True Grits:
All of the textures used in True Grits
Being able to look at an entire level's textures all at once is really cool to me for two reasons: The first is that a veil is lifted and I got my first look behind the scenes. I can easily see if there are any unused or rare textures at a glance, and how the textures changed between the prototype and release version without having to compare every inch of the maps. The second reason is that it gives me an appreciation for how little texture data was needed to render such a large level. It is a testament to both the developers and the artists for being able to create such detailed and interesting levels despite the relatively low space for texture data.
After 20 days of on-and-off reverse engineering a gaming console I had no low-level familiarity with, I had gone from zero to being able to read PS2 MIPS assembly instructions, understand the file layout, decompress data, and pull out all of the 2D textures. This was a huge milestone for me and gave me a huge confidence boost.
3D Models
Since I had no experience with 3D model data before, I thought it would be good to throw it at Claude3 and see what it could figure out without any context. It was quickly able to recognize that the 3D model files contained VIF packets and it wrote a self-contained HTML file to render the geometry. Like with the vibe-coded texture parsing, this initial attempt was not perfect. There were no textures and it failed on complex models. However, the main thing that this did for me was twofold: It confirmed that these are indeed the 3D models, and it pointed me in the right direction: It consisted of VIF data and I needed to figure out what that was.
Claude's vibe-reverse-engineering attempt to extract 3D model data
What is VIF?
The PS2 has two Vector Units (VU for short). These are separate processors that are programmable and have their own custom microcode/assembly instructions. They operate in parallel with the PS2's CPU, and they are typically used to process the 3D geometry. VIF stands for vector interface and it's how PS2 developers are able to send vectors and other arbitrary data to the Vector Unit's memory. Once these vectors are decompressed and copied into the VU's memory, the VU's microcode can do whatever it was programmed to do with the data. These calculations happen in parallel with whatever the CPU is doing. I used this documentation to learn about each packet and what the encoded command was doing.
Since I now discovered that all of the 3D model data was compressed into VIF commands, the next natural step was to write a tool that interpreted and processed each VIF command in sequence. This process felt oddly familiar to writing an emulator or bytecode interpreter as I was essentially decoding each VIF instruction and figuring out how it mutated internal state or decompressed data. Once I implemented all of the VIF commands I was able to extract streams of raw geometry data!
Extracting Models
For a quick demonstration of how the geometry data looked, let's take some of this unpacked geometry data and plot it in 3D space. Here you can see two simple models
from the game: a vending machine and a stop sign.
The X, Y, and Z positions that create a point in 3D space are stored as
VIF UNPACK commands. The unpack commands for these models are of type V3_32.
This means each vector is made up of 3 points where each point stored as 32 bits.
After unpacking these streams of vectors we can see how they plot to make models that look like,
well, a vending machine and a stop sign:
| # | position (x y z) |
|---|
Notice how each side of the vending machine is made up of two triangles. For the PS2 to draw those two triangles, each triangle would need three vertices (points), and each vertex consists of an X, Y, and Z value in 3D space. If you have a keen eye you might have noticed that the two triangles that make up each side of the vending machine are composed of only 4 vertices in the unpacked data, not the 6 vertices that we would expect. What gives? Well, the PS2 allows the developer to render this data as triangle strips instead of triangles to save memory. The basic idea is that if you explicitly define two triangles with 6 total vertices and those triangles share an edge, that means that the two vertices that create the shared edge would be repeated twice. Those redundant vertices are not necessary and can be eliminated. Nearly all of Rumble Racing's model geometry is rendered as triangle strips in practice.
UV Mapping
There was also another kind of data interleaved within the streams of vertex data: UV coordinates. UVs are an additional series of X and Y floating point values for each vertex. Together, they define which area of the texture is drawn to that triangle's face.
It's much easier to understand UV mapping visually, so check out this example below with our trusty vending machine and stop sign. Click on any triangle in the model and you will see how the UV coordinates work in tandem with the texture to apply the texture to the 3D model. Try moving the UV coordinates around yourself by clicking and dragging them to a new spot:
Exploring Models
At this point I was able to extract all of the vertices and UV values for 3D models. Now I wanted to automate the conversion of this data to a format that Blender could open. A good candidate was the Wavefront .obj file since it's just a simple file format that expects vertex and UV data as text.
Now I could take any extracted model from the game, write its vertices and UVs as comma separated values into a text file, and open it in Blender! At this point I still didn't understand how the game assigned textures to models but I still wanted to see how they would look with textures, so I manually applied some that I knew were correct. In this example, I applied the texture for the chicken, railroad crossing, and porta-potty models:
Playing around with 3D models in Blender and manually applying textures
This was really cool, and I wasted a lot of time exploring the game's many models. A lot of these smaller models were "Actors" which was the game's lingo for defining a model that is dynamic, i.e. a moving, interactive model that perhaps had one or more instances in the world when the game is running. These are things like stop signs and barrels. They can be run over, hit, explode, fly around, and so on. The level geometry is an example of a static model which is unchanging and unaffected by the player.
After some more digging, I was able to find that the static geometry for the levels was also
saved in the same underlying binary format as the dynamic models but with a different extension (.obf vs. .o3d)
I wired up that new extension to my existing model parser, exported it the same way I exported O3D objects,
opened up the giant OBF file in Blender and held my breath as Blender slowed to a crawl and froze.
After 10 seconds of continuous loading I thought I had crashed Blender,
but to my amazement the entire map of True Grits finally loaded in one piece:
The first time I opened the entire map of True Grits in Blender
I was in complete awe. The months I spent laboring on this project up to that point suddenly felt justified. I was having the completely unique experience of being the first person to see an entire level from a bird's eye view like this since the developers created it 25 years ago. And man, was it cool. I could fly around the map in Blender, zoom in on whatever I wanted, and see a new perspective of one of the levels that I've had nostalgia for since childhood.
Looking back, this moment was the biggest high of the whole project because I had achieved something that I constantly doubted I was capable of doing. You have to remember that when you reverse engineer a niche game like this, you're literally the first and only person in the world to ever walk this path. There is no documentation. There is no forum post out there on the internet to guide you through EA games' 25 year old proprietary PS2 3D model format for Rumble Racing. Everything you accomplish is completely due to your skills in reverse engineering which is a huge confidence boost.
It's hard to describe the emotions I felt as I took in my first views of an entire map, but noclip's creator Jasper describes the feeling well:
it's exciting, it's thrilling to get a game up on screen. There's nothing like seeing that initial hints of a model come through, even if it's all contorted. It's a drive to keep pushing forward, to know that you're part of the way there. Arranging the code so I can get that first hint of game up on the screen ASAP is a psychological trick, but it's an effective one. That rush has never gotten old, even after the 20 different games I've added.
Adding Textures
With the excitement of extracting full maps wearing off, the next goal was obvious: figure out how to apply the proper textures to the 3D models. As it turned out, the 3D model's VIF data had some extra binary before the vertices. When I was stuck on an unrelated issue with the 3D models I consulted noclip contributor PFedak and he noticed that the geometry VIF data was proceeded by some additional data which were GIF tags. GIF tags are essentially a sequence of headers that, like VIF data, instruct the PS2 on how to interpret the following data.
I inspected what the game was doing at runtime when it read these GIF tags through some dynamic analysis in PCSX2. The raw data for the GIF tags had a texture ID baked in. At runtime the game would grab this texture ID out of the GIF tag, figure out where the dynamically allocated memory for that texture was on the heap, then overwrite the pre-baked texture ID with a pointer to the memory address that held the texture data. The game was monkey-patching a pointer to the texture address data into the GIF tag at runtime when the model was loading. This was interesting to see, but I didn't need to simulate this behavior since all I needed was the texture ID, and that was what was already in the raw GIF tag data.
Apparently the original developers also struggled with reading and writing the GIF tags. I found a funny debugging crash screen in the prototype build that would be triggered whenever there was an issue with GIF tags urging the developer to "Please, Get Laurent RIGHT AWAY":
Please, Get Laurent RIGHT AWAY
glTF > OBJ
While OBJ files were simple to understand and easy to write, they were quickly bloating in size and hanging Blender when writing more detailed models and maps. I also had no idea how to get textures to work with them, or if they could at all. I needed to export the 3D models to a more robust and capable file format that could also hold texture data, which led me to discover glTF. I added a Go library which gave me a simple API to write data to a glTF file, and I was ready to see my newly textured maps... well...
Triangle unwinding hell
...that's definitely not right. I suffered many failed attempts at trying to unwind the triangle strips and generate the missing vertices in a way that worked with glTF. (damn you, triangle strips!) After crashing Blender more times than I can count I finally unwound my triangle stirps correctly and I was rewarded with a view of some beautifully textured farmland.
A textured version of True Grits in Blender
Now I was able to look at practically any model or map in the game with textures mapped properly. I spent a lot of time checking out every map and 3D model in the game and I started to discover some weird and surprising things about this game which I'd like to share with you.
Fun Discoveries
First, let's check out the cropduster plane we saw mentioned at the beginning of this post. When I was inspecting the plane in Blender I noticed that it didn't have its own dedicated texture. Instead, the yellow and blue colors were being sampled from existing textures in the map, specifically the "Mel's Used Chicken Parts" sign that appears on some buildings. The developers took advantage of the fact that the texture for that sign was already in memory and sampled from it to color the entire plane. It's funny to me that the re-used chicken parts are also being re-used to color the plane.
For extra fun, click on the plane's gray windshield and check out where it sampled that gray from. You can even slide the UVs around the texture to get a better visual understanding of how this effect works:
Texturing Blunders
There were also plenty of moments where I would see something peculiar that would make me do a double-take. Did the developers really use a stretched porta-potty texture to fill in the edges of the truck stop sign in True Grits? There's no way they did that, something must be wrong with my code... Nope! Driving there in-game confirms that they did:
The edges of the sign are filled in with a stretched porta-potty texture
Or in Surf And Turf, there's no way that the bottom of this building is textured with repeating palm trees... I surely made a mistake, right? Nope! Driving there in-game also confirms this oversight:
A texturing oversight left the underside of this building in Sun Burn covered in palm trees
Contributing to Noclip
After spending half a year on the reverse engineering side of things, I was eager to get something rendering in noclip. Without having worked with the noclip codebase before, I assumed that most of the difficulty of contributing a game was spent up-front during the reverse engineering process. Once I had models and textures I thought I would be able to pass it all to a noclip API/helper class and the website would spit out my finished scene, similar to how writing raw data to a glTF file via API would spit out a file that Blender could render. In addition, all of my parsing code was already done and written in Go4, and Go could compiled to WebAssembly. The task seemed straightforward: Compile all of my Go code to a WASM module, use that to parse the game data, pass the data to a function that would render it, and be done.
I could not have been more wrong.
I got my first hint that things were not going to be so easy when I started checking out the example scene and saw that it took about 700 lines of code to render a single cube with a texture5. It also became clear that every game on noclip requires writing custom GLSL shaders in order to be rendered. I had never looked at or written a shader in my life, nor had any experience with 3D math, so this was totally uncharted territory for me.
Personally, the most interesting thing to me about this project was the reverse engineering side of things and I had already scratched that itch. I was exhausted and not interested in investing more time to learn math and write shaders. If I did, I feared that writing my submission for noclip could easily end up taking me another 6 months. Noclip did not have a stated AI policy at the time (foreshadowing) so I decided it would be OK to give myself a break and use AI to help write most of the noclip-related code and shaders for my submission. Ironically, my decision to try and speed things up by using AI ended up costing me those 6 months anyway, and was a large regret for reasons I will soon explain.
Go WASM, Go!
But let's speak of my first regret: Using Go in the browser with WASM. The idea started off innocent enough.
Having a single source of truth for the parser in my original codebase meant that I could re-use my code by simply copy and pasting it into a package in noclip. It satisfied the DRY principle and any change I made as I did more reverse engineering would be made immediately available to noclip, and any noclip change could easily be copied backwards to improve my CLI tool. I was also given the green-light for using Go by the maintainers since there were already games that used C++ and Rust code compiled into WASM modules. I would just need to add Go WASM to the build process.
The first issue with Go in the browser is that it is awkward and ugly to set up. You need to copy a fugly JS glue-code file, include it in your HTML, and then add this ugly incantation to finally call the WASM module. While this complaint is mostly aesthetic, figuring out how to do this during the build CI was not easy. The glue script is also tied to its specific Go version, so if someone came along after me and wanted to use a different version of Go, they'd have to include their version appropriate scripts in the build process as well. Moreover, anyone who wants to build the project in general would suddenly need to install Go locally or their build would fail, even if they aren't doing anything related to Go at all.
Despite this, I got it working locally and had my Go code parsing game files in the browser. This led me to the second discovery, which is that Go in the browser is fucking slow. I was expecting some slowdown due to Go having a garbage collector (which adds some slowdown and is kind of at odds with the point of WebAssembly), but I was really disappointed when it took ~10 seconds to parse the game data for a single level. Most levels on noclip load in less than a second, so my submission being an order of magnitude slower was a bit embarrassing and would clearly be unacceptable.
Assuming the problem could be me, I did some profiling of my Go code.
When I profiled a native build of my code that did nothing but process the game file
I noticed a huge amount of time was spent in fmt.Sprintf (28%) and in png.Encode (37%):
Vestigial debug string formatting and PNG conversion wasted a lot of time
The Sprintf was me formatting and saving debug strings in each VIF command's struct.
In my noclip version I didn't need debug information and wasn't ever reading it, so it was a total waste of time.
The PNG encoding was also a leftover from how my CLI tool was prematurely converting the texture data from raw pixels to PNGs
and saving the result in the texture's struct.
In noclip this was also entirely unnecessary because I only needed the raw texture data, and I already had it.
There was no need to convert it to a useless PNG.
Implementing both of these fixes showed a 9x speedup in my native build. In the WASM build the time dropped from ~10 seconds to ~2-3 seconds. This was a huge improvement, and ~2 seconds seemed like a fair trade-off to avoid having to rewrite my parser.
Ditching Go for TypeScript
After my review was hanging in limbo for a few weeks with no response I decided that it was probably a little too selfish to ask that they change their build process to accept a new language that wouldn't even do as good of a job as TypeScript at loading maps quickly. Being lazy, I had the idea to to try and have AI port the entirety of my Go code to TypeScript6. Amazingly, Claude Sonnet 4.6 was able to one-shot the port. Not only did it keep the same structure and style, but the TypeScript version was faster, likely due to not having to pass a bunch of data across the WASM boundary. This entirely AI generated port was very impressive to me at the time. Nowadays, not even 6 months later, this type of porting would be a trivial task for current LLM models. It's scary and bewildering to see how fast these tools are improving.
Slow But Steady Improvement
The whole PR review process ended up taking a few more months between waiting for feedback and rewriting a decent portion of code. During this time, the lead maintainer temporarily stepped away due to burnout, an AI contribution policy was added, and some fully AI-generated PRs were being torn apart. I felt bad seeing this because I certainly didn't have the intention to burden the maintainers with reviewing more AI generated code. Luckily they were gracious with me, and in general they seemed to tolerate it as long as you did not include any AI-generated comments, could explain what the code was doing, and understood it to be able to address feedback.
I ended up having to remove a lot more vestigial code that was ported over from my Go codebase that wasn't doing anything in the TypeScript version. They were also very adamant about not re-inventing the wheel, and asked me to utilize existing noclip functionality for a lot of things, including PS2 related functions and types which they had already defined which other PS2 games were using. Finally, I did various things to improve performance like batching draw calls together and fixing memory leaks. After about 6 months in review, my PR was finally approved and is now live on noclip!
There's so much more I could do
Despite the fact that Rumble Racing is a graphically simple game that released very early in the PS2's life-cycle, I came to realize that game has many more special effects than I had ever bargained for: Sun beam/lens flare, environmental reflections on dynamic actors, animated particle systems, animated water movement, animation of objects such as trains and rotating windmills, procedurally generated stars and moon on some maps, fog effects, and if you wanted to get really crazy you could even animate the plane and tornado power-up and move them along their networked paths. The list goes on and on... I could easily spend years understanding how this game works in order to keep improving the fidelity.
My Advice For New Noclip Contributors
I will summarize my biggest takeaways and regrets from my first contribution to noclip in case someone else has been wanting to contribute their own game:
- Use as little AI as possible (none preferably).
- Using AI is an escape hatch that robs you of the ability to learn. I regret not investing the time to really understand how to write and debug my own shaders.
- A human will have to review each line of your code. If you didn't review it, it's unfair to pass the burden of reviewing it onto them and can cause burnout.
- It seems clear to me that they prefer quality over quantity. An intentionally crafted submission with care is going to be reviewed and accepted faster than a quick and sloppy AI submission.
- If you write the code, their feedback is directly helping YOU to grow and write better code.
- Stick with languages Noclip already uses. Don't stray from TypeScript or Rust.
- Introducing unsupported languages (Go in my case) to avoid having to rewrite my parsing code introduced unexpected slowdowns, complications, and wasted time.
- Write your code specifically for noclip. Don't aim for modular code that can be re-used outside of noclip
- The idea of re-using your parsing code is appealing, but in practice I had to rewrite a lot of my parsing code to use noclip-specific functionality, meaning I had to couple my code closely to noclip's conventions.
- If I had accepted from the beginning that I would be writing ad-hoc code for noclip, I would have utilized noclip's helper classes and functions more from the start and it would have saved time.
Thank You
I have poured a lot of blood, sweat, and tears into reverse engineering this game. It is a wonderful feeling to have this work represented on Noclip for the entire world to see. If you have made it this far, I would love for you to check it out and explore some maps.
- I want to thank PFedak for helping me understand some PS2 internals and 3D graphics concepts during the reverse engineering process (and for free, despite offering to pay for his time) and for his thorough review of my PR and working with me to improve it.
- Jasper for creating such a cool website that brings so much joy to so many people and maintaining it for years. Noclip has entertained me and inspired me to take on this project which I didn't think I was capable of, and I am extremely proud to have contributed something back to it.
- PCSX2 developers for the amazing work they have done over the years. The debugger was invaluable for me during this process and I wouldn't have been able to do any of this without it.
- Finally, The developers at EA Redwood Shores who created this game so long ago. This innocuous game has challenged and entertained me at various points throughout my life. From making nostalgic memories racing with friends on split screen as a kid, to using it as an exploratory medium to push the boundaries of my computer science and reverse engineering knowledge as an adult. Your old work continues to inspire and entertain people to this day, even a quarter of a century later. (This game is also really popular in Indonesia7 nowadays for some reason).
Footnotes
-
The password text being compressed in the binary file explains why I wasn't able to find any passwords by searching for their string values when I was looking 5 years ago. ↩
-
I was using the free web interface to ChatGPT because this was right before coding agents were really starting to become mainstream and useful. ↩
-
Once again I was using the free web chat interface as I had no subscription for Claude code. ↩
-
I wrote about my first impressions of Golang here if that interests you. ↩
-
To be fair, a lot of those 700 lines are instructive comments. It was still a bit overwhelming. ↩
-
This was before the craze of AI porting stirred up drama in the software world a few weeks later. ↩
-
Fun fact, the viral Indonesian facebook post is showing off the master password I discovered. ↩