Commit Graph

253 Commits

Author SHA1 Message Date
cbdd925c30 Correct image.Rectangle downscaling 2023-12-23 01:09:50 +01:00
a0168df91f Change export functions to use image.Image 2023-12-23 01:09:23 +01:00
182373d3cc Refactor export functions
- Pass output path as parameter
- Return and handle errors correctly
2023-12-22 11:03:04 +01:00
0454e29e34 Add JPEG encoder 2023-12-22 10:13:22 +01:00
a70a5a4d1a Prepare stitcher for multiple output formats 2023-12-22 10:07:02 +01:00
f5a3bad396 Update dependencies
- Push minimal go version to 1.21
- tdewolff/canvas compatibility updates
2023-12-21 14:04:50 +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
David Vogel
b11b27d6c3
Merge pull request #23 from Dadido3/dependabot/go_modules/golang.org/x/image-0.10.0
Bump golang.org/x/image from 0.5.0 to 0.10.0
2023-11-02 22:37:41 +01:00
dependabot[bot]
6ef2f7d1d3
Bump golang.org/x/image from 0.5.0 to 0.10.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.5.0 to 0.10.0.
- [Commits](https://github.com/golang/image/compare/v0.5.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 21:34:11 +00: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
2b0f6a25f6 Remove travis build status 2023-04-17 11:21:49 +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
22b5c1827d Merge branch 'master' of https://github.com/Dadido3/noita-mapcap 2023-03-15 23:58:57 +01: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
David Vogel
ad50faebc9
Merge pull request #19 from Dadido3/dependabot/go_modules/golang.org/x/image-0.5.0
Bump golang.org/x/image from 0.0.0-20220617043117-41969df76e82 to 0.5.0
2023-03-06 23:45:06 +01:00
dependabot[bot]
c72574c55d
Bump golang.org/x/image from 0.0.0-20220617043117-41969df76e82 to 0.5.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20220617043117-41969df76e82 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 22:43:26 +00:00
9494588e7b Add example code for killing/removing creatures 2023-02-25 13:51:17 +01:00
7a85f646cb Merge branch 'master' of https://github.com/Dadido3/noita-mapcap 2023-02-25 13:16:12 +01:00
d8dab5c318 Update README.md 2023-02-25 13:16:09 +01:00
David Vogel
b1971bb4be
Merge pull request #18 from Dadido3/dependabot/go_modules/golang.org/x/text-0.3.8
Bump golang.org/x/text from 0.3.7 to 0.3.8
2023-02-23 11:31:18 +01:00
dependabot[bot]
1652b278cb
Bump golang.org/x/text from 0.3.7 to 0.3.8
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 10:24:04 +00:00
486f8e642d Update README.md 2022-09-06 11:33:42 +02: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
28c07dfd25 Merge branch 'master' of https://github.com/Dadido3/noita-mapcap 2022-08-13 13:58:52 +02:00
fcfd8c88ff Add Voronoi blend method 2022-08-13 13:58:50 +02:00
David Vogel
6761492ea8
Create FUNDING.yml 2022-08-12 23:25:35 +02:00
615faac8e4 Ensure the github action uses at least go 1.19 2022-08-12 14:03:08 +02:00
72f8e92412 Prepare for new release
- Add new title image
- Rename tile-limit parameter to blend-tile-limit
- Update README.md
2022-08-12 13:14:18 +02:00
b2ed6f65d5 Use butt cap for player path drawing 2022-08-12 11:40:20 +02:00
c9d2a37903 Fix all possible data races
- Update to go 1.19 for new atomic types
- Use atomic for StitchedImage query counter
- Make sure that we don't copy any tile objects
2022-08-12 11:39:55 +02:00
65f7cb4e60 Improve stitching speed and resource usage
- Use QuickSelect algorithm for median filtering
- Use lists of uint8 instead of int for median filtering
- Fix GridifyRectangle
- Remove HilbertifyRectangle
- Add profiling.go
- Remove Profile.bat
- Add median blend tile-limit flag
- Print stitch duration
- Reduce StitchedImage cache image height
- Reduce StitchedImageCacheGridSize
- Improve StitchedImage caching
- Improve ImageTile caching
- Separate entity and entities
- Update stitcher README.md
- Add comments
2022-08-12 01:06:22 +02:00
c3f841a4ff Remove cleanup mode from stitcher 2022-08-11 11:59:53 +02:00
f5693b96f1 Remove old blend functions 2022-08-11 11:48:17 +02:00
df6c27924b Change from blend func to interface
- Combine all previous blend modes into one blend method
- Optimize BlendMethodMedian
2022-08-11 11:47:18 +02:00
3a73e13fb7 Refactor and improve stitcher
- Replace MedianBlendedImage with StitchedImage, a general implementation of a stitcher
- Don't use hilbert curve when regenerating cache image
- Cut workload rectangles to be always inside the cache image boundaries
- Rename stitch.go to main.go
- Add interface for overlays
- Change how overlays are handled and drawn
- Reduce error returns to simplify a lot of code
- Add several blend functions
- Remove offset field from image tile
2022-08-11 11:10:07 +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
7d250d6405 Remove pre-render mode from stitcher & Cleanup 2022-08-10 21:04:17 +02:00
cd1428706e Update stitcher README.md 2022-08-10 20:47:59 +02:00
1e5249d436 Add player path tracking and drawing in live mode 2022-08-10 20:41:57 +02:00
0044075cbf Draw entities and their component's bounding boxes 2022-08-08 23:05:58 +02:00
9406b598f8 Change JSON number formatting to be more conform 2022-08-08 22:07:00 +02:00
6f2be8486e Fix image caching 2022-08-08 12:36:55 +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