There are some cases, when you reach the limit of $random-type sounds in sndinfo, so adding any new $randoms will make zdoom hang during loading a level
Here is an example of a test mod:
https://drive.google.com/file/d/0BygbyP ... sp=sharing
Put heretic.wad to ZDOOM\DOESNT_WORK folder and run TESTMOD_RANDOM_SOUNDS.BAT
You will see that zdoom hangs during loading
Then try to edit WADS\Z_SOUNDS\Z_SOUNDS__ORIGINAL.pk3 file: unpack it, open SNDINFO.__BLOOD file and remove (or comment) next lines:
Code: Select all
$random blood_ua_TEST_001 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_002 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_003 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_004 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_005 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_006 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_007 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_008 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_009 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_010 { blood_ua_01 blood_ua_02 blood_ua_03 }
Then try to run TESTMOD_RANDOM_SOUNDS.BAT again and you will see no hangs - level loaded correctly without hanging
For any case I created 2 folders:
DOESNT_WORK - folder where bug should be reproduced (contains all "$random blood_ua_TEST" strings)
WORKS - folder where bug should not be reproduced (doesn't contain "$random blood_ua_TEST" strings)
Tell me please, if you are interested in fixing such kind of issues, so I will try to reduce size of a testmod
There are some cases, when you reach the limit of $random-type sounds in sndinfo, so adding any new $randoms will make zdoom hang during loading a level
Here is an example of a test mod: https://drive.google.com/file/d/0BygbyP4_qEiTakNqUC1iNmx6UlE/view?usp=sharing
Put heretic.wad to ZDOOM\DOESNT_WORK folder and run TESTMOD_RANDOM_SOUNDS.BAT
You will see that zdoom hangs during loading
Then try to edit WADS\Z_SOUNDS\Z_SOUNDS__ORIGINAL.pk3 file: unpack it, open SNDINFO.__BLOOD file and remove (or comment) next lines:
[code]$random blood_ua_TEST_001 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_002 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_003 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_004 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_005 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_006 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_007 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_008 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_009 { blood_ua_01 blood_ua_02 blood_ua_03 }
$random blood_ua_TEST_010 { blood_ua_01 blood_ua_02 blood_ua_03 }[/code]
Then try to run TESTMOD_RANDOM_SOUNDS.BAT again and you will see no hangs - level loaded correctly without hanging
For any case I created 2 folders:
DOESNT_WORK - folder where bug should be reproduced (contains all "$random blood_ua_TEST" strings)
WORKS - folder where bug should not be reproduced (doesn't contain "$random blood_ua_TEST" strings)
Tell me please, if you are interested in fixing such kind of issues, so I will try to reduce size of a testmod