RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Dawn of War - Adeptus Modificatus
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Closed Thread
 
Thread Tools
Old 10th Sep 04, 6:19 PM Forum Rules   # 1
Spooky
Senior Member
 
Spooky's Avatar
 
Join Date: Sep 2001
Location: Colchester, Essex, UK

DoW .SGA Archive Extractor

W40K: DoW .SGA files can now be opened and extracted with v2.0.0 of my Relic Archive Tool (SpookyRAT). I have also included comdlg32.ocx and mscomctl.ocx in the release along with a readme file...

Download link is in the first post of this thread:

http://forums.relicnews.com/showthread.php?t=21054

Have fun...
__________________
Spooky is offline Send a message via ICQ to Spooky  
Old 10th Sep 04, 7:52 PM   # 2
DarthVaygr
Guest
 

I like the sound of this! Thanks Spooky! Now, to see if they are compressed or not.....hmmmm!
 
Old 10th Sep 04, 8:04 PM   # 3
BrianGeneral
Member
 
BrianGeneral's Avatar
 
Join Date: Jan 2004
Location: Mad about DoW in Hong Kong

Yeah,thanks!NOw I can memorise their speeches
__________________
LET THE GALAXY BURN!! IRON FOR THE IRON GOD!
Arise, my Iron Legionnaires!!
Only argue with me about 40K gaming after reading this, about Tau after this, this and this, and about Space Marines after that.Remember!
BrianGeneral is offline Send a message via MSN to BrianGeneral  
Old 10th Sep 04, 8:31 PM   # 4
DarthVaygr
Guest
 

Forget memorizing their speeches, we can make new ones!
 
Old 10th Sep 04, 9:09 PM   # 5
Uncle Jimbo
Member
 
Uncle Jimbo's Avatar
 
Join Date: Sep 2004

I get an ActiveX can't create object error. How can I fix that?
Uncle Jimbo is offline Send a message via MSN to Uncle Jimbo  
Old 11th Sep 04, 1:52 AM Forum Rules   # 6
SvK
Freelance Armorer
 
SvK's Avatar
 
Join Date: Sep 2001
Location: Dallas, TX, USA

Spooky is the man!
SvK is offline  
Old 11th Sep 04, 7:03 AM Forum Rules   # 7
CLR
Senior Member
 
CLR's Avatar
 
Join Date: Aug 2004
Location: Montreal, QC

Quote:
Originally Posted by Uncle Jimbo
I get an ActiveX can't create object error. How can I fix that?


Check the readme file.
CLR is offline  
Old 11th Sep 04, 7:38 AM   # 8
DarthVaygr
Guest
 

Ahh yes....the onslaught of DoW n00blars in the Veteran HW2 forum shall begin...downloading...tell you my report when I use it.
 
Old 11th Sep 04, 7:55 AM Forum Rules   # 9
NovaBurn
Now with more surfing Cylons
 
NovaBurn's Avatar
 
Join Date: Mar 2003
Location: Fort Worth, Texas

I was wondering when this was going to be coming out. Delphy hinted that either it was him or you had already got one done a about a week after the closed beta began. :P woot thanks spooky.
__________________
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." Albert Einstein


NovaBurn is offline  
Old 11th Sep 04, 7:57 AM   # 10
DarthVaygr
Guest
 

Visual Basic SP5........hurry up already! Spooky, have you done some preliminary analysis on the files? Can it uncompress DoW .lua files? And, WTH did it reset my connection with the Microsoft server? Now I have to restart!
 
Old 11th Sep 04, 10:18 AM   # 11
stryer
Member
 
Join Date: Aug 2004
Location: London, UK

Correct me if I am wrong...

Is this the link to the runtimes:

http://www.microsoft.com/downloads/...&displaylang=en

Stryer
stryer is offline  
Old 11th Sep 04, 11:53 AM   # 12
TheBladeRoden
Member
 
TheBladeRoden's Avatar
 
Join Date: Aug 2004
Location: Initiate of Doom

What if I told you, what if I said, that I loved you?
how would you feel, What would you think, what would we do?
Do we dare cross that line between your heart and mine?
or would i lose a friend or find a love that would never end?
what if i said?
__________________
TheBladeRoden is offline Send a message via AIM to TheBladeRoden Send a message via MSN to TheBladeRoden Send a message via Yahoo to TheBladeRoden  
Old 11th Sep 04, 12:19 PM   # 13
DarthVaygr
Guest
 

Lolly We get the point, hehe. Anyway, check my current data assessment, and add stuff to it! It could be a nice beginners guide on "How to do this and this like this."
 
