MantisBT - Zandronum
View Issue Details
0004376Zandronum[All Projects] Suggestionpublic2024-08-07 18:212024-08-07 19:43
BinaryCode 
 
normaltweakalways
newopen 
4.0-beta 
 
0004376: LUMP_INFO_SIZE property in LumpGetInfo doesn't update if using folders for checked file
I recently found out Zandronum, like (G)ZDoom?, can load folders, and wanted to see if they would update properly with lump reading (since GZDoom intentionally broke that, breaking TwitchyDoom).

It works, however the file size does not get updated after the first time.
Make a folder, and put a empty "STREAM" file in the folder.
Load with the example PK3 and the folder.
Make sure you are loading a FOLDER, NOT A PK3 FILE, using -file "folderPath" (ie -file "D:/Stream" . It needs to use the forward slash and not backslash."

Update the STREAM file in a program like Notepad, then do "pukename FileTest". It will update the text, but not the file size.
I need this to make a offline TwitchyDoom-style mod work. (I don't expect server clusters to really host with folders)
No tags attached.
? GetLumpInfo_SizeBreak.pk3 (1,266) 2024-08-07 18:21
/tracker/file_download.php?file_id=3079&type=bug
png image_2024-08-07_112248407.png (3,159) 2024-08-07 18:22
/tracker/file_download.php?file_id=3080&type=bug
png

png image_2024-08-07_112254239.png (2,327) 2024-08-07 18:22
/tracker/file_download.php?file_id=3081&type=bug
png
Issue History
2024-08-07 18:21BinaryCodeNew Issue
2024-08-07 18:21BinaryCodeFile Added: GetLumpInfo_SizeBreak.pk3
2024-08-07 18:22BinaryCodeFile Added: image_2024-08-07_112248407.png
2024-08-07 18:22BinaryCodeFile Added: image_2024-08-07_112254239.png
2024-08-07 18:28BinaryCodeNote Added: 0023913
2024-08-07 18:28Ru5tK1ngSummaryLUMP_INFO_SIZE property in LumpGetInfo isn't accurate => LUMP_INFO_SIZE property in LumpGetInfo doesn't update if using folders for checked file
2024-08-07 18:34BinaryCodeNote Deleted: 0023913
2024-08-07 19:23BinaryCodeNote Added: 0023914
2024-08-07 19:43BinaryCodeNote Edited: 0023914bug_revision_view_page.php?bugnote_id=23914#r14349

Notes
(0023914)
BinaryCode   
2024-08-07 19:23   
(edited on: 2024-08-07 19:43)
I think if this was addressed in any form, it would be better to check if a PK3 or folder was loaded, if that is possible.

The current folder behavior is intended AFAIK, you can load them in ZDL and modify it like I did for this.