Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 12:44

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 37 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: OrkDec
PostPosted: 17 Oct 2007 04:08 
Since months I desperatly look for an opportunity to unpack ork archives. Now I got this orkdec...
Well if it does what it does, fine! But how do you think it can be of any use if you don't know the filepaths?
Isn't it possible to include an algorithm that extracts the whole archive regardless how single files are named?
Warhammerfans have been waiting endless months for devs providing some modtools - in vain. Please don't stop developing this Extrator!


Top
  
 
 
 Post subject:
PostPosted: 17 Oct 2007 09:40 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
unfortunately the ork archives use a filename based encryption for their files which is really an annoying thing since as you can see we already have everything except those damned filenames which are needed.

Now the possible solutions:
- brute forcing: give up, it's a lost of time since the paths can be very long.
- debugging the game to know all the files to load: long thing that at the moment it's not in my targets, as far as I know the game has some filenames in memory and those files (in the ork archive) contain the names of all the others to load.

As you have said "Warhammerfans have been waiting endless months for devs providing some modtools", I'm not one of these fans (I have never played that game) but I have created the tool which does all the work, now it's time for the real fans to do the rest.
Don't you think the same?


Top
 Profile  
 
 Post subject:
PostPosted: 19 Oct 2007 02:42 
aluigi wrote:
unfortunately the ork archives use a filename based encryption for their files which is really an annoying thing since as you can see we already have everything except those damned filenames which are needed.

Now the possible solutions:
- brute forcing: give up, it's a lost of time since the paths can be very long.
- debugging the game to know all the files to load: long thing that at the moment it's not in my targets, as far as I know the game has some filenames in memory and those files (in the ork archive) contain the names of all the others to load.

As you have said "Warhammerfans have been waiting endless months for devs providing some modtools", I'm not one of these fans (I have never played that game) but I have created the tool which does all the work, now it's time for the real fans to do the rest.
Don't you think the same?

True and I would if I knew how to. I'm more the guy that does 3D Artmodding than a programmer. I can do a bit with python and know only how to compile C+ that's all. I don't have any idea what you mean with debugging the game to get the filenames. What kind of tools would I need and what would I have to do with them?

Thx for the reply and the tool, it's a small hope at least:)

Ploep


Top
  
 
 Post subject:
PostPosted: 19 Oct 2007 07:57 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I have an idea in mind, and probably later I will try to realize it.
In short something like I did for Battlefield 2 and 2142: a function which writes in a file all the files read by the game.

In this way you could launch the program, playing on any map in any mode and at the end you will have a text file containing all the list of filenames to use with orkdec.


Top
 Profile  
 
 Post subject:
PostPosted: 19 Oct 2007 08:53 
That sounds awesome!
Playing and at the same time decrypting the filestructure:D


Top
  
 
 Post subject:
PostPosted: 19 Oct 2007 09:31 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the tool is almost finished and is... a success!
I'm testing it now with the demo (don't worry I have made it compatible with any other game and version too) and the following are some of the files:

game.orc
gamecampaign.orc
defines\eventtriggerexport.h
localization\master\english (united states) {0409}.xml
game data\cameradefaults.xml
campaign\campaign.xml
gui\1280\gui
gui\1280\styles.xml
gui\1280\richtags.xml
gui\1280\fonts\verdana.ttf
gui\1280\macrocontrol.xml
sound\sounddata.xml
sound\audioevents.xml
sound\musicdata.xml
game data\texturearrays.xml
game data\w3staticresourcemap.xml
default\defaultterraintexture
high\default\defaultobject.gobj
gui\1280\gui
gui\1280\fonts_unicode_eng.xml
gui\1280\fonts\ellingtonmtstd.otf
gui\1280\fonts\ellingtonmtstd-extrabold.otf
gui\1280\specialchars.xml
gui\texture\logos\nbga_logo_1280_720
gui\1280\cursor\cursor0
gui\1280\title plate.xml
gui\1280\texture\logos\title plate
gui\1280\texture\empire\common\control\dropdown
music\main menu.mp3
unit customization\colorsetindex.xml

now listening "main menu.mp3" ih ih ih


Top
 Profile  
 
 Post subject:
PostPosted: 19 Oct 2007 11:15 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
orkdec_files is now public:

http://aluigi.org/papers.htm#others-file

For using it: drag warhammer.exe or exigo.exe over the tool's executable (orkdec_files_loader.exe)

Note that you need to use an unencrypted executable like a nocd


Top
 Profile  
 
 Post subject:
PostPosted: 19 Oct 2007 16:25 
Awesome!
Just one problem left. I can't find the textfile. What would be it's name and where should I look fot th dumped textfile.

Sorry for being such a noob :oops:


Top
  
 
 Post subject:
PostPosted: 19 Oct 2007 17:27 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
oh my friend you should read the messages in the windows... the filename is written just when you must choice if continuing (OK) or exiting (CANCEL).

