Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 122 123 [124] 125 126 ... 185

Author Topic: Text Will Be Text - dfhack plugin  (Read 792898 times)

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1845 on: January 10, 2016, 05:08:51 pm »

Any update for 42.04? :<

I would also love a windows build for DFHack 42.04 alpha2
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

figment

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1846 on: January 10, 2016, 06:15:02 pm »

Here are my personal windows builds of TWBT and 0.42.04-alpha2.  No guarantees of proper functioning or anything like that but it works for you then great.  The full dfhack build includes some extra scripts related to my adventure mode regional teleport plugin.

Spoiler (click to show/hide)
Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #1847 on: January 10, 2016, 06:44:50 pm »

Thank you!

I believe when updating for a new DF version it either works (including multilevel rendering) or crashes straight away if some addresses are wrong, so no need to worry that much about proper functioning.

kikoman

  • Bay Watcher
    • View Profile
    • Estudio de Diseño Kimaru
Re: Text Will Be Text - dfhack plugin
« Reply #1848 on: January 12, 2016, 04:59:53 am »

Here are my personal windows builds of TWBT and 0.42.04-alpha2.  No guarantees of proper functioning or anything like that but it works for you then great.  The full dfhack build includes some extra scripts related to my adventure mode regional teleport plugin.

Spoiler (click to show/hide)

Great work figment. It's working nicely on my 0.42.04 install. Thanks :)
Logged
You cannot open a book without learning something.
Confucius

utkonos

  • Bay Watcher
  • Sleepy dwarf
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1849 on: January 12, 2016, 08:13:16 pm »

Hi, does anybody know a way to make bookcase override?

Rydel

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1850 on: January 12, 2016, 11:52:16 pm »

I'm not positive, but in vanilla it should be [OVERRIDE:240:I:TOOL:TOOL:23:X:Y]

nefariousD

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1851 on: January 13, 2016, 08:36:59 am »

Any chance of someone being super cool and posting a 42.04 pre-compiled binary for osx?  8)
Logged

funkydwarf

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1852 on: January 13, 2016, 11:25:05 am »

I would like to learn how to update twbt for linux. I see the documentwtion in patches.mpp...but i need two peices of info.

Just a standard hex editor to find the strings? Any recomendations for debian linux?

Id it just patches.mpp? doea the other patches.whatever file need it?

Little over my head but i feel this is a good next step after learning to compile,  if someone could just help me with this little bit of info i will be off and running on my own again. Thanks!

Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #1853 on: January 13, 2016, 04:00:57 pm »

I'll do it today or tomorrow (if Toady doesn't release a new version:), sorry for the delay.

topis

  • Escaped Lunatic
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1854 on: January 13, 2016, 04:20:19 pm »

42.04 linux offsets below, seem to be working.

Code: [Select]
        #define A_RENDER_MAP      0x08B93710
        #define A_RENDER_UPDOWN   0x088FA210

        #define NO_DISPLAY_PATCH

        static patchdef p_dwarfmode_render = { 0x008404622, 5 };

        static patchdef p_advmode_render[] = {
            { 0x083AC6DD, 5+7+5 }, { 0x083AC791, 5+7+5 }, { 0x083ACDAC, 5+7+5 }, { 0x083AD1DA, 5+7+5 }
        };

        static patchdef p_render_lower_levels = {
            0x08E89BC0, 13, true, { 0x36,0x8b,0x84,0x24,0x14,0x00,0x00,0x00, 0x3e,0xc6,0x00,0x00, 0xC3 }
        };
Logged

funkydwarf

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1855 on: January 13, 2016, 07:28:03 pm »

Please don't misinterpret, I can wait, I am not nudging, I wont even really start a fort for a few more versions, I just need a reason to motivate me to learn new stuff. I managed to compile dwarf therapist and the pylnp, simple now, lol, but was challenging to get there, and after discovering you had some information about how to do it in the comments in the code, I realized this is the perfect next thing for me to learn. And now that topis posted his offsets, it really is perfect, I got a cheat sheet to check my answers and trace back to the source.

Ok off to the cave with hopper...

Thanks Topis! And of course mifki!

edit: apparently I saw and read something near the offsets, and now just found the further instructs about hopper and feel dumb
« Last Edit: January 13, 2016, 07:41:22 pm by funkydwarf »
Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #1856 on: January 13, 2016, 07:41:05 pm »

The app I can recommend (not a simple hex editor is required) is http://www.hopperapp.com - free version works for 30 min, which is enough:)

funkydwarf

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1857 on: January 13, 2016, 07:57:40 pm »

lol at me sry, I just read that at the beginning of the PATCHES.md...  I was planning on tearing through it tonight, and earlier I was posting on my mobile ,at  work, and read the comments near the offsets in the file and totally somehow missed the huge paragraph clearly explaining everything at the beginning...   

Seems like a crazy cool tool though...and seems like its near magic and should be 10x its price. Under a hundred bucks for 3 licenses, holy cow!
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1858 on: January 13, 2016, 11:43:12 pm »

I was sitting there thinking "wait, isn't there a part of GNU that does this?" and yes, there is: http://dirac.org/linux/gdb/
Logged

funkydwarf

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1859 on: January 14, 2016, 12:04:27 pm »

Thanks! I got a three day weekend coming so I havent activated my trial to find  those offsets i was provided.. so i will check out that debugger as well... i just played arou d with getting dfhack environment setup and compiling so far and making the additional entries in the patches file.


Logged
Pages: 1 ... 122 123 [124] 125 126 ... 185