[Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Free Heroes 2 is now in extras-devel!
http://i.imgur.com/09SfF.png We'll use this thread for bugreporting at first. Instructions: Install the program and copy your data and maps files (under DATA and MAPS folders in the original game) to /opt/fheroes2/files/data and the map files under /opt/fheroes2/files/maps You can have them elsewhere if you modify the fheroes2.cfg to point to the correct location. Please note that Campaign mode and Kingdom view is not implemented in the upstream, so we'll have to wait until the developer implements those. This is due to the fact that There is a demodata package coming to extras, with the demo data automagically installed. if you don't have the game, you can download the demo data package from extras-devel, and be able to play it right away. the config and save files are stored under ~/.fheroes2/fheroes2.cfg and ~/.fheroes2/save/ so if you have save files from playing the earlier versions, you can copy them there and they will (should) show up in the game. Gameplay: It seems to work very well on my device at least. Right click is mapped to ctrl-click, or you can enable longclick by changeing the line # pocket pc = off to pocket pc = on in the fheroes.cfg file mentioned above. Big thank yous go out to MohamamdAG for the packaging assistance and Frank Banul for providing icon and desktop file. PS: if you installed build 6 or earlier, you will have to modify your fheroes2.cfg file, or copy the new fheroes2_default.cfg file over it to get the correct data and maps paths for the demodata package. reinstalling will not automatically replace your cfg file. The packages are optified. They will however take up 5786 bytes of data on your rootfs. **** To install the data files from your original game you need to transfer the MAPS and DATA folders to your phone. You then need to copy the contents from MyDocs to opt: I have my data stored under Mydocs/Games/HOMM2/ so I would write the following to copy them to the proper place: Code:
root |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
So i followed these instructions however whenever I try to start the game a few windows open then close right away. No game data appears to load and the windows are black for the short time they are open.
I tried uninstalling and reinstalling but still have the same problem. Using version, 0.5-maemo-7. Any insight? |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
There is now a new package in extras-devel which is called fheroes2-demodata, which contains demodata for fheroes2. It contains one map for the game.
You can just install the demodata package if you want to play the game right away, the actual game will be installed with it. if you have the original files, then just install the fheroes2 package and copy the data and maps files to /opt/fheroes2/files/data and /opt/fheroes2/files/maps. You can also move the data files to MyDocs if you want, but then you have to modify the fheroes2.cfg file in ~/.fheroes2/ to point to the new location. Here's a screenshot from the demo: http://i.imgur.com/oNReu.png |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
EDIT the config file is /home/user/.fheroes2/fheroes2.cfg |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
is it normal to see whole map opened in start?
also i always start with a super hero with some dragons. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
got music working. i uploaded the ogg files onto 4shared:
http://www.4shared.com/file/n4lWYGOi/homm2music.html unzip these into your /fheroes2/files/music directory edit your fheroes2.cfg file so that the line music = on says music = ext you may also want to uncomment the music volume line and change it to 8, i found that to be about the right loudness. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
maps files need to be owned by user. this will fix the problem: I will patch the packages. Thanks for reporting. [code]root chown user /opt/fheroes2/files/maps chown user /opt/fheroes2/files/maps/* EDIT: New version (build #8) fixes this issue |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Thank you very much :)
I had a crash with the demo map while I was moving the hero on the map, but after a new trial with the true game maps, everything seemed ok. Except that texts are damn small. I fear what it would have been if both screen and games were 800x600 instead of the "small" 640x480 :D |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
Code:
# use ttf fonts Code:
# use ttf fonts |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
You can do right click a lot easier )
in .cfg file tap mode = on then, long tap does right click :-) p.s.: sorry for my english |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
I can still see the entire map. Both updated to rls 8 and did chown user commands. Maybe its not fixed in the engine remake yet?
Btw tested music addon. works great. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
If i start up the game and go directly to play *standard game", half the time, theres no fog of war so the entire map is shown. And the other half of times, fog of war is there, no problem... thats wierd?
Update: after further testing its almost as if every second time it works and every other it dosent, as if the game modifies something every time it starts.. and what ever it modifies, its affecting fog of war. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
how interesting. It seems to work fine on my device. Are you using the demodata or full game data? If it's the latter, which map does this? or is it all maps?
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
first of all i want to thank for heroes 2! i played it yesterday for 2 hours and it is the same good experience as on PC!
but i have a problem this morning HOME was full, but before heroes 2 i had only 800mb, i am not saying it is heroes2 related, but how can i make shure it isnt? Kristijan |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
It happens on all maps, and its completly random. Sometimes it works several times in a row, other times its the opposite. Wich makes no sense :) should i try and enable debug mode? dont know how it works though, but it might show something. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
Anyway you can move the data and map files to MyDos to free up some space in home. Here's how: in xterm Code:
root and change the lines data = /opt/fheroes2/data maps = /opt/fheroes2/maps to data = /home/user/MyDocs/fheroes2/data maps = /home/user/MyDocs/fheroes2/maps and you're good to go. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
@mthmob, i have same problem. Before chown its happend allways, now its completly random.
I have all maps too |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
@usar @mthbob
check that /opt/fheroes2/files/maps is drwxr-xr-x 2 user users 4096 Apr 23 23:21 maps and all files in the maps directory is also owned by user group users. If it is, try moving the map and data files to MyDocs as I described in a post above and see if it helps. I can't seem to recreate the problem on my device. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Ok now I have the same problem too.
I might have jumped to conclusions with the full map problem. It doesn't seem to be affected by the ownership of files after all. Will investigate further. A workaround seems to be to, if you manage to start a game properly, then you can save that. when the problem occurs, load the saved game, and after that you can start a new one. at least for me the new games start properly. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Can see entire map as well...
And I can see dots at corners of each grid? There seems no music on my device, the sound works fine. Am I missing some files? I also put the ogg file in /Music and change .cfg to ext but still doesn't work. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
sorry for a really newbish question, but where on the n900 is the home/user/mydocs file? i cant find it in the file manager. is there something i need to do to make it show up?
thanks for the help |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
so anything under that (e.g. /home/user/ is inaccessible to the file manager. EDIT using MyDocs to store data files makes the game really slow... |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
ok, so how do i access the files under mydocs?
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
Also, when I install fheroes2, it says package broken but upgradeable. Strange... It runs well, but in app manager it's shown as broken.:confused: |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
@mece: I solved... I moved data file to /opt and everything is working perfectly.
But the engine shown in app manager is still broken, although it's working. I tested music as midi but it's not working. The problem of ext music is everytime it starts from beginning. But midi is not(from the orginal H2) |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
sorry to keep asking basic questions, this is a learning experience for me.
Ive got as far as moving the data and map dirs to MyDocs but when I enter edit /home/user/.fheroes2/fheroes2.cfg into the xterm it says: -sh: edit: not found Have I missed something? I really appreciate the help |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Scomic, there is no edit CL app in n900. I suggest you setup mc from extras-devel and edit your files there.
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
enter vi and then press a for edit.
But don't move data to MyDocs, seems have a lot problems. |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
thanks, i'll give those a try
Is there a way to copy the full game on to the phone without moving the data to MyDocs? cool, I edited the maps and data lines and now its working fine. the campaign doesnt work, but the rest of the maps do which is fantastic |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Hey guys, did anyone except kara_bass manage to enable tap mode? I'm trying tap mode = on, but that doesn't work for me for whatever reason
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
from a few hours of playing I noticed in fheroes2:
The AI is (much) more stupid than original H2, this makes the game much easier. And sometimes there is only one "row" of enemy when fight againest creatures standing on the map. In original H2 there were at least 3 "rows". The roumer from the traven is funny. The creatures seems more easily to join you. BTW, the music on the sea is not working. It's great fun to play H2 again! :-) |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
is someone going to package this game at some point?
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
yep, the sea music seems a little buggy- it just continues playing the current track. even if it's the enemy's turn music. it's also not listed in the /music/README file so it might have just been left out?
i agree about the ai, one issue that i've run into is the enemy attacking the closest target even when there was a ranged attacker a few steps away (this is in hard mode). Quote:
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
Editing config file is really easy with leafpad that you can find in the repositories. install leafpad, and then, instead of starting it from the icon, just run xterm and type leafpad .fheroes2/fheroes2.cfg |
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
I'm not saying it's not easy, but it is easier for 90% of people if it's in a package and we just need to do and install..
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
Quote:
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
thats a very good point. but surely we could package the config files and stuff? Cause I assume most of us own the game, or we are using the free demo which is legal, but then again I'm 100% clued up on legal law and stuff
|
Re: [Maemo5] Free Heroes 2 - Heroes of Might and Magic 2 engine
I still don't know why occationally sometimes all the maps can be seen. Quite annoying. No clue why it happens...
Found another bug: Is Necromancy actually working? I don't get any skeletons after battle... |
All times are GMT. The time now is 01:28. |
vBulletin® Version 3.8.8