Version problems (packed vs unpacked)

Prince of Persia related subjects that do not have their own boards.
Post Reply
User avatar
Emiliano
Wizard Scribe
Wizard Scribe
Posts: 721
Joined: July 31st, 2019, 8:53 pm
Location: Mexico
Contact:

Version problems (packed vs unpacked)

Post by Emiliano »

Can anybody explain me what are the differences between a packed and an unpacked executable?
I still don't find any working difference…
Thanks, whoever you are ;)
65536
User avatar
Norbert
The Prince of Persia
The Prince of Persia
Posts: 5808
Joined: April 9th, 2009, 10:58 pm

Re: Version problems (packed vs unpacked)

Post by Norbert »

Emiliano Fierro wrote: June 2nd, 2020, 11:25 pmCan anybody explain me what are the differences between a packed and an unpacked executable?
I still don't find any working difference…
Generally/by default, executable programs (EXE files) are not compressed. Originally, the DOS executable of Prince of Persia was compressed with Microsoft EXEPACK. That compressed version is referred to as "packed"; software can unpack (uncompress) it if necessary. Compression makes the executable smaller in size, and makes it more difficult to manipulate the workings of the program. Possible reasons why they compressed PoP are:
  • To stay within the storage constraints of low capacity (and slow) floppy disks.
  • To require less time for distribution over slow (and expensive) Internet.
  • To deter reverse engineering (deconstruction of the program for analysis).
You won't notice the difference when playing PoP. But you may notice the difference when using CusPop (fewer options if you choose packed) or when using level editors (although apoplexy auto-unpacks executables; you will see a brief pop-up if this happens).
David
The Prince of Persia
The Prince of Persia
Posts: 2880
Joined: December 11th, 2008, 9:48 pm
Location: Hungary

Re: Version problems (packed vs unpacked)

Post by David »

Norbert wrote: June 3rd, 2020, 11:19 am To require less time for distribution over slow (and expensive) Internet.
Was PoP officially distributed over the internet?
Maybe the demo version was, but I don't think the full version was officially distributed online.
Post Reply