Original files conversion fails on recent nightlies

Bug #930890 reported by Spooky
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Return To The Roots
Status tracked in S25client
S25client
Fix Released
Critical
FloSoft

Bug Description

Ever since r7780, possibly even further before that, the conversion of the original Settlers II files seems to fail. If you run RTTR for the first time and have to let it convert the files, the game will then crash as soon as you click something in the main menu. Probably because the 'click' sound isn't actually there, because it looks like the conversion process fails on the audio files.

Console output during conversion: http://pastebin.com/bacTYAij

In order to play, you would need to go back many more revisions, in order to let the files convert properly (and then update back to the recent nightly).

Reproduction steps:

• Delete or move your 'Saved Games\Return To The Roots' folder
• Start s25client.exe, RTTR will convert the files, but you'll see some error messages in the console output during that process
• When RTTR finished the conversion and started the actual application, try to click a button in the main menu, it should crash.

Revision history for this message
Spooky (cpp-ema9o-9ei) wrote :

I have tried this on 4 systems so far, everywhere with the same result. Someone else on the forum was experiencing this issue on 2 systems as well. However, Spike was not able to reproduce this apparently.

Revision history for this message
Spooky (cpp-ema9o-9ei) wrote :

Ok, I have now tested on one system:

r7800 works
r7811 crashes after the conversion, before the main menu comes up
r7814 crashes on first mouse click in menu (same for r7817 and r7824)

The converted SOUND.LST is indeed different between r7800 and higher releases. It is the same in r7800 and lower releases.

Revision history for this message
FloSoft (flosoft) wrote :

we've missed a little null pointer check if loading a sound failed, so this is fixed in rev 7834 now.

the real reason was a missing header caused that some bytes were always swapped, so the game wasnt able to load the sounds anymore, that should be fixed in rev7839 but could break Bug #912427

tags: added: rev7811 rev7814
tags: added: rev7817 rev7824
Revision history for this message
Spooky (cpp-ema9o-9ei) wrote :

Hm, but are you talking about the actual client application here, or the sound conversion before that? Because there are definitely differences between r7800 and r7814 regarding the generation of the SOUND.LST file.

Revision history for this message
FloSoft (flosoft) wrote :

both

it crashed because we had a bug in the client
the sound was generated wrong before already (but the client should not crash because of this ...)

Revision history for this message
Spooky (cpp-ema9o-9ei) wrote :

I see, thx for clarification :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.