Old 11th Sep 04, 7:46 PM   # 14
BrianGeneral
Member
 
BrianGeneral's Avatar
 
Join Date: Jan 2004
Location: Mad about DoW in Hong Kong

After install the Runtime the extractor still doesn't work
BrianGeneral is offline Send a message via MSN to BrianGeneral  
Old 11th Sep 04, 11:23 PM   # 15
Uncle Jimbo
Member
 
Uncle Jimbo's Avatar
 
Join Date: Sep 2004

same here.

and in the readme, what does this mean:


Start->Run...
cmd
cd c:\windows\system32
regsvr32 luadc.dll
regsvr32 comdlg32.ocx
regsvr32 mscomctl.ocx


I type those cmds and nothing happen. the files are there though - I put them there.
Uncle Jimbo is offline Send a message via MSN to Uncle Jimbo  
Old 11th Sep 04, 11:40 PM   # 16
BrianGeneral
Member
 
BrianGeneral's Avatar
 
Join Date: Jan 2004
Location: Mad about DoW in Hong Kong

Quote:
Originally Posted by Uncle Jimbo
same here.

and in the readme, what does this mean:


Start->Run...
cmd
cd c:\windows\system32
regsvr32 luadc.dll
regsvr32 comdlg32.ocx
regsvr32 mscomctl.ocx


I type those cmds and nothing happen. the files are there though - I put them there.


OK,I've found the way.

Put ONLY luadc.dll and zlib.dll into that directory.

Run your commands again.

Then it'll work,Cheers.
BrianGeneral is offline Send a message via MSN to BrianGeneral  
Old 13th Sep 04, 5:20 PM   # 17
Mad_cat
Guest
 

thanks you saved me from a ton of work
 
Old 17th Sep 04, 12:00 PM Forum Rules   # 18
SvK
Freelance Armorer
 
SvK's Avatar
 
Join Date: Sep 2001
Location: Dallas, TX, USA

I've linked to this thread in a new sticky, so to avoid sticky-overload-syndrome where there are so many stuck threads that no one can actually read all of them, I'm un-sticking this one. If Spooky doesn't like it, well, I guess he'll stick it again.

[edit]

Hey, Spooky, it is hard to make an application like this without using crazy DLLs and stuff that requires admin access?
SvK is offline  
Old 17th Sep 04, 12:11 PM   # 19
DarthVaygr
Guest
 

...I'm assuming SvK cannot access the restricted files? Hmmm....never thought of that. I actually wouldn't know how to answer that, as I'm not Spooky
 
Old 17th Sep 04, 3:14 PM Forum Rules   # 20
Spooky
Senior Member
 
Spooky's Avatar
 
Join Date: Sep 2001
Location: Colchester, Essex, UK

SvK - It is possible to write a zlib.dll from scratch and include it in the .exe but it will take a LOT of effort and is not worth it in the end seeing as it is freely available as is

I have no choice with the LudDC.dll either as Age2Un only provided me with this and no source code....

So yes - you will need admin access under XP/2K to install this I am afraid.

As for the stickying - errr so long as people can find a link easily I will not be restickying this thread .
Spooky is offline Send a message via ICQ to Spooky  
Old 26th Sep 04, 7:58 PM   # 21
Mocking_Crow
Guest
 

Ok... maybe im just being stupid but ive got a problem.

I Get sppoky's program to open the W40KDATA.sga file and when i press "save all files to archive" it starts to save it but then gets runtime error 9.

Any possible solutions?
 
Old 26th Sep 04, 9:08 PM   # 22
MasteroftheFork
Guest
 

I think I know the solution to your problem. Get spooky's progam; don't use sppoky's.
 
Old 26th Sep 04, 9:27 PM   # 23
Mocking_Crow
Guest
 

Have you ever heard of a typo???

Anyway the error says fully: "Runtime error '9': Subscript out of range."
 
Old 27th Sep 04, 5:04 PM Forum Rules   # 24
Spooky
Senior Member
 
Spooky's Avatar
 
Join Date: Sep 2001
Location: Colchester, Essex, UK

Not sure why you are getting that error as I have just done an "Save All" on that archive with no problems at all...
Spooky is offline Send a message via ICQ to Spooky  
Old 28th Sep 04, 7:55 AM   # 25
Azekiel
Guest
 

but how you put files you extracted back into archive so they will work ingame ?
 
Old 28th Sep 04, 8:02 AM Forum Rules   # 26
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

