ROM Hack Discussion How to editing Daemon X Machina‘ savedata?

Infernape_Fans

Member
Newcomer
Joined
Jun 30, 2017
Messages
18
Trophies
0
Age
33
XP
261
Country
Indonesia
I search "NPC" in save data and luckily i find NPC ID. I try to edit some data and its work to make artist and solomon as my allies. This is the value:

Search for:
54 54 4C 4E 50 43 46 6C 61 67 53 74 61 74 65 00 00 24 00 00 00 54 54 4C 4E 50 43 46 6C 61 67 53 74 61 74 65 3A 3A 54 54 4C 4E 50 43 5F 4E 6F 74 41 70 70 65 61 72 65 64 00 0A 00 00 00 4A 6F 69 6E 50 61 72 61 6D 00 0F 00 00 00 53 74 72 75 63 74 50

Replace with:
54 54 4C 4E 50 43 46 6C 61 67 53 74 61 74 65 00 00 1F 00 00 00 54 54 4C 4E 50 43 46 6C 61 67 53 74 61 74 65 3A 3A 54 54 4C 4E 50 43 5F 4A 6F 69 6E 65 64 00 0A 00 00 00 4A 6F 69 6E 50 61 72 61 6D 00 0F 00 00 00 53 74 72 75 63 74 50

I hope this will work for all NPC and backup your save data before edit the value
 

FooFighters

New Member
Newcomer
Joined
Nov 23, 2017
Messages
4
Trophies
0
Age
27
XP
129
Country
Jamaica
How does this attachment code work? I can't seem to get it to work correctly. Also what exactly does replacing these values do? Would it change the amount of all attachments I currently have?

Found the address for attachments:
Code:
4F 77 6E 65 64 4E 75 6D 00 0C 00 00 00 49 6E 74 50 72 6F 70 65 72 74 79 00 04 00 00 00 00 00 00 00 00 xx

xx is the current amount you have in Hex. Just replace all to a suitable value (e.g. 32 for 50x amount) for example:

4F 77 6E 65 64 4E 75 6D 00 0C 00 00 00 49 6E 74 50 72 6F 70 65 72 74 79 00 04 00 00 00 00 00 00 00 00 32
There's 147 attachments total in the game. Now I want to find the address for amount of slots per part...
 

johnma2

Well-Known Member
Member
Joined
Apr 14, 2018
Messages
148
Trophies
0
XP
145
Country
United States
How does this attachment code work? I can't seem to get it to work correctly. Also what exactly does replacing these values do? Would it change the amount of all attachments I currently have?
This basically erases what you currently have and replaces them with all the attachments and the amount of them that you set. However, I found that the amount of 50 is best for this because trying 99 corrupted the save.

please may you send save file contain all weapons and armors ?

The best way for this to work is to use the method described earlier in the thread. It would unlock all parts in the shop for you to buy, except the secret shop, plus it's easier than trying to edit the parts yourself.

EDIT: Also, I wanted to point out, most weapon parts have an F, S, and L variant. I have an almost complete list going on in my game.

EDIT: For those wondering, wp_00_00_f is the part number for Grim Reaper AT. Buy this in the shop for however many you want to edit to get the prototype weapons in the game. Also, the prototype weapons have the same stats as the base weapons.

Siegfried's armor set is AS_Body_200, AS_Head_200, AS_Legs_200, AS_Arm_R_200, AS_Arm_L_200.

I found them in the save data but Im not sure where my inventory is hiding specifically, I tried to alter the set of Liberator blueprints (which is AS_Body_201) to see if I can put it in the factory but no luck there. It just put my already developed BPs back in the factory.

Your file will have something like this:

wp_00_00_f.....PartType.....EnumProperty.&...........TTLPartsType.."...TTLPartsType:: PartsType_GunWeapon.....UniqueID.....IntProperty..................PartsNewState.....EnumProperty.,...........TTLEPartsNewState..(...TTLEPartsNewState::NewState_AlreadyRead.....None.....AttachmentID1.....NameProperty..............None.....AttachmentID2.....NameProperty..............None.....AttachmentID3.....NameProperty..............None.....None.....partsInfo.....StructProperty.7...........TTLAssemblePartsInfoRow......................PartsID.....NameProperty..............

This is the string that tells you the start of where your weapons are, so finding whatever parts you want should be easy. What I did was buy a lot of a part from the shop and just edited those after finding them.
 
Last edited by johnma2,

johnma2

Well-Known Member
Member
Joined
Apr 14, 2018
Messages
148
Trophies
0
XP
145
Country
United States
Also, I wanted to make a list here for future reference. In the Free Mission "Defend the Communications Tower" all variants (Normal, S, F, and L) of the sniper rifle Failnaught along with all variants of Ogre Break can be found here. Also, completing the mission will sometimes have Gargantua appear at the end to fight you, so he's a source for the extension Splendor along with there being a chance to find variants of Evil Arcadia and Prominence from the Strais that appear.

Edit: Forgot to add that you can get the "Heart" scanned graffiti in this level as well.

Edit: Wanted to start a list for everyone here for parts.

weapons:

Grim Reaper - wp_00_00
Grim Reaper AT - wp_00_00_f
Claiomh Solais - wp_04_00_b

shoulder:

Deadly Drive - wp_54_00


attachment:

Femto Optimizer Mk III - wep_ori_laser_efficiency_3
Performance Upgrade Mk III - wep_ori_bullet_revstg_3
Muzzle Choke 3 - wep_ori_bullet_atsumaridan_3
Effective Range Extender Mk III - wep_cmn_renge_3
 
