Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Проблема c setup.sh в Heroes III  (Прочитано 5987 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Bonus2k

  • Автор темы
  • Новичок
  • *
  • Сообщений: 13
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #15 : 12 Августа 2012, 01:10:35 »
копировать на место проверим.
cp ~/Загрузки/homm3roe/setup.sh ~/
~/setup.sh
?

user@Lenovo-V560:~/Загрузки/homm3roe$ cp ~/Загрузки/homm3roe/setup.sh ~/
user@Lenovo-V560:~/Загрузки/homm3roe$ ~/setup.sh
The setup program seems to have failed on x86/unknown

Fatal error, no tech support email configured in this setup
user@Lenovo-V560:~/Загрузки/homm3roe$

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #16 : 12 Августа 2012, 01:19:52 »
диск найти файл autorun.inf
cat autorun.inf
Wars ~.o

Оффлайн Bonus2k

  • Автор темы
  • Новичок
  • *
  • Сообщений: 13
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #17 : 12 Августа 2012, 01:21:09 »
диск найти файл autorun.inf
cat autorun.inf

user@Lenovo-V560:~/iso$ cat autorun.inf
cat: autorun.inf: Нет такого файла или каталога

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #18 : 12 Августа 2012, 01:22:43 »
ls -a?
Wars ~.o

Оффлайн Bonus2k

  • Автор темы
  • Новичок
  • *
  • Сообщений: 13
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #19 : 12 Августа 2012, 01:23:48 »
ls -a?

user@Lenovo-V560:~/iso$ ls -a
.    data                     hiscore.tar.gz  maps    ru.tar.gz
..   h3maped                  icon.bmp        mp3     setup.data
bin  Heroes_III_Tutorial.pdf  icon.xpm        README  setup.sh
user@Lenovo-V560:~/iso$

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #20 : 12 Августа 2012, 01:28:25 »
cat README?
Wars ~.o

Оффлайн Bonus2k

  • Автор темы
  • Новичок
  • *
  • Сообщений: 13
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #21 : 12 Августа 2012, 01:30:04 »
cat README?

Мне тоже приходила такая мысль :) Ничего интересного :)

user@Lenovo-V560:~/iso$ cat README

                        Heroes of Might and Magic III
                               Version 1.3.1a





       TABLE OF CONTENTS

       1 System Requirements
       2 Installation
       3 Playing The Game
       4 Troubleshooting
       5 Patch 1.3.1a
       6 Contacting Loki Entertainment Software


-----------------------
(1) SYSTEM REQUIREMENTS
-----------------------
  Linux capable computer, Pentium class processor or better
  Linux kernel version 2.2.x
  32 MB RAM
  4x CD-ROM drive
  Video card capable of 800x600 resolution
  XFree86 version 3.2 or newer at 16 bpp.
  /dev/dsp sound device for audio
    (the Enlightenment Sound Daemon is supported as well).
  150 MB free hard disk space


------------------
(2) INSTALLATION
------------------

Mount the Heroes III CD and change the current directory to where
it is mounted.  Type 'sh setup.sh' to run the install script.

e.g.  Log in as root:
mount /mnt/cdrom
cd /mnt/cdrom
sh setup.sh


--------------------
(3) PLAYING THE GAME
--------------------

    Run 'heroes3' to start the game.

    The first time you run Heroes III it will create a .loki/heroes3
    directory in your home directory.  Saved games and preferences will
    be stored here.

    The following arguments may be given to Heroes III:

        [-h | --help]       Display this help message
        [-v | --version]    Display the game version
        [-f | --fullscreen] Run the game fullscreen
        [-w | --windowed]   Run the game in a window
        [-s | --nosound]    Do not access the soundcard
        [-c | --nocdrom]    Do not access the CD-ROM

    Use Ctrl-G to toggle mouse grabbing.

    Use Ctrl-Z to iconify the game when it is run in a window.

    The Print Screen key will save the current screen to the ~/.loki/heroes3
    directory.

    If the Print Screen, Pause, or Alt-# keys are not working,
    make sure your window manager is not overriding them.

    String widgets have standard UNIX keybindings.

        Ctrl-A - Move to beginning of line
        Ctrl-E - Move to end of line
        Ctrl-B - Move backwards
        Ctrl-F - Move forwards
        Ctrl-U - Erase line
        Ctrl-D - Delete character
        Ctrl-C - Copy to X clipboard
        Ctrl-V - Paste from X clipboard

    Dragging the middle mouse button will move the playfield.


-------------------   
(4) TROUBLESHOOTING   
-------------------   
The following are some of the more common problems you might have, and
recommended solutions:

A) There is no game sound.

   First, check all your connections between your speakers and your
   computer.  Make sure your speakers are turned on and receiving power. 
   Make sure the volume is not turned down all the way.  You can change
   sound and music volume in the 'Game Options' window.
   If none of the above suggestions works, try producing sound in another
   program.  If that does not work, make sure you have the sound driver
   enabled in your kernel.  Finally, go to http://www.opensound.com/
   to see whether a commercial driver is available for your sound card.

B) Networking behind a firewall.

   Networking behind a masqueraded network works only for two players.

   If more than two players try to form a game, and one or more of them
   are on different masqueraded networks, then the game will drop all
   players but the host.

   Heroes III uses TCP port 4269 for it's networking connections.


-------------------   
(5) PATCH 1.3.1a   
-------------------

This second patch for Heroes III for Linux has the following enhancements over the
previous version (1.3) :

   - Updated libraries, the game should be more robust
   - Fixed input problems.
   - Fixed networking crashes.
   - Fixed volume settings.
   - Fixed random seed generation.
   - Fixed problems with map dragging.
   - Fixed movie lockups
   - Fixed save game editing keys
   - Fixed crash on exit
   - Adventure map will not scroll when the mouse leaves the window
   - Fixed a problem with map loading/saving, should help with map
     compatability
   - Fixed the issue causing problems with large maps/lots of players
     in internet games
   - Fixed text on the scenario completion screen
   - Worked around an issue with extremely unstable network links

The previous 1.3 patch had the following enhancements over the initial release :

    - Many game-related bugfixes from the Windows version
    - Defaults to fullscreen by default; the new fullscreen code does
      not require root privileges anymore, and should work on any
      XFree86 and compatible X11 server with at least the 800x600 video
      mode defined in the XF86Config file. Use the Alt-Enter hotkey at any
      time to switch between fullscreen and windowed modes.
        - Y2K bugfix
        - Fixed minor bug in the tavern videos
    - Proper CDROM detection on systems using supermount (Mandrake)
    - New command-line option: -x. Enables the X11 mouse cursor in the
      game, instead of the fancy colorful software cursor. This may improve
      drastically the game performance on some systems, but it makes it look
      much less pretty too.
    - DMA sound from the latest SDL (better performance). If your card supports
      this (most SB compatible cards do), you can enable it by setting the
      SDL_AUDIODRIVER environment variable to 'dma', i.e. :

      export SDL_AUDIODRIVER=dma
    - Initial PPC port (available in a separate archive). This port does not
      support network compatibility with other versions of the game, and saved
      games are also incompatible.


------------------------------------------
(6) CONTACTING LOKI ENTERTAINMENT SOFTWARE
------------------------------------------

Technical Support
Support for Heroes of Might and Magic III is available from
Loki Entertainment Software at:

    Website:  http://www.lokigames.com/  Follow the links for support.

    Usenet:   news://news.lokigames.com/loki.games.heroes3

    Email:    support@lokigames.com

    Phone:    801-356-7629. Telephone support is available between the hours
              of 9 A.M. and 5 P.M. Mountain Standard Time.



Оффлайн arrecck

  • Старожил
  • *
  • Сообщений: 1725
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #22 : 12 Августа 2012, 01:51:06 »
sh -x setup.sh

Оффлайн Bonus2k

  • Автор темы
  • Новичок
  • *
  • Сообщений: 13
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #23 : 12 Августа 2012, 01:54:05 »
sh -x setup.sh

Уже что то :) ... но не то.

