Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 165 166 [167] 168 169 ... 185

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

Ice Cracker

  • Escaped Lunatic
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2490 on: May 16, 2018, 01:39:16 am »

Print mode TWBT, meph lite tile set on 43.09.

On my home computer (1920x1080), no issues. On my laptop (1920x1080) the top and bottom of my screen is cut off (top part more so than the bottom). https://imgur.com/a/1daPpZk This is what I'm seeing on my laptop at 1920x1080 with 1200x600 as my setting in the PyLNP interface. Resizing the window via click-and-drag doesn't help.

Switching to ASCII mode restores screen size. Other graphical sets are hit/miss on whether or not they're working right.

Anybody ever experienced this? Every solution I've found via google has not worked.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Text Will Be Text - dfhack plugin
« Reply #2491 on: May 16, 2018, 02:29:15 am »

You need a higher resolution. 1920/80=24. Your width is 1920, DF has a minimum of 80 tiles width. With a 32x32 tileset like mine, you should use at least a vertical resolution of 2560.

You can try right clicking the DF.exe and click on"Disable Display Scaling on High DPI Settings" and try again.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Ice Cracker

  • Escaped Lunatic
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2492 on: May 16, 2018, 03:06:05 am »

But it works with zero issues on my home computer on a 1920x1080 monitor  :'( :'(
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2493 on: May 16, 2018, 06:04:07 am »

You need a higher resolution. 1920/80=24. Your width is 1920, DF has a minimum of 80 tiles width. With a 32x32 tileset like mine, you should use at least a vertical resolution of 2560.

You can try right clicking the DF.exe and click on"Disable Display Scaling on High DPI Settings" and try again.
Vertical -> horizontal, to avoid confusion.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Text Will Be Text - dfhack plugin
« Reply #2494 on: May 16, 2018, 08:54:40 am »

You need a higher resolution. 1920/80=24. Your width is 1920, DF has a minimum of 80 tiles width. With a 32x32 tileset like mine, you should use at least a vertical resolution of 2560.

You can try right clicking the DF.exe and click on"Disable Display Scaling on High DPI Settings" and try again.
Vertical -> horizontal, to avoid confusion.
My mistake, sorry.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2495 on: June 28, 2018, 07:23:03 am »

Why it's not working?
[TILESET:TIER_3_1.png:TIER_3_1.png:tier3-1]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:0:1:2:3:16:::INORGANIC:SANDSTONE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:4:5:6:7:16:::INORGANIC:SILTSTONE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:0:8:9:10:16:::INORGANIC:MUDSTONE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:12:13:14:15:16:::INORGANIC:SHALE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:16:17:18:19:16:::INORGANIC:CLAYSTONE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:20:21:22:23:16:::INORGANIC:ROCK_SALT]
[OVERRIDE:137:T:StoneWall:tier3-1:R:4:24:25:26:27:16:::INORGANIC:LIMESTONE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:28:29:30:31:16:::INORGANIC:CONGLOMERATE]
[OVERRIDE:137:T:StoneWall:tier3-1:R:4:32:33:34:35:16:::INORGANIC:DOLOMITE]
[OVERRIDE:133:T:StoneWall:tier3-1:R:4:36:37:38:39:16:::INORGANIC:CHERT]
[OVERRIDE:137:T:StoneWall:tier3-1:R:4:40:41:42:43:16:::INORGANIC:CHALK]
[OVERRIDE:132:T:StoneWall:tier3-1:R:4:44:45:46:47:16:::INORGANIC:GRANITE]
[OVERRIDE:132:T:StoneWall:tier3-1:R:4:48:49:50:51:16:::INORGANIC:DIORITE]
[OVERRIDE:132:T:StoneWall:tier3-1:R:4:52:53:54:55:16:::INORGANIC:GABBRO]
[OVERRIDE:131:T:StoneWall:tier3-1:R:4:56:57:58:59:16:::INORGANIC:RHYOLITE]
[OVERRIDE:131:T:StoneWall:tier3-1:R:4:60:61:62:63:16:::INORGANIC:BASALT]
[OVERRIDE:132:T:StoneWall:tier3-1:R:4:64:65:66:67:16:::INORGANIC:ANDESITE]
[OVERRIDE:131:T:StoneWall:tier3-1:R:4:68:69:70:71:16:::INORGANIC:DACITE]
[OVERRIDE:138:T:StoneWall:tier3-1:R:4:72:73:74:75:16:::INORGANIC:OBSIDIAN]
[OVERRIDE:134:T:StoneWall:tier3-1:R:4:76:77:78:79:16:::INORGANIC:QUARTZITE]
[OVERRIDE:134:T:StoneWall:tier3-1:R:4:80:81:82:83:16:::INORGANIC:SLATE]
[OVERRIDE:134:T:StoneWall:tier3-1:R:4:84:85:86:87:16:::INORGANIC:PHYLLITE]
[OVERRIDE:134:T:StoneWall:tier3-1:R:4:88:89:90:91:16:::INORGANIC:SHRIST]
[OVERRIDE:134:T:StoneWall:tier3-1:R:4:92:93:94:95:16:::INORGANIC:GNEISS]
[OVERRIDE:137:T:StoneWall:tier3-1:R:4:96:97:98:99:16:::INORGANIC:MARBLE]
Logged

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2497 on: June 28, 2018, 09:05:36 pm »

