1. Want to help spread the Se7ensins cheer throughout the PC gaming community? Check out a little project one of our staff members is working on for CS:GO! More information concerning this can be found by clicking here.

-=[Dragon Age: Origins + Awakening]=- Hex Editing

Discussion in 'Misc. Games Modding' started by AoshichanX, Mar 28, 2010 with 29 replies and 38,135 views.

  1. AoshichanX

    AoshichanX Enthusiast

    Messages:
    22
    Likes Received:
    25
    [TUT] -=[Dragon Age: Origins + Awakening]=- Hex Ed



    Dragon Age Hex Editing

    by Minuos

    Original Thread HERE

    Required
    - The ability to get saves from your HDD. I use Xplorer360.
    - 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 this file.

    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 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.x to somewhere you'll remember.
    4. Following one of the tuts in the second or third post, open savegame.das in 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.x when 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.das and 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.


    Item Modifications

    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.

    Required: Item List (Temporarily incomplete)

    Tutorial
    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.

    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.

    Required: Material List

    Tutorial
    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.

    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.

    Required: Effect List

    Screenshot
    [​IMG]

    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

    Tutorial
    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.
    5. Once happy with the changes, save the file and refer to step 5 of the first post for what to do next.




    ____________________________________________________________________________




    Dragon Age: Awakening Hex Editing

    by AoshichanX


    I've been playing Dragon Age: Origins - Awakening a bit, and found the values for white steel/volcanic.

    Took me 20 minutes to find just these values! I can only imagine how much work went into the massive/comprehensive lists Minuos made. I didn't particular care about the other values...high dragon.. and the "drake skin" equivalent of the higher tier ones.

    Armor
    4E2A - white steel (tier 8)
    4E2B - volcanic (tier 9)

    Weapons
    4E49 - ancestral (bow) (tier 9) - untested but most likely works
    4E52 - white steel (tier 8)
    4E53 - volcanic (tier 9)

    Example:
    Dragonbone Armor --> Volcanic Armor:
    000600030D40 --> 4E5300030D40







    Tip for Effect Editing
    Per Minuos' guide, one would have to methodically search from the bottom of the save upwards to locate the character and then edit the desired effects. This method is certainly feasible, but extremely time consuming, although can be mitigated by equipping a full set of same tiered armor to help with search.

    On the other hand, instead of hunting down far and wide for your character when effect editing, simply note all the effects the particular character's weapon has and search for the entire string.






    Example 1:
    One of my mages had the Staff of the Lost, which included
    +10 magic (03EB)
    +15% Spirit resistance (05E6)
    +15 Spellpower (05EC)
    Mage Restriction (177A)
    +75 Stamina (17D8)
    +50% spirit damage (2718)
    so I would search for "00000006000003EB0000005E6000005EC..."

    That narrows it down to the exact area where the character is located, or if not, at least within 3 instances. From there, you can simply work your way up to modify the armor/weapons etc.









    Example 2:
    If your character has an Imperial Edge, the stats are:
    +2 Damage (04B0)
    +3 Melee Critical Chance (04B3)
    +6 Attack (17D3)

    which would translate to the code below

    Code:
    00000003000004B0000004B3000017D30000000300000002000000030000000300000003

    Explanation of AboveReferenced Code:
    0000[number of effects]0000[effect #1]0000[effect #2]0000[effect #3]0000[number of effects]0000[modifier for effect #1]0000[modifier for effect #2]0000[modifier for effect #3]0000[number of effects]

    Modifying Code:
    Changing the above code to something like "00000003000003EE000005E6000017D80000000300000064000000320000002800000003"

    would give you

    +100 to all attributes
    100% Spell Resistance
    +1000 Stamina







    Note:
    Because the search strings can get rather long, you may want to cut it shorter to avoid mistakes. Mess around with it and have fun!

    Thanks again to Minuos for making all this possible!


    Sorry for bad quality the pics...they were SUPER dark and I had to mess with brightness/contrast settings to make them show.
    [​IMG]
    [​IMG]
    [​IMG]













    Some Screenshots Results from Origins Hex Editing:
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
    2 people like this.
  2. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    I have 319 instances.. I get to where it shows 2 close to each other but I can't find where the effects start.

    Would you be able to help me in Team Viewer or something?
     
  3. AoshichanX

    AoshichanX Enthusiast

    Messages:
    22
    Likes Received:
    25
    e.g. off the top of my head. Here is a dude wielding two dragonbone swords, one secondary weapon, and a full set of dragonbone armor. This is a general guide to help you identify the pattern, don't take it literally.

    The order is usually weapon 1, weapon 2, ???, armor, armor, armor, armor, secondary weapon, ??? (unequipped).....effects all the way at the bottom.

    002E00030D40
    ...
    ...
    ...
    ...
    002E00030D40
    ...
    ...
    ...
    ...
    000000030D40
    ...
    ...
    ...
    ...
    000600030D40
    ...
    ...
    ...
    ...
    000600030D40
    ...
    ...
    ...
    ...
    000600030D40
    ...
    ...
    ...
    ...
    000600030D40
    ...
    ...
    ...
    ...
    000000030D40
    ...
    ...
    ...
    ...
    000000030D40
    ...
    ...
    ...
    ...
    000000030D40
    ...
    ...
    ...
    ...
    000000030D40
    ...
    ...
    ...
    ...
    002E00030D40
    ...
    ...
    ...
    ...
    ...
    ...
    ...
    ...
    ...
    EFFECTS ARE HERE

    The item swapping I am sure you have no problem, that is fairly straight forward. The tier and effect editing--in the beginning I spent over an hour trying to locate my characters so I feel you there.

    As the tutorial states, work your way up from the bottom, slowly and methodically. It helps if you have a full set of armor that is all the same tier, then once you find 4 in a row, it may make your life easier. But the easiest way is equipping weapons with lots of effects.

    I would not mind helping you; however, I am unfamiliar with Team Viewer, I'll google it later. In the mean time, please provide me:

    1. What game do you have...Origins or Awakening?
    2. Equip weapons on your characters that have a lot of effects. Does not matter type (preferably not a waraxe) or tier.***
    3. List of weapons equipped on the character(s) and all the effects listed in order as they appear on your screen--if there is a character restriction please make a note of it too.





    ***It's still fairly possible to get the job done if you don't have any weapons with effects equipped but it will take a hell of a lot longer to help you edit.
     
    1 person likes this.
  4. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    I have Origins and Awakening.

    I can't remember the effects off the top of my head and I can't look right now but I'm dual wielding Silverlite swords and they are both identical. (Same effects and everything else)

    My armor that I have equipped are all Drakeskin. (Body, Arms, and Feet | Effects are on all of them, can't remember and still can't look right now)

    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

    I tried looking for my weapons and then seeing if my armor was below it but I couldn't find the hex for it and I started from the bottom and worked my way up and when I thought I found where everything was, I'm not sure if it's the right spot..
     
  5. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    Now I can say what the effects and everything are.

    Weapons:
    Dual wielding Imperial Edge's (identical): Tier 6 silverlite, +2 damage, +3% melee critical chance, +6 attack, longsword

    Armor:
    Gloves- Wade's Superior Dragonskin Gloves: Dragonbone (Tier 7), +10% fire resistance, +1 stamina regeneration in combat, medium gloves

    Body- The Felon's Coat: Drakeskin (Tier 7), +6 dexterity, +9 defense, +4 armor, +2 stamina regeneration in combat, +15 physical resistance, light armor

    Feet- Bard's Dancing Shoes: Drakeskin (Tier 7), +6 defense, reduces hostility, light boots

    Accessories:
    Belt- Dalish Hunter's Belt: Restriction to warrior or rogue, +1.5 stamina regeneration in combat

    Ring1- Keeper's Ring: +1 dexterity

    Ring2- Lifegiver: +10 Constitution, +6 health regeneration in combat, +10 health regeneration while exploring, +3 armor, +20% to healing effects received
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    I think I know what I did wrong when looking for the codes now because I thought all my armor was Drakeskin.. But I still need a little bit more help on understanding this also. I listed everything equipped and the effects in order.

    EDIT- I know accessories weren't needed but I still added them anyways, I just tried looking for the effects and I'm pretty sure I found where my weapons and armor were because the ID's matched to what I had equipped but now I'm just having a hard time finding the effects.. I scrolled down and looked for the first hex of my weapon that I had equipped and I couldn't find it..
     
  6. AoshichanX

    AoshichanX Enthusiast

    Messages:
    22
    Likes Received:
    25
    Email me your save, I'll make a screenshot for you if you still have trouble with the below. My email is my username @ gmail.

    Regarding the Dual Imperial Edges:

    +2 damage (04B0)
    +3% melee critical chance (04B3)
    +6 attack (17D3)


    In your Hex Editor, search for this value "00000003000004B0000004B3000017D30000000300000002000000030000000300000003"

    Assuming I didn't make any mistakes, you will find two instances of that exact string.

    Personally I would change it to something like "00000003000003EE000005E6000017D80000000300000064000000320000002800000003"


    That entire string would give you

    +100 to all attributes
    100% Spell Resistance
    +1000 Stamina

    I would change it up though on the other Imperial Edge...like one Imperial Edge will give you boost in Stats and Defense. The other Imperial Edge will give the Damage/Attack etc.

     
    1 person likes this.
  7. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    I found 4 instances but I replaced them all and it worked. Thanks. On another save, I will try and do things myself and see what I can do. But how exactly do you find the "00000003000004B0000004B3000017D30000000300000002000000030000000300000003", is it the same kinda format for all or what? That string is what confused me when looking for the effects when following the original tut. I know the effects hex but not how you get the entire string like that..
     
  8. AoshichanX

    AoshichanX Enthusiast

    Messages:
    22
    Likes Received:
    25
    That means your particular game same has 4 Imperial Edges chilling somewhere in the game world--you have two of them. So that makes 2 other Imperial Edges that are overpowered: either equipped by an NPC or sold by a vendor.

    Yes, same general format but needs to be adjusted. If you understand the effects hex you really should understand this. Minuos' tutorial was great, but unfortunately the way he presented the screenshot made you think of the code only in that particular pattern. Try to think of it linearly. If you expanded the screen all the way to the left...the effects values would display in a nice line...for your Imperial Edge it was:

    Code:
    00000003000004B0000004B3000017D30000000300000002000000030000000300000003

    Explanation of AboveReferenced Code:
    0000[number of effects]0000[effect #1]0000[effect #2]0000[effect #3]0000[number of effects]0000[modifier for effect #1]0000[modifier for effect #2]0000[modifier for effect #3]0000[number of effects]

    ^(man this took a bit of time to format/color code, so I really hope you appreciate it :wink: - and most importantly that it makes sense)

    Naturally this string would get longer if you had 6 effects instead of 3; for 6 effects, you would have 6 of the green and 6 of the blue, same number of red.

    From my OP:

     
    1 person likes this.
  9. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    That little bit more of an explanation helped me understand it a lot more. Thank you. :smile:

    The other 2 Imperial Edges are probably somewhere on the ground or something or someone in my camp has them. So it doesn't matter too much to me. I got them from the Alienage and I killed every person there. lol

    BTW, you should add the above post to the OP, just in case there might be someone new to this like me and might have a little bit of trouble understanding it.
     
  10. GaloDoido

    GaloDoido Newbie

    Messages:
    4
    Likes Received:
    0
    Anybody knows how to edit the attributes of the main character?
     
  11. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    Follow the tut and it tells you how to raise attributes but what you have to do is change the effects of a weapon or some armor and do it with adding a new effect that raises the attributes.

    If you want, I can try and do it for you. I'll just need your gamesave. You will also need to tell me what you want for the effects of your items and I will only raise the effects on the items you have on your character, I can do others but it's always better to learn yourself but I will help if any help is needed.
     
  12. GaloDoido

    GaloDoido Newbie

    Messages:
    4
    Likes Received:
    0
    Like you said I prefer to try and learn to do it myself... but thanks anyway ^^

    What I wanted to know is if there is a way to directly edit your mc "core" stats, without the need to edit your equipment
     
  13. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    That's what I thought you meant. I don't think there is an actual "direct" way to edit your stats without a JTAG or Dev Kit but as far as I know, nobody has looked into this game with a JTAG or Dev Kit. I think there would have been a tut on how to mod the core stats instead of effects but looks like you can't as of right now.
     
  14. GaloDoido

    GaloDoido Newbie

    Messages:
    4
    Likes Received:
    0
    nah thanks anyway.. I managed to edit some items... it worked fine with the pics and all xD
    great tut
    thanks

    *Edit*
    You can only swap effects, right?? (an item with 3 effects can only have 3 effects?)
    I tried to add more effects to an item and my save got corrupted (did everything right I think)
     
  15. dEku

    dEku Senior Member

    Messages:
    5,490
    Likes Received:
    1,354
    You can't have anymore than the set amount the item has. Somewhere in the comments or the tutorial,I don't know which, but he said if you have an item with a lot of effects, it's so much better because you have a lot more things you can do with your stuff. ^.^

    I modded my weapons and my armor. >:] (Weapons didn't have enough effects for me.. <_<)
     
  16. ninjax

    ninjax Newbie

    Messages:
    4
    Likes Received:
    0
    im having a hard time hex editing too, i wanted to increase my stats of my armor and weapons plus my main characters attributes as well. its hard for me to understand the linear coding though...like i tryed to find the family sword in hex editor and i did but i dont think it was the right section..cuz the section i was looking at didnt have abunch of item code...etc etc..like it brought me to where the family sword is actually from in the game...like on the next line it'd say "xe.bhn200ip_chest_family.gen_im_wep_mel_lsw_fam" and it keeps going..but when i look at the tutorial window of where its at...it doesnt look like what im looking at. so yea idunno wut im looking at...like i know im suppose to find like the stats of the item but i dont understand that...

    like

    +10 magic (03EB)
    +15% Spirit resistance (05E6)
    +15 Spellpower (05EC)
    Mage Restriction (177A)
    +75 Stamina (17D8)
    +50% spirit damage (2718)


    so I would search for "00000006000003EB0000005E6000005EC..."


    that confuses me..am i supposed to always think 03eb means magic all the time and so on?
     
  17. ninjax

    ninjax Newbie

    Messages:
    4
    Likes Received:
    0
    ok the only thing i've been able to find is my family sword. that's about it and tried to edit that but i'm using le fluffie instead of horizon cause horizon won't open up...i guess its cuz they're rebuilding a new version of the program so i cant even use horizon. i tried to do all the steps they say in the tutorial but i'm using le fluffie...the only problems so far for me is i tried to put it back on my HDD but when i load it in the game my save doesn't show up. so i'm guessing i still need to use horizon?

    here's a list of what my character has equipped right now

    Class: Rogue
    level 25 ( i did the level up glitch in ostager and i'm still in the beginning of the game still)

    WEAPONS

    Family Sword
    Dame: 7.70
    Critical Chance: 2.20%
    Armor Penetration: 2.30
    Strength modifier: 1
    +1 damage
    +4 attack

    Dragonbone (Tier 7) (dagger)
    Damage: 6.40
    Critical Chance: 4.80%
    Armor Penetration: 8
    Strength modifier: 0.85

    Longbow, Two handed
    Damage: 6
    Critical Chance: 1%
    Armor Penetration: 4
    Range: 35
    Strength modifier: 1

    ARMOR

    light helmet
    armor: 0.75
    + 3 physical resistance

    light gloves
    armor: 0.50
    fatigue: 1%

    light armor (chest)
    armor: 3.99
    fatigue: 2.05%

    light boots
    armor: 0.75%
    fatigue: 0.50%

    that's all the items i have on my character right now..can anyone help me find the rest of those items and also help me with saving/overwriting it in le fluffie? cause horzion is unavailable right now till the author is done with the new one.

    i'm able to go into the root folder in le fluffie and save the "savegame.das" and "savegame.das.x" files to desktop and open them in HEX editor..but i cant use horizon so thats why im using le fluffie. when i get done with editing the savegame files in hex editor, i use the checksum fix and then the hash block just like in the tutorial and then i inject or replace the modded files in le fluffie and put them back on my xbox HD..but thats when it doesnt come up in the game when i load the file.


    also i have all the DLC for dragon age origins if that helps any.
     
  18. covya

    covya Newbie

    Messages:
    19
    Likes Received:
    0
    could somone upload there modded save for me thanks.
     
  19. Dante iZ STR8

    Dante iZ STR8 Contributor

    Messages:
    2,897
    Likes Received:
    383
    So there isn't a mod for level yet?
     
  20. Whiskey

    Whiskey Enthusiast

    Messages:
    6
    Likes Received:
    0
    blah....I can't figure this out.

    I wish there was an easy way to just mod attribute points :/


    Who wants to do my save for me lmfao :tongue: