Game Installation on Debian <SOLVED>

Hi all,
I read through wiki.vcmi.eu/index.php?title=Ins … ne_install

I have a query :-

The command :-

vcmibuilder --cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd --download

Instead of using the --download switch if I just use

vcmibuilder --cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd

and then use :-

vcmibuilder --wog /path/to/wog/archive --vcmi /path/to/vcmi/package

would that work or no ?

I do know that the actual command is actually this :-

vcmibuilder <h3 data commands> --wog /path/to/wog/archive --vcmi /path/to/vcmi/package

I do not want to have a wine installation as far as possible. I do have the .iso’s of the game as well as the wog and vcmi core zip already downloaded.

I haven’t been able to understand the h3 data commands thing within the angle brackets so some clarity as to if that is to be used how to use it or would the above simplified way work ?

Looking forward to know more. Thanx in advance.

Edit :- I already have the three commands installed via source :-

$ vcmi
vcmibuilder  vcmiclient   vcmiserver

This is on a debian Wheezy and sid mixed system .

Yes. There will be a warning but resulting data files should work

Instead of

you should place
--cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd

Perhaps I should clarify that on wiki…

So you should either use vcmibuilder like this:

vcmibuilder --cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd --wog /path/to/wog/archive --vcmi /path/to/vcmi/package

OR split that command in two parts:

vcmibuilder --cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd 
vcmibuilder --wog /path/to/wog/archive --vcmi /path/to/vcmi/package

Hi Ivan,
I got this while trying to do the same :-

$ vcmibuilder --cd1 ../Heroes\ 3/Heroes3.iso --cd2 ../Heroes\ 3/H3_disk2.iso unshield was not found. Please install it

Dunno what unshield is.

That’s utility that can extract data from (most of) installers.
Can be found in Debian repositories: packages.debian.org/wheezy/unshield so you can install it normally via gui or console:

sudo apt-get install unshield

Just found about it couple of seconds and did what was needed. It installed everything. It said :-

