Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

.meg extractor for Full version?

Page: 1 of 1
 sven8136
02-17-2006, 12:56 AM
#1
Anyone have a .meg extractor for the full version? I've only been able to find 3.

First: Doesn't work at all on my comp.
Second: It unzips, but uses % instead of \ for unzipping, so everything is a mess and unorganized. Atleast, I believe thats what it is doing.
Third: Demo only

Any help?

Thanks.
 ^Invader
02-17-2006, 1:27 AM
#2
same here, and when i tried recompling it game wouldn't even start.
 Epytron_Omega
02-17-2006, 3:43 AM
#3
well I didnt recompile it, however if you leave the files in the config subfolder, it works, atleast from what I can it does. I made slight modfications and put them in the data/xml file, and left the config folder there and it used the files in the config folder instead of the xml folder... so in theory, atleast from what i worked with, it works fine.

EO
 Slocket
02-17-2006, 4:09 AM
#4
There is two config.meg files after you apply the patch. Is the first one redundent? I rename it and it did not seem to care..so why do they leave it in there I wonder?

It does nothing and is almost the same size as the original, it is just one folder up.
 ^Invader
02-17-2006, 5:08 AM
#5
so basically move the config folder that you extracted to gamedata/data/config? hmm you will have to show me i been sick all day so brain isn't working lol
 comrade-max
02-17-2006, 6:47 AM
#6
i have a .bat file which you can use i need hosting it does the below

this is for use with the extracter found on petroden that creates all the files with % signs. it only works on the .xml files from config.ini.
extract all the files and run this .bat in the folder with the files in it.
 sven8136
02-17-2006, 8:51 AM
#7
can you please upload that somewhere?

Would help out a lot. Thanks.
 tsenre78
02-17-2006, 9:09 AM
#8
Would someone be so kind as to direct me to a tool that can extract .meg files in the full version as well? I've been looking but unfortunately haven't come across any just yet.

Much appreciated, thanks!
 Epytron_Omega
02-17-2006, 11:27 AM
#9
well here are some screenshots of what I did, in the process of doing it:

Step 1
http://img.photobucket.com/albums/v205/Azrel_Omega/Star%20Wars%20EAW/Start.jpg)

Step 2
http://img.photobucket.com/albums/v205/Azrel_Omega/Star%20Wars%20EAW/Startnext.jpg)

Step 3
http://img.photobucket.com/albums/v205/Azrel_Omega/Star%20Wars%20EAW/Startdone.jpg)

Now these files do work, they just look different from the modded versions of the demo that use an XML file, which you could still use, just get rid of the data%xml%hardpoints.xml or whichever file you are editing and put them in a data\xml folder.

EO
 comrade-max
02-17-2006, 12:36 PM
#10
my program renames and moves all the xml files for u in 3-7 seconds
 sven8136
02-17-2006, 12:46 PM
#11
can you put that up for dl?
 Spacehamster
02-17-2006, 12:51 PM
#12
Now these files do work, they just look different from the modded versions of the demo that use an XML file, which you could still use, just get rid of the data%xml%hardpoints.xml or whichever file you are editing and put them in a data\xml folder.

EO
Apologies for butting in, but I can confirm that this works.
1. Extract the config.meg file as described in the above screenshots.

2. Create the following folders (complying with the directories specified in the files). Eg. If filename is DATA%XML%GROUNDBUILDABLESSKIRMISH.XML, then create the directory <Default GameDir>\GameData\Data\XML.

3. Copy the file to the directory created in step 2. Eg. copy DATA%XML%GROUNDBUILDABLESSKIRMISH.XML to \Data\XML\ subdirectory.

4. Rename the file. Eg. DATA%XML%GROUNDBUILDABLESSKIRMISH.XML becomes GROUNDBUILDABLESSKIRMISH.XML

5. Play the game.

I thought the instructions were pretty straightforward, but just in case clarification is needed. Hope you don't mind. :)
 Epytron_Omega
02-17-2006, 1:06 PM
#13
Not at all, just glad to help the community, also if you are still having problems, I am submitting all the XMLS and LUA files in the CONFIG folder to EAWfiles.com.

EO
 ^Invader
02-17-2006, 2:09 PM
#14
thanks sorry i was so dense having flu blows i want everyone to know that lol
 sven8136
02-17-2006, 3:03 PM
#15
Renaming 100s of files isn't something i'd like to waste time on...

Thats why comrade's program to do it for you would be nice.
 Lambda_1324
