Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mifki

Pages: 1 ... 18 19 [20] 21 22 ... 99
286
Linux binary is available on GitHub thanks to @hickop

This was posted in the masterwork forum today.  I've never seen this before, but I've never reloaded dfhack from the console before.

TWBT does not support unloading.

287
Fixed.

288
Build 5.77 is available on build.mifki.com. Please somebody try and I'll publish to GitHub if everything is ok.

289
DF General Discussion / Re: How does the Mac version of DF work?
« on: January 30, 2017, 07:37:57 pm »
This is definitely a dumb question, because it must be mentioned somewhere, but I can't find it.

I note it's running something called "dwarfort.exe."  Is this in a Wine wrapper or some other kind of emulator?  I don't think so, because it seems to run pretty efficiently and comparably to how it runs on my PC laptop of similar functionality.

It's just a normal Mac app but with .exe extension for reasons unknown to me.

290
Utilities and 3rd Party Applications / Re: DFHack 0.43.03-r1
« on: January 24, 2017, 04:53:37 pm »
Structure layouts would take a massive amount of effort from Toady (that or it would require him to release headers, which he doesn't want to do). Global addresses should take a couple hours at most, assuming he can figure out discrepancies between our names and his.

It's not about effort, I offered to make tools to extract data structure layout automatically. But he doesn't want to disclose all of them at once; he's willing to answer questions about specific structures from time to time though.

291
Utilities and 3rd Party Applications / Re: DFHack 0.43.03-r1
« on: January 09, 2017, 09:38:19 pm »
I've avoided screwing with ui_look_list because it's crashed every time I played with it in past versions, stable or not.

I haven't had any problems with ui_look_list. Just make sure to access the correct item/unit/... field in a union there, based on type field value.
Oh, you're going to insert items there, sorry didn't read properly.

292
There's a build on build.mifki.com for 0.43.05 Windows 64bit.

Fantastic!  Are you planning to do 32-bit versions as well?

Soon I'll start working on updating TWBT for 0.43.05. It will be 64bit only I think as I'm not keen to find offsets for and support twice more versions.

I don't mind configuring my build system to produce 32bit builds as well I think, if someone is willing to find offsets. But I can't commit to supporting two architectures on regular basis myself.

293
I noticed that the current TwbT build (Win64 0.43.05) appears to be built against DFHack 0.43.05-alpha3. I would really discourage using that version due to a number of issues (e.g. this) that are likely to cause all sorts of strange behavior. It could affect TwbT directly, but even if not, that build is probably not a good one to target.

When did you check? I thought I've rebuilt it against alpha4. Anyway, one last patch is left for osx version, and I'll build it again then.
I was actually looking at https://github.com/mifki/df-twbt/commit/c96bdedd3cee372da2e734bcd46aeb2f9d0b0601, but it looks like that's changed, so never mind about that.

That doesn't matter, the values are overwritten by the build system (see there's ?=).

294
OS X support is ready. Now I need to update by build server to 64bit first to be able to make Linux version.

295
I noticed that the current TwbT build (Win64 0.43.05) appears to be built against DFHack 0.43.05-alpha3. I would really discourage using that version due to a number of issues (e.g. this) that are likely to cause all sorts of strange behavior. It could affect TwbT directly, but even if not, that build is probably not a good one to target.

When did you check? I thought I've rebuilt it against alpha4. Anyway, one last patch is left for osx version, and I'll build it again then.

296
There's a build on build.mifki.com for 0.43.05 Windows 64bit.

297
I've got TWBT working with 0.43.05 on OSX, even the multilevel rendering patch (which I don't remember how it works) worked as is. Probably Windows/Linux will require more work because of the new compilers.

298
Utilities and 3rd Party Applications / Re: DFHack 0.43.03-r1
« on: December 09, 2016, 04:26:28 pm »
Have you seen thick_branches_* being actually set?

299
and make sure the "blocked" flag is not set.

You probably meant checking for .blocked in addition to checking for other flags?

300
Utilities and 3rd Party Applications / Re: DFHack 0.43.03-r1
« on: December 06, 2016, 07:51:02 pm »
So basically I am just wondering, am I confusing what map_block_columns are, or is it just that only one map_block_column per embark square actually contains the plant data?

I haven't read everything, but here's the code I use. Oh, I mean I don't know why it's so, so it doesn't answer your question, but I confirm that's how it works.

Code: [Select]
                local mapcol = df.global.world.map.column_index[math.floor(x/48)*3][math.floor(y/48)*3]
               
                for i,p in ipairs(mapcol.plants) do
                    if not p.tree_info then
                        local pos = p.pos
                        if pos.x == x and pos.y == y and pos.z == z then
                            --found the plant
                            local plantraw = df.plant_raw.find(p.material)
                            --...
                            break
                        end
                    else
                        --handle trees differently
                    end
                end

Pages: 1 ... 18 19 [20] 21 22 ... 99