$ sudo vcmibuilder --cd1 ~/hero3_1/ --cd2 ~/hero3_2
Warning: Selected options will not create complete VCMI data!
Do you wish to continue? (y/n) y
Cabinet: /home/shirish/hero3_1//_setup/data1.cab
  extracting: ./cddir/CommonFiles/3DOUnInst.dll
  extracting: ./cddir/Program_Files/BINKW32.DLL
  extracting: ./cddir/Program_Files/h3ccmped.cnt
  extracting: ./cddir/Program_Files/h3ccmped.exe
  extracting: ./cddir/Program_Files/H3CCMPED.HLP
  extracting: ./cddir/Program_Files/h3maped.cnt
  extracting: ./cddir/Program_Files/h3maped.exe
  extracting: ./cddir/Program_Files/H3MAPED.HLP
  extracting: ./cddir/Program_Files/Heroes III Tutorial.pdf
  extracting: ./cddir/Program_Files/Heroes3.cnt
  extracting: ./cddir/Program_Files/HEROES3.HLP
  extracting: ./cddir/Program_Files/IFC20.dll
  extracting: ./cddir/Program_Files/MP3DEC.ASI
  extracting: ./cddir/Program_Files/MSS32.DLL
  extracting: ./cddir/Program_Files/README.TXT
  extracting: ./cddir/Program_Files/SMACKW32.DLL
  extracting: ./cddir/Program_Files/HEROES3.EXE
  extracting: ./cddir/Program_Files/H3SoD_PC Manual.pdf
  extracting: ./cddir/Program_Files/H3AB_Manual.pdf
  extracting: ./cddir/Program_Files/HOMM3.pdf
  extracting: ./cddir/Program_Files/Data/H3ab_spr.lod
  extracting: ./cddir/Program_Files/Data/H3ab_ahd.vid
  extracting: ./cddir/Program_Files/Data/H3ab_bmp.lod
  extracting: ./cddir/Program_Files/Data/H3ab_ahd.snd
  extracting: ./cddir/Program_Files/Data/H3bitmap.lod
  extracting: ./cddir/Program_Files/Data/H3sprite.lod
  extracting: ./cddir/Program_Files/Data/Heroes3.snd
  extracting: ./cddir/Program_Files/Data/VIDEO.VID
  extracting: ./cddir/Program_Files/Mp3/AITheme0.mp3
  extracting: ./cddir/Program_Files/Mp3/AITHEME1.MP3
  extracting: ./cddir/Program_Files/Mp3/AITHEME2.MP3
  extracting: ./cddir/Program_Files/Mp3/BladeABCampaign.mp3
  extracting: ./cddir/Program_Files/Mp3/BladeDBCampaign.mp3
  extracting: ./cddir/Program_Files/Mp3/BladeDSCampaign.mp3
  extracting: ./cddir/Program_Files/Mp3/BladeFLCampaign.mp3
  extracting: ./cddir/Program_Files/Mp3/BladeFWCampaign.mp3
  extracting: ./cddir/Program_Files/Mp3/BladePFCampaign.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic01.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic02.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic03.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic04.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic05.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic06.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic07.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic08.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic09.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic10.mp3
  extracting: ./cddir/Program_Files/Mp3/CampainMusic11.mp3
  extracting: ./cddir/Program_Files/Mp3/COMBAT01.MP3
  extracting: ./cddir/Program_Files/Mp3/COMBAT02.MP3
  extracting: ./cddir/Program_Files/Mp3/COMBAT03.MP3
  extracting: ./cddir/Program_Files/Mp3/COMBAT04.MP3
  extracting: ./cddir/Program_Files/Mp3/CstleTown.mp3
  extracting: ./cddir/Program_Files/Mp3/Defend Castle.mp3
  extracting: ./cddir/Program_Files/Mp3/DIRT.MP3
  extracting: ./cddir/Program_Files/Mp3/DUNGEON.MP3
  extracting: ./cddir/Program_Files/Mp3/ElemTown.mp3
  extracting: ./cddir/Program_Files/Mp3/EvilTheme.mp3
  extracting: ./cddir/Program_Files/Mp3/FortressTown.mp3
  extracting: ./cddir/Program_Files/Mp3/GoodTheme.mp3
  extracting: ./cddir/Program_Files/Mp3/GRASS.MP3
  extracting: ./cddir/Program_Files/Mp3/InfernoTown.mp3
  extracting: ./cddir/Program_Files/Mp3/LAVA.MP3
  extracting: ./cddir/Program_Files/Mp3/LoopLepr.mp3
  extracting: ./cddir/Program_Files/Mp3/Lose Campain.mp3
  extracting: ./cddir/Program_Files/Mp3/LoseCastle.mp3
  extracting: ./cddir/Program_Files/Mp3/LoseCombat.mp3
  extracting: ./cddir/Program_Files/Mp3/MAINMENU.MP3
  extracting: ./cddir/Program_Files/Mp3/necroTown.mp3
  extracting: ./cddir/Program_Files/Mp3/NeutralTheme.mp3
  extracting: ./cddir/Program_Files/Mp3/RAMPART.MP3
  extracting: ./cddir/Program_Files/Mp3/Retreat Battle.mp3
  extracting: ./cddir/Program_Files/Mp3/ROUGH.MP3
  extracting: ./cddir/Program_Files/Mp3/SAND.MP3
  extracting: ./cddir/Program_Files/Mp3/SecretTheme.mp3
  extracting: ./cddir/Program_Files/Mp3/SNOW.MP3
  extracting: ./cddir/Program_Files/Mp3/StrongHold.mp3
  extracting: ./cddir/Program_Files/Mp3/Surrender Battle.mp3
  extracting: ./cddir/Program_Files/Mp3/SWAMP.MP3
  extracting: ./cddir/Program_Files/Mp3/TowerTown.mp3
  extracting: ./cddir/Program_Files/Mp3/UltimateLose.mp3
  extracting: ./cddir/Program_Files/Mp3/Underground.mp3
  extracting: ./cddir/Program_Files/Mp3/WATER.MP3
  extracting: ./cddir/Program_Files/Mp3/Win Battle.mp3
  extracting: ./cddir/Program_Files/Mp3/Win Scenario.mp3
  extracting: ./cddir/Program_Files/ONLINE/AUTORUN.INI
  extracting: ./cddir/Program_Files/ONLINE/AUTORUN.EXE
  extracting: ./cddir/Program_Files/ONLINE/AUTORUN.WAV
  extracting: ./cddir/Program_Files/ONLINE/EXIT.BMP
  extracting: ./cddir/Program_Files/ONLINE/EXIT.WAV
  extracting: ./cddir/Program_Files/ONLINE/HIGHLITE.WAV
  extracting: ./cddir/Program_Files/ONLINE/HOTCLIK.WAV
  extracting: ./cddir/Program_Files/ONLINE/MPLAYER.BMP
  extracting: ./cddir/Program_Files/ONLINE/Autorun.bmp
  extracting: ./cddir/Program_Files/mplayer/Mplayer.URL
  extracting: ./cddir/Program_Files/Maps/A Viking We Shall Go Allied.h3m
  extracting: ./cddir/Program_Files/Maps/A Viking We Shall Go.h3m
  extracting: ./cddir/Program_Files/Maps/A Warm and Familiar Place.h3m
  extracting: ./cddir/Program_Files/Maps/Adventures of Jared Haret.h3m
  extracting: ./cddir/Program_Files/Maps/All for One.h3m
  extracting: ./cddir/Program_Files/Maps/And One for All.h3m
  extracting: ./cddir/Program_Files/Maps/Arrogance Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Arrogance.h3m
  extracting: ./cddir/Program_Files/Maps/Ascension.h3m
  extracting: ./cddir/Program_Files/Maps/Back For Revenge - Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Back For Revenge.h3m
  extracting: ./cddir/Program_Files/Maps/Barbarian Breakout.h3m
  extracting: ./cddir/Program_Files/Maps/Barbarian BreakoutA.h3m
  extracting: ./cddir/Program_Files/Maps/Battle of the Sexes Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Battle of the Sexes.h3m
  extracting: ./cddir/Program_Files/Maps/Brave New World(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Brave New World.h3m
  extracting: ./cddir/Program_Files/Maps/Buried Treasure.h3m
  extracting: ./cddir/Program_Files/Maps/Carpe Diem - Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Carpe Diem.h3m
  extracting: ./cddir/Program_Files/Maps/Caught in the Middle.h3m
  extracting: ./cddir/Program_Files/Maps/Chasing a Dream.h3m
  extracting: ./cddir/Program_Files/Maps/Crimson and Clover.h3m
  extracting: ./cddir/Program_Files/Maps/Crimson and CloverA.h3m
  extracting: ./cddir/Program_Files/Maps/Darwin's Prize(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Darwin's Prize.h3m
  extracting: ./cddir/Program_Files/Maps/Dawn of War.h3m
  extracting: ./cddir/Program_Files/Maps/Dead and Buried.h3m
  extracting: ./cddir/Program_Files/Maps/Deluge.h3m
  extracting: ./cddir/Program_Files/Maps/Divided Loyalties.h3m
  extracting: ./cddir/Program_Files/Maps/Divided LoyaltiesA.h3m
  extracting: ./cddir/Program_Files/Maps/Dragon Orb.h3m
  extracting: ./cddir/Program_Files/Maps/Dragon Pass (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Dragon Pass.h3m
  extracting: ./cddir/Program_Files/Maps/Dungeon Keeper.h3m
  extracting: ./cddir/Program_Files/Maps/Dwarven Gold.h3m
  extracting: ./cddir/Program_Files/Maps/Dwarven Tunnels(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Dwarven Tunnels.h3m
  extracting: ./cddir/Program_Files/Maps/Elbow Room(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Elbow Room.h3m
  extracting: ./cddir/Program_Files/Maps/Emerald Isles.h3m
  extracting: ./cddir/Program_Files/Maps/Emerald IslesA.h3m
  extracting: ./cddir/Program_Files/Maps/Faeries.h3m
  extracting: ./cddir/Program_Files/Maps/For Sale.h3m
  extracting: ./cddir/Program_Files/Maps/Fort Noxis.h3m
  extracting: ./cddir/Program_Files/Maps/Free for All.h3m
  extracting: ./cddir/Program_Files/Maps/Freedom.h3m
  extracting: ./cddir/Program_Files/Maps/Gelea's Champions (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Gelea's Champions.h3m
  extracting: ./cddir/Program_Files/Maps/Goblins in the Pantry.h3m
  extracting: ./cddir/Program_Files/Maps/Golems Aplenty Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Golems Aplenty.h3m
  extracting: ./cddir/Program_Files/Maps/Good to Go.h3m
  extracting: ./cddir/Program_Files/Maps/Good Witch, Bad Witch.h3m
  extracting: ./cddir/Program_Files/Maps/Gorlam's Tentacle Swampland.h3m
  extracting: ./cddir/Program_Files/Maps/Hatchet Axe and Saw.h3m
  extracting: ./cddir/Program_Files/Maps/Heroes of Might not Magic Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Heroes of Might not Magic.h3m
  extracting: ./cddir/Program_Files/Maps/Hoard(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Hoard.h3m
  extracting: ./cddir/Program_Files/Maps/Hold the middle.h3m
  extracting: ./cddir/Program_Files/Maps/Irrational Hostility.h3m
  extracting: ./cddir/Program_Files/Maps/Island King Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Island King.h3m
  extracting: ./cddir/Program_Files/Maps/Island of Fire.h3m
  extracting: ./cddir/Program_Files/Maps/Islands and Caves.h3m
  extracting: ./cddir/Program_Files/Maps/Jihad.h3m
  extracting: ./cddir/Program_Files/Maps/Judgement Day.h3m
  extracting: ./cddir/Program_Files/Maps/Just A Visit.h3m
  extracting: ./cddir/Program_Files/Maps/Key to Victory.h3m
  extracting: ./cddir/Program_Files/Maps/King of Pain.h3m
  extracting: ./cddir/Program_Files/Maps/Kingdom for sale(allies).h3m
  extracting: ./cddir/Program_Files/Maps/Kingdom for sale.h3m
  extracting: ./cddir/Program_Files/Maps/Knee Deep in the Dead.h3m
  extracting: ./cddir/Program_Files/Maps/Knight of Darkness.h3m
  extracting: ./cddir/Program_Files/Maps/Land of Titans (Allied).h3m
  extracting: ./cddir/Program_Files/Maps/Land of Titans.h3m
  extracting: ./cddir/Program_Files/Maps/Last Chance Allies.h3m
  extracting: ./cddir/Program_Files/Maps/Last Chance.h3m
  extracting: ./cddir/Program_Files/Maps/Loss of Innocence(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Loss of Innocence.h3m
  extracting: ./cddir/Program_Files/Maps/Manifest Destiny.h3m
  extracting: ./cddir/Program_Files/Maps/Marshland Menace.h3m
  extracting: ./cddir/Program_Files/Maps/Meeting in Muzgob(Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Meeting in Muzgob.h3m
  extracting: ./cddir/Program_Files/Maps/Merchant Princes Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Merchant Princes.h3m
  extracting: ./cddir/Program_Files/Maps/Middletown.h3m
  extracting: ./cddir/Program_Files/Maps/Monk's Retreat Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Monk's Retreat.h3m
  extracting: ./cddir/Program_Files/Maps/Noahs Ark.h3m
  extracting: ./cddir/Program_Files/Maps/One Bad Day - Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Overthrow Thy Neighbors.h3m
  extracting: ./cddir/Program_Files/Maps/Pandora's Box .h3m
  extracting: ./cddir/Program_Files/Maps/Peaceful Ending - Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Peaceful Ending.h3m
  extracting: ./cddir/Program_Files/Maps/Peacemaker.h3m
  extracting: ./cddir/Program_Files/Maps/Pestilence Lake Allies.h3m
  extracting: ./cddir/Program_Files/Maps/Pestilence Lake.h3m
  extracting: ./cddir/Program_Files/Maps/Pirates.h3m
  extracting: ./cddir/Program_Files/Maps/Race for Ardintinny.h3m
  extracting: ./cddir/Program_Files/Maps/Race for the Town.h3m
  extracting: ./cddir/Program_Files/Maps/Ready or Not.h3m
  extracting: ./cddir/Program_Files/Maps/Realm of Chaos.h3m
  extracting: ./cddir/Program_Files/Maps/Realm of ChaosA.h3m
  extracting: ./cddir/Program_Files/Maps/Rebellion.h3m
  extracting: ./cddir/Program_Files/Maps/Reclamation Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Reclamation.h3m
  extracting: ./cddir/Program_Files/Maps/Rediscovery.h3m
  extracting: ./cddir/Program_Files/Maps/Resource War Allies.h3m
  extracting: ./cddir/Program_Files/Maps/Resource War.h3m
  extracting: ./cddir/Program_Files/Maps/Rise of the Phoenix Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Rise of the Phoenix.h3m
  extracting: ./cddir/Program_Files/Maps/Rumble in the Bogs.h3m
  extracting: ./cddir/Program_Files/Maps/Rumble in the BogsA.h3m
  extracting: ./cddir/Program_Files/Maps/Sands of Blood.h3m
  extracting: ./cddir/Program_Files/Maps/Sangraal's Thief Allied.h3m
  extracting: ./cddir/Program_Files/Maps/Sangraal's Thief.h3m
  extracting: ./cddir/Program_Files/Maps/Search for the Grail.h3m
  extracting: ./cddir/Program_Files/Maps/Serpents Treasure.h3m
  extracting: ./cddir/Program_Files/Maps/Shadow Valleys.h3m
  extracting: ./cddir/Program_Files/Maps/South of Hell (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/South of Hell.h3m
  extracting: ./cddir/Program_Files/Maps/Southern Cross.h3m
  extracting: ./cddir/Program_Files/Maps/Step by Step (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Step by Step.h3m
  extracting: ./cddir/Program_Files/Maps/Tale of two lands (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Tale of two lands.h3m
  extracting: ./cddir/Program_Files/Maps/Terrible Rumor.h3m
  extracting: ./cddir/Program_Files/Maps/The Battle of Daeyan's Ford.h3m
  extracting: ./cddir/Program_Files/Maps/The Challenge.h3m
  extracting: ./cddir/Program_Files/Maps/The Five Rings.h3m
  extracting: ./cddir/Program_Files/Maps/The Gauntlet.h3m
  extracting: ./cddir/Program_Files/Maps/The Great Race.h3m
  extracting: ./cddir/Program_Files/Maps/The Mandate of Heaven.h3m
  extracting: ./cddir/Program_Files/Maps/The Newcomers.h3m
  extracting: ./cddir/Program_Files/Maps/Thousand Islands (allies).h3m
  extracting: ./cddir/Program_Files/Maps/Thousand Islands.h3m
  extracting: ./cddir/Program_Files/Maps/Time's Up.h3m
  extracting: ./cddir/Program_Files/Maps/Titans Winter.h3m
  extracting: ./cddir/Program_Files/Maps/Too Many Monsters.h3m
  extracting: ./cddir/Program_Files/Maps/Tovar's Fortress (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/Tovar's Fortress.h3m
  extracting: ./cddir/Program_Files/Maps/Treasure Hunt.h3m
  extracting: ./cddir/Program_Files/Maps/Tutorial.tut
  extracting: ./cddir/Program_Files/Maps/Twins.h3m
  extracting: ./cddir/Program_Files/Maps/Undead Unrest.h3m
  extracting: ./cddir/Program_Files/Maps/Unexpected Inheritance.h3m
  extracting: ./cddir/Program_Files/Maps/Unholy Quest.h3m
  extracting: ./cddir/Program_Files/Maps/Valleys of War.h3m
  extracting: ./cddir/Program_Files/Maps/Vial of Life.h3m
  extracting: ./cddir/Program_Files/Maps/War of the Mighty (Allies).h3m
  extracting: ./cddir/Program_Files/Maps/War of the Mighty.h3m
  extracting: ./cddir/Program_Files/Maps/Warlords.h3m
  extracting: ./cddir/Program_Files/Maps/WarlordsA.h3m
  extracting: ./cddir/Program_Files/Maps/Warmongers.h3m
  extracting: ./cddir/Program_Files/Maps/When Dragons Clash.h3m
  extracting: ./cddir/Program_Files/Maps/Wings of War.h3m
  extracting: ./cddir/Program_Files/Maps/Xathras Prize.h3m
  extracting: ./cddir/Support/defrag.bmp
  extracting: ./cddir/Support/3DO.URL
  extracting: ./cddir/Support/AUTORUN.INI
  extracting: ./cddir/Support/WWW3DO.URL
  extracting: ./cddir/Support/3DO.BMP
  extracting: ./cddir/Support/AUTORUN.WAV
  extracting: ./cddir/Support/exit.bmp
  extracting: ./cddir/Support/scandisk.bmp
  extracting: ./cddir/Support/sysinfo.bmp
  extracting: ./cddir/Support/WWW3DO.BMP
  extracting: ./cddir/Support/Autorun.BMP
  extracting: ./cddir/Support/locale.INI
  extracting: ./cddir/Support/BUTTON.WAV
  extracting: ./cddir/Support/EXIT.WAV
  extracting: ./cddir/Support/HIGHLITE.WAV
  extracting: ./cddir/Support/HOTCLIK.WAV
  extracting: ./cddir/Support/NWC.BMP
  extracting: ./cddir/Support/SysInfo.exe
  extracting: ./cddir/Support/support.exe
  extracting: ./cddir/Support/NWC.URL
  extracting: ./cddir/GameUpdate/gameup.exe
 --------  -------
          275 files

vcmibuilder finished succesfully
resulting data was placed into /home/shirish/vcmi
any other files in current directory can be removed

This is what I have done :-

$ vcmibuilder --cd1 ~/hero3_1/ --cd2 ~/hero3_2

The folder hero3_1 and hero3_2 are nothing but mount points for the .iso’s .

$ sudo mount -o loop Heroes3.iso ~/hero3_1
mount: warning: /home/shirish/hero3_1 seems to be mounted read-only.
$ sudo mount -o loop H3_disk2.iso ~/hero3_2
mount: warning: /home/shirish/hero3_2 seems to be mounted read-only.
vcmibuilder finished succesfully 
 resulting data was placed into /home/shirish/vcmi 
 any other files in current directory can be removed

What’s the problem?
Read-only mountpoints are OK - you only need to read that data.

Now you can run second part (wog & vcmi files)
Use either autodownload option or point to manually downloaded archives.

hmm… o.k. after doing that above, now I get this :-

$ vcmiclient
Starting... 
Creating console and logfile: 0
	 Initialization: 0
	 Data loading: 190
	Mod handler: 0
	 Mod filesystems: 10
Basic initialization: 200
Failed to open file 
Last system error was : No such file or directory
Loading settings: 200
VCMI 0.91b (client)
Note: SDL suggests to use 32 bpp instead of24 bpp 
New screen flags: 0
	Initializing screen: 30
	Initializing video: 0
	Initializing minors: 0
	Initializing sound: 10
Initializing screen and sound handling: 10
Resource with name DATA/ZCRGN1 and type TEXT wasn't found.
[smk @ 0x1c814c0] max_analyze_duration reached
terminate called after throwing an instance of 'std::runtime_error'
  what():  Resource with name DATA/ZCRGN1 and type TEXT wasn't found.
Aborted (core dumped)

You need to copy data generated by vcmibuilder to place where VCMI expects it to be found.
Run

vcmiclient -v

This should print path to “data directory”. Usually /usr/share/vcmi but it can differ.

And copy all data:

cp -RTu /home/shirish/vcmi /path/to/data/directory

I did that and still get an error, no idea what the error is about though :-

$ vcmiclient
Starting... 
Creating console and logfile: 	 Initialization: 0
Resource with name ALL/CONFIG/FILESYSTEM and type TEXT wasn't found.
terminate called after throwing an instance of 'std::runtime_error'
  what():  Resource with name ALL/CONFIG/FILESYSTEM and type TEXT wasn't found.
Aborted (core dumped)

This is my data directory :-

$ vcmiclient -v
Starting... 
VCMI 0.91b
  data directory:    /usr/local/share/vcmi
  library directory: /usr/local/lib/x86_64-linux-gnu/vcmi
  binary directory:  /usr/local/bin

And this is what I did to copy it :-

$ sudo cp -RTu /home/shirish/vcmi /usr/local/share/vcmi

Looking at the directories there seem to two missing directories but dunno why they are missing :-

/usr/local/share/vcmi$ ls
Data  Maps  Mp3

For some reasons, the sub-directories Mods and config are not being transferred or something.

I managed to install vcmi on Debian in few trials few days ago, but why vcmibuilder do not copy the files into right place? Maybe just add something equivalent to

sudo cp -R vcmi/ $(vcmiclient -v|grep data|cut -d':' -f2)

to the builder?

Strange. You should have file /config/filesystem.json installed alongside with binary(vcmiclient). This file is missing.

This file was present previously but for some reason it is no longer here.

Mostly to avoid asking for superuser rights.
Perhaps something to implement for 0.92?

ah o.k. then it was my mistake. I was able to do it and run it (but with superuser rights) :frowning:

~$ sudo vcmiclient
Starting... 
Creating console and logfile: 	 Initialization: 10
	 Data loading: 110
	Mod handler: 0
	 Mod filesystems: 60
Basic initialization: 180
Failed to open file 
Last system error was : No such file or directory
Loading settings: 180
VCMI 0.91b (client)
Note: SDL suggests to use 32 bpp instead of24 bpp 
New screen flags: 0
	Initializing screen: 30
	Initializing video: 0
	Initializing minors: 0
	Initializing sound: 10
Initializing screen and sound handling: 10
[smk @ 0x7f39844dc080] max_analyze_duration reached
	General text handler: 20
	Hero handler: 20
	Artifact handler: 20
	Creature handler: 50
	Town handler: 30
	Object handler: 0
	Def information handler: 60
	Spell handler: 10
		Loading mod In The Wake of Gods
		Loading mod VCMI essential files
Initializing VCMI_Lib: 220
Screen handler: 0
Loading and transforming heroes' flags: 100
	Main graphics: 160
Initializing game graphics: 0
Message handler: 0
[smk @ 0x7f39845d17c0] max_analyze_duration reached
Initialization of VCMI (together): 3990

umm… I am able to choose the campaigns as well as single scenario but clicking on tutorial gives me nothing, nada :frowning:

This is an unimplemented feature.

maybe better than asking root access maybe vcmi should read data from user’s home dir. And it should make it easier for packagers :slight_smile:

This is some weird access problem that I can’t track. VCMI can work with read-only data dir but it looks that VCMI does not have read access to some files. (or can’t get list of files in directory)

Probably moving data to $HOME/.vcmi by script is indeed the best solution (+ chmod on all data generated by script). Will try to finish script for 0.92.

Oh - and VCMI can read data from $HOME/.vcmi. Relatively new feature so this is not documented everywhere yet.