Anyway check the following folder (copy it in Start->Run) and you will find a .txt file which begins with a strange number like 471880f5_orkdec_files.txt:

%userprofile%


Top
 Profile  
 
 Post subject:
PostPosted: 20 Oct 2007 01:31 
Stupid me! I forgot to include the dll in the folder and just using the exe I assumed it were running fine since the game started(but of course it didn't run and no txt was created.
Now it's working fine. And definitly gives me huge lists to chew upon(once I figured out how to use your orkdec that is :lol: )
So far only xml and wav files seem to be useable. The textures don't seem to have fileextensions and I'm wondering what that gobj format is that seems to reference the 3D models.
Why can't the gamingcompanies all be like Firaxis? Modding Civilization 4 is Heaven for me. Almost every file accessable and editable if you got the proper tools and know how to use them. Sigh.
I hope I can find a way to get the models imported into 3D max or Blender somehow...Well I guess at least the soundfiles will help me a lot to pimp up my Civmod now:D

If you like visit civfanatics.com in a couple of weeks and download the latest version of the Warhammermod for Civ 4 BTS there to see what came of your recent effort:

http://forums.civfanatics.com/showthread.php?t=182258

My name on this forum is Ploeperpengel

Big thx to you, Sir!

:)


Top
  
 
 Post subject:
PostPosted: 20 Oct 2007 02:14 
Oh well I'm sorry to be such a bother but can you give me a last hint how to use orkdec now?
I tried all kinds of entries but can't get any result. This is an example:
H:\MOC\orkdec.exe -d H:\MOC\Unpacked H:\MOC\data1.ork H:\MOC\music\main menu.mp3

What am I doing wrong?


Top
  
 
 Post subject:
PostPosted: 20 Oct 2007 12:55 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
try with:

H:\MOC\orkdec.exe -d H:\MOC\Unpacked H:\MOC\data1.ork "music\main menu.mp3"

the last parameter is just the (in)famous filename which decrypts the file.
anyway if you use the tool from the command line everything is more simple:

h:
cd \moc
orkdec.exe -d Unpacked data1.ork "music\main menu.mp3"

program [options] <file.ORK> <file_OR_filelist>
so you can also use:

orkdec.exe -d Unpacked data1.ork 471880f5_orkdec_files.txt

For more details about how use my tools (and any other console tool in general):

http://aluigi.org/about.htm#howuse


Top
 Profile  
 
 Post subject:
PostPosted: 20 Oct 2007 21:59 
Thx to you again. It's working fine even for me now :D


Top
  
 
 Post subject:
PostPosted: 27 Mar 2008 14:58 

Joined: 27 Mar 2008 14:23
Posts: 1
Anyone who has explored full game? Becaus the tool catches only while playing.


Top
 Profile  
 
 Post subject:
PostPosted: 27 Mar 2008 16:05 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I don't have the full game so I can't help anyway I agree, the full (or the biggest) list of files would be really very very useful


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 27 Aug 2009 23:05 

Joined: 26 Aug 2009 22:25
Posts: 1
Hi,

Sorry to resurrect such an old thread/ topic, but I have used your orkdec and file dumper programs to try to decode the intro cinematic from the game. It resides in the main game install folder: C:\Program Files\NAMCO BANDAI Games\Warhammer Mark of Chaos\Movie\intro.ork , and is approx 200 MB in size. However, although the movie is played at the start of the game, there is no relevant entry in the orkdec filedumper text file (I think because it is accessed, not loaded?), and because it is not an archive (rather it seems to be an encrypted/ "wrapped" movie file) I can't work out an orkdec command to access the file.

Any help would be appreciated! I just want to get the intro cinematic in full resolution (availabale downloads aren't great) for a personal project.

Thanks,

newguy


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 28 Aug 2009 10:19 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
are you sure that intro.ork isn't only a renamed bik video?
you can verify it opening it with a hex editor or passing it directly to radvideotools or to mplayerc/vlc


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 10 Sep 2010 18:52 

Joined: 10 Sep 2010 18:46
Posts: 3
Hi! I was wondering if you made a compressor for .ork yet, something of an orkenc? If not that's fine and with the orkdec source can probably make one myself. Files are simple .z compression, then encoded and tabled, correct?


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 10 Sep 2010 20:21 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
no, orkdec is only an extractor and I will not create a rebuilder


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 11 Sep 2010 09:42 

Joined: 11 Sep 2010 09:25
Posts: 2
Hi Luigi

first of all I want to say big thanks for creation of such wonderful tools like orkdec and orkdec dumper.
I'm and many warhammer fans very grateful to you because you made possible use moc sounds in mods to other games.
Tools works just fine with Mark of Chaos game but I have problems with launching dumper together with exe for Battle March(MoC addon).
I use no-dvd but dumper doesn't work.
If you have time can you somehow fix it?
I used this no-dvd http://www.filedropper.com/warhammermar ... nodvdtport


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 12 Sep 2010 19:40 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
I have just updated orkdec_files to version 0.1.1:
http://aluigi.org/papers.htm#orkdec

let me know if this new version works correctly


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 12 Sep 2010 20:38 

Joined: 11 Sep 2010 09:25
Posts: 2
Now it work just fine.
Huge thanks to you for all your efforts!


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 01 Oct 2010 18:37 

Joined: 10 Sep 2010 18:46
Posts: 3
Good day all!

Made a poorly-coded but effective ORK archive appender. It's based off Luigi Auriemma's orkdec, which is to say virtually all his own work ;*) It can generate new .ork archives from a filelist, or replace/append files to an existing one. Source is included there too. Find it here:
http://www.mediafire.com/?wmw931un6bx65og

