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 - lethosor

Pages: 1 ... 18 19 [20] 21 22 ... 268
286
The cache I'm referring to is a wiki-side cache, not browser-side. Purging the problematic page would force it to re-render, and then all logged-out users would be shown the newly-rendered version.

287
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: January 11, 2021, 12:14:28 am »
Is it possible that you only have 32-bit build tools installed? I'm not sure what options you have available when installing those. You are on a 64-bit system, right?

And just to double-check, what are you aiming to do by building DFHack - plugin development, for instance?

288
Are you logged out? If so, it's probably this issue, and the discussion there also has a workaround (purging the page from the cache).

Not really sure how to fix this, unfortunately - possibly a Mediawiki bug.

289
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: January 08, 2021, 07:40:09 pm »
Code: [Select]
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE,"5.02" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:\dfhack\dfhack\build\win64\VC2015\CMakeFiles\3.19.2\CompilerIdC\CompilerIdC.vcxproj]

Strange, I saw this error after I swtiched to 64 bit version. It seem Any idea?
When/where does this show up? It doesn't look DFHack-related to me - is this in CMakeError.log? Are there any console errors from running whatever build command you're running?

The batch scripts we provide under "build/win32" and "build/win64" should make separate subdirectories; if you're building on your own, I suppose you could change the build architecture in an existing build directory, but this has occasional issues on Linux and I have no idea if it works on Windows at all.

290
Whoops, it was very late when I saw this, and I misread it and thought the issue was that the script no longer worked:
Just noticed this is no longer shipped with DFHack, at least in the latest LNP, 47.04.r11. It was included in 47.04.r10.

If you're just trying to obtain the script itself, see PatrikLundell's link. If it would be useful to include in the standard DFHack distribution, we can make that happen too.

291
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: January 05, 2021, 08:01:40 pm »
Yes, the only issue I'm seeing is that you don't have Sphinx installed, but you (or the script, rather) are enabling the BUILD_DOCS setting. Disabling this setting (with -DBUILD_DOCS=0 or just by removing it from the script) would address this, and so would installing Sphinx (docs here). As you found, there are other batch scripts that leave out BUILD_DOCS as well. The "release" script is likely intended to match the configuration we use to build release packages, and we do include user-facing HTML documentation in those, which requires Sphinx.

292
Some packs bundle additional scripts that DFHack doesn't include - maybe that's it?

We could probably fix and include this one, but it doesn't seem to include documentation, so I'm not quite sure what it does.

293
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: January 04, 2021, 10:10:31 pm »
Oh, well, the issue is that "C:\Program Files\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat" doesn't exist. If it did exist, it would have set up the correct paths/environment variables so that msbuild could be located.


Update: I misread. Could you check whether "C:\Program Files\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat" exists? If it does, I suspect you have issues with your 2015 build tools installation, and might need to reinstall that component. If it doesn't exist, see below:

You might need to install the Visual Studio 2015 build tools (sometimes listed as "14.0"). You can typically do this even from VS2017/2019. The link from our build docs appears to still work as well (you would want "Microsoft Build Tools 2015 Update 3" as of today). If this doesn't help, let us know so we can fix the docs!

