Guide 1: adding new graphics First before we get started you will need a few tools and you need to read Adding .slp's to the .drs For this section you will only need AOMED and AoK:TC. files_0_0_id: 2 then change this: tables_0_numfiles:1768 to tables_0_numfiles:1769 copy the "files_0_0" lines at the end of default.txt files_0_1768_id: 5313 after you copy the lines, save default.txt then close it and open AOMED again, and choose "Set output data file" and put it as graphics.drs, once that's done choose "Folder to read data from" and select the folder where you decompilied the graphics.drs,(you may want to back up your graphics.drs file) Now that the drs has the new graphic in it, you will need to use GeniEd1 for AoK to add another graphic slot, which isn't hard to do, first open graphics_head.txt, located in the ged_data\text folder, when it opens, you should see copy the graphic_count and graphic_header_pointers_000 into the patches.txt file, then, add 1 to the graphic_count and change the graphic_header_pointers_000 to the number the graphic_count was before you changed it, which should be graphic_count: 7368 now that that's done, close graphics_head.txt and open graphics_other.txt, when it's open you should see this # DO NOT alter this file -- always make changes to the patches file instead! now copy all of the graphic_0_ lines into your patches, then change graphic_0_ to graphic_7367_ and change graphic_7367_slp: 0 to graphic_7367_slp: 5313, you should have this: graphic_7367_name1: new once you have made all the changes to your patches file, close it and open up GeniEd1, when it's open compile the genie, once the genie has been created, open it with GeniEd2 and change the standing graphic of any unit to 7367, then put the data file in the data folder and play AoK. Guide 2: Changing the values In this guide, I'll teach you some of the values you can edit, Chapter 1: replay If your adding a walking/standing/dying/decaying/attacking graphic, you'll want to change replay to "1", if it's "0" the graphic will not loop itself Chapter 2: numframes This value is the number of frames the game reads, so if your .slp has 50 frames, the numframes will be "50" Chapter 3: angles This value controls the number of angles the game will read most have this value as "8", "0" or "1", if your creating graphics for a unit, you'll probably want this as "8", but if your creating graphics for an object or building, you'll probably want this as "1". [This message has been edited by MasterJoab (edited 08-15-2006 @ 11:04 AM).]
Age of Empires 2: The Conquerors
First extract AOMED out of the zip file (it doesn't matter where you put it, I have it in the data folder) then open it.
now press "Set input data file" and find graphics.drs in your "Microsoft Games\Age of Empires II\Data" folder then change "Folder to extract data into" to "Data\graphics" that way the .slp's will be created in a separate folder, when that's done press "Read data file". When AOMED is finished go into the new graphics folder and you'll see a lot of .slp files, now copy 2.slp then paste it into the same folder and rename it to 5313.slp, now scroll down until you find default.txt, now open it and copy this
files_0_0_offset: 21292
files_0_0_length: 71608
then change them to
files_0_1768_offset: 21292
files_0_1768_length: 71608
once you do that, select "Write data file", once AOMED makes the new graphics.drs open the new graphics.drs with the DRS_aok by Ykkrosh and scroll down until you see 5313, if you see 5313 then you can continue on to the next step, if you don't see it, then that means you did not do something right.
Adding the graphic with GeniEd
# DO NOT alter this file -- always make changes to the patches file instead!
graphic_count: 7367
graphic_header_pointers_000: 217602680
graphic_header_pointers_001: 216122320
graphic_header_pointers_002: 216122448
graphic_header_pointers_003: 216122576
graphic_header_pointers_004: 216122704
graphic_header_pointers_005: 216122960
graphic_header_pointers_006: 216123088
graphic_header_pointers_7367: 217602680
graphic_0_name1:
graphic_0_name2:
graphic_0_slp: 0
graphic_0_unknown01a: 00 00 00 00 00
graphic_0_unknown01b: 0
graphic_0_replay: 0
graphic_0_unknown01c: 00 00 00 00 00 00 00 00
graphic_0_delta_count: 0
graphic_0_sound: -1
graphic_0_extras: 0
graphic_0_numframes: 0
graphic_0_angles: 0
graphic_0_unknown02: 0 0 0
graphic_0_unknown03: 0
graphic_0_id: 0
graphic_0_type: 0
graphic_7367_name2: new
graphic_7367_slp: 5313
graphic_7367_unknown01a: 00 00 00 00 00
graphic_7367_unknown01b: 0
graphic_7367_replay: 0
graphic_7367_unknown01c: 00 00 00 00 00 00 00 00
graphic_7367_delta_count: 0
graphic_7367_sound: -1
graphic_7367_extras: 0
graphic_7367_numframes: 0
graphic_7367_angles: 0
graphic_7367_unknown02: 0 0 0
graphic_7367_unknown03: 0
graphic_7367_id: 0
graphic_7367_type: 0
(you don't have to change name1 and name2)