As a proof-of-concept, here's a demo of data replacement in the retail Warhammer: Mark of Chaos. Simply drop the new .ork into the W: MoC directory to effortlessly (and risklessly) hear the awesome power of the compressor for your self. When done, delete the file. Oh! If you weren't patched up all the way, just rename that to the next highest data#.ork file and you're good to go. It loads them in numerical order.
http://www.mediafire.com/?j2jptj5x8la7j99

Also, it isn't much at current, but made some very crude tools to automate file scanning and whatnot. They're here, with source:
http://www.mediafire.com/?ct1he2ntc1llnuf

Docs are coming along slowly but will get there. Technically this little side-project subverted the other two side-projects subverting the big three main projects. Aegh...
There are a few documents with the programs. In lieu of that, here's a link to some basic filelists so you can use orkdec (http://aluigi.org/papers.htm#others-file) to grab the original files. They aren't complete, but maybe that can kick off a community project. Would be nice to have a full .xml listing.
http://www.mediafire.com/?49kmjsieu49rh3y


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 27 Nov 2010 14:36 

Joined: 27 Nov 2010 13:42
Posts: 3
Location: UK
Hi all,

Big Thanks to aluigi and Zoinkity for their amazing tools and helping us all get this far!

Image

I can extract the main menu audio in the Music folder, thanks to your Mod tools and rename the cutscene Movies to play in Bink etc.. and view 3d Character Direct X Models in Blender but I understand that their is real interest in extracting Voice Audio.

I see lots of XML listings in the Extracted Sound folder, referencing the Game Music .mp3

- <GameNormalEmpire Volume="32" FadeInMs="2000" FadeOutMs="2000" Loop="True">
<Music Filename="Music\Empire Battle Map Normal 1.mp3" />

but can't find these .mp3 and can not see where the Character voices are located.

Any assistance advise would be greatly appreciated, especially from our combined Teams, I would really love to extract the Buildings and scenery please.

http://www.twcenter.net/forums/showthread.php?t=324428

http://www.twcenter.net/forums/showthread.php?t=331057

http://www.twcenter.net/forums/showthre ... 6&page=207

Thanks

:)


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 28 Nov 2010 20:42 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
have you checked if these filenames appear when you use the orkdec filenames dumper attached to the game process?

anyway I'm sure that who uses this tool actively can help you better than me :)


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 29 Nov 2010 01:47 

Joined: 27 Nov 2010 13:42
Posts: 3
Location: UK
Thanks for the advice I had missed the Vital step of running the game and playing it, to allow your tools to extract everything whilst it was running. I now have the Audio Voices and Loads of other stuff.

Many Thanks

:)


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 30 Nov 2010 11:59 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
just for curiosity what was the full path of (for example) "Music\Empire Battle Map Normal 1.mp3"?


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 04 Dec 2010 04:21 

Joined: 27 Nov 2010 13:42
Posts: 3
Location: UK
All the voices extracted really well - many thanks

sound\unit\empire\swordsmen\swordsmattackorder1.mp3

:)


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 19 Jan 2011 08:46 

Joined: 19 Jan 2011 08:39
Posts: 2
Excellent application. Thank you! This game is a classic and has yet to be out-classed :P

Tomorrow I will attempt to extract some of the dialogue files from my Moc/Battlemarch (Gold?) Disc :)


Top
 Profile  
 
 Post subject: Re: OrkDec
PostPosted: 22 Jan 2011 05:51 

Joined: 19 Jan 2011 08:39
Posts: 2
aluigi wrote:
just for curiosity what was the full path of (for example) "Music\Empire Battle Map Normal 1.mp3"?


Your utility works beautifully :) I am running v2.00 from the "Gold" disc of Mark of Chaos/Battlemarch and extracted some music tonight. Here is an example of some of the directory locations that orkdec_files_loader.exe is providing (if this is what you're looking for):

Code:
high\default\highborn_coldone.gobj
high\default\highborndragon.gobj
music\expansion main menu.mp3
gui\1280\texture\empire\cursor\cursor_eggtimer
gui\1280\texture\empire\cursor\cursor0
gui\1280\mainmenu.xml
gui\1280\mainmenu.xml


btw, I intend to play through all the campaigns and I will upload a complete index when I'm finished.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 37 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron