OpenXcom Forum

OpenXcom => Troubleshooting => Topic started by: klefenz on February 21, 2018, 03:05:11 am

Title: [TFTD] music file not found
Post by: klefenz on February 21, 2018, 03:05:11 am
UFO works fine, however when I try to start a game of TFTD it crashes after selecting difficulty

(https://i.4cdn.org/vr/1519174589614.png)

So, it can't find a music file, here is my SOUND folder:

(https://i.4cdn.org/vr/1519172333265.png)

The contents are copy-pasted form the TFTD game. Also, if I chose "New battle" I can play missions, it seems it crashes when trying to enter geoscape.

Thanks in advance.

Edit:

The log:

[20-02-2018_22-06-40]   [INFO]   Data folder is: /home/sergio/.local/share/openxcom/
[20-02-2018_22-06-40]   [INFO]   Data search is:
[20-02-2018_22-06-40]   [INFO]   - /home/sergio/.local/share/openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/share/cinnamon/openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/share/gnome/openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/local/share//openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/share//openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/share/mdm//openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/local/share/openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/share/openxcom/
[20-02-2018_22-06-40]   [INFO]   - /usr/share/games/openxcom//
[20-02-2018_22-06-40]   [INFO]   - ./
[20-02-2018_22-06-40]   [INFO]   User folder is: /home/sergio/.local/share/openxcom/
[20-02-2018_22-06-40]   [INFO]   Config folder is: /home/sergio/.config/openxcom/
[20-02-2018_22-06-40]   [INFO]   Options loaded successfully.
[20-02-2018_22-06-40]   [INFO]   SDL initialized successfully.
[20-02-2018_22-06-40]   [INFO]   SDL_mixer initialized successfully.
[20-02-2018_22-06-40]   [INFO]   requested file not found: openxcom.png
[20-02-2018_22-06-40]   [INFO]   Attempting to set display to 800x600x8...
[20-02-2018_22-06-40]   [INFO]   Display set to 800x600x8.
[20-02-2018_22-06-40]   [INFO]   Loading data...
[20-02-2018_22-06-40]   [INFO]   Scanning standard mods in '/usr/share//openxcom/standard'...
[20-02-2018_22-06-40]   [INFO]   Scanning user mods in '/home/sergio/.local/share/openxcom/mods'...
[20-02-2018_22-06-40]   [INFO]   Mapping resource files...
[20-02-2018_22-06-40]   [INFO]   Resources files mapped successfully.
[20-02-2018_22-06-41]   [INFO]   Loading fonts... Font.dat
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   /etc/timidity/freepats.cfg: No such file or directory
[20-02-2018_22-06-41]   [INFO]   Loading extra resources from ruleset...
[20-02-2018_22-06-41]   [INFO]   Data loaded successfully.
[20-02-2018_22-06-41]   [INFO]   Loading language...
[20-02-2018_22-06-41]   [INFO]   Language loaded successfully.
[20-02-2018_22-06-41]   [INFO]   OpenXcom started successfully!
[20-02-2018_22-06-41]   [INFO]   Using software scaling routine. For best results, try an OpenGL filter.
[20-02-2018_22-06-47]   [FATAL]   A fatal error has occurred: Music GMGEO1 not found
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom13CrossPlatform10stackTraceEPv+0x36) [0x5f9c96]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom13CrossPlatform9crashDumpEPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x267) [0x5fb1a7]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_Z15exceptionLoggerv+0x72) [0x4cbb62]
[20-02-2018_22-06-47]   [FATAL]   /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d6b6) [0x7f93823036b6]
[20-02-2018_22-06-47]   [FATAL]   /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d701) [0x7f9382303701]
[20-02-2018_22-06-47]   [FATAL]   /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8d919) [0x7f9382303919]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZNK8OpenXcom3Mod7getRuleINS_5MusicEEEPT_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESC_RKSt3mapISA_S4_St4lessISA_ESaISt4pairISB_S4_EEEb+0x15c) [0x7dccfc]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZNK8OpenXcom3Mod8getMusicERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x70) [0x7ba8c0]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom3Mod9playMusicERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x103) [0x7bf013]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom13GeoscapeState4initEv+0x361) [0x6e3961]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom12NewGameState10btnOkClickEPNS_6ActionE+0xc8) [0x747308]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom18InteractiveSurface6handleEPNS_6ActionEPNS_5StateE+0x157) [0x61c6f7]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom5State6handleEPNS_6ActionE+0x73) [0x6b0203]
[20-02-2018_22-06-47]   [FATAL]   openxcom(_ZN8OpenXcom4Game3runEv+0x303) [0x616da3]
[20-02-2018_22-06-47]   [FATAL]   openxcom(main+0x164) [0x4af544]
[20-02-2018_22-06-47]   [FATAL]   /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f93819ae830]
[20-02-2018_22-06-48]   [FATAL]   OpenXcom has crashed: Music GMGEO1 not found
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.
Title: Re: [TFTD] music file not found
Post by: R1dO on February 21, 2018, 12:08:20 pm
Not sure why the game defaults to MIDI in this case.

But since the log is complaining about the configuration of a system library ``/etc/timidity/freepats.cfg``, have you installed the next packages on your system [1]:
* freepats
* timidity

Good luck

_[1] Based on ubuntu naming, could be different on other *Nix  systems.
Title: Re: [TFTD] music file not found
Post by: klefenz on February 21, 2018, 05:34:10 pm
Thank you very much, that solved it.