3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 4755|回复: 3
打印 上一主题 下一主题

[秘籍] GFF 修改大全,英文版,大家各人看,有时间的时候我会慢慢翻译

[复制链接]

2

主题

152

帖子

150

积分

中级玩家

Rank: 3Rank: 3

贡献度
17
金元
1415
积分
150
精华
0
注册时间
2006-9-11
跳转到指定楼层
主题
发表于 2011-4-19 11:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 pandakaka 于 2011-4-19 11:11 编辑

Intro/How to
Edit

With the use of the Toolset you can modify your characters, this page details how to do so.

First, in Windows XP, open the folder C:\Documents and Settings\UserLoginName\My Documents\BioWare\Dragon Age\Characters\Character Name\Saves\Selected Save Folder.

Make a backup copy of the savegamename.das, usually by copy/pasting and renaming it to savegamename.das.bak

Editing the PC
Edit

To edit stats of the main character:

Open the save game in the Toolset and look for SAVEGAME_PLAYERCHAR -> SAVEGAME_PLAYERCHAR_CHAR -> SAVEGAME_CREATURE_STATS -> SAVEGAME_STATLIST

The subheadings 0 through 5 correspond with the 6 attributes in game.

0 - Strength1 - Dexterity2 - Willpower3 - Magic4 - Cunning5 - Constitution

Change the SAVEGAME_STATPROPERTY_BASE to the number you desire. There is no known upper limit.

Editing Party Members
Edit
Stats
Edit

Open the save game in the editor and look for SAVEGAME_PARTYLIST -> SAVEGAME_PARTYPOOLMEMBERS. Each branch corresponds to the party member listed in TEMPLATERESREF. The attributes for each party member can be found under SAVEGAME_CREATURE_STATS -> SAVEGAME_STATLIST.

The subheadings 0 through 5 correspond with the 6 attributes in game.

0 - Strength1 - Dexterity2 - Willpower3 - Magic4 - Cunning5 - Constitution

Change the SAVEGAME_STATPROPERTY_BASE to the number you desire. The upper limit is 100. You may set it to any amount you wish, but in-game-stats will still be 100(max)

Approvals
Edit

Party member approval scores may also be found by looking in SAVEGAME_PARTYLIST -> SAVEGAME_PARTY_APPROVAL_LIST. Each numeral represents a companion in your party and their scores may be edited by adjusting the value of a particular character's SAVEGAME_PARTY_APPROVAL_LEVEL.

Properties List
Edit

You aren't limited to just the basic 6 attributess you have access to the full range of attributes to include resistances. However, you shouldn't look on numbers under savegame_statlist (they could be different from the numbers refernenced), but for the ID number of the "SAVEGAME_STATPROPERTY_INDEX" in the expanded code. (When you open the number there are lines like SAVEGAME_STATPROPERTY_BASE, SAVEGAME_STATPROPERTY_MODIFIER, SAVEGAME_STATPROPERTY_INDEX). It's possible some of the figures below aren't present yet, since they only populate to the save once the statistic is introduced during gameplay. The IDs are as follows:

0- Strength

1- Dexterity

2- Willpower

3- Magic

4- Cunning

5- Constitution

6- Health - Just edit Base amount

7- Mana/Stamina - Just edit Base amount

9- Attack

10- Defense

11- Armor

13- Spellpower

15- Level

16- Chance to avoid an attack

19- Xp

32- Mental resistance

33- Physical resistance

34- Attribute Points

35- Skill Points

36- Talent / Spell Points

37- Background

38- Specialization points

Editing Weapons/Items
Edit