294
DF General Discussion / Re: The game crashes while on pause. Any ideas?
« on: January 04, 2021, 08:03:07 pm »
Interesting - at this point, I might begin to suspect a physical memory issue, which programs like DF could be more likely to trigger as they use more memory. "cleanconst" does result in DF using less memory, but would be unlikely to directly solve a crash unless construction items themselves are corrupted (which I would expect to also trigger a crash when saving a game, possibly even loading it, and maybe more frequently than what you're seeing when the game is running).

I'm not trying to send you on a search for an issue that doesn't exist, of course - I'm glad you were able to fix it!

295
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: January 04, 2021, 07:58:47 pm »
Those actually all look harmless to me - CMake (maybe due to some of our dependencies) checks for a lot of files/functions, but is able to handle cases where they don't exist, and this all looks like output just from those checks to me.

I guess I'm more interested in output from the batch script itself:
I'm trying to build dfhack on windows, but win32\generate-MSVC-release.bat says there are errors.

Can you post the full console output from running the batch script? I realize it's tricky to copy text from cmd.exe sometimes - I think you can usually do it by right-clicking in the title bar (or by using a different command prompt, possibly).

296
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: January 04, 2021, 08:56:08 am »
Can you post the full error log somewhere? It looks like it's trying to include Linux headers, and I'm not sure why that would be happening if you're using MSVC. Another possibility is that these errors were produced by test programs checking whether those headers exist, in which case they would be harmless, but I would need more context to determine that.

297
DF General Discussion / Re: LET'S FIX THE WIKI! - A DF COMMUNITY PROJECT
« on: January 02, 2021, 07:49:44 pm »
It would be helpful to link to the page you're talking about - https://dwarffortresswiki.org/index.php/DF2014:Die in this case.

The bold was originally added to some list items in this revision: https://dwarffortresswiki.org/index.php?title=DF2014:Die&diff=250225&oldid=250205
And it looks like you then made everything bold in this revision: https://dwarffortresswiki.org/index.php?title=DF2014:Die&diff=253926&oldid=253922

298
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: December 30, 2020, 12:07:21 pm »
Right - the way to generate them is to set up a build environment and build DFHack (specifically, at least the "generate_headers" target). If you're only interested in the type definitions and don't need the exact headers, they are generated from df.*.xml files in https://github.com/dfhack/df-structures/ (loosely organized into separate files, as PatrikLundell mentioned). The specific class you asked about is defined here.

https://docs.dfhack.org/en/stable/docs/Structures-intro.html goes into a bit of detail about how DF-structures works, and links to some other pages.

Having the generated .h files float around on github would result in issues when you generate them locally (e.g. after updating the XML locally), unless there's a way get them to be visible on github but be exempt from source control so they are readily replaced by local generation after being downloaded (but how would that logic know when to download and when not to?).
codegen.pl will always generate new headers and replace the existing ones if necessary, although it's only run by CMake if codegen.out.xml is "out-of-date", i.e. older than the df.*.xml files. There are a couple reasons we don't include the headers in the DFHack repo:
- They're generated, and including generated files in source control usually isn't a good idea (among other reasons, it isn't necessary since the files can be generated, and it leads to larger diffs)
- They're generated from source files in another repo (from df-structures, and stored in library/include/df of the main DFHack repo), so keeping them in sync with the source files would be an additional challenge
- There are a lot of them (around 1750 as of 0.47.04-r4), so keeping them in source control would lead to rather large diffs

There is actually a CMake option that installs the generated headers (and as a result, includes them in release packages), but we haven't enabled it in a while because it leads to larger archives that take a long time for some unzipping tools to extract, and there isn't a very well-defined process for using the headers outside of DFHack currently.

299
DF General Discussion / Re: The game crashes while on pause. Any ideas?
« on: December 29, 2020, 05:44:33 pm »
That's strange - the tool you linked only works on 32-bit executables, and if you're using a 0.47.04 pack, it's almost certainly a 64-bit executable, which wouldn't have been memory-limited (in a significant way) to begin with and shouldn't be affected by that patch. I'd be surprised if that fixes it permanently. If it does actually do something to 64-bit executables as well, I remember similar tools changing the behavior of nondeterministic crashes in the past (when DF was only 32-bit), so maybe it could be affecting the timing or likelihood of a specific memory corruption issue here too.

Just in case it comes up again, you've also been able to reproduce this with DFHack completely disabled, right? (No console, no "DFHack" indicator on the title screen, etc.) Does it just happen with this save?
If that's the case, it would definitely be worth coming up with a save where the issue can be reproduced in a shorter time frame / with fewer steps, if possible, and reporting this on Mantis.

300
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r4
« on: December 29, 2020, 10:07:20 am »
gui/gm-editor?

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