ChunkyChunks - Configurable Gridlines

by Qon

Chunk aligned blueprints? Display chunk lines without the annoying tile lines that the debug option adds. Configurable grids at any sizes if your blueprints are substation, chunk, roboport or radar sized (or any other size)!

Utilities
22 days ago
0.17 - 2.0
8.40K

g Update for Factorio 2.0

a month ago

Hi, are there any plans to update this for 2.0?

I'd like to see gridlines whenn zoomed out in the map view ^^

a month ago

Yes

28 days ago

期待您的更新~

28 days ago
(updated 28 days ago)

TWIMC
I provided a patch series but since I can not upload files here I will give you some guidance to fix your local installation in the mean time.

settings.lua

  • Enclose numeric default_value's in single quotes

data.lua

  • Replace the curly braces stuff after icon with the path given in filename while also removing the line break
  • Copy the icon line and rename it small_icon

control.lua

  • Replace global with storage (Find/Replace in your preferred text editor)
  • Replace game.table_to_json with helpers.table_to_json

info.json

  • Set factorio_version to 2.0

No guarantee that this fixes all features but it made chunkychunks work again with 2.0 and my settings

28 days ago

Thanks, brutzzl3r!

25 days ago

Looking forward to 2.0 update.
All my rail blueprints are broken and I need "the grid" to redo it.

24 days ago

I assume we'll need the multi-surface fix/change, just hoping that's not too much of a rework ... but either way, happy to wait. Love the mod, thanks!

24 days ago

Looking forward to 2.0 update.
All my rail blueprints are broken and I need "the grid" to redo it.

I guess this mod should be my main priority to fix.

@brutzzl3r if you haven't had any issues I might just do these and release with absolute minimal testing. :^)

I assume we'll need the multi-surface fix/change, just hoping that's not too much of a rework ... but either way, happy to wait. Love the mod, thanks!

The mod worked fine with multiple surfaces before SA, so that shouldn't be a problem. Well there were some performance issues with an extreme amount of tiny surfaces (Factorissimo), but for SA it isn't as extreme. But if I can auto-disable it for space platforms then that would help as well.

I appreciate these daily reminders that people like my mod though ^_^

24 days ago
(updated 24 days ago)

Using @brutzzl3r's fix, I get the following error when I press the chunk icon in the shortcut panel:

The mod ChunkyChunks - Configurable Geodesic Grid (1.5.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ChunkyChunks::on_tick (ID 0)
LuaRendering doesn't contain key destroy.
stack traceback:
[C]: in function 'index'
__ChunkyChunks
/control.lua:245: in function <ChunkyChunks/control.lua:217>

The same happens when I try to change the display setting in the configuration menu. Toggling with ALT mode works, but it's not ideal.

24 days ago

Thanks, good to know. So they renamed that api call then.

23 days ago

Qon you cannot begin to imagine how important this mod is for our sanity!
I tried updating it the other day but I couldn't figure out the shortcut error and gave up. This isn't me begging for an update, but me cheering you on in hopes you manage to get it sorted soon!

23 days ago
(updated 23 days ago)

you need to replace
rendering.destroy(id)
with id.destroy() and it will be fixed

22 days ago
(updated 22 days ago)

@Qon: I applied all necessary fixes and committed them here: https://github.com/IeuanK/ChunkyChunks/commit/ecab335f1a0fd87b170b3a5c8326afc080eb77e6

Successfully tested the toggle button and hotkey, but it looks like the per-grid enable/disable setting isn't working. Otherwise it's fully functional

Edit: I see now that my commit isn't fully clean, as my initial fix was to change the string settings to doubles, so that 'revert' is in the update commit.

22 days ago
(updated 22 days ago)

Cool stuff @leuan, good to be able to see the diff and all. Since you got it working and uploaded my other mod handyhands working version to portal for the 1.1 under diff mod id, maybe you would like to be collaborator so you can get the fixes to everyone right here? And then I don't have to do the same changes and can focus on more advanced multisurface performance optimizations and other tricky stuff :)

Or if anyone else who is capable and want to the collab position is open! @brutzzl3r maybe?
@osiymk you also have experience with fixing mods.

22 days ago

The settings are strings because you can have 2 numbers separated by space for different settings for width and height if you want to.

22 days ago

Cool stuff @leuan, good to be able to see the diff and all. Since you got it working and uploaded working version to portal under diff mod id, maybe you would like to be collaborator so you can get the fixes to everyone right here? And then I don't have to do the same changes and can focus on more advanced multisurface performance optimizations and other tricky stuff :)

I haven't uploaded it to the mod portal yet, just github, but I'd be happy to collaborate! If you have a github repo set up you can add me to it, and you can also add me on discord (same username but lowercase; ieuan) if you wish

22 days ago

I don't have a github for any mod yet. I should fix that though, at least for my bigger mods. I'm on my phone, but I can set up collab now. And my discord is sentientattribute if you need to chat about technical details that might not fit for a thread like this. Though you can write in this thread and board if you prefer.

22 days ago

@Ieuan invited you as collaborator. If there's no crashes or other annoying major bugs then upload when you are ready.

22 days ago

Done!

22 days ago

Cool! Thanks!

22 days ago

Thank you very much for the update!

This mod is super helpful.

New response