Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request unpack base.ipak
#11
And one other question: Could you just extract the .iwi file by just saving those bytes from the beginning(0x8000) to the end and create a file with those bytes?
Or is it much more complex?

@kokole:
http://en.wikipedia.org/wiki/Endianness
[Image: ctoc.jpg]
Reply

#12
Also, regarding the IWI format and a little bit on the ipak header format:
http://www.itsmods.com/forum/Thread-no-m...8#pid90998

An additional note, it seems that the IWIs are compressed and are not stored raw data (the data seems too random and do not have repeating bytes) so even if you did write a tool to dump them, they'd be in a compressed state. Also, the IWI header seems to have extra fields this time around (around 0x10 bytes or so) in the header I think. Anyway, I tried repairing the headers and pretending that it was from BO1 and got this:

[Image: 15zp2yp.png]
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#13
(11-29-2012, 23:06)Tomsen1410 Wrote: And one other question: Could you just extract the .iwi file by just saving those bytes from the beginning(0x8000) to the end and create a file with those bytes?
Or is it much more complex?

@kokole:
http://en.wikipedia.org/wiki/Endianness

The pointer in the section header that points to iwi data, points to an iwi pre-header which is of 128 bytes size.
This is the pre-header of an iwi file:
[Image: hMLSG.png]

The 01 is how many sizes there are...
Its like this:
Code:
WORD size;
WORD unknown;
WORD size;
WORD unknown;
If there were 02, the 2nd "size" won't be null, so you need to do 1st size + 2nd size to get total iwi size. Btw an IWI can be separated in segments for perfomance or some shit.
Reply

#14
Thank you @kokole but i cannot see your pic.
[Image: ctoc.jpg]
Reply

#15
(11-30-2012, 15:56)Tomsen1410 Wrote: Thank you @kokole but i cannot see your pic.

Fixed xD

Btw, here is the iwi file structure for previous cods if someone wants http://www.callofduty.ru/wiki/%D0%A1%D1%...0%BB%D0%B0 btw the link wont work on firefox, use internet explorer, also its in russian xD
Reply

#16
Thank you, sir!
Well, I dont know russian.
[Image: ctoc.jpg]
Reply

#17
(11-30-2012, 16:00)kokole Wrote:
(11-30-2012, 15:56)Tomsen1410 Wrote: Thank you @kokole but i cannot see your pic.

Fixed xD

Btw, here is the iwi file structure for previous cods if someone wants http://www.callofduty.ru/wiki/%D0%A1%D1%...0%BB%D0%B0 btw the link wont work on firefox, use internet explorer, also its in russian xD

Thanks Ignacio, will czech that out.
Reply

#18
(11-30-2012, 16:00)kokole Wrote: Btw, here is the iwi file structure for previous cods if someone wants http://www.callofduty.ru/wiki/%D0%A1%D1%...0%BB%D0%B0 btw the link wont work on firefox, use internet explorer, also its in russian xD

Currently, the page has no text. You can search for this page title in other pages, or search the related logs .
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#19
So, as far as I know now there are multiple .iwi files in one.ipak file?
And there is an .iwi header, where you can see how many .iwi files are in there AND which size each of them has.
So I could just extract the amount of bytes after the header until the size of the first .iwi and I would get the file IF they wouldnt be compressed?

Am i right?
[Image: ctoc.jpg]
Reply

#20
(12-01-2012, 12:06)Tomsen1410 Wrote: So, as far as I know now there are multiple .iwi files in one.ipak file?
And there is an .iwi header, where you can see how many .iwi files are in there AND which size each of them has.
So I could just extract the amount of bytes after the header until the size of the first .iwi and I would get the file IF they wouldnt be compressed?

Am i right?

1. Yes there are multiple .iwi files in one .ipak file, but well there could be only 1, or 100000, its just like .rar
2. Currently I dont think you can directly see how many .iwi files there are, but you could try to find how many "IWi" strings are there. To see the size of the iwi files you should check out the pre-iwi header, which starts at 128 bytes before the iwi header, and is 128 bytes long.
3. Yea just get the size of the iwi file, get the start of the file, and start copying bytes from start to end (you get end by doing start + iwi size)
Oh and there are "segmented" iwi files, its a little complex, so when I make my iwi .ipak extractor I will release the source so you can see what I did.
And I also noticed that there are not only .iwi files in index 02, but I might be wrong.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Menu base EliTeEishiii 1 2,875 04-17-2013, 16:10
Last Post: Nekochan
  TomBMX IPAK exporter 1.1 (export texture files) JariZ 34 21,897 12-23-2012, 21:10
Last Post: kokole
  Help How to know weapon's base ServerClient.Ammo.PrimaryAmmoClip narkos 3 2,712 07-18-2012, 16:42
Last Post: narkos
  Source SDK (CS:GO base 2012) Arteq 3 3,180 06-14-2012, 18:02
Last Post: Arteq
  [Tutorial] Mw3 C# Base Trainer barata 11 8,639 04-22-2012, 21:00
Last Post: R3dbrnu
Big Grin [News] My first game base in C# XNA Nekochan 22 10,605 03-16-2012, 18:45
Last Post: Yamato
  ALL YOUR BASE ARE BELONG TO US HA HA HA!! 4FunPlayin 4 2,549 11-10-2011, 20:58
Last Post: Pozzuh
  Default Base Mod. Boomshay 1 1,609 07-03-2011, 13:17
Last Post: surtek
  Help Pack/Unpack FF. files TechnoX 1 3,707 06-04-2011, 09:57
Last Post: Pozzuh
  [Release] Mod Menu Base d0h! 13 9,790 05-22-2011, 23:37
Last Post: FUCK0FF

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.