Commit Graph

137 Commits

Author SHA1 Message Date
WUOTE
42f3af0655 Add support for Epilogue 2 Main branch Build Apr 8 2024 18:11:27 2024-04-10 05:14:07 +06:00
4e79c08e6a Add support for new Noita beta
- Add support for `Build Apr  6 2024 20:50:04`
- Add support for `Build Apr  6 2024 20:54:23`
2024-04-06 23:28:56 +02:00
04eeca26e2 Rename parallel world capture areas 2024-03-26 12:11:32 +01:00
ae6bcd9743 Add -1 and +1 parallel world capture area 2024-03-26 12:07:50 +01:00
920288614b Add support for Mar 25 2024 update
- Add support for `Build Mar 25 2024 17:42:49`
- Add support for `Build Mar 25 2024 17:48:04`
2024-03-25 23:02:34 +01:00
c0fd7aab56 Fix capture grid calculation
The capture grid calculation takes now the rendering rectangle into consideration.
With this fix the capture grid will include all cells that overlap with the given capture rectangle.
2024-02-21 17:55:24 +01:00
20d7c330a6 Add new capture area preset
"3 Worlds" does contain the base layout of a "New Game", but 9 times (3x3).
2024-02-20 18:02:21 +01:00
05e6b18745 Add support for Noita build Build Feb 14 2024 07:46:57 2024-02-20 17:43:25 +01:00
WUOTE
8b2fe81f42 Add support for Build Feb 12 2024 19:07:19 (beta branch) 2024-02-17 02:08:30 +06:00
WUOTE
a9141679f4 Add compatibility for beta build (Feb 9 2024) 2024-02-12 00:01:30 +06:00
690a2c55ab Add support for newest main builds of Noita
`Build Jan 18 2024 12:57:44` and `Build Jan 18 2024 13:01:21`.
2024-02-10 12:50:15 +01:00
b4dca53fc8 Update capture process
- When being in `CaptureDelay` mode, just shake viewport a little bit
- When DoesWorldExistAt still does return false after 600 frames, move viewport to somewhere else, and try again.
2024-02-08 16:27:57 +01:00
b1a10870c1 Several changes
- Add compatibility for newest Noita beta
- Modify STREAMING_CHUNK_TARGET, GRID_MAX_UPDATES_PER_FRAME and GRID_MIN_UPDATES_PER_FRAME magic numbers for a more robust capturing process
- Add LimitGroup to util.go
- Add webp-level command line flag to define the webp compression level
- Rework progress bar to make it work in DZI export mode
- Refactor image exporter functions
- Use LimitGroup to make DZI export multithreaded
- Add BlendMethodFast which doesn't mix tile pixels
- Up Go version to 1.22
- Use Dadido3/go-libwebp for WebP encoding
2024-02-08 00:50:11 +01:00
47d570014d Make addon compatible with newest Noita beta 2024-02-05 22:31:56 +01:00
421f897be7 Let camera shake when it's waiting for a capture
For some reason this improves chunk loading.
2024-02-05 22:31:30 +01:00
9e51538f3f Add setting to delay screen captures
This is useful to let the world populate and let the physics simulation settle down.
2024-02-05 18:10:10 +01:00
24a1615706 Prevent duplicate modification entries in message 2024-02-05 16:14:48 +01:00
93a1283188 Add more PostFX stuff to disable
- Disable additive_overlay_color
- Disable color_grading