Overrides for material-specific walls at all.
P.S.:
Smooth walls are working.
« Last Edit: June 28, 2018, 09:33:26 pm by waterphage13 »
Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #2498 on: June 28, 2018, 09:55:33 pm »

Overrides for material-specific walls at all.
P.S.:
Smooth walls are working.

Have you checked with "probe" command that StoneWall tiletype is the correct one?

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2499 on: June 28, 2018, 10:12:26 pm »

"Probe" command?
Logged

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2501 on: June 29, 2018, 02:01:11 pm »

Oh... Thsnks.
Logged

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2502 on: June 29, 2018, 03:24:11 pm »

I has tested many variants and reinstall TWBT and DFhack, but material tokens for raw walls just don't want to work. The rest is OK.
P.S.:
New unworking textures was very bad.
« Last Edit: June 29, 2018, 03:26:36 pm by waterphage13 »
Logged

Krutchen

  • Escaped Lunatic
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2503 on: July 01, 2018, 02:41:06 pm »

Any ETA on 44.11 compatability? I'm jonesin for the next update.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2504 on: July 05, 2018, 01:17:22 pm »

I got tired of waiting and tried to update myself, thanks to the nice guide.

Code: [Select]
diff --git a/patches.hpp b/patches.hpp
index 9c3a7ac..12a56ca 100644
--- a/patches.hpp
+++ b/patches.hpp
@@ -1210,7 +1210,26 @@ static void apply_patch(MemoryPatcher *mp, patchdef &p)
         static patchdef p_render_lower_levels = {
             0x1099fd0, 5, true, { 0x41, 0xc6, 0x00, 0x00, 0xc3 }
         };
-        #endif
+        #endif
+
+#elif defined(DF_04411)
+    #ifdef WIN32
+        #define A_LOAD_MULTI_PDIM  0x140aeaae0
+        #define A_RENDER_MAP       0x1408b9830
+        #define A_RENDER_UPDOWN    0x1406005d0
+
+        static patchdef p_display = { 0x1403a0d2b, 5 };
+
+        static patchdef p_dwarfmode_render = { 0x14035601a, 5 };
+
+        static patchdef p_advmode_render[] = {
+            { 0x14029c6cb, 5+5 }, { 0x14029c71c, 5+5 }, { 0x14029c766, 5+5 }, { 0x14029cc33, 5+5 }
+        };
+
+        static patchdef p_render_lower_levels = {
+            0x140c37650, 9, true, { 0x48, 0x8b, 0x44, 0x24, 0x28, 0xc6, 0x00, 0x00, 0xc3 }
+        };
+    #endif

 #else
     #error Unsupported DF version

Windows 64 only, dwarf mode displays correctly (for what I've seen) and it does not crash immediately. I might try to do Linux 64 later.
Logged
Pages: 1 ... 165 166 [167] 168 169 ... 185