Search found 20 matches

by PaHaNchickT
Wed May 26, 2021 9:07 pm
Forum: Graphic file formats
Topic: Spider Man 3 The Game (X360) - getting textures
Replies: 6
Views: 373

Re: Spider Man 3 The Game (X360) - getting textures

Do you have any ideas what it could be? It could be some kind of xbox swizzling method. There was a documentation with detailed explanation available few years back https://forum.xentax.com/viewtopic.php?t=10857 but I think it can be lost now according to the replies in the topic. There are also th...
by PaHaNchickT
Wed May 26, 2021 6:37 pm
Forum: Graphic file formats
Topic: Spider Man 3 The Game (X360) - getting textures
Replies: 6
Views: 373

Re: Spider Man 3 The Game - getting textures

Yeah, you could use rawtex or texture finder for this task https://forum.xentax.com/viewtopic.php?t=15540 Thanks for the answer! I tried all programms from this link. Texfinder and rawtex was closer than others. But there are artifacts on texture: https://sun9-25.userapi.com/impg/f3vU5tSj_A5FkODNjm...
by PaHaNchickT
Tue May 25, 2021 11:39 pm
Forum: Graphic file formats
Topic: Spider Man 3 The Game (X360) - getting textures
Replies: 6
Views: 373

Re: Helping with converting HEX to textures

Spider Man 3 The Game. Extention of archives is *XEPACK. There is solved solution for getting textures from pc version of this game, but nobody can did it with xbox version of game. People who can write script also got stuck. And I decided to get textures without scripts... Do you have any ideas how...
by PaHaNchickT
Tue May 25, 2021 4:28 pm
Forum: Graphic file formats
Topic: Spider Man 3 The Game (X360) - getting textures
Replies: 6
Views: 373

Spider Man 3 The Game (X360) - getting textures

Hi everyone I want to get textures from game archive. This is game for xbox 360 and TextureFinder doesn't working normally. So could anyone help me? How to understand where texture beginning, where it's ending and what size it got? sample here: https://mega.nz/file/oA1UwJba#3p_Nvf7T92VaTI_yUJiNHkpQ0...
by PaHaNchickT
Mon May 10, 2021 1:03 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

I've had a look, but I'm not sure either. It's a bit of a weird format, but as Luigi says, sometimes if the format can't be worked out properly then you might need to extract the files manually with a hex editor. Yeah, I tried to find the way to extract textures from hex. The only way I found is Te...
by PaHaNchickT
Sun May 09, 2021 1:58 am
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

Yes, if you add the following line at the very start of the script, it will decompress the NCH.XEPACK files: Endian Big It looks like that's the only change needed, at least for the XEPACK sample, so it should work fine with the others. And also it has appeared new problem. I asked Aluigi if he cou...
by PaHaNchickT
Sun May 09, 2021 1:18 am
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

DKDave wrote:
Fri May 07, 2021 7:25 pm
Yes, if you add the following line at the very start of the script, it will decompress the NCH.XEPACK files:

Endian Big

It looks like that's the only change needed, at least for the XEPACK sample, so it should work fine with the others.
Oh yeah, It really works, big thanks for all!!!
by PaHaNchickT
Fri May 07, 2021 6:54 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

If you delete the following line: XMath ENTRY "OFFSET - (ENTRIES * 0x10)" And replace it with: Math ENTRY = 0x3c0 (or whatever it is) OMG, YES!! It really works! This string is working for most of all other files! Math ENTRY = 0x3c0 Great thanks for you!!! Now I got the last problem, It looks like ...
by PaHaNchickT
Thu May 06, 2021 11:28 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

DKDave wrote:
Thu May 06, 2021 11:10 pm
The location of entries is always at 0x54, or at least it is in all of your samples.
So what string in script I need to change for taking account the starting of the table? (0x349 for one file and 0x3c0 for other)
by PaHaNchickT
Thu May 06, 2021 10:47 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

The way it was calculated was to look for the hex sequence 0xa1a1a1a1 and subtract the size of the file table to get the start, but this didn't always work. The file table usually starts at 0x394 in GAME.XEPACK, 0x368 in GAME.PCPACK, somewhere after the string of 0x01 bytes. In LOCATION_BLACK_CAT_1...
by PaHaNchickT
Thu May 06, 2021 12:08 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

Having looked at the other samples, some of them don't fit the logic of my script. Some of them have the file table starting in a slightly different place. There's no obvious offset to the start of this table because the logic used doesn't always work, so I'm stumped on how to calculate it accurate...
by PaHaNchickT
Tue May 04, 2021 5:48 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

You shouldn't need to change the file data at all - it looks like you've swapped every 4 bytes in the whole file, as all of the texts etc. are the wrong way round. This definitely won't work as Big Endian only applies when reading numbers; any strings should remain the same, although there are expe...
by PaHaNchickT
Mon May 03, 2021 8:26 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

Yes... If the format is identical, then it might be enough just to set any scripts to read Big Endian instead of Little Endian on the PC version. Hello again! So I found the way to swap endianness from big- to small-. But now *36 script-extractor says that offset if wrong: Wrong offset, so we try a...
by PaHaNchickT
Sat May 01, 2021 10:35 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

Yes, everything is mirrored because the XBox format is Big Endian, so numbers and strings are the other way around compared to the PC version. Any scripts that reads those files need to take into account the difference and read them accordingly. If the format is identical, then it should be a case ...
by PaHaNchickT
Sat May 01, 2021 9:00 pm
Forum: 3D/2D models
Topic: Spider Man 3 XBOX 360
Replies: 26
Views: 1261

Re: Spider Man 3 XBOX 360

Yeah, it looks like the original Python script had the extension in hex, so just a quick modification to my script: s3.zip So interesting.. *36 files from PC and XBOX seem to be similar, but all words and strings in XBOX file looks like.. Mirrored? Do you know how to fix it? https://sun9-35.userapi...