Exhibit A: lua_files.pk3
This file was generated by a tool made in C#. This archive has two files inside the Lua directory, named test1.lua and test2.lua.
Expected Behavior
The game should load the test1.lua file, and then the test2.lua file. The test1.lua file should continuously print the string "first file" into the console, and the test2.lua file should continuously print the string "second file" into the console.
Actual Behavior
Only the test2.lua file loads. The only string that is printed into the console is "second file".
Cause
The test1.lua file is simultaneously a file and the start of a folder.
Exhibit B: lua_files_winrar.pk3
This file was created by WinRAR. This archive has the same files as lua_files.pk3.
Expected Behavior
Same as lua_files.pk3.
Actual Behavior
The game refuses to start-up, and prints this message into the the log file.
Exhibit C: lua_files_slade.pk3
This file is lua_files.pk3, saved by SLADE.
Expected Behavior
Same as lua_files.pk3.
Actual Behavior
The game properly loads the test1.lua file and the test2.lua file. The console will continuously print the string "first file", and then the string "second file".
This file was generated by a tool made in C#. This archive has two files inside the Lua directory, named test1.lua and test2.lua.
Expected Behavior
The game should load the test1.lua file, and then the test2.lua file. The test1.lua file should continuously print the string "first file" into the console, and the test2.lua file should continuously print the string "second file" into the console.
Actual Behavior
Only the test2.lua file loads. The only string that is printed into the console is "second file".
Cause
The test1.lua file is simultaneously a file and the start of a folder.
Exhibit B: lua_files_winrar.pk3
This file was created by WinRAR. This archive has the same files as lua_files.pk3.
Expected Behavior
Same as lua_files.pk3.
Actual Behavior
The game refuses to start-up, and prints this message into the the log file.
Code:
ERROR: Central directory is corrupt
Exhibit C: lua_files_slade.pk3
This file is lua_files.pk3, saved by SLADE.
Expected Behavior
Same as lua_files.pk3.
Actual Behavior
The game properly loads the test1.lua file and the test2.lua file. The console will continuously print the string "first file", and then the string "second file".
Attachments
Last edited: