Hex Modding Dragon Age

Original Link: Game-Tuts

Note:This is not mine.I’m adding this because ppl don’t copy everything and Game-Tuts goes offline multiple times

Green = Done.
Orange = Needs work.
Red = Not done.

  • 1st Post: The Basics
  • 2nd Post: Item edits.
    — Item Swapping
    — Tier Editing
    — Effect Editing
    — Changing Item Quantity
  • 3rd Post: Other edits.
    Changing Player Name
    Tweaking Player Appearance
    Changing Player Model
    Changing Player Race
    Changing Player Voice
    Playing as a Qunari

The Tut

Required

  • The ability to get saves from your HDD. I use Modio.
  • The ability to extract and inject internal files from and into that save. I use Horizon, since Modio doesn’t seem to work properly for Dragon Age.
  • The ability to hex edit those files. I use Hex Workshop.
  • The ability to fix the checksum you break when you hex the files. Provided by unknown v2.
  • The ability to double-check the save is fine. Hash Block Calc - Provided.

Most of what you need can be found in the file here. Mirror here.

The Basics
A. I only mod offline. I can’t say for certain whether or not you’ll be banned for playing modded saves whilst Live.
B. You need to hex edit. I’m happy to provide tuts for doing that, but I won’t do it for you directly, or indirectly by creating a program to do the legwork.

Types of save:
0x7c4020b5_1_u!0 - the suffix ‘u!0’ means Usersave 0
0x7c4020b5_1_a!0 - The suffix 'a!0’ means Autosave 0

If you’re looking for a game you saved manually, use the u.

1. Connect your HDD/MU to the computer.
2. Extract your save.
3. Open the save in Horizon, and hit the Contents tab. Extract savegame.das and savegame.das.xto somewhere you’ll remember.
4. Following one of the tuts in the second or third post, open savegame.dasin your hex editor and make the changes you want.
5. Run dragon_age.exe, the checksum fix included in the linked .zip file. Click Resign, and open savegame.das when prompted. Open savegame.das.xwhen prompted a second time. Give it a few seconds, then close the app.
6. Go back to your save in Horizon, and to the Contents tab. Right click and overwrite the savegame.dasand savegame.das.x files with those you’ve modded. Save your changes in the first tab.
7. Optional: Run Hash Block Calc and open the full save, for example; 0x7c4020b5_1_u!0. Check all the instances are True, and the save should work, unless you did something wrong. You don’t have to rehash with this program, just check everything’s True.

[size=30][u]

Item Modifications

[/u][/size]

Note: When modifying items, have them equipped.

Item Swapping
This is simple enough. Basically, what you’re doing is making a text change to swap one item for another. For example; Studded Leather Armor to Scale Armor.
Note: Don’t change clothes to armour, and vice versa. If you want a certain piece of clothing, mod another piece of clothing. I’ve yet to test tier editing clothes, but I’ll do that soon.

Reference: Item List (Temporarily incomplete)

Tutorial

[details=Open Me]If you change a common item, such as Studded Leather, all instances that already exist in your save will most likely change too. But their stats won’t - just the appearance, name and base stats. Rare or unique items are best to modify.

  1. Open savegame.das in a hex editor.
  2. Find the item you want to change in the item list (above) and what you want to change it to, also.
  3. Search (ctrl+f) under Text String for your item. Since I’ll be looking for Studded Leather, I’ll search for gen_im_arm_cht_lgt_rlr.
  4. I’ve only modified early saves, so multiple search finds isn’t something I’ve dealt with yet. Find your item, and change it to what you want it to be. In my case, I’d change gen_im_arm_cht_lgt_rlr to gen_im_arm_cht_med_scl.
  5. You can change multiple things in one session, but once you’re done, save the changes and refer to step 5 in the first post for what to do next.[/details]

Tier Editing
More complicated, but simple once you know how. You just replace certain hex values with others that correspond to a list of materials.

Reference: Material List

Tutorial

