


ivec2(env_indices.y) is not the same as ivec2(env_indices.y, 0)












setx VK_ICD_FILENAMES .\\lvp_icd.x86_64.json
in powershell
it indeed works
lvp_icd.x86_64.json and vulkan_lvp.dll into the root dir of the project (see image)
3.  in powershell type: 
setx VK_ICD_FILENAMES .\\lvp_icd.x86_64.json
4. start (edited)



























enum ETimeSeason and time_season function. This unifies the logic for detecting these events and seasons in one function. This allows adding support for special easter, halloween and xmas theme maps in the future. The localtime function is not used outside system.c anymore. The code for detecting easter is taken from upstream.





















































































 1



















 i do love typescript as well















scons . and wait for 10 minutes 



































cl_race_ghost_strict_map








































2023-10-28 16:56:20 T datafile: loading data. index=0 size=18 uncompressed=10
2023-10-28 16:56:20 I sound/opus: failed to open file. filename='mapres/bg_cloud1.opus'
2023-10-28 16:56:20 T datafile: loading data. index=0 size=18 uncompressed=10
2023-10-28 16:56:20 I sound/opus: failed to open file. filename='mapres/bg_cloud1.opus'
2023-10-28 16:56:20 T datafile: loading data. index=1 size=18 uncompressed=10
2023-10-28 16:56:20 I sound/opus: failed to open file. filename='mapres/bg_cloud2.opus'
2023-10-28 16:56:20 T datafile: loading data. index=3 size=22 uncompressed=14
2023-10-28 16:56:20 I sound/opus: failed to open file. filename='mapres/grass_doodads.opus'
2023-10-28 16:56:20 T datafile: loading data. index=4 size=19 uncompressed=11
2023-10-28 16:56:20 I sound/opus: failed to open file. filename='mapres/grass_main.opus'
2023-10-28 16:56:20 T datafile: loading data. index=5 size=18 uncompressed=10
2023-10-28 16:56:20 I sound/opus: failed to open file. filename='mapres/mountains.opus'
2023-10-28 16:56:20 T datafile: loading data. index=8 size=29716 uncompressed=30604
2023-10-28 16:56:20 I sound/opus: failed to decode sample
2023-10-28 16:56:20 E mapsounds: Failed to load map sound 107: failed to load name.
2023-10-28 16:56:20 E mapsounds: Failed to load map sound 108: failed to load name.
2023-10-28 16:56:20 E mapsounds: Failed to load map sound 109: failed to load name.
2023-10-28 16:56:20 E mapsounds: Failed to load map sound 110: failed to load name.











std::vector<CSourceQueueEntry> m_vSourceQueue; was getting corrupted















datafile.cpp)CDataFileReader::Open
buffer = data_buffer.slice(data_offsets[x], (data_offsets[x + 1] if x + 1 < data_offsets.size() - 1 else header.data_size))data_elements: [[216, 224, 223, 75, 106, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0], [], [216, 224, 223, 75, 106, 0, 0, 0, 12, 0, 0, 0], [], [216, 224, 223, 75, 106, 0, 0, 0, 13, 0, 0, 0, 0], [], [216, 224, 223, 75, 106], [], [], [], [], [], [], [], [], [], [], []]
data_sizes: [15, 4194304, 12, 4194304, 13, 5767168, 5, 152, 152, 2432, 152, 304, 36000, 40000, 40000, 40000, 40000, 40000]






data_element.append(buffer.decompress(data_sizes[x], 0))


buffer = data_buffer.slice(data_offsets[x], (data_offsets[x + 1] if x + 1 < data_offsets.size() - 1 else header.data_size)) [x] instead of [x + 1], might ofc be different in godot












        var map_data : Array = []
        for x in range(header.num_data):
            var buffer : PackedByteArray
            if data_offsets.size() < x:
                buffer = data_buffer.slice(data_offsets[x])
            else:
                buffer = data_buffer.slice(data_offsets[x], (data_offsets[x + 1] if x + 1 < data_offsets.size() - 1 else header.data_size))
            if version_header.version == 4:
                map_data.append(buffer.decompress(data_sizes[x], 1))
            else:
                map_data.append(buffer) (edited)
if data_offsets.size() < x:
    buffer = data_buffer.slice(data_offsets[x])




 could you add add at least 2


 could you add add at least 2 



















 1



wgpu help me find the problem with textures please? 




Surface supports only Bgra8Unorm/Bgra8UnormSrgb formats but all my code is designed to work with Rgba8UnormRgba, the code worked perfectly yesterday and i am losing my mind over this 

Some(Rgba8UnormSrgb) to the RenderPassDescriptor?
SurfaceConfiguration?



FragmentState and also in the render pass creation by the looks of it https://docs.rs/wgpu/latest/wgpu/struct.ColorTargetState.html#structfield.format













 1







--./DDNet.x86_64 -- path/to/map
Loader.gd:73 @ load(): Current index: 2112   Data size: 583393   Buffer size: 585504   Last entry: 245   Expected entry: 218







 
godot/rust.gdextension, but by the look of the file it should already use release on release builds o.o




























VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay ./binary





















































































