Gynt
Gynt
Needs a binary analysis (pre and post), to see what is changed!
Hi gynt, i took a closer look at the positions (why i used x-99...): Only the default values are flipped for the function "to_json". Currently: "invert_x=True, invert_y=False" To work with...
Converting images to grayscale (e.g., one byte per pixel) is a hassle for users depending on the software installed. Can opencv handle this?
Perhaps something like this: ```py import ctypes, numpy addr = 0x401000 # example addr_type = ctypes.POINTER(ctypes.c_int * 101) # example pObj = ctypes.cast(addr, addr_type) obj = pObj.contents mv = memoryview(obj)...
https://github.com/sourcehold/sourcehold-maps/blob/e33d827c2bc90e733f46e62619458f7fe4588e01/sourcehold/tool/memory/map/terrain/__init__.py#L58 This piece of code writes a very clean logic layer to memory. It overrides what is already there. Instead, it should load everything from memory and just unset things...
The black color is confusing although technically correct.
Needs more colors
For example the edge doesn't display cliffs correctly unless reloaded.
I noticed an Access Violation causing my app to crash. I added some debug lines to `cdata_meta::gc()` so it reports which object it is trying to collect before it crashes....
```lua cffi.cdef([[ struct A { int a; int b; }; ]]) array = cffi.new("struct A[10]", {}) element = array[4] cffi.fill(element, cffi.sizeof("struct A"), 0) -- access violation ``` To avoid this,...