02-17-2006, 3:36 PM
#16
Hi, I am having a few problems with this process.


Okay, I extracted everything, now I have a config folder that has everything I need. I went into DATA%XML%CAMPAIGNS_SINGLEPLAYER and changed the starting credits for the empire (the ship yards of kuat) to be a little higher. So then I save it and try out the game and it still remains the same way it was. If this is not modable then what exactly is?
Oh ya, its my first post.
 Slocket
02-17-2006, 3:44 PM
#17
Extraction works just fine with tool for demo. To make it viable, take the file DATA%XML%FILENAME and place into a folder XML within DATA without the DATA%XML% header. Just as was stated above.

I think maybe once you start a Campaign, the XML data is locked into the savegame for the rest of that Campaign. Did you try it as a New Start?

Not at all, just glad to help the community, also if you are still having problems, I am submitting all the XMLS and LUA files in the CONFIG folder to EAWfiles.com.

Thanks man, that is really nice! But the files are not there yet...could you upload them somewhere else that is faster maybe :)

OE I cannot for the life of me use DOS 'rename command' to rename the files more user friendly. I wish not to rename 700+ files by hand. You say the renamed files are at EAWfiles.com?

comrade my program renames and moves all the xml files for u in 3-7 seconds

Hey cool! I cannot get the stubborn DOS to rename as it should do. Care to Share your program? :)
 Epytron_Omega
02-17-2006, 4:24 PM
#18
No I havent converted them, but they work with the data%xml in the line. I know this to be true as it effected what I did when i had it extracted to data/config with the files titled data%xml%SPACEUNITSCAPITAL.xml and I had the data/xml folder with SPACEUNITSCAPITAL.xml and the first overwrote the second. my modified xml document in the xml folder had modified the Mon Cal Cruiser to launch fighters, and I did not delete the CONFIG folder, and thus when I built a Mon Cal Cruiser, it did not have any fighters launching. so it works fine the way it is, but if anyone wants to convert them into the 'correct' format, then go right ahead, however this works, so I am using it like it is. The files submited to EAWfiles is in the same format. I dont have another server to upload to Im sorry.

EO
 tsenre78
02-17-2006, 4:33 PM
#19
Would anyone be able to tell me which .meg file do I access for unit portraits (such as Luke and Obi-wan's), and what I should name the new folder once I've extracted them?

Again, many thanks!
 Slocket
02-17-2006, 4:42 PM
#20
I found that it is the real Filename in the XML file that overwites DATA%XML%Filename in Config folder. Just the opposite.

That is odd. I changed the price of a infantry soldier. It would only work if I place into a XML folder, outside the Config folder, with the propper shorter name.

maybe it will work both ways.

For easy reading and finding, it is nice to have it in the real name format.

I tried in DOS the rename command. d:\work> REN DATA%XML%*.xml *.xml

I thought that would cut off the header string.

UPDATE: OK found a nice free program that runs under XP that does everything! I will post the XML (only for now! not the SCRIPT or ART etc)
Renamed and propper folder structure like you are used to in the demo.

Just pull a file out, edit with any simple text editor, and place it in a XML folder you make sitting in the GAMEDATA/DATA folder to override the files within Config.meg.

Just like the demo. Nice and easy. Soon to be posted in a few minutes. THis makes it much easier and logical, and we are used to it.
 shmacdonald's
02-17-2006, 5:30 PM
#21
comrade-max, you can upload your meg extractor to yousendit.com
 Slocket
02-17-2006, 5:34 PM
#22
Comrade has another batch file editor to correct in reference.

I am using the free one off the Net. The "Meg Extractor" is just the same one everyone have been using for the demo.

Soon you can have the full XML nice and decopiled in human readable easy form. Just like the demo. SCRIPT, ART, LUA later...if not someone else beats me to it.
 Mr. DancyRobot
02-17-2006, 5:48 PM
#23
I wrote a quik EXE and i will be uploading it soon.
 Slocket
02-17-2006, 6:23 PM
#24
Here is the Full XML extracted and expanded into its real names and folder structure, just like the demo.

EAW_XML

http://rapidshare.de/files/13507611/EAW_XML.rar.html)
 maxloef
02-18-2006, 5:03 AM
#25
that is nice but there is a v 1.02 out now so those files r useless XD :P
 Slocket
02-18-2006, 12:12 PM
#26
Yeh, just saw that, can you believe it? Now I have to do it it all over again....
Page: 1 of 1