user@Lenovo-V560:~/iso$ sudo sh -x setup.sh
[sudo] password for user:
+ dirname setup.sh
+ cd .
+ FATAL_ERROR=Fatal error, no tech support email configured in this setup
+ GET_ROOT=0
+ XSU_ICON=
+ USE_XHOST=0
+ SU_MESSAGE=You need to run this installation as the super user.\nPlease enter the root password.
+ test -x /bin/su
+ SU_CMD=/bin/su
+ NULL=/dev/null
+ test -d /usr/xpg4/bin
+ DetectARCH
+ status=1
+ uname -m
+ echo x86
+ status=0
+ return 0
+ arch=x86
+ DetectLIBC
+ status=1
+ uname -s
+ [ Linux != Linux ]
+ tail -n 1
+ echo /lib/libc.so.6*
+ [ -f /lib/libc.so.6* ]
+ [ -f /lib/libc.so.5 ]
+ echo unknown
+ return 1
+ libc=unknown
+ DetectOS
+ uname -s
+ os=Linux
+ test Linux = OpenUNIX
+ echo Linux
+ return 0
+ os=Linux
+ args=
+ [ -f setup.data/config.sh ]
+ [ -f SETUP.DAT/CONFIG.SH;1 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ucb
+ auth=0
+ [  = -auth ]
+ [ 0 -eq 1 ]
+ [ 0 -eq 0 ]
+ [ 0 -ne 0 ]
+ try_run setup.gtk2
+ status=3
+ [ 3 -ne 0 ]
+ [ 3 -ne 2 ]
+ [ 3 -ne 3 ]
+ exit 3
user@Lenovo-V560:~/iso$

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #24 : 12 Августа 2012, 02:11:47 »
скрипт последный строку exit $status понятно, а может нужно установка пакета gtk2.

Пользователь решил продолжить мысль 12 Августа 2012, 02:19:26:
find ./ | grep -i setup.gtk2?
« Последнее редактирование: 12 Августа 2012, 02:19:26 от victor00000 »
Wars ~.o

Оффлайн arrecck

  • Старожил
  • *
  • Сообщений: 1725
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #25 : 12 Августа 2012, 02:26:47 »
libc он не находит, а там дальше путь от него зависит ($libc)
пишите разработчику скрипта

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #26 : 12 Августа 2012, 02:33:28 »
+ try_run setup.gtk2вот выполнено будет окно меню если кнопка готово и выход, не пропало окно и сразу выход.

Пользователь решил продолжить мысль 12 Августа 2012, 02:41:52:
найти
try_run setup.gtk2 $args $* 2> /dev/nullзаменить
try_run setup.gtk2 $args $*чтобы показывать ошибку.
« Последнее редактирование: 12 Августа 2012, 02:41:52 от victor00000 »
Wars ~.o

Оффлайн Bonus2k

  • Автор темы
  • Новичок
  • *
  • Сообщений: 13
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #27 : 12 Августа 2012, 03:09:07 »
+ try_run setup.gtk2вот выполнено будет окно меню если кнопка готово и выход, не пропало окно и сразу выход.

Пользователь решил продолжить мысль 12 Августа 2012, 02:41:52:
найти
try_run setup.gtk2 $args $* 2> /dev/nullзаменить
try_run setup.gtk2 $args $*чтобы показывать ошибку.


user@Lenovo-V560:~/Загрузки/homm3roe$ sh setup.sh
setup.data/setup.xml:1: parser error : Document is empty

^
setup.data/setup.xml:1: parser error : Start tag expected, '<' not found

^
Couldn't load 'setup.data/setup.xml'

user@Lenovo-V560:~/Загрузки/homm3roe$ cd setup.data
user@Lenovo-V560:~/Загрузки/homm3roe/setup.data$ cat setup.xml
<?xml version="1.0" standalone="yes"?>
<install product="Heroes3" desc="Heroes of Might and Magic III" version="1.2"  nopromptoverwrite="yes">
  <readme>
    README
  </readme>
  <option install="true" help="Required for play">
    Base Install
    <binary arch="any" libc="any" symlink="heroes3" icon="icon.xpm">
      heroes3
      heroes3.dynamic
    </binary>
    <files>
      Heroes_III_Tutorial.pdf
      README
      icon.bmp
      icon.xpm
      hiscore.tar.gz
      maps/*
      data/h3bitmap.lod
      data/h3sprite.lod
      data/heroes3.snd
      data/video/cevil1.mjpg
      data/video/cevil2.mjpg
      data/video/cgood1.mjpg
      data/video/cgood2.mjpg
      data/video/cgood3.mjpg
      data/video/cneutral.mjpg
      data/video/credits.mjpg
      data/video/credits.pcx
      data/video/csecret.mjpg
      data/video/defendall.mjpg
      data/video/defendloop.mjpg
      data/video/lbloop.mjpg
      data/video/lbstart.mjpg
      data/video/losecslp.mjpg
      data/video/losecstl.mjpg
      data/video/pgtrnlft.mjpg
      data/video/pgtrnrgh.mjpg
      data/video/progressbar.mjpg
      data/video/rtloop.mjpg
      data/video/rtstart.mjpg
      data/video/surrender.mjpg
      data/video/tavern.mjpg
      data/video/win3.mjpg
      mp3/*
      data/heroes3cd.snd
      data/video/3dologo.mpg
      data/video/endgame.mpg
      data/video/evil1a.mpg
      data/video/evil1b.mpg
      data/video/evil1c.mpg
      data/video/evil2a.mpg
      data/video/evil2ap1.mpg
      data/video/evil2ap2.mpg
      data/video/evil2b.mpg
      data/video/evil2c.mpg
      data/video/evil2d.mpg
      data/video/good1a.mpg
      data/video/good1b.mpg
      data/video/good1c.mpg
      data/video/good2a.mpg
      data/video/good2b.mpg
      data/video/good2c.mpg
      data/video/good2d.mpg
      data/video/good3a.mpg
      data/video/good3b.mpg
      data/video/good3c.mpg
      data/video/h3intro.mpg
      data/video/hsanim.mpg
      data/video/hsloop.mpg
      data/video/losegame.mpg
      data/video/neutrala.mpg
      data/video/neutralb.mpg
      data/video/neutralc.mpg
      data/video/nwclogo.mpg
      data/video/secreta.mpg
      data/video/secretb.mpg
      data/video/secretc.mpg
    </files>
  </option>

  <option>
    Map editor
    <files>
      h3maped/*
    </files>
  </option>

  <option>
    Russification
    <files>
      ru.tar.gz
    </files>
  </option>

</install>


Пользователь решил продолжить мысль 12 Августа 2012, 03:20:34:
скрипт последный строку exit $status понятно, а может нужно установка пакета gtk2.

Пользователь решил продолжить мысль 12 Августа 2012, 02:19:26:
find ./ | grep -i setup.gtk2?

user@Lenovo-V560:~$ find ./ | grep -i setup.gtk2
./.gvfs/homm3roe.iso/setup.data/setup.gtk2.glade
./.gvfs/homm3roe.iso/setup.data/bin/Linux/x86/setup.gtk2
./.gvfs/homm3roe.iso/setup.data/bin/Linux/x86_64/setup.gtk2
./iso/setup.data/bin/Linux/x86/setup.gtk2
./iso/setup.data/bin/Linux/x86_64/setup.gtk2
./iso/setup.data/setup.gtk2.glade
./Загрузки/homm3roe/setup.data/setup.gtk2.glade
./Загрузки/homm3roe/setup.data/bin/Linux/x86_64/setup.gtk2
./Загрузки/homm3roe/setup.data/bin/Linux/x86/setup.gtk2
user@Lenovo-V560:~$
« Последнее редактирование: 12 Августа 2012, 03:20:34 от Bonus2k »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #28 : 12 Августа 2012, 11:37:00 »
http://ubuntuforums.org/showthread.php?p=10928736

Пользователь решил продолжить мысль 12 Августа 2012, 12:14:16:
https://forum.ubuntu.ru/index.php?topic=58262.60
« Последнее редактирование: 12 Августа 2012, 12:14:16 от victor00000 »
Wars ~.o

Оффлайн lemik

  • Новичок
  • *
  • Сообщений: 26
    • Просмотр профиля
Re: Проблема c setup.sh в Heroes III
« Ответ #29 : 02 Февраля 2013, 01:25:34 »
А как удалить игрушку? Наигрался уже...

 

Страница сгенерирована за 0.02 секунд. Запросов: 21.