You don't need to - lucky that because you cant.
__________________
irc.hwcommunity.com #dowmods (for CoH too!)
www.corsix.org | mod studio | theme hospital
Corsix is offline Send a message via MSN to Corsix  
Old 28th Sep 04, 8:13 AM   # 27
Azekiel
Guest
 

so how it works then.. does all extracted folder go to "virtual override folder ? " like in NWN or baldurs gate gameS ?
 
Old 28th Sep 04, 8:35 AM Forum Rules   # 28
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

Extract from w40k.module:
Code:
;; ////////////////////////////////////////////////////////////////// ;; List of folders to map for this MOD ;; order is important - the first Archives registered will be scanned for files first DataFolder.1 = Data DataFolder.2 = Data_Shared_Textures\%TEXTURE-LEVEL% DataFolder.3 = Data_Sound\%SOUND-LEVEL% DataFolder.4 = Data_Whm\%MODEL-LEVEL% ;; ////////////////////////////////////////////////////////////////// ;; List of archives to load for this MOD ;; order is important - the first Archives registered will be scanned for files first ArchiveFile.1 = W40kData ArchiveFile.2 = W40kData-SharedTextures-%TEXTURE-LEVEL% ArchiveFile.3 = W40kData-Sound-%SOUND-LEVEL% ArchiveFile.4 = W40kData-Whm-%MODEL-LEVEL%
Corsix is offline Send a message via MSN to Corsix  
Old 28th Sep 04, 10:24 AM   # 29
Azekiel
Guest
 

module ? bah does DOW support now modules ?why override thing like here dosent work with texture if they are being extracted and modified...
 
Old 28th Sep 04, 11:59 AM Forum Rules   # 30
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

Hey there people - I'm coding an alternative to SpookyRAT that should make extracting files easier:
Also, I am going to do a command line based tool that doesn't require a billion DLLs.
Corsix is offline Send a message via MSN to Corsix  
Old 28th Sep 04, 5:53 PM   # 31
MasteroftheFork
Guest
 

Uh-oh spooky's got some rivalry.

Oh and Mocking-cow, I just felt like being a smart ass. I'm WELL aquainted with typos.
 
Old 28th Sep 04, 6:19 PM   # 32
curtlegion
Guest
 

A ?????

Any way to take files that are extracted and have them put back into a .sga file????????
 
Old 28th Sep 04, 7:13 PM Forum Rules   # 33
SvK
Freelance Armorer
 
SvK's Avatar
 
Join Date: Sep 2001
Location: Dallas, TX, USA

No, not yet. Fortunately, you don't have to put files into the SGA for your changes to take effect.
SvK is offline  
Old 28th Sep 04, 8:27 PM   # 34
curtlegion
Guest
 

Another question?

If I use you extractor and then copy all the files to the data folder under 40k directory and try and run a recorded game I get a scr error ..... should not all those files = the .sga and not cause this???? any ideas on this???? give it a try on some of the recorded games on this fourm....

thanks for the answers........curt
 
Old 29th Sep 04, 7:16 AM Forum Rules   # 35
Spooky
Senior Member
 
Spooky's Avatar
 
Join Date: Sep 2001
Location: Colchester, Essex, UK

Quote:
Originally Posted by Corsix
Hey there people - I'm coding an alternative to SpookyRAT that should make extracting files easier:
...
Also, I am going to do a command line based tool that doesn't require a billion DLLs.


Looking interesting so far. I must admit I cannot see how it can be any easier than hitting the extract button in my app? LOL. I have considered many times whether it will be worth the effort of including any preview ability for some of the file types but came to the conclusion that you would be far better off using a dedicated application for the task.

I presume you will still need the zlib.dll for your command line tool unless you intend to recompile it from the source? As for a billion DLLs I seem to recall I use 2 more than comes with the VB6 SP5 runtimes....hehe
Spooky is offline Send a message via ICQ to Spooky  
Old 29th Sep 04, 8:26 AM Forum Rules   # 36
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

Quote:
Originally Posted by Spooky
Looking interesting so far. I must admit I cannot see how it can be any easier than hitting the extract button in my app? LOL. I have considered many times whether it will be worth the effort of including any preview ability for some of the file types but came to the conclusion that you would be far better off using a dedicated application for the task.

Perhaps easier was the wrong word. How about an alternative with nice round edges?
Quote:
Originally Posted by Spooky
I presume you will still need the zlib.dll for your command line tool unless you intend to recompile it from the source? As for a billion DLLs I seem to recall I use 2 more than comes with the VB6 SP5 runtimes....hehe
I dont need zlib.dll for either program - why do you need it? EDIT: Yes I do need it

