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

[REQ] Darksider II (PC)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: [REQ] Darksider II (PC)

Post by WRS »

Haoose wrote:WRS, where prelen.bt?
sorry, here it is:

Code: Select all

//--------------------------------------
//--- 010 Editor v3.2.2 Binary Template
//
// File:      prelen.bt
// Author:    WRS
// Revision:  v0.01
// Purpose:   Reading strings of known length
//--------------------------------------

// Supported lengths
enum prelenType
{
  slen32,
  slen16,
  slen8
};

// String structure (with length)
struct prelenStr( prelenType t )
{
  switch(t)
  {
    case slen32 : uint len;   break;
    case slen16 : ushort len; break;
    case slen8  : ubyte len;  break;
    default:
      Assert(false, "Unknown prelenType");
  }
  if(len>0)char val[len];
};

// Typedef
typedef prelenStr str <read=strRead>;

// Read function
string strRead(str &t)
{
  string s = "<empty>";
  if( t.len > 0 ) SPrintf(s, "%s", t.val);
  return s;
};

// EOF
Useful tool links:
Gruselgurke
advanced
Posts: 72
Joined: Fri Mar 30, 2012 6:15 pm
Has thanked: 21 times
Been thanked: 2 times

Re: [REQ] Darksider II (PC)

Post by Gruselgurke »

@offzip solution
It's possible to extract stuff with it but that doesn't help much if you don't have the correct file name and extensions and a way to put the file back into the archive if the game doesn't run with plain files.
Sir Kane
veteran
Posts: 104
Joined: Mon Aug 06, 2012 4:14 am
Been thanked: 96 times

Re: [REQ] Darksider II (PC)

Post by Sir Kane »

Finished my extractor for this. It doesn't do a lot of validation so it might crash if a file is corrupted or something.

The download comes with its source.
http://sktest.aruarose.com/DS2Extract.rar
Gruselgurke
advanced
Posts: 72
Joined: Fri Mar 30, 2012 6:15 pm
Has thanked: 21 times
Been thanked: 2 times

Re: [REQ] Darksider II (PC)

Post by Gruselgurke »

Awesome! I will test that later :)
amzerof6
advanced
Posts: 57
Joined: Sat Oct 23, 2010 3:50 pm
Has thanked: 2 times
Been thanked: 2 times

Re: [REQ] Darksider II (PC)

Post by amzerof6 »

Sir Kane wrote:Finished my extractor for this. It doesn't do a lot of validation so it might crash if a file is corrupted or something.

The download comes with its source.
http://sktest.aruarose.com/DS2Extract.rar
Awesome! that great job,thanks a lot. have any tools can export darksiders1's .oppc file?
I try many ways ,just offzip can export bodfile but sadly there's no any textures. anyway DS2Extract is a great tools,thanks again
User avatar
Herdell
veteran
Posts: 103
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 34 times

Re: [REQ] Darksider II (PC)

Post by Herdell »

Sir Kane wrote:Finished my extractor for this. It doesn't do a lot of validation so it might crash if a file is corrupted or something.

The download comes with its source.
http://sktest.aruarose.com/DS2Extract.rar
Any chance for a repacker?
Sir Kane
veteran
Posts: 104
Joined: Mon Aug 06, 2012 4:14 am
Been thanked: 96 times

Re: [REQ] Darksider II (PC)

Post by Sir Kane »

I think there are too many unknowns for that right now, especially the hashes in the OBPK data.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: [REQ] Darksider II (PC)

Post by WRS »

how on earth did you figure out that hashing stuff? is it a known algorithm?

you also have an interesting coding style ;)
Useful tool links:
Sir Kane
veteran
Posts: 104
Joined: Mon Aug 06, 2012 4:14 am
Been thanked: 96 times

Re: [REQ] Darksider II (PC)

Post by Sir Kane »

Found most of the info including the hash stuff, which appears to be CRC64, by reverse engineering/debugging the game.
Keksautomat
ultra-n00b
Posts: 4
Joined: Fri Feb 17, 2012 4:39 pm

Re: [REQ] Darksider II (PC)

Post by Keksautomat »

Is it possible with this to get this game to work with English Audio (for example) but a different subtitle language ? (In my case german)

Greetings
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

Re: [REQ] Darksider II (PC)

Post by Haoose »

Keksautomat
Possible. I have seen - the English voice and Russian text.
-= GP-team =-
Image
Keksautomat
ultra-n00b
Posts: 4
Joined: Fri Feb 17, 2012 4:39 pm

Re: [REQ] Darksider II (PC)

Post by Keksautomat »

Haoose wrote:Keksautomat
Possible. I have seen - the English voice and Russian text.
To you happen to know how? If no, do you remember where you've seen it? (Can you link it ? Maybe the guy gave some instructions)
Teg
ultra-n00b
Posts: 1
Joined: Thu Nov 10, 2011 7:56 am

Re: [REQ] Darksider II (PC)

Post by Teg »

Hey guys/gals (=

I'm just wondering if anyone know which files contain the dungeon/area maps for the game and is there a 3rd party program that can be used to open/view these maps?

Thanks!
Beefsteak
ultra-n00b
Posts: 1
Joined: Sat Sep 21, 2013 10:58 pm

Re: [REQ] Darksider II (PC)

Post by Beefsteak »

whenever I run the darksiders2.bms and select the media.upak i get "signature of 4 bytes at offset 0x00000000000000000 doesn't match the one expect by e script" i see other threads using offzip to open this but i cant figure it out, anyone care to help? thanks!
blinkey
ultra-n00b
Posts: 1
Joined: Thu Sep 15, 2011 8:07 pm

Re: [REQ] Darksider II (PC)

Post by blinkey »

Yo guys, i am on a re-texture project to this game and i wanna know if anyone got lucky on repacking the freaking .upak files or manage the game to run and read the "loose" files, any help will be much appreciated
Post Reply