Important information: this site is currently scheduled to go offline indefinitely by end of the year.

PES_10 .img

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
Gocha
veteran
Posts: 109
Joined: Fri Dec 12, 2008 8:16 pm
Location: Batumi, Georgia, GE
Has thanked: 57 times
Been thanked: 9 times
Contact:

PES_10 .img

Post by Gocha »

I think every one knows the number one soccer game in the world - http://konami.com/games/pes2010/.

I have searched forum and nothing about this game espacially for PC

At least that newest serie has the .img files.

For the reason Im going to translate this beautiful game.

Can anyone lay a light on it? ...thanks
My great respect and appreciation for them, who research game files! Special thanks to: aluigi, bacter, DerPlaya, Rick, Turfster, twig, Zench. Sorry if someone is missing in my list, I'll update when I'll notice it again
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: PES_10 .img

Post by Mr.Mouse »

You do know how it works, Gocha. We will need example files.
Cryptonia
advanced
Posts: 46
Joined: Wed Aug 19, 2009 5:11 pm

Re: PES_10 .img

Post by Cryptonia »

http://www.xup.in/dl,47523286/dt0f.img/

one of them


bth atm looks like zlib
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: PES_10 .img

Post by chrrox »

you can extract the archive with offzip
just use offxip.exe -a c:\file.img c:\export 0x0
the files are called .tex which is some type of image format.
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: PES_10 .img

Post by GameZelda »

The contents of this post was deleted because of possible forum rules violation.
User avatar
Gocha
veteran
Posts: 109
Joined: Fri Dec 12, 2008 8:16 pm
Location: Batumi, Georgia, GE
Has thanked: 57 times
Been thanked: 9 times
Contact:

Re: PES_10 .img

Post by Gocha »

chrrox,
Thanks, but that tool extracts just that file, there are other ASF files but with a bit different structure, looks like, coz that ones it couldn't extract, anyway I need also import.

GameZelda,
Tool that you offered, can't extract even that exmpl. file - dt0f.img. Didn't work for me.

Also peaple I want to share with you and interested persons my searching results:
I have had found many tools for editing series of this game, but for now I can't edit just .img needed for the language localization (dt05_x.img, where x means lang ID - e[English], f[French], for exmp. dt05_e.img)
Last edited by Gocha on Thu May 27, 2010 7:55 pm, edited 1 time in total.
My great respect and appreciation for them, who research game files! Special thanks to: aluigi, bacter, DerPlaya, Rick, Turfster, twig, Zench. Sorry if someone is missing in my list, I'll update when I'll notice it again
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: PES_10 .img

Post by aluigi »

simple script for quickbms:

Code: Select all

idstring "AFS\0"
get FILES long
for i = 0 < FILES
    get OFFSET long
    get SIZE long

    if SIZE != 0
        log "" OFFSET SIZE
    endif
next i
I noticed that these WESYS files have zlib compressed data at offset 16
User avatar
Gocha
veteran
Posts: 109
Joined: Fri Dec 12, 2008 8:16 pm
Location: Batumi, Georgia, GE
Has thanked: 57 times
Been thanked: 9 times
Contact:

Re: PES_10 .img

Post by Gocha »

aluigi
script just extracts anyway.

So what to do with that extracted files...
Here's one more .img file, which contains game's some language data
http://www.sendspace.com/file/r5n2n7
File Name: dt05_e.7z
Size: 9MB
My great respect and appreciation for them, who research game files! Special thanks to: aluigi, bacter, DerPlaya, Rick, Turfster, twig, Zench. Sorry if someone is missing in my list, I'll update when I'll notice it again
GameZelda
advanced
Posts: 61
Joined: Wed Nov 14, 2007 5:56 pm
Been thanked: 29 times

Re: PES_10 .img

Post by GameZelda »

Gocha wrote: GameZelda,
Tool that you offered, can't extract even that exmpl. file - dt0f.img. Didn't work for me.

Also peaple I want to share with you and interested persons my searching results:
I have had found many tools for editing series of this game, but for now I can't edit just .img needed for the language localization (dt05_x.img, where x means lang ID - e[English], f[French], for exmp. dt05_e.img)
My program works perfectly on both files. How are you executing it?

I "cd" to the directory where I have the EXE and the img file, then I use:

Code: Select all

IMGExtract dt05_e.img dt05_e
And it extracts the contents perfectly.

---------------

Here's the file structure, in case someone wants to know:

Code: Select all

struct AFSFile
{
   char magic[4]; // "AFS\0"
   uint32_t nFiles;
   AFSFileEntry files[nFiles];
}

struct AFSFileEntry
{
   uint32_t offset;
   uint32_t size;
}

---

Most of the files on the container use a filesystem called WESYS.

If the file starts with "\x00\x01\x00WESYS":
struct UncompressedWESYS
{
   char magic[8]; // "\x00\x01\x00WESYS"
   uint32_t size;
   uint32_t zero;
   uint8_t wesys[size];
}

If the file starts with "\x00\x01\x01WESYS"
struct ZlibWESYS
{
   char magic[8]; // "\x00\x01\x01WESYS"
   uint32_t cmprSize;
   uint32_t uncmprSize;
   uint8_t wesys[cmprSize]; // Uncompress with Zlib
}

---

For the two structures above, once you have the real data, the structure is:

struct WESYSFile
{
   uint32_t nFiles;
   uint32_t eight; // Always 8. May be a pointer to the file table, that is always at offset 8.
   WESYSFileEntry files[nFiles];
}

struct WESYSFileEntry
{
   uint32_t offset;
   uint32_t size;
   uint32_t fileNameOffset; // 0xFFFFFFF0 = unnamed file
}
User avatar
Gocha
veteran
Posts: 109
Joined: Fri Dec 12, 2008 8:16 pm
Location: Batumi, Georgia, GE
Has thanked: 57 times
Been thanked: 9 times
Contact:

Re: PES_10 .img

Post by Gocha »

GameZelda,
Ya man! Now it works perfectly on this file! Others other .img-s had not tested.
Now remains how to pack back those extracted files.

So that BMSscript by aluigi extracts uncorrectly! Coz IMGExtractor extracts all files correctly, and as GameZelda said, I can remove 16 bytes and it's just a texture.
My great respect and appreciation for them, who research game files! Special thanks to: aluigi, bacter, DerPlaya, Rick, Turfster, twig, Zench. Sorry if someone is missing in my list, I'll update when I'll notice it again
Post Reply