Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 4 5 [6] 7 8 ... 108

Author Topic: DFHack 0.5.15 (legacy)  (Read 404895 times)

heywheresmysnack

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #75 on: July 12, 2010, 02:46:37 pm »

I would do it if I had any idea how. I do know how to hex edit, but I don't know what memory entry I would be looking for.
Logged

clc02

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #76 on: July 12, 2010, 03:08:19 pm »

Just going to throw this out there, dwarf therapist has the offsets for .10, if you find and replace the .08 with the ones with .10 it should work. (Some of them are called different names for the same pointers)  What I was trying to do but I got myself hopelessly confuzzled with the word wall notepad presents
EDIT: And here it is:

Code: [Select]
[info]
checksum                = 0x4c398089
version_name            = v0.31.10 (graphics)

[addresses]
translation_vector      = 0x016d3404
language_vector         = 0x016d33d4
creature_vector         = 0x0168e744
dwarf_race_index        = 0x014b9f1c

[offsets]
word_table              = 0x0058

[dwarf_offsets]
first_name              = 0x0000
nick_name               = 0x001C
last_name               = 0x0038
custom_profession       = 0x006c
profession              = 0x0088
race                    = 0x008C
flags1                  = 0x00F8
flags2                  = 0x00FC
sex                     = 0x0110
id                      = 0x0114
recheck_equipment       = 0x021C
birth_year              = 0x0298
current_job             = 0x0390
physical_attrs          = 0x0464
states                  = 0x0684
souls = 0x0790
likes                   = 0x07A0
labors = 0x07BC
happiness               = 0x087C

[soul_details]
skills                  = 0x01FC
traits                  = 0x0224

[job_details]
id                      = 0x0008
on_break_flag           = 0x0011

[position_offsets]
token                   = 0x0000
flags                   = 0x0020
general_name_singular   = 0x00E8
general_name_plural     = 0x0104
male_name_singular      = 0x0158
male_name_plural        = 0x0174
female_name_singluar    = 0x0120
female_name_plural      = 0x013C
# 2 bytes each...
custom_color_red        = 0x037E
custom_color_green      = 0x0380
custom_color_red        = 0x0382

[valid_flags_1]
size                    = 1
1/name                  = "Not from around these parts"
1/value                 = 0x80000000

[invalid_flags_1]
size                    = 7
1/name                  = "a zombie"
1/value                 = 0x00001000
2/name                  = "a skeleton"
2/value                 = 0x00002000
3/name                  = "a merchant or diplomat"
3/value                 = 0x00000040
4/name                  = "outpost liason"
4/value                 = 0x00000800
5/name                  = "an invader or hostile"
5/value                 = 0x00020000
6/name                  = "an invader or hostile"
6/value                 = 0x00080000
7/name                  = "an invader or hostile"
7/value                 = 0x000C0000

[invalid_flags_2]
size=2
1/name                  = "dead, Jim."
1/value                 = 0x00000080
2/name                  = "from the Underworld. SPOOKY!"
2/value                 = 0x00040000
Logged
Only in dwarven culture is alcohol poisoning a death worthed investigating, while being impaled through several toes, a eye, and a thumb from a spiraling water[3] is not.  Because everyone knows, the only way a dwarf could get alcohol poisoning is if someone put poison into the alcohol.

smjjames

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #77 on: July 12, 2010, 04:02:43 pm »

I wonder if the other guys on Peterix's site can do it? No idea when he'll release it and understandably its like 10 PM where he is in the Czech Republic.
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #78 on: July 12, 2010, 07:36:40 pm »

Relax, I'm working on it :)

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #79 on: July 12, 2010, 07:38:37 pm »

What I was trying to do but I got myself hopelessly confuzzled with the word wall notepad presents
Don't use notepad. It's practically useless in comparison with a real text editor ;)

OK. I have a version out that should be 31.10 compatible to some extent. It's missing a lot of the creature stuff but I'll try to get that from the DT people. They seem to have put a lot of work into those already :)

I'm not putting it into the first post yet... at least until it can be confirmed that everything's fine with the new versions :)
You can get it here: http://github.com/downloads/peterix/dfhack/dfhack-bin-0.4.0.3b.zip

Also ZOMG 3AM!

Edit: fixed for good. github file caching was getting in the way.
« Last Edit: July 12, 2010, 10:21:51 pm by peterix »
Logged

smjjames

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #80 on: July 12, 2010, 09:10:52 pm »

Thank you!

And yea I was wondering what you were doing up so late your time.

Edit: Got a 'This application has requested the Runtime to terminate it in an unusual way' error for DFliquid. I'll check some of the others.

Edit2: I'm getting the error for everything that I try to run. Maybe you need to get some sleep, lol
« Last Edit: July 12, 2010, 09:16:18 pm by smjjames »
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #81 on: July 12, 2010, 09:13:30 pm »

Woo, go peterix! I wonder if this will make DFHack dependent utilities (like Runesmith) work now?
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

smjjames

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #82 on: July 12, 2010, 09:17:37 pm »

Woo, go peterix! I wonder if this will make DFHack dependent utilities (like Runesmith) work now?

Its not actually working atm, see my previous post.
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #83 on: July 12, 2010, 09:21:09 pm »

You hadn't edited that post yet. :P I know better now, though, thanks. I'll keep holding my breath.
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Mechanoid

  • Bay Watcher
  • [INTELLIGENT]
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #84 on: July 12, 2010, 09:24:36 pm »

Got a 'This application has requested the Runtime to terminate it in an unusual way' error for DFliquid. I'm getting the error for everything that I try to run.

It looks like he forgot to put in the memory.xml
dfposition.exe, dfXvdig.bat and dfoffsets.exe are also missing.
« Last Edit: July 12, 2010, 09:29:11 pm by Mechanoid »
Logged
Quote from: Max White
"Have all the steel you want!", says Toady, "It won't save your ass this time!"

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #85 on: July 12, 2010, 09:29:20 pm »

Would there need to be any super major changes to that file? If not, we can get it from previous versions. Please forgive the noob question.
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Mechanoid

  • Bay Watcher
  • [INTELLIGENT]
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #86 on: July 12, 2010, 09:33:54 pm »

Would there need to be any super major changes to that file?
Yes, yes there would be.
It is the missing xml file that is causing the fault; putting in the old .2 one stops the program from crashing but gives the error 'couldn't find a suitable process' in the window
Logged
Quote from: Max White
"Have all the steel you want!", says Toady, "It won't save your ass this time!"

smjjames

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #87 on: July 12, 2010, 09:36:45 pm »

Got a 'This application has requested the Runtime to terminate it in an unusual way' error for DFliquid. I'm getting the error for everything that I try to run.

It looks like he forgot to put in the memory.xml
dfposition.exe, dfXvdig.bat and dfoffsets.exe are also missing.

He was up at 3 AM local time for him.
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
« Last Edit: July 12, 2010, 10:28:59 pm by peterix »
Logged

Urist McFumbler

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #89 on: July 12, 2010, 10:35:36 pm »

Should be fixed now...

http://github.com/downloads/peterix/dfhack/dfhack-bin-0.4.0.3b.zip

Thanks peterix.

If it was possible I would like to volunteer my services in updating DFHack during the various DF updates, as I am residing on GMT +8 which means I can work while you are asleep. :P

However I am quite illiterate (I only have 1 year course in C++ programming 10 years ago) when it comes to programming and hacking, if you have the time, I can get together with you on irc  or whereever you choose and learn the steps to help you out or at least do the preliminary work for you to just add in.

PM me if you are interested
Logged
Pages: 1 ... 4 5 [6] 7 8 ... 108