This prevents any color shift that may happen on freezing/snowing weather.
Which only happens in December, January or February.
2024-02-05 00:03:55 +01:00
ace1ab145a More QOL updates
- Give user the option to reapply resolution settings on detected mismatch
- Tell user to apply some modifications manually, if the mod can't do it automatically
- Always set mTrailerMode when DEBUG_PAUSE_GRID_UPDATE is set to prevent chunks from not rendering
2024-01-30 15:01:20 +01:00
4f3f5c594d Some QOL improvements
- Always try to disable `application_rendered_cursor`
- Only disable fullscreen when custom resolution is enabled in mod settings
- Update Message:ShowWrongResolution message
- Update README.md
2024-01-29 16:27:06 +01:00
44605b9633 Move coroutine wakeup back into OnWorldPreUpdate 2024-01-05 18:43:10 +01:00
d5cd88a30e Capture directly from OpenGL framebuffer
- Update capture.dll to read via glReadPixels
- Move coroutine wake up into OnWorldPostUpdate
- Update resolution checks for new capturing method
- Remove fullscreen mode check
- Increase screen capture delay
2024-01-04 19:36:36 +01:00
9da52a3f70 Add compatibility with new beta versions
- `Build Dec 30 2023 19:37:04`
- `Build Dec 30 2023 19:40:49`
2023-12-30 23:21:26 +01:00
e83aa6803a Add support for new Noita versions
- Add support for Build Dec 29 2023 23:36:18
- Add support for Build Dec 29 2023 23:40:18
2023-12-30 14:05:16 +01:00
f7426f3ed5 Don't modify GRID_MAX and MIN magic numbers 2023-12-30 13:58:39 +01:00
478e1284fb Add code that stops grid updates in regular build
This is not exposed to the end user yet, as it is buggy.
2023-12-30 13:34:13 +01:00
8bb8adf1ba Scan world line by line instead of using hilbert curve
This should prevent some glitches due to the way Noita generates the world.
2023-12-28 17:47:36 +01:00
905f629d2c Add support for newer Noita builds
- Add Build Dec 19 2023 18:34:31 support
- Add Build Dec 19 2023 18:38:23 support
- Add Build Dec 21 2023 00:07:29 support
- Add Build Dec 21 2023 00:11:06 support
2023-12-21 13:42:25 +01:00
8f729d3829 Add support for the Jul 26 2023 beta 2023-07-27 10:40:41 +02:00
a6a0cc14e1 Make compatible with Jun 19 2023 builds
Also change how the matching works, as offsets may not change between builds.

fixes #22
2023-06-21 18:43:57 +02:00
d69177cd3b Hide "Disable mod detection" in dev build 2023-04-17 11:19:16 +02:00
f992748443 Add compatibility with Mar 11 2023 build
closes #21
closes #20
2023-04-16 19:13:53 +02:00
b22b42a8d1 Update message text
- Add possible fix to "resolution changed" message
2023-03-15 23:58:50 +01:00
f1a3010d72 Fix exception with memory modification 2023-03-15 23:57:17 +01:00
9494588e7b Add example code for killing/removing creatures 2023-02-25 13:51:17 +01:00
f964f5d769 Remove debug print
Getting error when starting new game #16
2022-08-29 16:21:50 +02:00
28a768a130 Fix package.path separators
Getting error when starting new game #16
2022-08-29 16:21:01 +02:00
959b198e46 Fix typos 2022-08-27 14:32:01 +02:00
18682ed441 Fully implement "disable-mod-detection" setting
- Catch exceptions in OnPausedChanged
- Unhide "disable-mod-detection" setting
- Add error message for unsupported modifications
- Change memory modification lookup to contain functions
- Don't (re)enable mod detection automatically
- Add memory.lua library that allows to change the protection of memory regions.
2022-08-27 14:07:37 +02:00
7a4dbeddf1 Fix output pixel scale option
- When set to 0, correctly use the actual pixel scaling factor
- Scale player path by pixel scale factor
2022-08-11 10:56:24 +02:00
1e5249d436 Add player path tracking and drawing in live mode 2022-08-10 20:41:57 +02:00
9406b598f8 Change JSON number formatting to be more conform 2022-08-08 22:07:00 +02:00
baea6292f1 Test to disable mod detection 2022-08-08 02:54:48 +02:00
85144f4b8f Change free camera speed 2022-08-08 02:52:49 +02:00
99fd8ce94f Add more API functions to wrapper 2022-08-07 22:31:09 +02:00
5884b49518 Prepare for 2.0 release
- Update README.md
- Add "Open stitch directory" button
- Add message box example
- Add example settings
2022-07-30 19:10:48 +02:00
403167b366 Fix compatibility stuff
- Make dofile more conform to standard lua
- Move dofile from live-reload.lua to compatibility.lua
- Let dofile and require throw errors on script errors
- Fix bug in recursion detection
- Remove Noita's dofile annotation
- Fix some EmmyLua annotations
- Improve print replacement
2022-07-30 00:32:11 +02:00
e863ba459b Split UI message text to fit on screen 2022-07-29 22:49:12 +02:00
eb552537c2 Improve capturing
- Center viewport to grid cells, not chunks
- Check window size when taking screenshot
2022-07-29 22:48:42 +02:00
3fa95de8e6 Add capture grid size check
- Check if capture grid size is smaller than the virtual resolution
- Automatically close resolved messages
2022-07-29 20:44:36 +02:00