Forum index VCMI Project - Heroes 3: WoG recreated
Forum of the project aiming to recreate best turn-based strategy ever!

FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  StatisticsStatistics
RegisterRegister  Log inLog in  AlbumAlbum  DownloadDownload

Previous topic :: Next topic
Install VCMI in other Linuxes than Ubuntu/Debian
Author Message
BlackNoxis 

Age: 22
Joined: 28 Mar 2012
Posts: 5
Location: Cluj-Napoca, Romania
Posted: 2012-03-29, 00:38   Install VCMI in other Linuxes than Ubuntu/Debian  

As the title suggests, there is no possibility to make VCMI work on other Linuxes than Ubuntu and Debian. I've tried with 3 different distros Sabayon (which is rather Gentoo, so count this also), Arch and OpenSuse. On Sabayon I've tried on my own machine

http://pastebin.sabayon.org/pastie/8823

gcc-4.6.2, compiled successfully, the source is good. But the requirements are too tough, with all the WOG installs I've tried, on all types of Heroes 3 (Sod to Wog, Armageddon's Blade to Wog, RoE to Wog, even Linux Heroes 3 to Wog ), neither worked, same message appeared. I even tried your H3vcmi_Data.zip, didn't work either (which is the pastebin I just shown).

So the my personal opinion is to keep supporting Ubuntu and Debian alone, it seems for other distros it just fails. Or is it the problem caused rather by Heroes 3 install ? Who knows ? :-s
Last edited by BlackNoxis on 2012-04-01, 15:30; edited 1 time in total  
 
     
Ivan 
VCMI programmer

Age: 21
Joined: 08 May 2009
Posts: 636
Location: Ukraine
Posted: 2012-03-29, 01:08     

The only difference for Ubuntu\Debian is presence of precompiled packages. VCMI should work on any SoD + WoG install on any distro.
Quote:
Warning: No /home/blacknoxis/Downloads/vcmi/Sprites/ folder!

This. Unpack this package: http://dl.dropbox.com/u/2...ata_0.88.tar.gz in your data directory (/home/blacknoxis/Downloads/vcmi/)

Error messages aren't much descriptive right now :(
 
     
BlackNoxis 

Age: 22
Joined: 28 Mar 2012
Posts: 5
Location: Cluj-Napoca, Romania
Posted: 2012-03-29, 01:51   Holly Hell, it works !  

Ivan... YOU be da MAN ! Totally works, I will feedback with much as I can. Being involved actively in Sabayon linux, I can make a gentoo-way of installing vcmi.
Once I finish the tutorial, I will report back to you guys.
If you need any help regarding Gentoo / Sabayon stuff, you can pm/mail me. Oh and by the way, I love the smoothness of the game :D

One else question remains : How to activate the Wog Options ? (tried to click it, but doesn't work).
Last edited by BlackNoxis on 2012-04-01, 15:32; edited 1 time in total  
 
     
Zamolxis 
Moderator


Joined: 24 Feb 2008
Posts: 733
Location: Brussels, BE
Posted: 2012-03-29, 07:30     

WoG Options haven't been implemented yet. Still on our "TO DO" list. :)
_________________
Tips for testers:
- Check the bugs already reported in the BUGTRACKER, to avoid creating dupes
- Check the ITEM IMPLEMENTATION STATUS lists, to avoid reporting as “bug” a feature not yet ready for testing
- If you feel the devs should prioritize a certain feature implementation, please add it to the Missing features & functionalities thread.
- Enjoy! :)


The use of the EDIT button is strongly encouraged on the forum. ;-)
 
     
BlackNoxis 

Age: 22
Joined: 28 Mar 2012
Posts: 5
Location: Cluj-Napoca, Romania
Posted: 2012-03-29, 12:06   No prob  

Zamolxis wrote:
WoG Options haven't been implemented yet. Still on our "TO DO" list. :)


It's ok, the good thing is that it works :D. Thing is that I'm curious of the guys who made WOG can make a opensource linux code for the linux version of heroes 3 :-? Could be worth it
 
     
Ivan 
VCMI programmer

Age: 21
Joined: 08 May 2009
Posts: 636
Location: Ukraine
Posted: 2012-03-29, 14:41     

- We're not the guys who made WoG :)
- It's unlikely that Linux version will work at some point. VCMI heavily uses data from SoD and WoG which is unavailable in Linux version - only RoE was released here.
 
     
BlackNoxis 

Age: 22
Joined: 28 Mar 2012
Posts: 5
Location: Cluj-Napoca, Romania
Posted: 2012-03-29, 15:19   Yeah  

Yeah, only RoE was released on Linux, I know. Too bad ...
 
     
majaczek 

Age: 24
Joined: 12 Jun 2008
Posts: 455
Posted: 2012-03-31, 05:20     