[details=Open Me]You have to know exactly which value is yours before you change it, because there are a lot of similar values involved with this one and changing a bad one is, well, bad. Before you begin, take note of the materials of the equipment you’re wielding. For example, my character is wearing Tier 1 (Rough) Studded Leather, and wielding a Tier 2 (Grey Iron) Family Sword and Shield of Highever. There are different material numbers for for weapons, armour and shields.

  1. Open savegame.das in hex.
  2. Hit Ctrl+F, refer to the material list and search for the hex value of the tier you’re wearing most of. I’m wearing three items of Rough leather, so I’ll search for 003C00030D40. If you modify a different material, replace 3C with the right hex value.
  3. Now, go to the very last instance found, and go upwards through them until you find the number of same-tiered items you have equipped, right above each other. Above the very last one there’ll be more values before another ‘030D40’ value. Check this is the same tier as your off-hand weapon/shield. If not, check the next value up.
    Note: The tiers I have equipped are Rough (3C), Grey Iron Weapon (29), and Grey Iron Shield(30). Here is an image of what my Tier values look like in hex. Note that my Weapon, Shield and Armor are in order.
  4. Once you’ve recognised the locations of your equipment, choose which tier you wish to change it to, and simply replace the values as desired. Most values (meaning some of the ‘OLD’ ones and clothing/colour only values) have the stats of Tier 1 equipment, but having gold armour is awesome - you can make Chevalier Armor look like the royal version. Also, the bad stats can be countered with effect editing.
  5. But once you’re happy with your Tier changes, save the file and refer to step 5 of the first post for what to do next.[/details]

Effect Editing
Not the most simple of modifications to make, but that really can’t be helped. For this, you need to be quite aware of certain hex locations. You need to be wearing an item with any effect shown in the Effect List you can grab below. Onward, then.

Reference: Effect List

Screenshot

Open Me

First item (Family Sword)
Black
1st - Number of effects = 04 (start).
2nd - No. of effects = 04(separates effect type from effect amount).
3rd - Number of effects = 04 (end).
Red
1st - First effect ID in hex (04B0 - Increase Damage).
2nd - Effect amount = 01
Green
1st - Second effect ID in hex (177F - Required: Warrior or Rogue).
2nd - Effect amount = 01
Note: ‘Enabled’ effects such as requirements only need a value of 01.
Blue
1st - Third effect ID in hex (17D3 - Increase Attack - 1 point = +2).
2nd - Effect amount = 02
Orange
1st - Fourth effect ID in hex (2710 - No Effect).
2nd - Effect amount = 01

Second item (Shield of Highever)
Brown
1st - Number of effects = 01 (start).
2nd - No. of effects = 01(separates effect type from effect amount).
3rd - Number of effects = 01 (end).
Pink
1st - First effect ID in hex (17D3 - Increase Attack - 1 point = +2).
2nd - Effect amount = 02[/details]
Tutorial

[details=Open Me]This will be explained in a situational way. I’ll detail how I changed the effects on my Family sword from Damage +1, Attack +4 to Damage +50, Damage vs. darkspawn +50, and the effect on my Shield of Highever from +4 Attack to +50 Armor.Using that info, you should be able to figure out how to modify things by yourself.

  1. Follow the steps in the Tier Editing tut (above) until you’ve found the location of your equipment.
  2. Using the Effect List, find the hex value of the effect on the item you want to edit. I’m wielding the Family Sword (+1 Damage, +4 Attack) and the Shield of Highever (+4 Attack). So in the hex editor I scroll down from the Tier locations of my equipment until I find 04B0 (+x Damage) followed shortly by 17D3 (+x Attack).
    3a. If you want to change an effect, refer to the Effect List and choose which. To change my sword’s +x Attack to +x Damage vs. darkspawn, I change 17D3 (1st blue box on the screenshot) to 05E7.
    3b. To change my shield’s +x Attack to +x Armor, I change the second 17D3 (1st pink box on the screenshot) to 0455.
    4a. To increase how much the effect raises my Damage vs. darkspawn I change the 02 (2nd blue box) to 32. Now it’ll be +50 in-game.
    4b. To increase how much the effect raises my Damage, I change the 01 (2nd red box) to 32. Now it’ll be +50 in-game.
    4c. To increase how much the effect raises my shield’s Armor, I change the 02 (2nd pink box) to 32. Now that’ll be +50 as well.
  3. Once happy with the changes, save the file and refer to step 5 of the first post for what to do next.[/details]

Changing Item Quantity
For now, this is most plausible when done with equipment, but it should be possible with other items too. I’ll look into it fully asap.

Tutorial (thanks to DdevilDoom666 here)

[details=Open Me]This is the original data from my file. As you can see I’ve already edited the tier.
00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 0C 00 00 02 61 00 00 23 28 00 00 00 01
00 03 0D 40 FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF 00 00 00 00 00 00 23 28
00 00 00 00 00 00 00 06 00 03 0D 40 00 00 00 00
FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00
00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF

