Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 170 171 [172] 173 174 ... 184

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

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2565 on: September 19, 2018, 03:35:39 pm »

[TILESET:TIER_5.png:TIER_5.png:tier5]
[OVERRIDE:234:B:STATUE:Statue::tier5:R:11:0:1:2:3:4:5:6:7:8:9:10::::SANDSTONE]
[OVERRIDE:239:B:SLAB:Slab::tier5:R:5:11:12:13:14:15::::SANDSTONE]
[OVERRIDE:234:B:STATUE:Statue::tier2:R:11:44:45:46:47:48:49:50:51:52:53:54]
[OVERRIDE:239:B:SLAB:Slab::tier2:R:5:55:56:57:58:59] - Why this crash entire game?
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Text Will Be Text - dfhack plugin
« Reply #2566 on: September 20, 2018, 02:13:02 am »

Try this:
[TILESET:TIER_5.png:TIER_5.png:tier5]
[OVERRIDE:234:B:STATUE:Statue::tier5:R:11:0:1:2:3:4:5:6:7:8:9:10:::INORGANIC:SANDSTONE]
[OVERRIDE:239:B:SLAB:Slab::tier5:R:5:11:12:13:14:15:::INORGANIC:SANDSTONE]
[OVERRIDE:234:B:STATUE:Statue::tier2:R:11:44:45:46:47:48:49:50:51:52:53:54]
[OVERRIDE:239:B:SLAB:Slab::tier2:R:5:55:56:57:58:59] - Why this crash entire game?

The version you posted shouldn't crash the game though, no idea why it would do that. Worst that should happen is no overrides for the sandstone statue/slab.
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 #2567 on: September 20, 2018, 05:14:08 am »

Try this:
[TILESET:TIER_5.png:TIER_5.png:tier5]
[OVERRIDE:234:B:STATUE:Statue::tier5:R:11:0:1:2:3:4:5:6:7:8:9:10:::INORGANIC:SANDSTONE]
[OVERRIDE:239:B:SLAB:Slab::tier5:R:5:11:12:13:14:15:::INORGANIC:SANDSTONE]
[OVERRIDE:234:B:STATUE:Statue::tier2:R:11:44:45:46:47:48:49:50:51:52:53:54]
[OVERRIDE:239:B:SLAB:Slab::tier2:R:5:55:56:57:58:59] - Why this crash entire game?

The version you posted shouldn't crash the game though, no idea why it would do that. Worst that should happen is no overrides for the sandstone statue/slab.
The problem was in a quantity of my overrides. TWBT needs loading screen.
Logged

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2569 on: September 20, 2018, 06:59:29 am »

I made a little reseach and found that crash causes Windows that find peak of CPU (when DF loading textures) and don't see response of DF, then closes programm. DF less crashing, if on mashine no other programms.
« Last Edit: September 20, 2018, 07:02:02 am by waterphage13 »
Logged

waterphage13

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2570 on: September 20, 2018, 07:29:40 am »

The problem was in a quantity of my overrides. TWBT needs loading screen.

What exactly does it mean?
Английский, к сожалению, не мой родной язык.
Я провёл небольшое исследование и заметил связь вылетов и нагрузки на процессор во время загрузки текстур. Если нагрузка становится выше критической, то включается функция поиска зависающих приложений. DF не даёт отчёта (интро идёт после загрузки текстур), система  паникует и вырубает DF.
Когда текстур 10-20 это не заметно, но если их тысячи?
« Last Edit: September 20, 2018, 07:33:02 am by waterphage13 »
Logged

Erendir

  • Bay Watcher
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2571 on: September 20, 2018, 08:53:57 am »

The problem was in a quantity of my overrides. TWBT needs loading screen.

What exactly does it mean?
Английский, к сожалению, не мой родной язык.
Я провёл небольшое исследование и заметил связь вылетов и нагрузки на процессор во время загрузки текстур. Если нагрузка становится выше критической, то включается функция поиска зависающих приложений. DF не даёт отчёта (интро идёт после загрузки текстур), система  паникует и вырубает DF.
Когда текстур 10-20 это не заметно, но если их тысячи?

