Disassemblies of PoP1

Discuss PoP1 for DOS here.
Post Reply
David
The Prince of Persia
The Prince of Persia
Posts: 2865
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Disassemblies of PoP1

Post by David »

Here is a newer disassembly of PoP1 1.0 and a disassembly of PoP1 1.4.
(The older 1.0 disassembly is here: viewtopic.php?p=11347#p11347)
Attachments
pop14_ida.zip
(1.09 MiB) Downloaded 1021 times
pop1_ida.zip
(1.48 MiB) Downloaded 882 times
David
The Prince of Persia
The Prince of Persia
Posts: 2865
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Disassemblies of PoP1 1.0 and 1.4

Post by David »

Here is the newest disassembly of PoP1 1.0.
It's mostly in sync with my conversion.
But the biggest change is that you can see the hex codes on the left side, so you can search for them in the exe with a hex-editor.
Attachments
pop1_ida.zip
(1.39 MiB) Downloaded 544 times
David
The Prince of Persia
The Prince of Persia
Posts: 2865
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Disassemblies of PoP1 1.0 and 1.4

Post by David »

Here are the newest disassemblies of 1.0, 1.3, and 1.4.
Also includes a utility to remove some irrelevant parts from the disassembly, for easier comparison.
Attachments
pop14_ida.zip
(1.29 MiB) Downloaded 733 times
pop13_ida.zip
(1.51 MiB) Downloaded 608 times
pop1_ida.zip
(1.63 MiB) Downloaded 639 times
Andrew
Wise Scribe
Wise Scribe
Posts: 313
Joined: July 16th, 2009, 4:39 pm

Re: Disassemblies of PoP1 1.0 and 1.4

Post by Andrew »

David wrote:Also includes a utility to remove some irrelevant parts from the disassembly, for easier comparison.
Useful, and while I assume anyone interested in the disassemblies will be competent enough to know this, still might help to mention that Python is required to run that script.

P.S. font.idc is missing from pop13_ida.zip, but of course it's the same as in the other archives so not a big deal.
David
The Prince of Persia
The Prince of Persia
Posts: 2865
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Disassemblies of PoP1

Post by David »

Here are the .map files made along with the disassemblies.
They tell where each segment starts, and show the addresses corresponding to each identifier.
Attachments
pop1_ida_map.zip
(118.3 KiB) Downloaded 365 times
FluffyQuack
Vizier
Vizier
Posts: 102
Joined: June 6th, 2004, 7:05 pm

Re: Disassemblies of PoP1

Post by FluffyQuack »

I stumbled on something interesting. There's this pre-release build of Sands of Time on PS2 (I think it's a preview build that was sent to the press): https://hiddenpalace.org/Prince_of_Pers ... prototype)

It includes debug symbols and, since Sands of Time has Mac POP1 as a bonus, there are debug symbols for POP1 too!

The information it includes is function names, global variable names, and it also includes a list of complete source filepaths each function belongs to. There's a Ghidra plugin you can download for importing PS2 executables and debug symbols: https://github.com/chaoticgd/ghidra-emo ... e-reloaded

This would be great for reverse-engineering the game... but, well, that's not needed since that's with done with SDLPoP! But still, it's interesting to see how everything was named and structured.

Unfortunately, as this is the PS2 version of Sands of Time, there's nothing related to POP2 here.
Attachments
POP1.zip
(755.05 KiB) Downloaded 73 times
Post Reply