In order to change the quantity you have to go up 3 lines on the offset and the last 4 bytes (00) is what you need to modify for the quantity.
00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 0C 00 00 02 61 00 00 23 28 00 00 00 19
00 03 0D 40 FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF 00 00 00 00 00 00 23 28
00 00 00 00 00 00 00 06 00 03 0D 40 00 00 00 00
FF FF FF FF FF FF FF FF 00 00 00 00 00 00 00 00
00 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF

I would advise against setting it any higher than 100 (00000064), especially on your modded items. Every modded items sells high. The highest one I’ve seen sold for 759 Sovereigns/Gold.[/details]

[size=30][u][b]

Miscellaneous Modifications

[/b][/u][/size]

Changing Player Name
Probably the easiest edit to do. Working from memory here so let me know if you have any issues.

Tutorial[details=Open Me]
1. Extract savegame.das, savegame.das.x, savegame.met and savegame.met.xfrom your Dragon Age save.
2. Open savegame.das in hex, hit Ctrl+F and search for your player name under Text String.
3. Replace all instances of your old name with the new one.
4. Do the same with savegame.met.5. Refer to Step 5 of the first post. Use the same checksum fix method with savegame.met.xas you would with savegame.das.x.

Note 1: If you have the same name as your Dog, changing it will always change both, because the game will use the same instance for both you and the Dog.

Note 2: A general rule is to make the new name no longer than the old one, but you can right-click and insert a few extra bytes if you really want to try a longer name. May cause ‘corrupt’ errors if there’s a ‘name length’ value somewhere in the save.

Tweaking Player Appearance
This will be added ASAP. Not fully tested but seems to work.


Changing Player Model (Not fully tested)
Quite simple once you know what you’re doing, though there are variables that can cause undesirable problems in getting the perfect modified character. I’ve found solutions to some of them, but others persist. More on that when I’m able to look into it.

Reference: Models & Races

Tutorial[details=Open Me]1. Open savegame.das in hex.
2. Refer to the list linked above, and find the number for what your character is and what you want them to be.
3. Search for your current model like so: If I want to change a Human into an Alpha Hurlock, I search for 0F000F. This may come up with a few results. The one you want will be quite low down in the file, and have a 1 or 2 to the right of it (1 = male, 2 = female). I change the 0F000F to 110011. The first 0F is your player model. The second relates to animations.
4. Save your changes, and refer to step 5 of the first post.

Note: If you’re having trouble locating the values, refer to the Changing Player Race mini-tut below. The values of your player models and gender are stored a little above the race values. This can help you locate them.[/details]

Changing Player Race (Not fully tested - buggy)
Meaning any of the default races, as well as Qunari or Animal/Dog. Needs more testing before I can really say how ‘safe’ this is. Changing race alone won’t affect your character’s appearance. A combination of this and Model switching will do so nicely, however.

Reference: Models & Races

Tutorial

[details=Open Me]1. Open savegame.das in hex.
2. Refer to the list linked above. Search for 010101xx01, where xx = the ID of your current race. For example, if I’m playing as an Elf, I search for 0101010201. If I want to become Human, I change the 02 to 03.
3. Save your changes, and refer to step 5 of the first post.

Note 1: If you’re having trouble locating the values, refer to the Changing Player Model tut. The values of your player models and gender are stored a little above the race values. This can help you locate them.

Note 2: Changing your race will usually disable the icon for your background, making it a gray square. I haven’t yet figured out how to change background or at least remove the icon. Some backgrounds are transferrable, such as Human Noble and Dwarf Noble–their icons work when you change from one race to the other. I’ll go from there when I’ve looked into this more.[/details]

Changing Player Voice
This will be added ASAP. Not fully tested but seems to work.

Playing as a Qunari
Falls into previous categories but deserves its own. This will be added ASAP. Not fully tested but seems to work well enough.

Links are broken, need to fix them and the post coding but otherwise very nicely laid out.

umm links?

[details=Open Me]Green = Done.
Orange = Needs work.
Red = Not done.

Spoiler is broken.

lol. not suppose to be there

my save is damage and i followed the tut. exactly and it is still saying damaged or corrupted any help would be nice

must of worked hard on that
game tuts is down right now i think because the website is not loading for me

That would depend on what u modded.

lol spoiler means SomeOne Copied & Pasted

They were working. and also i said this isn’t mine

how do people add attributes to thier weapons so they can use them on thier char. i cant figure this out im soooo a noob

4.3 DO NOT bump topics. Doing so causes unnecessary clutter to the forum.

A copy of the rules can be found here

Closed.