Jump to content

God of War II PS2 Pak file


Gamer101

Recommended Posts

Hello there.
Recently, I was able to extract content from the first God of War PAK file using this script I found on Xentax years ago (Mainly for audio & video files).
 

# God of War (PS2)

open FDSE "GODOFWAR.TOC"
open FDSE "PART1.PAK" 1

get TOC_SIZE asize
math TOC_SIZE - 0xc
for CURR_OFF = 0 < TOC_SIZE
 savepos BASE_OFF
 putarray 0 i BASE_OFF
 getdstring NAME 0xc
 get DUPLICATE long
 get SIZE long
 get OFFSET long
 math OFFSET * 0x800
 log NAME OFFSET SIZE 1
 savepos CURR_OFF
next

But when I attempt to repeat the process with the second game, it showed me an error (on the first attached image) that I don't what to do, and I'm not good at coding by any means...
If anyone could lend a hand on my predicament, I'll be forever in your debt.
I also attached a section of the pak seen on HxD.

bandicam 2024-07-23 17-09-49-973.png

bandicam 2024-07-23 17-07-14-224.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...