r/SaintsRow • u/Itismrwonderful • 22h ago
OPENROW Release Date- May 4 2027
TLDR: May 4th 2027 is the final version release date, beta release date will be in late Feb, gives me another two months to keep implementing SR2 stuff and bug fixes and optimizations.
I'm happy to announce that almost all of Saints Row 1's game code has now been reimplemented in OpenRow. Plus a logo that is rough but whatever, I wanted something that kinda invoked Saints Row for this post, it aint much but its honest work lol. I might redo the logo to make it shiny gradient like retail but thats really about it. I can't tread too close to the Saints Row logo because its trademarked. This project is one of the hardest things I have now, This project originally started off as a recomp earlier this year and folded over to a full blown recreation the last year so the Saints community can get a well polished experience instead of using a 20 year old engine.
THIS PROJECT WILL BE OPEN SOURCED AROUND THE MAY RELEASE. BOTH SR1/2 SOURCE WILL BE RELEASED WHICH WILL ALLOW USERS TO CREATE THEIR OWN SAINTS ROW EXPERIENCE., FORK IT ETC ANDROID BUILD WILL BE RELEASED AROUND THE FIRST BETA BUILD AS WELL SO SR1/2 WILL BE PLAYABLE ON MOBILE DEVICES FOR TESTING (I have one android device to test) which will have a whole layer to allow users to direct their phone to the Saints Row folder which will need to contain SR1 and SR2(PC) files extracted. So the directory will look like Saints Row folder > Saints Row 1 (where you put the ISO in) and Saints Row 2 where you put the SR2 PC files in.
For those interested in the technical side of the project, Over the last year, I've gone through all 17K functions in the Xbox 360 executable and documented what they do. 7K functions belong to libraries such as Havok, Lua, math ETC . These are handled by the new engine and include the upgraded version of LUA 5.5 (SR uses Lua 5.0, over 20 years old) so the newer version supports 64 bit integers , better mission scripting, NPC behavior, modding and engine integration. The remaining 7,800 or so functions make up the actual game logic across 470 different game submodules. Almost all of these have now been reimplemented.
A lot of the work has involved smaller mechanics that most people probably wouldn't think about when playing Saints Row. Things like police officers getting back into their vehicles when they get out, NPC drive-bys, helicopter behavior, vehicle seat selection, door hinges, NPC communication distances and even the original game's object limits.
The way I've been doing this is by going through the original PowerPC assembly, figuring out how each function works and rewriting it as well as I can in C++ so the behavior matches as realistically as possible based on what I see and adduce.
I figured I'd share a couple of interesting things I came across while working on the game.
Getting thrown through the windshield
Something I found interesting was how Saints Row determines whether someone gets thrown through the windshield during a vehicle collision.
Once a collision meets the necessary speed requirements (30 MPH into another vehicle or 45 MPH into a wall), the game uses a function to determine whether each front-seat occupant should be ejected.
The chances depend on who is inside the vehicle: for example Player during free roam: 5%, Player during a story mission: 0, Player during Insurance Fraud: 100%, Homies following the player: 5%, Mission characters: 0%, Regular NPCs: 50%
TBH There's also an additional check that prevents occupants from being thrown through the windshield during Drug Trafficking, which keeps the dealer inside the vehicle.
My original implementation was using a flat 5% chance for the player and 50% for NPCs. Obviously, this caused some problems when characters like Troy could get thrown out of vehicles during important mission sequences.
Going back through the original executable helped me find those additional checks. OpenRow now accounts for the different types of occupants, missions and activities just like the original game.
The implementation can be found in physics/Sr1RetailVehicleImpactDamage.cpp.
How NPCs see the player
Another interesting function I came across which determined whether one character is within another character's field of view.
This function is used throughout the game, including when NPCs witness someone being killed, when homies react to something you've done and when mission scripts call fov_check.
The original game uses two separate vision cones, with their values defined in ai_rank_attribs.xtbl. Near vision: 8 meters with a 240-degree field of view and Far vision: 40 meters with a 120-degree field of view.
All four AI ranks use the same values in the retail version of Saints Row.
This explains why NPCs are capable of noticing things almost directly behind them when you're standing close, but have a much narrower field of vision at longer distances.
These are just two examples out of thousands of functions I've been working through. There are quite a few interesting things buried in the original executable that I never really noticed but will interest all of you once the code is finally released.
Saints Row 2
Work on Saints Row 2 is also progressing.
Since SR2 shares a considerable amount of its underlying game code with SR1, I've been able to reuse a lot of the work already done for the first game.
However, there are SR2 specific features that need implemented. This includes things such as scripted combat, blackjack, poker, casino minigames, searchlights, destructible trees, motorcycle wheelies and numerous changes to existing gameplay systems.
I'm also interested in bringing some of the improvements introduced in Saints Row 2 back into Saints Row 1 as optional features. Destructible trees are one of the first things I'd like to experiment with which would not harm SR1 experience.
What's next?
At the same time, I'm continuing to work through the remaining Saints Row 2 mechanics.
May is for the final release, BETA build will be released In late Feb. I want to aim to get both SR1 and SR2 for the BETA build.