Well H3SOD installs properly on wine, but there are problem with wog installer.
Since guys in this topic are using linux, I know proposing piracy would be a fail, but it easiest way to gather data to pleasure VCMI.
So I vote for a feature for supporting directory structure from era installer (which contain all wog data).
Era installer is pretty compared to oryginal wog one, and wog is already free of charge.
So then people with linuxes can buy heroes gold/complete on some gog.com or elsewhere for 5$ and install it through wine (already possible), and install era through wine (which would allow using VCMI after feature implemented).
If there are no people interested in implementing this feature, i may volounteer as i believe roughtest way to implement this takes less than a page of code diff.
I want the feature for non linux means. If I have time and project keepers allow, I may implement full era-like mod support (which is just sophisticated file override system). If I'm also allowed to expose some yet-constants to JSON file, we can have preliminary (experimental) scriptless mod support, which have no huge advantages for VCMI project itself (and has cons since target mod support would be extremally different), but allow some people concentrted on era side, to wander here, easily move from era enviroment and test features not yet availible in era (as adding new artifacts, units and towns without replacing existing). If I have to advocate the somewhat controversal changes I want (and may provide most of code for) I'll call this a promotion in context which already have H3 modders.
 
     
Ivan 
VCMI programmer

Age: 21
Joined: 08 May 2009
Posts: 636
Location: Ukraine
Posted: 2012-03-31, 10:29     

Last time I checked WoG installer worked fine. However ERA installer hangs at the end of install for me (something in batch files IIRC).

ERA-like directory structure is part of system beegee has been working on - ask him if you want to help. Supporting ERA filesystem should be quite easy.
Quote:
Era installer is pretty compared to oryginal wog one, and wog is already free of charge.

The only reason why WoG is free of charge is because no-one cares.
 
     
majaczek 

Age: 24
Joined: 12 Jun 2008
Posts: 455
Posted: 2012-03-31, 21:28     

well there's many things I want to do, and I'll possibly do but it seems the time is too short.
not on my top of priority list, and if beege is already working on it i firstly try to not disturb until my help is really needed and apppreciated.

well my priorities are somewhat twisted, as i work on some script for era which mostly will replace enchanced comanders one which resort to some hacks and makes actions disabled by hacks actually work by some part of the work. code is pretty huge and hardly redable for non-me which made me break in work of compability fixes on my trial to integrate era script fixes with script update (on which project the commander script may depend), which both made me huge break at work on my semestral project, and on monday/tuesday I have a few studies which need me to prepare for it.
 
     
BlackNoxis 

Age: 22
Joined: 28 Mar 2012
Posts: 5
Location: Cluj-Napoca, Romania
Posted: 2012-03-31, 23:31   New Boost lib version  

Wanted to say, vcmi fails to compile on a boost-1.49 version, but works good on the 1.46 version one. Just wanted to feedback this :D. Arch users cannot compile vcmi
 
     
lssjbrolli 

Joined: 25 Jul 2011
Posts: 20
Location: Romania
Posted: 2012-04-01, 08:03     

i can confirm that for arch on r 2601, it fails with:

Code:

Client.cpp: In member function ‘void CServerHandler::waitForServer()’:
Client.cpp:669:54: error: variable &#8216;boost::interprocess::scoped_lock<boost::interprocess::interprocess_mutex> slock&#8217; has initializer but incomplete type
make[2]: *** [vcmiclient-Client.o] Error 1
make[2]: Leaving directory `/home/sega/my_pkg/vcmi-svn/src/vcmi/client'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sega/my_pkg/vcmi-svn/src/vcmi/client'
make: *** [all-recursive] Error 1
 
     
Ivan 
VCMI programmer

Age: 21
Joined: 08 May 2009
Posts: 636
Location: Ukraine
Posted: 2012-04-01, 12:48     

Try this: open file vcmi/lib/Interprocess.h and add this line into it:
Code:
#include <boost/interprocess/sync/scoped_lock.hpp>
 
     
lssjbrolli 

Joined: 25 Jul 2011
Posts: 20
Location: Romania
Posted: 2012-04-01, 22:22     

builds on 2603 and Ivan's fix
 
     
ench0 
Hell Hound

Age: 43
Joined: 21 Apr 2012
Posts: 4
Posted: 2012-05-03, 11:27   Works on Fedora...  

Works on Fedora, and I even have music! :)

My full trials and tribulations are described in this thread, but basically I followed all the instructions in the wiki (to install the game data) and in the README.linux file to confi+compile the sources.

But I agree that it is a much bigger pain in the behind, compared to installing a binary package... There's several crucial steps, which, if not done properly will screw up your install (as it happened initially in my case) and the game will start crashing...
 
     
Display posts from previous:   
Reply to topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Add this topic to your bookmarks
Printable version

Jump to:  
Quick Reply
Username: 


Expire Days
 
 
 
 
 
 
 

Powered by phpBB modified by Przemo © 2003 phpBB Group
Template Chronicles modified by Nasedo modified by Tow.
© VCMI Team
Page generated in 0.1 second. SQL queries: 12