Diablo Posted Tuesday at 06:50 Report Share Posted Tuesday at 06:50 (edited) Hi, I'm on Linux Xubuntu and 0 a.d. was running fine until I just did the sudo apt-get update and sudo apt-get upgrade. The game won't start whatever I'm doing. - All icons in my launch bar are working just fine, but the one for 0ad - I clicked on the launcher in the toolbar and nothing happens. - I checked the path for the launcher and it's: /usr/games/0ad - I went to that folder and I have two files: usr/game/Oad (327bytes) usr/game/pyrogenesis (6.0MiB) - 0ad file contains: #!/bin/sh pyrogenesis=$(which pyrogenesis 2> /dev/null) if [ -x "$pyrogenesis" ] ; then "$pyrogenesis" "$@" elif [ -x /usr/games/pyrogenesis ] ; then # Fallback in case /usr/games is not in $PATH; see #679033 and LP: #1380737 /usr/games/pyrogenesis "$@" else echo "Error: pyrogenesis not found in ($PATH)" exit 1 fi - I clicked directly on pyrogenesis and nothing happens - I right-clicked on it then selected "execute" and still nothing. - In the folder usr/share/applications/ I have the file 0ad.desktop That doesn't work - The content of 0ad.desktop is: [Desktop Entry] Version=1.4 Name=0 A.D. Exec=0ad %F Icon=0ad Terminal=false MimeType=application/x-pyromod+zip; Type=Application Categories=Game;StrategyGame; # Use the most powerful GPU available by default (i.e. a dedicated Nvidia or AMD card instead of the integrated Intel card) PrefersNonDefaultGPU=true Comment=A real-time strategy game of ancient warfare Comment[de]=Ein Echtzeitstrategiespiel, das die Kriegsführung der Antike behandelt Comment[es]=Un juego de estrategia en tiempo real de guerra antigua Comment[fr]=Un jeu de statégie militaire en temps réel dans l'Antiquité Comment[it]=Videogioco strategico in tempo reale di guerre antiche Comment[nl]=Een real-time strategie spel over oorlog van de oudheid Comment[pl]=Gra strategiczna czasu rzeczywistego o wojnach starożytnych Comment[pt_BR]=Um jogo em tempo real de guerra antiga Comment[ru]=Игра в жанре исторической стратегии в реальном времени Keywords=RTS;Real-Time Strategy;Economic Simulation Game;History;Warfare;Infantry;Cavalry;Siege Engines;Fortress;Celtics;Hellenes;Athenians;Britons;Carthaginians;Gauls;Iberians;Macedonians;Mauryas;Persians;Ptolemies;Romans;Seleucids;Spartans; Actions=Atlas; [Desktop Action Atlas] Name=Atlas Map Editor Exec=0ad -editor GAME DATA PATH I checked and don't have the folder ~/.local/share/0ad/ as indicated on the website (https://trac.wildfiregames.com/wiki/GameDataPaths#Linux). However, I have many 0ad files at ~/.local/share/games/0ad/ SHARED I checked and don't have the folder ~/.local/share/0ad/ as indicated on the website (https://trac.wildfiregames.com/wiki/GameDataPaths#Linux). However, I have many 0ad files at ~/.local/share/games/0ad/ CONFIG ~/.config/0ad/ I have two folders: config and logs. In config I have user.cfg (~/.config/0ad/config/user.cfg). i looked into the file and everything seems perfect. My gamaing name and settings are fine. What can I do to fix the game?? Edited Tuesday at 07:09 by Diablo added more information Quote Link to comment Share on other sites More sharing options...
hyperion Posted Tuesday at 07:08 Report Share Posted Tuesday at 07:08 Try launching 0ad from terminal so you get to see the error output if any. Alternatively you can browse your logs in ~/.config/0ad/logs/ If you need help with interpreting the error post it here. 1 Quote Link to comment Share on other sites More sharing options...
Diablo Posted Tuesday at 07:13 Author Report Share Posted Tuesday at 07:13 (edited) Did it and: 0ad TIMER| InitVfs: 818.648 us FILES| Main log written to '/home/moi/.config/0ad/logs/mainlog.html' FILES| Interesting log written to '/home/moi/.config/0ad/logs/interestinglog.html' TIMER| CONFIG_Init: 71.1337 ms Sound: AlcInit success, using OpenAL Soft dbus[5311]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory) D-Bus not built with -rdynamic so unable to print a backtrace Aborted (core dumped) I did some research then ran dbus-uuidgen the result showed me a long code, but the game still won't start. Edited Tuesday at 07:19 by Diablo Quote Link to comment Share on other sites More sharing options...
Diablo Posted Tuesday at 07:23 Author Report Share Posted Tuesday at 07:23 (edited) FOUND THE SOLUTION! For future reference, when you get a D-BUS error, simply run this command Quote sudo dbus-uuidgen | sudo tee /var/lib/dbus/machine-id It worked for me and I can now play the game again Starting the game from terminal is what led me to find the solution. Big thanks to you Hyperion! Edited Tuesday at 07:24 by Diablo 1 Quote Link to comment Share on other sites More sharing options...
hyperion Posted Tuesday at 07:32 Report Share Posted Tuesday at 07:32 Dbus should generate that id by itself if needed, sounds like the dbus session wasn't launched properly. 1 Quote Link to comment Share on other sites More sharing options...
Diablo Posted Tuesday at 07:46 Author Report Share Posted Tuesday at 07:46 Maybe it's because I didn't reboot after the update/upgrade. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.