Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Exported Wealth quickfix [Your welcome!]  (Read 1476 times)

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Exported Wealth quickfix [Your welcome!]
« on: February 07, 2016, 04:50:47 pm »

Exported wealth is under the memory value of 01617200, and is 4 bytes large. use a memory modification utility and set it to 500 and done, humans and elves will come.
your welcome DF Dwarf Mode Discussion peeps C:
EDIT: just extra info just in case: i used cheat engine to do this
EDIT 2: Yup, the address is universal on at least windows
« Last Edit: February 07, 2016, 05:10:11 pm by MoonyTheHuman »
Logged

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #1 on: February 07, 2016, 06:42:54 pm »

Yeah that solution was also posted in the thread about this problem. It doesn't really help me though, I have no idea how to make a memory editor, and would be somewhat wary of using that for stability worries.
http://www.bay12forums.com/smf/index.php?topic=155423.msg6740836#msg6740836

There's an easier fix to make human caravans come by some simple save raw editing which also works for that purpose, posted in I think the what's going on in your fort thread.
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

Teryn

  • Bay Watcher
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #2 on: February 07, 2016, 09:40:25 pm »

Is there a wiki on how to do this? :s I feel a bit demoralized now when it was revealed to me that my game essentially won't progress unless I somehow fix this bug. I've never edited the raws so I have no idea where to start with and stuff. Should I just wait until the next version is released and then import my save which I made a backup of into it?
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #3 on: February 08, 2016, 01:04:43 am »

Just add [PROGRESS_TRIGGER_POPULATION:1] somewhere near [PROGRESS_TRIGGER_TRADE:1] under humans ([ENTITY:PLAINS]) in your save's entity_default.txt. They'll start arriving after you have 20 dwarves.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

Tryble

  • Bay Watcher
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #4 on: February 08, 2016, 11:23:42 am »

If you're unsure how to use a memory editor, the way I did it is via Cheat Engine.

Download it, run it, and click the flashing icon.  Search for the dwarf fortress process and select it.

Near the bottom right, click the 'add address manually' button.  Add the memory address of the exported wealth value and hit OK.

Now, in the far right of the new entry on the bottom that says "0", replace with some big arbitrary value.  The moment you hit OK on the new value, it should appear in the DF window where exported wealth is. 


Now, the value OP gave didn't work for me, I had 0236F260 as my exported wealth memory address (windows 7 64 bit system).  I don't know how reliable it is to give an address like that, since I haven't a clue if they'd be the same for other people. 

So!  To find yours without a problem, enter your Imported Wealth value into the barabove the "exact value" button.  Hit first scan, and you should get a couple of results on the left window pane.  Double click those to add them to the bottom area.  Now, experimentally change the values by a little bit, watching the Imported wealth value in DF to see which entry is the actual value.  Once you've located it (make sure you return any other changed values to their original numbers), left of where the value is, double click the address.  Add 8 to the address to get to the exported wealth's address.  Remember this value is in hexadecimal, so my final numbers which were ~258 become ~260 when adding 8.

Change the value of this new thing (which should be 0) and the changes should be reflected in DF's exported wealth number.
Logged

slashnul

  • Bay Watcher
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #5 on: February 09, 2016, 02:55:42 pm »

I did it dwarfy by editing the entity_default.txt.  Gets me caravans and a baron.  But I might have to poke into the memory because I cant see a way to get a monarch thru the text file alone.
Logged

Blue_Dwarf

  • Bay Watcher
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #6 on: February 09, 2016, 05:43:18 pm »

Be careful with things like Cheat Engine though. If you forget to shut it down, it can be detected as a cheat by Steam or other services.
Logged
Crafting Statistics 42.06Farming Statistics

Blue Dwarf has been happy lately. He did some !!science!! recently. He admired a fine forum post lately. He was enraged by a forum troll recently. He was upset by the delayed release of the new version of Dwarf Fortress lately. He took joy in planning a noble's death recently.

Chief10

  • Bay Watcher
  • since 31
    • View Profile
Re: Exported Wealth quickfix [Your welcome!]
« Reply #7 on: February 10, 2016, 01:44:15 am »

Not to nitpick, but shouldn't the title of this thread say "you're" instead of "your"?
Logged

Dozebôm Lolumzalěs

  • Bay Watcher
  • what even is truth
    • View Profile
    • test
Re: Exported Wealth quickfix [Your welcome!]
« Reply #8 on: February 10, 2016, 05:30:34 pm »

No. He demands that you welcome him.
Logged
Quote from: King James Programming
...Simplification leaves us with the black extra-cosmic gulfs it throws open before our frenzied eyes...
Quote from: Salvané Descocrates
The only difference between me and a fool is that I know that I know only that I think, therefore I am.
Sigtext!