








(edited)

(edited)






1







































































































































adb if you know how to use it: https://stackoverflow.com/a/73755053
Though I'm not sure how useful it will be, as the test versions were probably not compiled with debug symbols.adb logcat and then launch the app to capture the stack trace when it crashes













Odin has pointers. A pointer is a memory address of a value. The type ^T is a pointer to a T value. Its zero value is nil.
p: ^int
The & operator takes the address of its operand (if possible):
i := 123
p := &i
The ^ operator dereferences the pointer’s underlying value:
fmt.println(p^) // read `i` through the pointer `p`
p^ = 1337 // write `i` through the pointer `p`
Note: C programmers may be used to using * to denote pointers. In Odin, the ^ syntax is borrowed from Pascal. This is to keep the convention of the type on the left and its usage on the right:
p: ^int // ^ on the left
x := p^ // ^ on the right
Note: Unlike C, Odin has no pointer arithmetic. If you need a form of pointer arithmetic, please use the ptr_offset and ptr_sub procedures in the "core:mem" package.

































<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
in the manifestIntents





















































cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DHEADLESS_CLIENT=On -DPREFER_BUNDLED_L
IBS=On -DVULKAN=Off -DVIDEORECORDER=Off -DWAVPACK_CLOSE_FILE=Off
this is my current cmake command (edited)./DDNet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./DDNet)
./DDNet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./DDNet)
libSDL2-2.0.so.0 => not found
libopusfile.so.0 => not found
libopus.so.0 => not found
libogg.so.0 => not found
output of ldd DDNet | grep "not found" (edited)





LD_LIBRARY_PATH=. I guess

if(CLIENT in CMakeLists.txt, most of the find_package etc should not run for HEADLESS_CLIENT




time/usr time, in this case the usr time is the significant one
size load load+save
zlib 231M 34s 174s
zlib-ng6 238M 12s 67s
zlib-ng7 225M 89s
zlib-ng8 216M 119s
zlib-ng9 209M 186s
imo, the compression level 7 looks reasonable. what do you think?



$optimize in the testing channels sometimes increased the file size, which was the result of the backend change


$optimize in the testing channels sometimes increased the file size, which was the result of the backend change 







LD_LIBRARY_PATH=. I guess ./DDNet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./DDNet)
./DDNet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./DDNet)
./DDNet: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./libSDL2-2.0.so.0)
./DDNet: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by ./libSDL2-2.0.so.0)