Last edited by Corsix : 2nd Oct 04 at 9:33 AM.
Corsix is offline Send a message via MSN to Corsix  
Old 1st Oct 04, 1:50 PM Forum Rules   # 37
whats_true
Quite lovely.
 
whats_true's Avatar
 
Join Date: Sep 2004

might be a little late in the game, but, should i overide the files in my systme32 and replace them with yours?
__________________
Portfolio
Environment Artist @ Irrational Games
whats_true is offline Send a message via AIM to whats_true Send a message via MSN to whats_true  
Old 1st Oct 04, 6:41 PM   # 38
SodaGuy
Guest
 

Hey sorry for being noobzilla but could anyone walk me through the whole process to get that 90% army limit thing out of the demo.
 
Old 1st Oct 04, 10:35 PM   # 39
Ruiner
Guest
 

i keep getting this error when i try to extract:

Run-time error "5":
invalid procedure call or argument

i have everything in the right spot too and it is all registered too.
 
Old 2nd Oct 04, 2:18 AM   # 40
mod_penguin
Guest
 

90% army limit? i havent seen no 90% army limit...
 
Old 2nd Oct 04, 4:05 AM Forum Rules   # 41
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

A second shot of my Extractor, using the Extract To feature:
Corsix is offline Send a message via MSN to Corsix  
Old 2nd Oct 04, 9:28 AM Forum Rules   # 42
Spooky
Senior Member
 
Spooky's Avatar
 
Join Date: Sep 2001
Location: Colchester, Essex, UK

Corsix - if you are not using zlib.dll how are you decompressing the files within the archive?
Spooky is offline Send a message via ICQ to Spooky  
Old 2nd Oct 04, 9:31 AM Forum Rules   # 43
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

Quote:
Originally Posted by Spooky
Corsix - if you are not using zlib.dll how are you decompressing the files within the archive?

I am now using zLib.dll - however I am also looking at the zlib.dll source code and RFC 1950 which describes the decompession method.

Code:
Public Declare Function Z_Decomp Lib "zlib.dll" Alias "uncompress" (dest As _ Any, destLen As Any, src As Any, ByVal srcLen As Long) _ As Long Public Const Z_OK = 0 Public Const Z_DATA_ERROR = -3 Public Const Z_MEM_ERROR = -4 Public Const Z_BUF_ERROR = -5

Last edited by Corsix : 2nd Oct 04 at 10:05 AM.
Corsix is offline Send a message via MSN to Corsix  
Old 2nd Oct 04, 10:19 AM   # 44
05thouldm
Guest
 

Sorted It Never mind im tired, great tool spooky!
 
Old 2nd Oct 04, 2:15 PM   # 45
Ruiner
Guest
 

come one someone help me with this runtime error 5 thing please
 
Old 2nd Oct 04, 2:29 PM Forum Rules   # 46
Corsix
The 19th Hyperspace Core
 
Corsix's Avatar
 
Join Date: Sep 2004
Location: Oxford

Do you have VB6 runtimes SP 5?
Corsix is offline Send a message via MSN to Corsix  
Old 2nd Oct 04, 2:48 PM   # 47
Ruiner
Guest
 

i have the pack6 on. but i tried it frist with the pack5. it only gives me problems when i go to extract a DoW file. other than that it opens the file correctly.
 
Old 2nd Oct 04, 7:58 PM   # 48
SodaGuy
Guest
 

Quote:
Originally Posted by mod_penguin
90% army limit? i havent seen no 90% army limit...

From this thread. There's a line of code (max_army_percentage = 0.9) that only lets the computer build up to 90% of your total army. That's why they stop building while they are beating you. I'd like to remove the line to make the computer better to play against.
 
Old 2nd Oct 04, 11:09 PM   # 49
oshovah
Guest
 

help

hey just downloaded the program and i get a ActiveX can't create object error and since there no readme file in the file im having a problem making it work so help plz
 
Old 2nd Oct 04, 11:49 PM Forum Rules   # 50
Spooky
Senior Member
 
Spooky's Avatar
 
Join Date: Sep 2001
Location: Colchester, Essex, UK

Quote:
Originally Posted by oshovah
hey just downloaded the program and i get a ActiveX can't create object error and since there no readme file in the file im having a problem making it work so help plz


There is a readme file - look more closely...
Spooky is offline Send a message via ICQ to Spooky  
Closed Thread



Go Back   RelicNews Forums > RDN - Relic Game Mods > Dawn of War - Adeptus Modificatus
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 4:46 AM.

Page generated in 0.58889508 seconds (95.73% PHP - 4.27% MySQL) with 9 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.