Nieco sprecyzowałem pierwsze pytanie u góry. A teraz więcej szczegółów:
1. lgeneral to linuxowa wersja starej gry panzer general 1. Daje spore możliwości, są nowe scenariusze itp.
2. lgeneral znajduje się w repozytorium ubuntu, co oznaczałoby, że "powinien działać". I działa, ale nie zawiera scenariuszy. Te trzeba przekonwertować z panzer general. Po to jest program lgc-pg.
3. tak, to jest rok 2005, ale podane linki z propozycjami rozwiązań pochodzą z 2013 roku, a więc nie tak dawno.
4. jak to wychodzi z sudo:
Kod: Zaznacz cały
sudo lgc-pg -s home/antoni2/pg-data/ -d /usr/share/games/lgeneral/
[sudo] password for antoni2:
sudo: lgc-pg: command not found
Ponieważ dla terminala komenda nic nie mówi, więc metodą eksperymentów (zalecaną na tutejszym forum) zastosowałem receptę z
http://www.installion.co.uk/debian/sque ... index.html. Ergo:
Kod: Zaznacz cały
sudo lgc-pg -s home/antoni2/pg-data/ -d /usr/share/games/lgeneral/
[sudo] password for antoni2:
sudo: lgc-pg: command not found
antoni2@antoni2-Aspire-E1-531:~$ sudo apt-get update
[sudo] password for antoni2:
Ign. http://pl.archive.ubuntu.com trusty InRelease
Ign. http://extras.ubuntu.com trusty InRelease
Ign. http://ppa.launchpad.net trusty InRelease
Stary http://deb.opera.com stable InRelease
Ign. http://pl.archive.ubuntu.com trusty-updates InRelease
Ign. http://archive.canonical.com trusty InRelease
Ign. http://pl.archive.ubuntu.com trusty-backports InRelease
Stary http://extras.ubuntu.com trusty Release.gpg
Ign. http://ppa.launchpad.net trusty InRelease
Stary http://pl.archive.ubuntu.com trusty Release.gpg
Stary http://deb.opera.com stable/non-free i386 Packages
Stary http://archive.canonical.com trusty Release.gpg
Stary http://pl.archive.ubuntu.com trusty-updates Release.gpg
Stary http://extras.ubuntu.com trusty Release
Ign. http://ppa.launchpad.net trusty InRelease
Stary http://pl.archive.ubuntu.com trusty-backports Release.gpg
Stary http://archive.canonical.com trusty Release
Ign. http://security.ubuntu.com trusty-security InRelease
Stary http://pl.archive.ubuntu.com trusty Release
Stary http://extras.ubuntu.com trusty/main Sources
Ign. http://ppa.launchpad.net trusty InRelease
Stary http://pl.archive.ubuntu.com trusty-updates Release
Stary http://archive.canonical.com trusty/partner i386 Packages
Stary http://ppa.launchpad.net trusty Release.gpg
Stary http://extras.ubuntu.com trusty/main i386 Packages
Stary http://pl.archive.ubuntu.com trusty-backports Release
Stary http://archive.canonical.com trusty/partner Translation-en
Stary http://pl.archive.ubuntu.com trusty/main Sources
Stary http://ppa.launchpad.net trusty Release.gpg
Stary http://security.ubuntu.com trusty-security Release.gpg
Stary http://pl.archive.ubuntu.com trusty/restricted Sources
Stary http://pl.archive.ubuntu.com trusty/universe Sources
Stary http://ppa.launchpad.net trusty Release.gpg
Stary http://pl.archive.ubuntu.com trusty/multiverse Sources
Stary http://ppa.launchpad.net trusty Release.gpg
Stary http://pl.archive.ubuntu.com trusty/main i386 Packages
Stary http://security.ubuntu.com trusty-security Release
Stary http://pl.archive.ubuntu.com trusty/restricted i386 Packages
Stary http://ppa.launchpad.net trusty Release
Stary http://pl.archive.ubuntu.com trusty/universe i386 Packages
Stary http://pl.archive.ubuntu.com trusty/multiverse i386 Packages
Stary http://ppa.launchpad.net trusty Release
Stary http://security.ubuntu.com trusty-security/main Sources
Stary http://ppa.launchpad.net trusty Release
Stary http://pl.archive.ubuntu.com trusty/main Translation-pl
Stary http://ppa.launchpad.net trusty Release
Stary http://pl.archive.ubuntu.com trusty/main Translation-en
Stary http://ppa.launchpad.net trusty/main i386 Packages
Stary http://security.ubuntu.com trusty-security/restricted Sources
Stary http://pl.archive.ubuntu.com trusty/multiverse Translation-pl
Stary http://pl.archive.ubuntu.com trusty/multiverse Translation-en
Stary http://security.ubuntu.com trusty-security/universe Sources
Ign. http://deb.opera.com stable/non-free Translation-pl_PL
Stary http://pl.archive.ubuntu.com trusty/restricted Translation-pl
Stary http://pl.archive.ubuntu.com trusty/restricted Translation-en
Ign. http://deb.opera.com stable/non-free Translation-pl
Stary http://ppa.launchpad.net trusty/main i386 Packages
Stary http://security.ubuntu.com trusty-security/multiverse Sources
Stary http://pl.archive.ubuntu.com trusty/universe Translation-pl
Ign. http://deb.opera.com stable/non-free Translation-en
Stary http://ppa.launchpad.net trusty/main Translation-en
Stary http://pl.archive.ubuntu.com trusty/universe Translation-en
Ign. http://extras.ubuntu.com trusty/main Translation-pl_PL
Stary http://pl.archive.ubuntu.com trusty-updates/main Sources
Stary http://ppa.launchpad.net trusty/main i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/restricted Sources
Ign. http://extras.ubuntu.com trusty/main Translation-pl
Stary http://security.ubuntu.com trusty-security/main i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/universe Sources
Stary http://pl.archive.ubuntu.com trusty-updates/multiverse Sources
Ign. http://extras.ubuntu.com trusty/main Translation-en
Stary http://pl.archive.ubuntu.com trusty-updates/main i386 Packages
Stary http://ppa.launchpad.net trusty/main Translation-en
Stary http://pl.archive.ubuntu.com trusty-updates/restricted i386 Packages
Stary http://security.ubuntu.com trusty-security/restricted i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/universe i386 Packages
Stary http://ppa.launchpad.net trusty/main i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/main Translation-en
Stary http://ppa.launchpad.net trusty/main Translation-en
Stary http://security.ubuntu.com trusty-security/universe i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/multiverse Translation-en
Stary http://pl.archive.ubuntu.com trusty-updates/restricted Translation-en
Stary http://security.ubuntu.com trusty-security/multiverse i386 Packages
Stary http://pl.archive.ubuntu.com trusty-updates/universe Translation-en
Stary http://pl.archive.ubuntu.com trusty-backports/main i386 Packages
Stary http://pl.archive.ubuntu.com trusty-backports/restricted i386 Packages
Stary http://pl.archive.ubuntu.com trusty-backports/universe i386 Packages
Stary http://security.ubuntu.com trusty-security/main Translation-en
Stary http://pl.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Stary http://pl.archive.ubuntu.com trusty-backports/main Translation-en
Stary http://pl.archive.ubuntu.com trusty-backports/multiverse Translation-en
Stary http://pl.archive.ubuntu.com trusty-backports/restricted Translation-en
Stary http://security.ubuntu.com trusty-security/multiverse Translation-en
Stary http://pl.archive.ubuntu.com trusty-backports/universe Translation-en
Stary http://security.ubuntu.com trusty-security/restricted Translation-en
Ign. http://ppa.launchpad.net trusty/main Translation-pl_PL
Ign. http://ppa.launchpad.net trusty/main Translation-pl
Stary http://security.ubuntu.com trusty-security/universe Translation-en
Ign. http://ppa.launchpad.net trusty/main Translation-en
Ign. http://pl.archive.ubuntu.com trusty/main Translation-pl_PL
Ign. http://pl.archive.ubuntu.com trusty/multiverse Translation-pl_PL
Ign. http://pl.archive.ubuntu.com trusty/restricted Translation-pl_PL
Ign. http://pl.archive.ubuntu.com trusty/universe Translation-pl_PL
Czytanie list pakietów... Gotowe
W: Duplicate sources.list entry http://deb.opera.com/opera/ stable/non-free i386 Packages (/var/lib/apt/lists/deb.opera.com_opera_dists_stable_non-free_binary-i386_Packages)
W: Należy uruchomić apt-get update aby naprawić te problemy.
antoni2@antoni2-Aspire-E1-531:~$ sudo apt-get install lgc-pg
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
lgc-pg jest już w najnowszej wersji.
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
kde-l10n-engb kde-l10n-pl linux-headers-3.13.0-32
linux-headers-3.13.0-32-generic linux-image-3.13.0-32-generic
linux-image-extra-3.13.0-32-generic packagekit-tools
qtdeclarative5-ubuntuone1.0 ubuntu-purchase-service wine-gecko2.34
wine-mono4.5.2
Aby je usunąć należy użyć "apt-get autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 10 nieaktualizowanych.
Zatem wróciłem do poprzednich działań:
Kod: Zaznacz cały
/usr/games/lgc-pg -s home/antoni2/pg-data/ -d /usr/share/games/lgeneral
LGeneral Converter for Panzer General (DOS version) v1.2.3
Copyright 2002-2012 Michael Speck
Released under GNU GPL
---
Settings:
Source: home/antoni2/pg-data/
Destination: /usr/share/games/lgeneral
Target: pg
Full Campaign
Use Individual Palettes
Apply PG unit modifications
Converting:
Nation database...
/usr/share/games/lgeneral/nations/pg.ndb: access denied
Nie wyszło, więc zastosowałem z sudo:
Kod: Zaznacz cały
sudo /usr/games/lgc-pg -s home/antoni2/pg-data/ -d /usr/share/games/lgeneral
LGeneral Converter for Panzer General (DOS version) v1.2.3
Copyright 2002-2012 Michael Speck
Released under GNU GPL
---
Settings:
Source: home/antoni2/pg-data/
Destination: /usr/share/games/lgeneral
Target: pg
Full Campaign
Use Individual Palettes
Apply PG unit modifications
Converting:
Nation database...
/usr/share/games/lgeneral/nations/pg.ndb: access denied
Ktoś na forum
http://ubuntuforums.org/archive/index.p ... 74749.html podpowiada, że trzeba ręcznie utworzyć pewien katalog, którego brakuje i podaje takie rozwiązanie:
Kod: Zaznacz cały
antoni2@antoni2-Aspire-E1-531:~$ sudo mkdir -p nations gfx/flags units gfx/units maps gfx/terrain/pg scenarios/pg
antoni2@antoni2-Aspire-E1-531:~$ sudo /usr/games/lgc-pg -s /media/PG_V1_2/dat -d /usr/share/games/lgeneral
LGeneral Converter for Panzer General (DOS version) v1.2.3
Copyright 2002-2012 Michael Speck
Released under GNU GPL
---
Settings:
Source: /media/PG_V1_2/dat
Destination: /usr/share/games/lgeneral
Target: pg
Full Campaign
Use Individual Palettes
Apply PG unit modifications
Converting:
Nation database...
/usr/share/games/lgeneral/nations/pg.ndb: access denied
Zdaję sobie sprawę, że wiele programów jest przeznaczonych dla programistycznej elity, ale może coś dałoby się zrobić?