Page 2 of 3

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Sat Mar 17, 2012 1:46 am
by finale00
Maybe you can build on this.
The data starts at 0x800, and the first entry points to 0x800. The next one points to 0x9000
So you would think filesize == 0x9000 - 0x800 would be stored somewhere in one of those 4 variables in the file entry, but I don't see it.

Code: Select all

#Lord of the Rings - Conquest BIN unpacker
#Array 0 = Names
#Array 1 = Offsets
#Array 2 = Sizes
#Array 3 = Compressed sizes

get unk1 long
get unk2 long
get NAME_OFS long
get unk3 long
get FILES long
get FILES2 long
get FILE_OFS long
get null long
get unk4 long
get unk5 long
get unk6 long #FILES == unk4 + unk6

#get the entries
goto FILE_OFS
for i = 0 < FILES do
	get unk1 long
	get OFFSET long
	get unk2 long
	get unk3 long
	get unk4 long
	
	#put offset in array 1 at index i
	putarray 1 i OFFSET
next i

#get the names
goto NAME_OFS
for i = 0 < FILES do
	get len long
	getdstring NAME len
	putarray 0 i NAME
next i

#just testing. Grab values from index 0 of arrays
getarray NAME 0 0
getarray OFFSET 1 0
print "%NAME% %OFFSET%"

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Sat Mar 17, 2012 4:59 am
by artworkplay
finale00 wrote:Maybe you can build on this.
The data starts at 0x800, and the first entry points to 0x800. The next one points to 0x9000
So you would think filesize == 0x9000 - 0x800 would be stored somewhere in one of those 4 variables in the file entry, but I don't see it.

Code: Select all

#Lord of the Rings - Conquest BIN unpacker
#Array 0 = Names
#Array 1 = Offsets
#Array 2 = Sizes
#Array 3 = Compressed sizes

get unk1 long
get unk2 long
get NAME_OFS long
get unk3 long
get FILES long
get FILES2 long
get FILE_OFS long
get null long
get unk4 long
get unk5 long
get unk6 long #FILES == unk4 + unk6

#get the entries
goto FILE_OFS
for i = 0 < FILES do
	get unk1 long
	get OFFSET long
	get unk2 long
	get unk3 long
	get unk4 long
	
	#put offset in array 1 at index i
	putarray 1 i OFFSET
next i

#get the names
goto NAME_OFS
for i = 0 < FILES do
	get len long
	getdstring NAME len
	putarray 0 i NAME
next i

#just testing. Grab values from index 0 of arrays
getarray NAME 0 0
getarray OFFSET 1 0
print "%NAME% %OFFSET%"
Tried it on Training.BIN using quickbms_4gb_files.exe and got this message

IGD_GB_Wood_01_D* 2048

Just guessing but it ooks like a texture filename (diffuse) with a dimension of 2048px

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Sat Mar 17, 2012 5:13 am
by finale00
No that number is just the offset of where the data starts (at least, I think it is).
The names don't have extensions so I don't know how that works.

The test printing there is just to show how to retrieve from arrays.

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Sat Mar 17, 2012 1:57 pm
by artworkplay
I'm not sure if this would be any help at all but would the game's exe have the answer?

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Mon Mar 19, 2012 1:26 am
by artworkplay
scratch that idea... this is beyond my current knowledge level. maybe next year lol

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Mon Mar 19, 2012 7:55 am
by Devilot
thanks anyway :(

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Tue Mar 20, 2012 9:06 am
by artworkplay
Devilot wrote:thanks anyway :(
Hey man cheer up. There are 5 downloads of the Training.BIN file that I uploaded... if it's any consolation (and if we're lucky) that's 5 potential engineers trying to come up with an extractor.

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Sun Aug 12, 2012 3:28 pm
by Devilot
I guess they did not :(

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Tue Sep 04, 2012 4:04 pm
by Devilot

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Tue Mar 11, 2014 4:30 pm
by MacDougal
Has anyone had any success with this?

It would be awesome if someone was able to unpack the bin/pak files.

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Tue Mar 11, 2014 7:35 pm
by Devilot
I think that NinjaRipper is the best choice for this game. it should be considered as the "spiritual successor" to 3d ripper dx and, hopefully, it has solved its issues.

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Fri May 09, 2014 6:26 am
by cadu1990
So, anyone managed to extract something from the game? This is probably the only game I've found that has a good Sauron model, and I'm very interested in that particular model

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Fri May 09, 2014 7:32 am
by Devilot
cadu1990 wrote:So, anyone managed to extract something from the game? This is probably the only game I've found that has a good Sauron model, and I'm very interested in that particular model
my same reason exactly..

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Fri Sep 26, 2014 5:45 pm
by artworkplay
Can't believe I posted here two years ago... and still no closer to getting anything. Oh the memories LOL

Re: [PC/Ps3]Lord of the Rings - Conquest Models/Textures

Posted: Fri Sep 26, 2014 5:51 pm
by Devilot
that's because ninja ripper is still completely wonky, for me.