Page 1 of 1

[IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Sat Feb 28, 2015 12:01 am
by ikskoks
Hello. I want to share with you my tool for unpacking DAT container from Harry Potter and the Sorcerer's Stone (PS1).

Source code available!
You need python to run this!
Usage: <script.py> POTTER.DIR

Enjoy :)

Re: [IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Mon Jul 20, 2015 4:51 am
by SILENTpavel
ikskoks wrote:Usage: <script.py> POTTER.DIR
What i did wrong? Did i need to install python 2.7.10? I've installed 3.4.3 on my Win7. Sorry for possibly "python-noob" question.

>sciezka zapisywanego pliku
>path of the saved file

Re: [IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Mon Jul 20, 2015 2:00 pm
by ikskoks
Did i need to install python 2.7.10?
This program was made on Python 2.7.5
You shopuld propably download and install it.

Or you can edit source code by adding bracets to all print functions like print("hello world") :)

Re: [IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Wed Jun 21, 2017 4:46 am
by Leminur
Hello there! I am having trouble trying to extract the POTTER files, I want to find the 3d Models from the game, but I am having a bit of trouble in order to do so.

Here is how I am opening with CMD (I am going to show it without the directories):
python.exe PotterDATunpack.py POTTER.DIR
I do not know Polish or Python, but I do know programming and I debugged the script you made once I successfully ran the script.
I managed to have the successful output message (Wypakowywanie zakonczone sukcesem.) But it did not generate or extracted any files. I have debugged the script and I found out that it's not getting into the 'for' condition:

Code: Select all

for i in range(liczba_plikow):
Can I have some help with it? Thanks a bunch for doing such script!

Re: [IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Wed Jun 21, 2017 7:37 am
by ikskoks
I have tested on SLUS_014.15 and it worked fine.

This script creates "WYPAKOWANE" folder next to the POTTER.DIR and POTTER.DAT file.

Execute like this: C:\Users\User>python "C:\TEMP\Potter DAT unpack.py" C:\TEMP\POTTER.DIR

Folder should look like this:
Image

And output in cmd should look like this:
Image

Re: [IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Wed Jun 21, 2017 7:17 pm
by Leminur
ikskoks wrote:I have tested on SLUS_014.15 and it worked fine.

This script creates "WYPAKOWANE" folder next to the POTTER.DIR and POTTER.DAT file.

Execute like this: C:\Users\User>python "C:\TEMP\Potter DAT unpack.py" C:\TEMP\POTTER.DIR
I have tried to do the same as you did, but I am still having the same problem.

I did place the POTTER files into a TEMP folder right next to C:\ as you can see on the image below, but I am still having the same problem.
Captura de tela 2017-06-21 15.11.05.png
I am using the SLUS-01415 that I had found on emuparadise, but I am not sure why I can't execute it correctly!
Do you have any idea what may cause this problem?

Re: [IKS] Harry Potter and the Sorcerer's Stone DAT unpacker

Posted: Wed Jun 21, 2017 9:43 pm
by ikskoks
I have answered by PM.
It was game version related problem.