Prince of Persia Warrior Within: interesting details about the development
Alexandre David — Engine Programmer in Prince of Persia 2 Project. Honestly, it's amazing that he responded. He told a lot of interesting details, according to which it is also possible to trace the problems of the other two games of the trilogy a little more.


Geva: Hi, sorry for distraction, but first of all i'd like to thanks you for creating my favourite childhood game Prince Of Persia . It's very cool game, i found your name in credits. But i have, few questions 'bout game, so, pls could answer at least on one? Best regards, Alex.
Alexandre David: Hello Alex! Thanks for the praise. And yes, of course, please ask!
Geva: Omg, first of all, thanks for responding and added me, it's big honor for me)) I'd like to ask you about all, but tried to collect main questions. Warrior Within my favourite game, honestly i think this is ubisoft best game.Could you please talk more about development? I read that game was in production hell, and more ideas was deleted, perhaps, you know something about it? Or it's just rumours?
Alexandre David: Hey there! Oh no, it was total development hell. The core from Sands of Time had moved to work on "Prince of Persia Next Gen", getting ready for the launch of the Xbox 360. That game eventually became Assassin's Creed, after a big shift in direction.
The core of Warrior Within where mainly the porting teams from Sands, and a few other people we picked-up. So we have a lot of expertise missing for that engine, Jade (it's the Beyond Good & Evil engine, heavily modified for time manipulation).
The ambition level was way too high for the time we had, and we had so many bugs and issues during the entire year. Especially the timeline system, which allows maps to be revisited multiple times but with different setups based on where you are in the story. We even shipped with some bugs in there, so that you can break your walkthrough if you do the wrong thing. We were pretty proud of having a more dynamic combat system (especially snapping to navigation ingredients like swinging around a pole) and being able to throw weapons.
Though, it's super unbalanced. Playing through during development, we'd always spam the same combo and have Prince swing around for 10 seconds.
Throwable weapons also caused lots of crashes. Some gameplay systems would retain pointers to thrown weapons on the ground, and when walking away and that part of the map got unloaded, end-up with garbage pointers.
We also had to compress down the rewind buffer, and it was a continuous battle not having too many rewindable variables in gameplay code that would fill the rewind buffer in like 3 seconds. We ran out of time to balance a bunch of stuff. The boss fights are very uneven, and some players never got past the opening boat sequence. We also had pathfinding bugs, where in a fight with the empress of time, the best strategy is to have her fall through the navmesh and eventually die when she hits the kill plane that's like 100 meters under the ground (otherwise you'd be stuck there forever). Anyway, it was a heck of a journey. Very formative.
Geva: Omg, it's very cool. I am work full stack dev myself and understand your words. Especially rewind mechanics, i saw a lot of videos where gamers break Dahaka's Al I remember first time when i kill him, it was unforgettable))
But you must be proud, that you created so cool game. And you have left your mark on history, and you must be very proud, i am very envy, and this is my dream took part in development cool game)))
Btw, if you said about boss fights, i heard that one or more bosses was deleted? Perhaps, you remember something about that?
And also i found this screen, by changing game code. Is this deleted settings? May be you know?
Alexandre David: Yeah, there was a character or two from an earlier draft of the design that we had to drop for time reasons. It take a lot time to get a character concepted, modeled, textured, rigged, animated, voice cast, recorded, edited…
So it's common for early scripts to feature more characters that will eventually get trimmed down for time or budget reasons, as it's easy to type a new character name in Word but months of work by lots of people to turn that into a reality in game. Reusing existing characters and updating the story accordingly is a major time & cost saver. I don't remember the details, though, it's been almost 20 years.
As for those extra settings in the video options, those were likely never mean to ship. There's a bunch of menu options in all games that we use to test or prototype something internally, and they're only exposed in dev builds and never designed for end-players to use them. That's probably what you're seeing there.
Geva: Oh, now i understand. Even now your team seems heroes to me , cause make such good game with 32 mb ram seems impossible. And about "impossible", in game code i found difficult level "impossible", it was deleted? Or it isn't difficult level? May be you know?
And also, there are rumours, that in WWw as planned open world, but i think this is unrealizable, because of 32 mb ram?
Alexandre David: That was another thing that went wrong on Warrior Within. We had our T10K PlayStation 2 devkits configured to the maximum "dev" memory pool of 128MB for most of the production. It was pretty late when we finally switched it back to 32MB "retail", and had to scramble because unsurprisingly we were WAY over budget to run on test kits.
I don't think it was every seriously planned to be a real open world. Back then most "open" game would use a hub-world (like Hyrule Field in Ocarina of Time) that's a central map leading to other "spokes" levels. There were some clever exceptions on PS2, like Shadow of the Colossus, but those were rare.
We mainly focused at Ubisoft on the X360/PS3 gen for proper "grid cell" open world design and async dynamic streaming of assets in a non-linear way. The way Assassin's Creed does, when it's not a chain of levels but a true grid and you can go anywhere. PC open world designs bled into console games during this gen pretty hard. Skyrim. Mass Effect, Fable…
Geva: 128 mb? Oh, now i understand, i read interview from Ubisoft Casablanca, and they said , that Prince Of Persia The Two Thrones has many deleted content, because they tested all game on dev kits. And because of ps2 limitations, they deleted mechanics like switch between Dark and Light Prince, now i understand this, thank for commentary, Btw, did you take part in Prince Of Persia The Thrones development? Cause i didn't found your name in credits.
Alexandre David: Naw, after Warrior Within I went on to work on the Xbox 360 launch version of King Kong! That was it's own fun.
Geva: Hm, i think it was much easier than Prince of Persia))) Btw, as i understood from your words, you switched to retails ps2 version, too late, right? is this mean, that you deleted content which couldn't work with 32 mb? And also, from your point of view, which was most difficult part in development? And most funny case?
P.S Sorry for this questions, but this is my favourite game), and i try imagine how much work was invested in the development
Alexandre David: For the 128MB -> 32MB downscale, we didn't "delete content" in the sense that maps are missing. You don't do that just for memory's sake, as it will break a bunch of stuff in the game. What we generally end-up doing is downscale from geometry (so the meshes will look more rough), downscale textures (so everything is a bit more blurry), downscale audio (so everything is a bit more lo-fi) and then hunt the rest down through abuses of memory usage in the code (particle systems ring buffers, rewind buffers, audio ring buffers…) and anything like that.
So ends-up a shippable but lower fidelity game than initially hoped for (as always), but generally it's not that maps or characters will get deleted for memory reasons. That has too many mechanical gameplay consequences, it has to be done earlier ideally.
Some crazy aspects of development… we had to swap out the the video playback engine THE DAY BEFORE E3 because it corrupted memory and we couldn't find a way around it. That was a fun weekend.
Also, the complete dropping of schedule milestones. At some point, we started completely ignoring "alpha", "beta" or anything like that, and just a mad dash to have something functional enough to pass cert by the date we needed to.
Barely made it, and all the corners were cut.
Am amazed you love this game so much. I'm very proud of having shipped it at all, but it's usually the game I go to when talking about things *not* to do, rather than the opposite. This was also the game that cause Penny-Arcade to demand an advance copy of any game before endorsing it, because they accepted advertisement for it sight-unseen after loving Sands of Time so much, and were so disappointed by it that they instated a new company policy.
Geva: You changed video player? You mean code that shows CGI cutscenes? Btw they are really cool. Yes i love this game very much, and most part of Prince Of Persia fandom consider warrior within best part. I think , this is game that changed all game industry. All aspects of this game an awesome beginning from deep story, and ending with coolest fight system ever. I think it was really big problem to implement new fight systew?
Alexandre David: Yes, we swapped-out the video player before E3, temporarily, but fortunately the E3 demo didn't have a lot of cutscenes. Mostly used for the Ubisoft logo and minor things. We were able to get it all fixed-up later way before the game shipped for real. Fortunately, I don't remember the fight system being too hard to integrate. There were some issues with tagging and detecting platforming ingredients as I mentioned earlier (like reliably detecting walls, poles and such), but the biggest problem there was that it was really unbalanced. Some moves are underpowered, and some overpowered. We ran out of time before we could polish/balance it all, so we shipped it a bit rough…
Geva: Hm, yes i noticed what fight system a little bit unbalanced. Some players even use only counter attack in all fights, but i was euphoric at the opportunity to do anything with my enemies. I consider that this is best fight system even now. Btw you mentioned E3 demo. Do you remember anything from there? Because some fans on reddit write that in this e3 demo Dahaka was much smarter, and there aren't waterfalls in time portals room.
Alexandre David: Oh no, sorry, I don't remember much in the way of details for the content in the demo. I was busy fixing bugs in the engine, and it's been a while. The Dahaka would have been totally scripted, of course, like in all E3 demos. So only "smarter" because it would have been specifically tailored for the demo, and not a general Al behavior at all. Speaking of only using counter attacks… ever played the first Assassin's Creed? If I remember correctly, that's like 95% of the fights.
Geva: Yeah, i played Assassin's Creed this way too)) Thank you for answers. Thank you for all, good luck in gaming industry.
Alexandre David: See you.
Geva: Alexandre hello, i am very sorry for disturbing you. But we with friends could get the Jade Engine version, and after we tried to open the bf file from Prince Of Persia it showed that this version was too old. We are a little confused, because this Jade version is from 2006 year and Prince was released in 2005. Does this mean that all games have their own Jade modifications?
Of course, we are not going to use it for commercial purposes)
Alexandre David: It might be an incompatible fork. Back-compatibility isn't maintained for very long while working on a game. We made big breaking changes all the time. Which game does this Jade editor come from? Also, we launched PoP:WW in 2004. In 2005 I was working on King Kong!
Geva: This is from Rayman 4, does that mean, that you created Jade Engine modification for all games? And we must obtain exact version of engine to Launch Prince Of Persia?
Alexandre David: We spent one year on WW, but of course we benefited a monster amount from all the development on Sands of Time.
Geva: And now, after looking at the Jade Engine, we understand what hell the development was in) Probably second part development, was most difficult in all trilogy)
Geva: Alexandre hi) How are you?) I have a great news, one game development channel read your words about WW development, and they want continue. Of course , if you will agree. They already made video about Prince Of Persia series, it collects near 2 mil views.
They are very interested about PS2 limitations, and how many contents was deleted. They gave me a WW promo and asks to check with you , what does mean "explore underworld" does it was deleted location? And how much PS2 limitations was bad for game?
Alexandre David: Ohhhhh, I'll have to watch that video!! With auto- translated captions though, because my Russian is non-existent.
I see they even have footage from the pre-production target video. Damn, I haven't seen that in a long time! Yes, PS2 limitations were pretty severe, but since it was our main target platform, we kinda built the game around what it could do, so it wasn't too bad. Sands of Time ran okay on PS2, and that helped us. I'd say memory was the biggest limitor. We had the game fitting barely in the 128MB of the dev kits at some point, and realized we had to slim down over a few weeks to fit in the 32MB of retail devices. Lots of asset reduction for that. Especially in audio and textures. We had to move some stuff to be Bink videos (like upgrade screens and the map) just so we didn't have to keep those textures in memory. The way the PS2 worked, with its constellation of small chips for IOP, audio, graphics and of course the EE, meant lots of different bits of code that had to inter-operate. Much easier on Xbox and PC. But, then again, very simple compared to PS3. That was the real nightmare, a few years later.
Geva: This is very cool, that you liked this video) Now they make video about POP production and issues during development. Could you say something about deleted content, cause there are rumours, that was 3-rd tower, and some kind "underworld" which was deleted? And also, probably you know other developers, who could give an interview?
Geva: You worked on Prince of Persia Osiris? Person from channel saw this in your profile he asked me to ask you about her. I beg , tell more about this project))
Alexandre David: Honestly, I don't really remember what was cut about the game. It's been a very, very long time. Also, I was in the level design team, I was in engineering. And we had waaaaay too many technical issues to worry exactly about what level design was doing with story progression.
And yeah, I know the story got rerouted a few times and some ambition had to be scaled back. But it's always like that. Every game has bigger plans at first than it ends-up shipping. It's kinda normal. We scaled down the open world by half on Halo Infinite, and it made for a better game by compacting everything of interest.
Alexandre David: As for Osiris, it *started* as a Prince of Persia game (the sequel to PoP 2008, more precisely, which was known as PoP Zero internally). PoP Zero 2, which eventually became PoP Redemption, which eventually became Osiris, and eventually become For Honor, was a long journey…
Osiris was closer to Assassin's Creed in many ways (except for stealth, the main character relied on being physically imposing rather than invisible in crowds. A lot of the ideas were reused in what become Assassin's Creed: Origins years later.
Geva: Wow, thanks , now i understand , why, Origins, seems like POP, (even basic combo from 4 strikes, seems like in combo from POP). Btw, "Osiris" was code name? And also, "Osiris" was successor of Sands Of Time Trilogy, or it was new game, like redemption?
Alexandre David: Yeah, Osiris was a code name. We never got close enough to shipping to go hunting for a retail name. It wasn't meant to be a successor to any Prince of Persia games, no. It wasn't a Prince of Persia.
Just an evolution of a game towards a new IP, and would have been the first of its lineage. But it got rebooted again, and eventually became For Honor, which is even more of a drift.




















Source
https://gamefaqs.gamespot.com/ps2/919986-prince-of-persia-warrior-within/credit