Last edited by johnma2,

limoonfeat

Active Member
OP
Newcomer
Joined
Jun 2, 2018
Messages
30
Trophies
0
Age
33
XP
433
Country
China
NOW playing pc so wonderful
and really really thanks to @Infernape_Fans @subtextz @Lionheartwolf
I made a xlsx for the weapon and AS (some chinese text but it dosen't matter) you will see.
thank you very much
the PC DXM was so fun without laaaaaaaaaaaaaaag!!!!
 

Attachments

  • AS+WP(cn).rar
    14.7 KB · Views: 391

subtextz

Well-Known Member
Newcomer
Joined
Jul 25, 2019
Messages
78
Trophies
0
XP
1,075
Country
New Zealand
NOW playing pc so wonderful
and really really thanks to @Infernape_Fans @subtextz @Lionheartwolf
I made a xlsx for the weapon and AS (some chinese text but it dosen't matter) you will see.
thank you very much
the PC DXM was so fun without laaaaaaaaaaaaaaag!!!!

You're welcome. BTW, you can import your Switch save to PC (just rename it to Slot1.sav).
 
  • Like
Reactions: Supreme23

Supreme23

Well-Known Member
Member
Joined
Mar 13, 2017
Messages
489
Trophies
0
XP
2,320
Country
United States
Here's how I narrowed them down:

1. Make sure all weapons and armor have 3 slots (refer to previous posts on how to do this).
2. Buy a new matching set of armor from the shop - in my case I bought a full Liberator set.
3. Do a text "Search All" for "invalid" or even better via Hex using the slot addresses from the prev post - this will bring up everything in your inventory which has no slots or partial slots (Liberator comes with 1 slot default).
4. Go to the results and check the decrypted text for parts codes (Liberator legs = AS_Legs_201). You only need one since the rest of the parts seem to follow the same numeric logic (i.e. AS_Head_201, AS_Body_201, AS_Arm_R_201 and AS_Arm_L_201).
5. Manually replace these with the part codes you want (You might have duplicates so it might not be a good idea to do a replace all).

Proof:


You can rinse repeat this method to get anything you want. Now I just need to work out the part IDs for Muramasa set.

What armor set is this and weapons equipped?
 

Lionheartwolf

Well-Known Member
Member
Joined
May 28, 2017
Messages
589
Trophies
0
XP
1,657
Country
United States
@Supreme23 I actually have a few backups from back when I was editing saves, so I don't know which one is the right one anymore. This was the most recent in the list so I think it's this one, if it's not, I'll upload the other two and you can just use the best one. Worst case scenario, I can just reinstall the game and give you my current save.
 

Attachments

  • Save 1.zip
    167.1 KB · Views: 376

xMokuro

New Member
Newbie
Joined
Apr 14, 2020
Messages
2
Trophies
0
Age
40
XP
57
Country
United States
@Supreme23 I actually have a few backups from back when I was editing saves, so I don't know which one is the right one anymore. This was the most recent in the list so I think it's this one, if it's not, I'll upload the other two and you can just use the best one. Worst case scenario, I can just reinstall the game and give you my current save.

@Lionheartwolf would you kindly post a fresh save (untouched story and free mission) with everything else unlocked? All weapons, arms, etc.

I would really appreciate it.
 
Last edited by xMokuro,
  • Like
Reactions: VampireOniX

nkg114

Member
Newcomer
Joined
Sep 15, 2019
Messages
13
Trophies
0
Age
27
XP
100
Country
Vietnam
Just some tidbit about the length check on weapon id edit I figured out after tinkering on the latest version.
Say you have a normal kagutsuchi (wp_05_00) and you want its L version instead (wp_05_00___t3). Doing a straight replacement on your save will crash your game before the splash screen even load.

Here's how to edit the length check.

In kagutsuchi's entry, you'll find NameProperty wp_05_00 which is in hex actually:
4E 61 6D 65 50 72 6F 70 65 72 74 79 00 0D 00 00 00 00 00 00 00 00 09 00 00 00 77 70 5F 30 35 5F 30 30

The bolded parts determine the length of id string (wp_05_00 which is length 8 in decimal)
The first part is length + 5 (8+5=13=0D in hex) and the second part is length +1 (8+1=09). Simply increase these value to match the new id

So for kagutsuchi-L (wp_05_00___t3 is length 13 in decimal):
4E 61 6D 65 50 72 6F 70 65 72 74 79 00 12 00 00 00 00 00 00 00 00 0E 00 00 00 77 70 5F 30 35 5F 30 30 5F 5F 5F 74 33
 
Last edited by nkg114,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Never heard of tiger crust. What is it?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Its known as tiger bread, also known as dutch crust.
  • Maximumbeans @ Maximumbeans:
    It's fuggin gooooood
    +1
  • RedColoredStars @ RedColoredStars:
    I mean. Whats different about it?
  • RedColoredStars @ RedColoredStars:
    Never even seen a tiger crust pizza in any stores around here. Walmart, Cub, or otherwise.
  • RedColoredStars @ RedColoredStars:
    Must be a regional thing.
  • RedColoredStars @ RedColoredStars:
    Gonna smoke this bowl then go get kitties ashes. <3
  • RedColoredStars @ RedColoredStars:
    Last thing I told her is how much I love her, and that Im not leaving her there forever and I promise to come back and take her back home with me.
  • Bunjolio @ Bunjolio:
    halllo
    RedColoredStars @ RedColoredStars: hello