You can edit items in your backpack or equipped to your character. However, editing items equipped does not update your stats unless you remove and replace them.

  • To edit items in your backpack, navigate to SAVEGAME_PARTYLIST->SAVEGAME_BACKPACK
  • To edit items equipped to the player character, navigate to SAVEGAME_PLAYERCHAR->SAVEGAME_PLAYERCHAR_CHAR->SAVEGAME_EQUIPMENT_ITEMS
  • To edit items equipped to your companions (including those you don't have access to) navigate to SAVEGAME_PARTYLIST->SAVEGAME_PARTYPOOLMEMBERS->(Companion of your choice)->SAVEGAME_EQUIPMENT_ITEMS

From here, you have a few things you can change. Remember to click the "Save" button to commit your change (this won't save it to the disk, for that use "Save As").

  • TEMPLATERESREF - Defines the name, icon, and model of the weapon or item. Usually there is an obvious pattern to it.For example, gen_im_trs_dal_hvy_cht_r0 is a general item, dalish, heavy chest. You can substitue the "cht" (chest) with "boo" (boot), "hlm" (helm), or "glv" (glove) and get a matching armor item.
  • OBJECT_ID - This must be an ID that the game has assigned for this save. If you copy & paste an item from another save, you will have to replace the object ID on your pasted object with the ID from a sacrificial object, such as a trash item (remember to delete the sacrificed item). If you fail to do this, the game will show the item, but you won't be able to wear it, wield it, store it, or even sell it.
  • ITEM_COST -
  • ITEM_STACKSIZE - How many of the item you have. This should be 1 for arms and armor, but for potions and trash you can make it any between 1 and 99.
  • The line above SAVEGAME_OBJECT_PLOT - The level of the item. The line is unlabeled, but it is an int32. All properties are leveled by this field, including restrictions. Set to a value between 1 and 50.
Item Properties
Edit

The biggest concern for items is their properties, which are found in ITEM_PROPERTIES,ITEM_PROPERTY_POWERS, and ITEM_PROPERTY_EFFECTID. Note that these 3 arrays are linked together, such that adding a value to one requires a matching value is added to the others.

  • ITEM_PROPERTIES - Contains the ID of the property for this index. This can be a buff or a restriction.
  • ITEM_PROPERTY_POWERS - Contains a floating point value that indicates how strong the property in this index is. This is usually 1.0 (or 1065353216 when treated as an integer)
  • ITEM_PROPERTY_EFFECTID - Not sure, usually -1.

So, in order to add the property "+x to all attributes", you must add to ITEM_PROPERTIES the value "1006",ITEM_PROPERTY_POWERS the value "1065353216", and ITEM_PROPERTY_EFFECTID the value "-1". Always make sure these 3 fields have the same number of items.

If you want to remove the strength restriction, find the index in ITEM_PROPERTIES with the value "3200" and make note of the index, delete it from ITEM_PROPERTIES, ITEM_PROPERTY_POWERS, andITEM_PROPERTY_EFFECTID. Make sure you delete the right one if powers and effect ID have odd values, as they are matched by index.

List of Properties
Edit
ID (use this)TypeDescriptionSpecial Info
0invalid
1000passiveAttribute - strength
1001passiveAttribute - dexterity
1002passiveAttribute - magic
1003passiveAttribute - cunning
1004passiveAttribute - willpower
1005passiveAttribute - constitution
1006passiveAttribute - all
1100passiveProperty - health
1101passiveProperty - mana
1102passiveProperty - attack
1103passiveProperty - defense
1104passiveProperty - stamina
1105passiveProperty - critical chance
1106passiveProperty - damage factor - critical
1107passiveProperty - armor(metal)
1108passiveProperty - armor(leather)
1109passiveProperty - armor(cloth)
1110passiveProperty - health regen
1111passiveProperty - mana regen
1113passiveProperty - damage factor - physical
1114passiveProperty - damage factor - fire
1115passiveProperty - damage factor - cold
1116passiveProperty - damage factor - electrical
1117passiveProperty - damage factor - nature
1118passiveProperty - damage factor - spirit
1119passiveProperty - healing done
1120passiveProperty - healing taken
1121passiveProperty - stamina regen
1122passiveProperty - bloodmage cost
1123passiveProperty - attack speed
1200PassiveResistance - Elemental - Fire
1201PassiveResistance - Elemental - Cold
1202PassiveResistance - Elemental - Electricity
1203PassiveResistance - Elemental - Nature
1204PassiveResistance - Elemental - Spirit
1205PassiveResistance - Damage
1210PassiveResistance - Magic
1211PassiveResistance - Force
2000On-HitDamage - Physical
2001On-HitDamage - Physical (AOE)
2002On-HitDamage - Fire
2003On-HitDamage - Fire (AOE)
2004On-HitDamage - Cold
2005On-HitDamage - Cold (AOE)
2006On-HitDamage - Electricity
2007On-HitDamage - Electricity (AOE)
2008On-HitDamage - Nature
2009On-HitDamage - Nature (AOE)
2010On-HitDamage - Spirit
2011On-HitDamage - Spirit (AOE)
2100On-HitChance to Knockback
2101On-HitChance to Stun
2102On-HitChance to Reduce Speed
2201On-HitChance to Charm
2202On-HitChance to inflict Walking Bomb
2204On-HitLife Leach
2205On-HitEnergy Leach
2206On-HitDispel
2300On-Hit-[Internal]Poison - Debilitating Poison
2301On-Hit-[Internal]Poison - Crow Venom
2302On-Hit-[Internal]Poison - Deathroot Toxin
2303On-Hit-[Internal]Poison - Arcane Poison
2304On-Hit-[Internal]Poison - Fel-Poison
2400On-HitBonus Damage to Humans
2401On-HitBonus Damage to Qunari
2402On-HitBonus Damage to Demons/Undead
2450(On-Hit)-[Internal]Bonus Damage to Darkspawn
3000RestrictionStyle - Two-Handed Weapon Style
3001RestrictionStyle - Dual Wield Style
3002RestrictionStyle - Staff
3003RestrictionStyle - Weapon and Shield Style
3004RestrictionStyle - Archery Style
3100RestrictionRace - Human
3101RestrictionRace - Dwarf
3102RestrictionRace - Elf
3103RestrictionRace - Qunari
3200RestrictionAttribute - Strength [Primary]
3201RestrictionAttribute - Dexterity [Primary]
3202RestrictionAttribute - Magic [Primary]
3203RestrictionAttribute - Cunning [Primary]
3204RestrictionAttribute - Willpower [Primary]
3205RestrictionAttribute - Constitution [Primary]
3210RestrictionAttribute - Strength [Secondary]
3211RestrictionAttribute - Dexterity [Secondary]
3212RestrictionAttribute - Magic [Secondary]
3213RestrictionAttribute - Cunning [Secondary]
3214RestrictionAttribute - Willpower [Secondary]
3215RestrictionAttribute - Constitution [Secondary]
3300RestrictionPlayer
3400RestrictionFollower - Anders
3401RestrictionFollower - Aveline
3402RestrictionFollower - Bethany
3403RestrictionFollower - Carver
3404RestrictionFollower - Fenris
3405RestrictionFollower - Isabela
3406RestrictionFollower - Merril
3407RestrictionFollower - Varric
3408RestrictionFollower - Sebastian
3500RestrictionClass - Warrior
3501RestrictionClass - Rogue
3502RestrictionClass - Mage
3510RestrictionClass - Warrior or Rogue
3600RestrictionSpec - Spirithealer
3601RestrictionSpec - Bloodmage
3602RestrictionSpec - Forcemage
3604RestrictionSpec - Shadow
3605RestrictionSpec - Duelist
3606RestrictionSpec - Assassin
3608RestrictionSpec - Templar
3609RestrictionSpec - Reaver
3610RestrictionSpec - Berserker
3700RestrictionLevel
3701RestrictionLevel [-2]
3702RestrictionLevel [-4]
3703RestrictionLevel [-6]
3704RestrictionLevel [-8]
3705RestrictionLevel [-10]
3800RestrictionStatus - Full Health
3801RestrictionStatus - Not Full Health
3802RestrictionStatus - Full Mana/Stamina
3803RestrictionStatus - Not Full Mana/Stamina
3804RestrictionStatus - Injured
3805RestrictionStatus - Not Injured
3806RestrictionStatus - Combat
3807RestrictionStatus - Not Combat
3850RestrictionStatus - Not Full Health OR Not Full Mana/Stamina
3851RestrictionStatus - Not Full Health OR Injured
5000Base ItemWeapon - Warrior - One-Handed
5100Base ItemWeapon - Warrior - Two-Handed
5200Base ItemWeapon - Rogue - Dual Wield
5300Base ItemWeapon - Rogue - Bow
5400Base ItemWeapon - Mage - Staff
5500Base ItemArmor - Heavy
5501Base ItemArmor - Medium
5502Base ItemArmor - Light
5600Base ItemAccessory - Amulet
5610Base ItemAccessory - Ring
5620Base ItemAccessory - Belt
6001HeraldryAmell Family
6002HeraldryAntivan Crows
6004HeraldryChantry
6005HeraldryDalish Elves
6006HeraldryDwarven Carta
6008HeraldryFerelden
6009HeraldryGrey Wardens
6010HeraldryHarimann Family
6011HeraldryKirkwall
6013HeraldryMerchants Guild
6014HeraldryOrlais
6015HeraldryQunari
6016HeraldryRed Icon Mercenaries
6017HeraldryResolutionists
6018HeraldryStarkhaven
6019HeraldryTemplars
6020HeraldryTevinter Slavers
6021HeraldryThe Coterie
6022HeraldryThe Winters
7000TreasureRank 01 (Worthless Junk)
7001TreasureRank 02 (Broken Weapons)
7002TreasureRank 03 (Cheap Gems)
7003TreasureRank 04 (Statuettes)
7004TreasureRank 05 (Health Potions)
7005TreasureRank 06 (Standard Gems)
7006TreasureRank 07 (Bag of Coins)
7007TreasureRank 08 (Expensive Gems)
7008TreasureRank 09 (Unique Items)
7009TreasureRank 10 (Priceless Gems)
7999TreasureWorthless (forced 1cp)
8000RuneRune SlotPower is number of rune slots
9000SpecialArmor - Immunity - Critical Hits
9001SpecialArmor - Immunity - Flanking
9002SpecialArmor - Immunity - Stun
9003SpecialArmor - Immunity - Knockback
9100SpecialWeapon - Increase chance of Deathblow
9101SpecialWeapon - Increased Gore
9102SpecialArmor - Increase player XP
9103SpecialWeapon - Increase Threat
9104SpecialArmor - Decrease Threat
9105SpecialWeapon - Attacks Ignore Displacement
9106SpecialArmor - Trap Evasion
9107SpecialArmor - Improved Disarm
9108SpecialArmor - Improved Lockpicking
9109SpecialArmor - Spiked Shield
9110SpecialArmor - Escape
9111SpecialArmor - Lucky
9112SpecialCelestial
9113SpecialWeapon - Attacks Ignore Armor
9114SpecialAccessory - Increased Gold drop
9115SpecialEvolving
9200Special-[Internal]Rune of Devastation
9201Special-[Internal]Rune of Valiance
9202Special-[Internal]Primeval Lyrium Rune
10000Damage TypePhysical
10001Damage TypeFire
10002Damage TypeCold
10004Damage TypeElectricity
10005Damage TypeNature
10006Damage TypeSpirit
11100On-Hit-[Internal]Warrior - Offensive Stun
11101On-Hit-[Internal]Warrior - Offensive Damage
11102On-Hit-[Internal]Mage - Elemental Weapons - Physical
11103On-Hit-[Internal]Mage - Elemental Weapons - Fire
11104On-Hit-[Internal]Mage - Elemental Weapons - Cold
11105On-Hit-[Internal]Mage - Elemental Weapons - Electricity
11106On-Hit-[Internal]Mage - Elemental Weapons - Nature
11107On-Hit-[Internal]Mage - Elemental Weapons - Spirit
12000Passive-[Internal]Upgrade - Anders 01 - Spirit Essence - Magic Resistance
12001Passive-[Internal]Upgrade - Anders 02 - Armor Struts - Armor
12002Passive-[Internal]Upgrade - Anders 03 - Underground Sigil --- Rune
12003Passive-[Internal]Upgrade - Anders 04 - Lyrium Weave - Attack
12010Passive-[Internal]Upgrade - Aveline 01 - Underpadding - Attack
12011Passive-[Internal]Upgrade - Aveline 02 - Flex-Chain --- Rune
12012Passive-[Internal]Upgrade - Aveline 03 - Impact Plating - Armor
12013Passive-[Internal]Upgrade - Aveline 04 - Deflecting Joints - Defense
12020Passive-[Internal]Upgrade - Bethany 01 - Protective Sigil --- Magic Resist
12030Passive-[Internal]Upgrade - Carver 01 - Girded Plating --- Armor
12040Passive-[Internal]Upgrade - Fenris 01 - Reinforced Straps --- Attack
12041Passive-[Internal]Upgrade - Fenris 02 - Enchanted Resin --- Rune
12042Passive-[Internal]Upgrade - Fenris 03 - Lyrium Scales --- Rune
12043Passive-[Internal]Upgrade - Fenris 04 - Tevinter Spirit Runes --- Rune
12050Passive-[Internal]Upgrade - Isabela 01 - Lambswool Insoles - Critical Strike Chance
12051Passive-[Internal]Upgrade - Isabela 02 - Rigid Boning --- Defense
12052Passive-[Internal]Upgrade - Isabela 03 - Boiled Leather Plates --- Rune
12053Passive-[Internal]Upgrade - Isabela 04 - Supportive Corselet --- Rune
12060Passive-[Internal]Upgrade - Merril 01 - Carved Ironwood Buttons- Health
12061Passive-[Internal]Upgrade - Merril 02 - Samite Lining --- Rune
12062Passive-[Internal]Upgrade - Merril 03 - Silver-threaded Dalish Embroidery - Health Regen
12063Passive-[Internal]Upgrade - Merril 04 - Halla Horn Buckles --- Rune
12070Passive-[Internal]Upgrade - Varric 01 - Coat Lining --- Attack
12071Passive-[Internal]Upgrade - Varric 02 - Inscribed Leather Harness --- Rune
12072Passive-[Internal]Upgrade - Varric 03 - Silverite-reinforced Buckles --- Rune
12073Passive-[Internal]Upgrade - Varric 04 - Drakeskin Leg Straps --- Rune
12080Passive-[Internal]Upgrade - Sebastian 01 - Reinforced Bracers -- Increased Attack
12081Passive-[Internal]Upgrade - Sebastian 02 - Mail Undertunic --- Crit Strike %
12082Passive-[Internal]Upgrade - Sebastian 03 - Enhanced Articulation --- Rune
12083Passive-[Internal]Upgrade - Sebastian 04 - Protection of the Faith --- Rune
100000Item SetDefault
Fixing Merrill's Act 3 Bug
Edit

When Merrill's relationship is maxed out, a specific plot flag is set that the game checks upon entering Merrill's house in Act 3. This causes the end of A New Path to be shown early. This can be fixed by the following:

Note: This quest is supposedly fixed in Patch 1.02, but this will be left here for anyone who hasn't patched or runs into the issue after the patch anyway.

  • Make sure you have GFF V4.0 save editor 0.5.5b+
  • Upon reaching Act 3 but without entering Merrill's house
  • Make a save (Name it Mod so you can make sure you know where you saved it)
  • Back up the save, just in case
  • Open GFF V4.0 save editor
  • Navigate to your (My Documents)\BioWare\Dragon Age 2\Characters\(Your Character)\Saves\Slot_(Last one)
  • Open the Mod.das file (or whatever you named it)
  • In the "Search" box on the right, enter the GUID for this plot: 2B206E2501BF40A48ED9A4B6EF7533A4Please copy & paste the above and ensure that you don't get any additional characters, such as space or newline. If you type it, remember that the search is case sensitive, meaning every letter needs to be capitalize as above.If you want to avoid the chance of getting the space or newline, you can copy only the part from B2...3A, leaving off the first and last numbers. This should still find only the GUID we're looking for.
  • Click Search or press enter
  • One result should appear, double click it
  • On the line below SAVEGAME_PLOT_GUID there should be SAVEGAME_PLOT_FLAGS_1, select it.
  • Copy the number
  • Open Calculator, make sure it's in Scientific mode (windows xp & vista) or Programmer mode (windows 7)
  • Paste the number into it
  • Click the And button
  • Paste in the following number: 4294963199The above number is the inverse of 4096, the offending flag in this bug. By anding the original number with the inverse of the flag, we turn off the flag.
  • Click the equal button
  • Copy the resulting number
  • Paste it into GFF4.0 where you got the original number.
  • Click Save
  • Still in GFF4.0, navigate to SAVEGAME_PARTYLIST->SAVEGAME_PARTYPOOLMEMBERS and findgen00fl_merrill.
  • Make note of the number in OBJECT_ID
  • Navigate toe SAVEGAME_PARTYLIST->SAVEGAME_PARTY_APPROVAL_LIST and find theSAVEGAME_PARTY_APPROVAL_ID that matches the OBJECT_ID for merrill.
  • Set the corresponding SAVEGAME_PARTY_APPROVAL_LEVEL to 75 if you're friends or -75 if you're rivalsThis prevents the flag from immediately being set again. You will have to be careful not to reach maximum before the end of A New Path, or do not return to Merrill's house until you have completed A New Path.
  • Click Save
  • Click File->Save As...
  • Save over Mod.das
  • Return to game
  • You're done! You can now enter Merrill's home and see Varric chat with Merrill instead of Merrill sobbing about something that hasn't happened.
Dragon Age II Save Editing
Edit

Though the save files are very similar you will not be able to open them in the toolset. Instead you must use "pyGFF 0.4.9b Saved Game Editor" or higher (for now) to edit save games. Remember, this isn't an official tool and thus has a much greater chance of corrupting your save, so always backup a save file. Once you have opened your save file (which is located in nearly the same spot as the dragon age origins file except you go into the dragon age II folder) you'll find the hierarchy of the file to be pretty much the same as above for dragon age origins, the main difference is the stat index numbers now correspond to different stats as seen in this picture:

Remember when you're done editing to use the "save-as" option and save over the file you're editing (after you have a made a backup of it to another directory). The "save" option doesn't seem to work properly.

回复

使用道具 举报

5

主题

312

帖子

454

积分

高级玩家

贵圈好乱...

Rank: 4

贡献度
16
金元
4502
积分
454
精华
0
注册时间
2011-3-14
舒服的沙发
发表于 2011-4-19 17:50 | 只看该作者
这是个大工程啊....啊............啊.........................................
回复 支持 反对

使用道具 举报

38

主题

1085

帖子

1134

积分

游戏狂人

Rank: 6Rank: 6

贡献度
109
金元
6980
积分
1134
精华
0
注册时间
2010-7-28
硬硬的板凳
发表于 2011-4-19 20:45 | 只看该作者
留个爪印 谢楼主整理
回复 支持 反对

使用道具 举报

0

主题

217

帖子

308

积分

高级玩家

Rank: 4

贡献度
1
金元
3035
积分
308
精华
0
注册时间
2009-7-21
冰凉的地板
发表于 2011-6-21 21:05 | 只看该作者
强大啊  ...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2025-2-26 19:06 , Processed in 0.101590 second(s), 15 queries , Memcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表