Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 65 66 [67] 68 69 ... 184

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

lethosor

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #990 on: September 18, 2014, 02:42:08 pm »

Can people change the version twbt loads from the source code? It may be helpful for those who build unofficial dfhack and want to play twbt before the official one is released, since so far no one else has figured out how to change what version twbt would load with.

Pretty sure it is done in twbt.cpp though there was nothing saying r1, so why didn't it work for them on r0...
There is a version string contained in the compiled plugin, which is compared to the version string used to compile DFHack when the plugin is loaded - if they don't match, DFHack will refuse to load the plugin.
The code that actually embeds the version string in plugins is part of the DFHACK_PLUGIN macro:
Quote from: library/include/PluginManager.h
#define DFHACK_PLUGIN(plugin_name) \
    DFhackDataExport const char * version = DFHACK_VERSION;\
    DFhackDataExport const char * name = plugin_name;\
    DFhackDataExport Plugin *plugin_self = NULL;
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.

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #991 on: September 18, 2014, 05:10:19 pm »

@mifki: btw isn't it possible to add these to the df structure tools, so finding them could be automated? Not that I'd know how to do that. :)

I was thinking about automating this process, at least for some time while changes in df are minor.
However it's not that difficult even manually - I spend more time downloading new releases for all platforms / copying configuration and all that stuff in order to test after I add support for new df version.
So probably now I will add required addresses to twbt but won't test on Windows / Linux.

Also I'll add a CMakeList file so that it will be possible to build twbt as part of dfhack.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #992 on: September 19, 2014, 08:32:18 pm »

DFHack 40.13-r1 is out  ;)
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #993 on: September 20, 2014, 12:59:50 am »

DFHack 40.13-r1 is out  ;)

Will do it today or tomorrow. Want to further automate my builds - it's getting a bit boring to update for each version.

LeoCean

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #994 on: September 20, 2014, 09:33:07 am »

Someone make a build for 40.13 old gen? It doesn't have the added pluggins so it should be easier than the next gen. Mifki will be alseep by now so who knows when an official build will come.
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #995 on: September 20, 2014, 10:04:12 am »

He committed the last pile of .13 changes not even an hour ago. Jesus, have a little patience.
Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #996 on: September 20, 2014, 10:08:52 am »

Yep, 3.43 has support for 0.40.13-r1.

I decided to make some internal changes so the nextgen branch will be later.

LeoCean

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #997 on: September 20, 2014, 10:12:03 am »

He committed the last pile of .13 changes not even an hour ago. Jesus, have a little patience.

Well I did look at both the release and the development branch before I posted that (I'm pretty sure I didn't see changes).  :P There was the chance he was still awake but it's very late for him.

Anyways thanks mifki.
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #998 on: September 20, 2014, 05:35:05 pm »

Yep, 3.43 has support for 0.40.13-r1.

I decided to make some internal changes so the nextgen branch will be later.

is 3.43 a dev build that requires [compiling] dfhack to compile?

salithus

  • Bay Watcher
  • gottagofast
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #999 on: September 20, 2014, 05:46:38 pm »

Yep, 3.43 has support for 0.40.13-r1.

I decided to make some internal changes so the nextgen branch will be later.

is 3.43 a dev build that requires [compiling] dfhack to compile?
Looks that way.
Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #1000 on: September 20, 2014, 06:19:32 pm »

Yep, 3.43 has support for 0.40.13-r1.

I decided to make some internal changes so the nextgen branch will be later.

is 3.43 a dev build that requires [compiling] dfhack to compile?

What? It's on my dev build server http://build.mifki.com but you don't need to compile it.

LeoCean

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1001 on: September 20, 2014, 07:22:02 pm »

They were probably use to the next gen branch where all the extra stuff doesn't exist. They probably didn't notice that you only need the 40.13 folder file + the overrides txt. It kept me from using the old gen at first.
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1002 on: September 21, 2014, 06:45:20 am »

Uh, your build server looks slightly fucked. Did you change something?
Logged

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #1003 on: September 21, 2014, 06:48:58 am »

Uh, your build server looks slightly fucked. Did you change something?

It looks slightly preparing for the next major version. Old releases are on github.

HaterSkater

  • Bay Watcher
  • #000000
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #1004 on: September 21, 2014, 08:25:41 am »

mifki,

World creation in 40.08. Spacefox (text tileset) used as expected
Spoiler (click to show/hide)

World creation in 40.13. Map drawn with duerer (graphic tileset) with spacefox artefacts
Spoiler (click to show/hide)

same problem on embark screen
Spoiler (click to show/hide)

What am i doing wrong?
Logged
▲▲▲▲▲
;ÑÜ&,
.';,

Duerer TWBT tileset v.0.6.A
Pages: 1 ... 65 66 [67] 68 69 ... 184