You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be some problem with the custom playlist handling.
Steps to reproduce:
Ingame, fill custom playlist 1 with all the songs (effectively making it a copy of "all")
Exit the application
Check openttd.cfg
The custom_1 line should now be:
custom_1 = 1,2,3,4,5,6,7,8,9,12,13,14,15,16,17,18,22,23,24,25,26,27,0,0,0,0,0,0,0,0,0,0,0
Notice that the numbers 10, 11, 19, 20, 21 are missing.
Start a new game
Notice that the last 5 songs have magically disappeared from the playlist.
Exit the application
Check openttd.cfg again
The line now reads:
custom_1 = 1,2,3,4,5,6,7,8,9,12,13,14,15,16,17,18,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
The five songs are gone. Notice that their numbers were greater than 22.
Profit!!! ;)
I think this behaviour has something to do with the file "orig_win.obm"
Inside, there is a [files] section mapping descriptions (old_0, old_1, ...) to filenames (GM_TT02.GM, GM_TT06.GM, ...)
But 5 keys have no value.
I think it's all connected: 5 numbers were missing (step 3 above), 5 songs vanished, 5 keys have no value
There are 22 songs total, so openttd.cfg doesn't like values higher than 22 in "custom_1".
The method saving the playlist into openttd.cfg seems to use another numbering scheme. It has 27 values, but 5 are not used.
If someone gets around to fix this, could you maybe also fix the default "all" playlist so that it is consistent with the original playlist in TTD? I'm really accustomed to the old ordering of songs ^^
Or should this be a seperate task?
P.S.: Everything seems fine, using OpenMSX
So, openttd.cfg can handle values greater than 22...
Using the original music:
Manually entering the missing numbers (10, 11, 19, 20, 21) results in scrambled playlist entries ingame.
I wonder how the 5 songs could be referenced correctly...
helsinki opened the ticket and wrote:
Reported version: 1.1.2
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/4776
The text was updated successfully, but these errors were encountered: