Commit Graph

23 Commits

Author SHA1 Message Date
cfe4193974 Move Noita specific stuff out of JSON library
- Add JSON marshal "interface" that objects can implement
- Fix EmmyLua annotation
- Move JSON marshaler into noita-api.lua

#9
2022-07-18 11:47:59 +02:00
833ab41eeb Serialize entities to JSON
- Add JSON library that can marshal Noita entities and components
- Add Noita API wrapper that exposes entities and components as objects
- Change how the entities file is written, to support lightweight and crash proof appending of JSON data

#9
2022-07-18 01:32:44 +02:00
861272187a Change from entityID to tag for deduplication
The entityID is not unique per entity. Entites may get a new ID on reload. Or the same ID will be reused by another entity.

Attach "MapCaptured" tag to visited entities.
2022-07-17 17:26:08 +02:00
303f1a9c90 Capture entities and write into CSV file
Related issue: #9
2022-07-17 16:54:59 +02:00
4551948460 Fix coordinate systems & Prepare for entity output
- More clearly describe which coordinate system is used
- Fix screen coordinates for CAPTURE_PIXEL_SIZE != 1
- Prepare entity output file
- Fix format of comments
2022-07-17 14:39:18 +02:00
6a9c32cd99 Add different capture areas
- "Full" map capture is now "extended" map capture
- Made coordinates align with in-game chunks
- Add images for different capture modes
- Update README.md
- Add AREAS.md
2020-10-20 15:29:28 +02:00
478a6262e8 Fix chunk/pixel alignment
- Adjust coordinates, so that chunks are always in the center of the window
- Modify VIRTUAL_RESOLUTION_OFFSET_X/Y to match window output with expected coordinates
- Fix black line at the bottom of window
- Remove tile bleed/inset while stitching, as it is not needed anymore
2020-10-17 17:27:26 +02:00
151d1d88bd Use DoesWorldExistAt() to speed up capturing
- Remove any delays
- Move UI rendering into capture coroutine, so wait(...) can be reduced
- Use wait(0) instead of wait(1) in coroutines
- Use default value of STREAMING_CHUNK_TARGET
- Don't suggest to change framerate to 600 Hz
- Don't suggest to disable mTrailerMode
- Add "Done!" screen
- Update README.md

fixes #1
fixes #5
2020-06-01 22:40:47 +02:00
8cf480dc37 Optimized parameters
- Reduce CAPTURE_DELAY
- Increase STREAMING_CHUNK_TARGET
2020-05-31 18:00:24 +02:00
24fa53be27 Add countdown to UI 2020-05-31 17:59:36 +02:00
a6ff7f4bf9 Update copyright year 2020-05-30 18:16:50 +02:00
6703074900 Make compatible with nightmare mode
- Remove perks as they are not needed, and not all are available in nightmare mode
2019-11-28 21:05:50 +01:00
6065c26266 Prevent monitor standby & Update README.md 2019-11-03 23:13:55 +01:00
12ea3f83ae Optimizations
- Update README.md
- GameSetCameraPos(x, y) several time while waiting to get all chunks loaded
- Fix tile output coordinates (Top left corner coordinates instead of center)
- Hide some ui parts by default
2019-11-03 00:58:03 +01:00
8cf46232de Several updates
- Add full map capture mode
- Show error on screen if screencapturing failed
- Add additional frame delay for jumps larger than the grid size
- Show progress for map capture mode
- Tweak streaming chunk target
- Update README.md
2019-11-02 21:37:10 +01:00
c87a4d05d0 Several updates
- Change virtual resolution to 1280x720
- Change virtual to screen pixel ratio to 1:1
- Increase grid size to 420
- Make the mod capture only the window (and only the client area)
- Increase STREAMING_CHUNK_TARGET, so that chunks don't unload after some frames
- Add ingame warnings for wrong settings, and information how to fix these
- Update README.md
2019-11-01 02:40:21 +01:00
b923ee6f51 Update capture script
- Make it possible to free roam before capturing
- Show coordinates (Also while capturing)
- Disable grid updates and some other magic number adjustments
2019-10-25 17:29:52 +02:00
1a4700eba3 Make it possible to resume the capture process 2019-10-23 20:03:03 +02:00
117054bdf5 Reduce UI clutter
- Don't create perk icons
- Reduce health
- Adjust capture grid size
2019-10-23 03:25:38 +02:00
607b16e5d2 Update for newest noita
- Disable sandbox limitations
- Refactor some code, clean it up
- Make coroutines work inside the mod
2019-10-22 22:48:43 +02:00
dbcab2ffc6 Start work on tile stitcher 2019-10-21 02:07:39 +02:00
99ad91e67c Several changes
- Don't change effects, as it's not needed anymore
- Add capture library to be loaded by lua (go and PureBasic)
- Modify pixel size, to nicely fit into FullHD
- Move camera instead of player
- Add capturing routine
- Round position to fit into grid, and also render the world pixel perfect
- Add util/helper functions
2019-10-20 16:28:17 +02:00
9b52f9e410 Implement spiral movement
Also:
- Disable polymorphing, teleportation
- Decrease camera smoothing
- Disable infuence of the mouse on the camera
- Disable parallax effect
- Add some useful effects to player
- Increase player HP
2019-10-18 22:35:51 +02:00