Bay 12 Games Forum

Please login or register.

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

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

HellishINC

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1860 on: January 15, 2016, 06:56:34 am »

42.04 linux offsets below, seem to be working.
Code: [Select]
       -snip-

How would one go about using this? I'm guessing you need to compile twbt yourself? I've never managed to build it myself.
Logged

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1862 on: January 15, 2016, 10:27:58 am »

Version 5.55 released with support for 0.42.04. Thanks to all contributors.
Thank you.

funkydwarf

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

Thanks for the update! Even though I managed to compile my own version, I was not able to compile the extra pluginbs for the mouse/etc so thanks again!
Logged

Rydel

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

Where are you getting a 42.04 DFHack for it?  The newest I see in the DFHack thread is for 40.24.

lethosor

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1865 on: January 15, 2016, 07:53:34 pm »

There are alpha releases in the DFHack repo, specifically the releases page.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Rydel

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

Thanks!  Now I can test out the overrides for the new version in my tilesets.

EDIT:
How do I override tile in the Soap Maker?  [OVERRIDE:<tile>:B:SOAP_MAKER:Workshop::<tileset>:<tilenum>] is giving an "invalid override specification" error.
« Last Edit: January 19, 2016, 05:35:21 pm by Rydel »
Logged

figment

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1867 on: January 20, 2016, 02:28:45 am »

New DF means new need for TWBT which I consider mandatory at this point.

Windows offsets that I found:
Spoiler (click to show/hide)

My current windows build.  Same use at your own risk as last time. 
Spoiler (click to show/hide)
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1868 on: January 20, 2016, 04:45:24 am »

Holy christ that was quick. Thanks.
Logged

topis

  • Escaped Lunatic
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1869 on: January 20, 2016, 08:57:32 am »

here's the linux 42.05 offsets
Code: [Select]
        #define A_RENDER_MAP      0x08B9B720
        #define A_RENDER_UPDOWN   0x08901F00

        #define NO_DISPLAY_PATCH

        static patchdef p_dwarfmode_render = { 0x00840B502, 5 };

        static patchdef p_advmode_render[] = {
             { 0x083B306D, 5+7+5 }, { 0x083B3121, 5+7+5 }, { 0x083B373C, 5+7+5 }, { 0x083B3B6A, 5+7+5 }
        };

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

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1870 on: January 20, 2016, 09:13:20 am »

For people finding the required offsets:  it would be amazingly useful if you could get the general form into the df-structures project.  (for example, TwbT could be merged into the standard DFHack library).
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

Kazimuth

  • Bay Watcher
  • [ARTIFICIAL_HIVEABLE]
    • View Profile
    • github
Re: Text Will Be Text - dfhack plugin
« Reply #1871 on: January 21, 2016, 12:38:52 am »

I'm getting a crash when I try to fullscreen DF running TWBT on a retina macbook using the MacNewbie pack, OS X 10.11.2, and Wanderlust for graphics / font.

When I fullscreen from the main menu, sometimes it crashes, and sometimes it just doesn't work:

(warning: enormous image)
Spoiler (click to show/hide)

It should fill the entire screen, but instead the titlebar is still visible and there's arbitrary whitespace in the background. It also leaves a couple empty screens of whitespace, and prints "reshape_graphics" to the console multiple times.

When I fullscreen in adventure mode, sometimes it crashes, and sometimes the same failed-fullscreening happens.

This happens when using both TWBT and TWBT_CLASSIC. It doesn't happen when TWBT is disabled.
Logged
I'm not sure this was a good idea

Kazimuth

  • Bay Watcher
  • [ARTIFICIAL_HIVEABLE]
    • View Profile
    • github
Re: Text Will Be Text - dfhack plugin
« Reply #1873 on: January 21, 2016, 03:58:58 am »

Definitely 2D, and probably standard; I can check tomorrow.
Logged
I'm not sure this was a good idea

figment

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1874 on: January 21, 2016, 09:39:47 pm »

For people finding the required offsets:  it would be amazingly useful if you could get the general form into the df-structures project.  (for example, TwbT could be merged into the standard DFHack library).
What exactly do you mean?  These are general code replacement techniques and not pointer or function detours.   Is that supported in native DFHack mods? If so, which ones?

I did a byte search algorithm for handling a similar issue for my teleport mod but probably only works for windows so is protected for that.  Maybe there are similar general helper functions for linux/osx but I thought I read that mifki struck some sort of agreement to not try to merge TwbT into dfhack because of how this mod works.  I was doing these updates for myself just because I like the mod so much but any investment in a generic update assumes that df will continue to be updated regularly and the work would be incorporated into dfhack.
Logged
Pages: 1 ... 123 124 [125] 126 127 ... 185