leamsii / Shovel-Knight-Toolkit

Tools for unpacking and repacking Shovel Knight files and editing game sprites.
6 stars 0 forks source link

Can't unpack .pak files #9

Closed HowealTankaa closed 4 months ago

HowealTankaa commented 4 years ago

When drag & dropping .pak files from the game data (ver 4.0) i get "Impossible to start execution. The argument list is too long" (approximative traduction from french btw).

Did I do something wrong or does it has to do with the latest version of the game? (I'm here to get the sprites from player king knight as i couldn't get them on https://www.spriters-resource.com/pc_computer/shovelknight so maybe someone already tried idk)

leamsii commented 4 years ago

Can you take a screenshot ? Also attach the .pak file.

HowealTankaa commented 4 years ago

[Uploading Unpacking Problem.zip…]()

HowealTankaa commented 4 years ago

Idk if it worked so here it is on drive: https://drive.google.com/drive/folders/1gMpT--kTbJLmmHtkIU1OeEoCbR0t6gZE?usp=sharing

leamsii commented 4 years ago

You have Python installed right ? Can you run it through command prompt without drag drop

HowealTankaa commented 4 years ago

What should i put in the prompt?

HowealTankaa commented 4 years ago

os.chdir('C:\Users\octav\Desktop\Shovel-Knight-Toolkit-master') os.getcwd() 'C:\Users\octav\Desktop\Shovel-Knight-Toolkit-master' ppacker.py Traceback (most recent call last): File "", line 1, in NameError: name 'ppacker' is not defined ppacker.py kingPlayer.pak File "", line 1 ppacker.py kingPlayer.pak ^ SyntaxError: invalid syntax

I tried this based on the other issue where DnD didnt work, but it doesnt seem to work either

leamsii commented 4 years ago

There's something wrong with your Python environment set-up

ManApart commented 4 years ago

When I run through command line I also get an issue; it's probably my python environment as well, as I don't do much python.

λ python --version
Python 3.5.2

λ pip install Pillow
Requirement already satisfied: ...

λ python ppacker.py airshipTable.pak
  File "ppacker.py", line 40
    print(f"Log: Extracting {len(file_names)} files..")
                                                     ^
SyntaxError: invalid syntax