rough translation:

Quote
Unfortunately, English isn't my naive language.
I did a small research and did notice a correlation between crashes and CPU usage when the textures are loading. If the CPU usage exceeds some critical boundary, a [OS] function starts, which looks for hanging applications. DF doesn't react [to OS request] (intro starts after texture loading), the OS panics and shuts DF down.
When there are 10 to 20 textures, it [the loading time] isn't noticeable, but what if there are 1000s of them?
Logged

DragonDePlatino

  • Bay Watcher
  • [HABIT:COLLECT_WEALTH]
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2572 on: September 20, 2018, 09:19:15 am »

Yes, DF does tend to crash if TWBT hangs for too long. I've found this can be an issue if you're exploring densly-populated areas in Adventure Mode. Without TWBT, the screen can lock up for a few moments whenever the screen is scrolling. With TWBT and even only one or two overrides, this pause becomes long enough to cause that OS function to cut DF.

If DF doesn't crash, then usually TWBT stops working and all onscreen tiles revert back to ASCII. I don't get these crashes when I remove overrides.txt or play Fortress Mode so presumably it's not an issue with raws. I do have a pretty mediocre APU though, so that might be the cause.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Text Will Be Text - dfhack plugin
« Reply #2573 on: September 20, 2018, 09:38:59 am »

I have slightly different experiences. When I first load a map (start a new fort, load a save, etc), the game hangs for 1-2 seconds (Windows claims it's unresponsive), but then proceeds as if nothing happened. It doesn't crash because of this, just hangs for a tiny bit.
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 :::

Pvt. Pirate

  • Bay Watcher
  • Dabbling Linux User
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2574 on: September 20, 2018, 11:49:34 am »

I have slightly different experiences. When I first load a map (start a new fort, load a save, etc), the game hangs for 1-2 seconds (Windows claims it's unresponsive), but then proceeds as if nothing happened. It doesn't crash because of this, just hangs for a tiny bit.
same. it even hangs for up to 5 seconds when embarking or loading a savegame in fortress mode. during that time if i hadnt closed DF completely, it shows the last screen TWBT showed (the latest active fort).
Logged
"dwarves are by definition alcohol powered parasitic beards, which will cling to small caveadapt humanoids." (Chaia)

DragonDePlatino

  • Bay Watcher
  • [HABIT:COLLECT_WEALTH]
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2575 on: October 20, 2018, 10:42:23 pm »

Bug report: I'm designing a tileset and I want to use some graphics from the default text tileset as placeholders for a release. If I create an override that uses the default 'text' tileset, DF silently crashes whenever these overridden tiles come into view.

My temporary solution has been to create a copy of the text tileset and use that instead. It resolves the crashes, but it feels wasteful of texture space and makes things more difficult to maintain because any changes to the text tileset need to be duplicated in both files.

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: Text Will Be Text - dfhack plugin
« Reply #2576 on: October 23, 2018, 04:08:13 pm »

Bug report: I'm designing a tileset and I want to use some graphics from the default text tileset as placeholders for a release. If I create an override that uses the default 'text' tileset, DF silently crashes whenever these overridden tiles come into view.

Will be fixed in the next build.

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2578 on: October 28, 2018, 08:53:13 am »

Nice, that should make it possible to export graphical sets to dfma.

DragonDePlatino

  • Bay Watcher
  • [HABIT:COLLECT_WEALTH]
    • View Profile
Re: Text Will Be Text - dfhack plugin
« Reply #2579 on: October 29, 2018, 08:01:25 pm »

Will be fixed in the next build.

Thanks for the fix! This'll be a big help in reducing the number of files to keep track of. Also the new mapshot features looks great. That will streamline creating tileset previews a lot.
Pages: 1 ... 170 171 [172] 173 174 ... 184