Release VCMI - Heroes of Might & Magic III


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,644
Age
47
Location
France, near Lyon
Here is a fresh build of VCMI, the opensource engine to play Heroes of Might & Magic III


You will need the game data to play this PND. On first launch (and as long as data are not present), you can launch a crappy wizard dialog (made of Zenity) to extract the data. Data can be extracted automaticaly from the Windows GoG install, a copy of the 2 CD content (iso image have to be extracted), or the folder of an already installed windows copy. The wizard use vcmibuilder to do all the work (so you'll have a terminal windows open to follow what's going on).

The version use SDL2 (and gl4es), and screen is automaticaly downscaled to 800x480 thanks to SDL2.

The PND first launch vcmilauncher, a Qt app that let you download mod and launch the actual VCMI. The launcher as been resized so it more or less fit the Pandora screen. You will eed network on 1st launch, as some require vcmi package needs to be downloaded.



History log
=========

Build 07
-----------

  • New repackaged, everything seems to works now
Build 06
-----------

  • Using latest github source
  • Tweaked to use 16bits framebuffer and Texture Streaming
  • New SDL2 with notaz's NEON blit from SDL1.2
Build 05
-----------

  • Rebuilt SDL2_mixer: MP3 music now work
  • Tweaked a bit SDL2, should be a bit faster (nothing spectacular)
Build 04
-----------

  • Re-repackaged: vcmiserver should work now
Build 03
-----------

  • Repacked: extraction of data should work now
Build 02
-----------

  • Repacked: campaign mode should work now
Build 01
-----------

  • Initial build
  • Resize vcmilauncher so it (mostly) fit Pandora size
  • Modified vcmi so it use 800x480 Desktop fullscreen
 
Last edited:

asimov-solensan

Very Active Member
Joined
Jan 8, 2010
Messages
531
Is there a list of known issues or pending features? (pc version)

Last version on pandora was too crippled or call it inmature to be enjoyable.

Does campaign works now?

Really. A million thanks to vcmi team and petitsebt. If this works as the real thing it will become one of my favorite applications on pandora.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,644
Age
47
Location
France, near Lyon
Does campaign works now?
It should... I have tried quickly (with unpackaged version) and it worked after I created a small symlink of libSDL2-2.so.1 in "root" folder.
I need to repackage for this fix (I'll do tha, to be on the safe side, and sory for the 140MB download).

(Also, sources used to compile this version are a bit old, around november / december 2017, but I'll try to update to current git sources soon)
[doublepost=1522604046,1522601680][/doublepost]Build 02 is on the repo.

Build 02
-----------

  • Repacked: campain mode should work now
 

asimov-solensan

Very Active Member
Joined
Jan 8, 2010
Messages
531
I'm also checking the same unpackaged version that worked with old VCMI and it still complains about data files not present.

It's strange because it read the folder and copied data maps and mp3. Checked copying all files and still the same problem. There are also some errors in the .out file related to permissions ind /mnt/utmp

Code:
pandora:/var/volatile/tmp$ cat pndrun_vcmi.out
=======================================================================================
PND             : /media/SD16/pandora/menu/vcmi_ptitseb.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/SD16/pandora/appdata/vcmi
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : runscript.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop1" "/mnt/utmp/vcmi"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/SD16/pandora/appdata/vcmi=rw+nolwh":"/mnt/pnd/vcmi=rr" none "/mnt/utmp/vcmi"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh  ) ----------
No data, launching Wizard...

(zenity:4307): Gtk-WARNING **: Attempting to set the permissions of `/mnt/utmp/vcmi/recently-used.xbel', but failed: Operation not permitted
All done...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-asimov'
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
QT5 Base dir = /mnt/utmp/vcmi
[SUCCESS]--- Starting the application ( runscript.sh  ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
Starting...
VCMI 0.99 26a222ac623e5d02faa898db4f6bf322195dfe0b (client)
Creating console and configuring logger: 30 ms
The log file will be saved to "/mnt/utmp/vcmi/home/Cache/vcmi/VCMI_Client_log.txt"
   Initialization: 20 ms
   Data loading: 10 ms
   Mod handler: 0 ms
   Mod filesystems: 340 ms
Basic initialization: 370 ms
Initialized logging system based on settings successfully.
[log level] ai => not set
[log level] animation => not set
[log level] bonus => not set
[log level] global => trace
[log level] mod => not set
[log level] network => not set
Error: Heroes III data was not found!
[SUCCESS]--- Waiting the Union to be available ----------
rmdir: failed to remove `/mnt/utmp/vcmi': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 4
pandora:/var/volatile/tmp$ cat pndrun_vcmi.out
[doublepost=1522606562,1522604491][/doublepost]Can't make it work with gog version 4.0 either just downloaded (my folder installation was from gog version 3.something). I can select the .exe file but this time VCMI doesn't copy any file. Just fails to launch.

Anyone besides ptitsebt got it working?
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,644
Age
47
Location
France, near Lyon
I'm also checking the same unpackaged version that worked with old VCMI and it still complains about data files not present.

It's strange because it read the folder and copied data maps and mp3. Checked copying all files and still the same problem. There are also some errors in the .out file related to permissions ind /mnt/utmp

[doublepost=1522606562,1522604491][/doublepost]Can't make it work with gog version 4.0 either just downloaded (my folder installation was from gog version 3.something). I can select the .exe file but this time VCMI doesn't copy any file. Just fails to launch.
Mmmm, let me repackage again (it's possiblethe data are copied to the NAND, because I set the new home after the wizard :( )
[doublepost=1522608581][/doublepost]Build 03 on the repo.
I tested on my Gigahertz (dev. ) Pandora and it worked.

Build 03
-----------

  • Repacked: extraction of data should work now
 

asimov-solensan

Very Active Member
Joined
Jan 8, 2010
Messages
531
Thanks a lot for your effort.

Now it correctly unpackaged gog executable and doesn't complain anymore about missing data files. Now the problem is you cannot start any game, nor campaign neither single map.

Menus and all seem to work and once you try to start any map the loading screen appears but does nothing, seems to remain there forever.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,644
Age
47
Location
France, near Lyon
Thanks a lot for your effort.

Now it correctly unpackaged gog executable and doesn't complain anymore about missing data files. Now the problem is you cannot start any game, nor campaign neither single map.

Menus and all seem to work and once you try to start any map the loading screen appears but does nothing, seems to remain there forever.
I need the log.

(why things don't want to just work)
[doublepost=1522614695,1522614215][/doublepost]And it work on my side (but on my developement Pandora, didn't try on other), with latest PND, on both simple scenario or Campaign.
Don't forget to let the launcher download the needed data at first launch.
If you use a CC model, you will probably need a Swapfile. Don't know about Rebirth/Gigahertz (it should be fine without).
 

asimov-solensan

Very Active Member
Joined
Jan 8, 2010
Messages
531
Let's see.

I run the PND, then it read correctly the GOG package, re-downloaded yesterday.

The wizard opens and downloads a repository index but an error shows about "Unable to download all files". In while I will copy the exact message from pandora.

Then I got the wizard screen showing only the mod "VCMI essential files" I can enable it but shows version 0.0 and size 0.0. Sounds strange and doesn't fit with your screenshot.

With the mod enabled I launch the game and as described the menus work but can't start any map. It's a GHZ edition by the way.

In a second I will copy logs from pandora.
 

asimov-solensan

Very Active Member
Joined
Jan 8, 2010
Messages
531
Here is the .out file
pandora:/var/volatile/tmp$ cat pndrun_vcmi.out
=======================================================================================
PND : /media/SD16/pandora/menu/vcmi.pnd
PND_FSTYPE : Squashfs
APPDATADIR : /media/SD16/pandora/appdata/vcmi
APPDD_FSTYPE : vfat
PND_CPUSPEED : <unset>
EXENAME : runscript.sh
ARGUMENTS : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/vcmi"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/SD16/pandora/appdata/vcmi=rw+nolwh":"/mnt/pnd/vcmi=rr" none "/mnt/utmp/vcmi"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application ( runscript.sh ) ----------
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-asimov'
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
QT5 Base dir = /mnt/utmp/vcmi
[SUCCESS]--- Starting the application ( runscript.sh ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
Starting...
VCMI 0.99 26a222ac623e5d02faa898db4f6bf322195dfe0b (client)
Creating console and configuring logger: 30 ms
The log file will be saved to "/mnt/utmp/vcmi/home/Cache/vcmi/VCMI_Client_log.txt"
Initialization: 20 ms
Data loading: 490 ms
Mod handler: 0 ms
Mod filesystems: 410 ms
Basic initialization: 920 ms
Initialized logging system based on settings successfully.
[log level] ai => not set
[log level] animation => not set
[log level] bonus => not set
[log level] global => trace
[log level] mod => not set
[log level] network => not set
Loading settings: 930 ms
Found 4 render drivers
opengl (active)
opengles2
opengles
software
Check display mode: requested 800 x 600; available up to 800 x 480
Created renderer opengl
Initializing screen: 500 ms
Initializing video: 510 ms
Initializing screen and sound handling: 30 ms
Bonus type handler: 80 ms
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
General text handler: 170 ms
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
Hero handler: 200 ms
Artifact handler: 0 ms
Creature handler: 160 ms
Town handler: 10 ms
Object handler: 40 ms
Object types information handler: 0 ms
Spell handler: 0 ms
Skill handler: 0 ms
Terrain view pattern handler: 30 ms
Template handler: 0 ms
Initializing handlers: 690 ms
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
Initializing content handler: 1840 ms
[54e403d6]Original game files
[2b48f576]VCMI essential files
Parsing mod data: 420 ms
[SKIP] Original game files
[SKIP] VCMI essential files
Loading mod data: 1580 ms
Resolving identifiers: 150 ms
No templates found for 38:1
No templates found for 49:1
No templates found for 70:0
No templates found for 79:7
No templates found for 90:1
No templates found for 100:1
No templates found for 103:1
No templates found for 113:1
No templates found for 172:0
No templates found for 186:0
No templates found for 189:0
Handlers post-load finalization: 20 ms
All game content loaded in 4010 ms
Initializing VCMI_Lib: 4720 ms
Screen handler: 60 ms
Main graphics: 1090 ms
Initializing game graphics: 1150 ms
Message handler: 10 ms
Initialization of VCMI (together): 7880 ms

Setting up thread calling server: 0 ms
./vcmiserver: error while loading shared libraries: libboost_date_time.so.1.57.0: cannot open shared object file: No such file or directory
Error: server failed to close correctly or crashed!
Check /mnt/utmp/vcmi/home/Cache/vcmi/server_log.txt for more info
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
[ FAILED]--- Waiting the Union to be available ----------
umount: /mnt/utmp/vcmi: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /mnt/utmp/vcmi: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount: /mnt/utmp/vcmi: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
WARNING umount UNION failed, didnt clean up. Process still using this FS :
6156 ? SLl 0:45 ./vcmiclient
+++++++
Loopback devices :
/dev/loop0: [b301]:873 (/media/SD16/pandora/menu/vcmi.pnd)
/dev/loop1: [b301]:825 (/media/SD16/pandora/menu/palemoon.pnd)
Are mounted on :
/dev/loop1 on /mnt/utmp/palemoon type squashfs (ro,relatime)
/dev/loop0 on /mnt/utmp/vcmi type squashfs (ro,relatime)
For these Union :
none on /mnt/utmp/palemoon type aufs (rw,relatime,si=858f79e,noplink)
none on /mnt/utmp/vcmi type aufs (rw,relatime,si=745039e,noplink)
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 6
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode 147 (139), X11 KeySym 0x1008FF65 (XF86MenuKB).
Closed connection.
Ending current game!
Removed GUI.
Deleted mapHandler and gameState.
Deleted playerInts.
Client stopped.
Killing console...
Killing console... done!
pandora:/var/volatile/tmp$

And the error from the wizard:
Unable to download all files.

Encountered errors:

Error transferring http://download.vcmi.eu/mods/repository/repository.json - server replied: Origin Connection Time-out

Error transferring http://download.vcmi.eu/mods/repository/repository.json - server replied: Origin Connection Time-out

Checked on the browser and there is nothing on that address.

Hope someone tests this also. Maybe it's a problem on my side and I'm just wasting your time.

EDIT

You just answered before I uploaded logs.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,644
Age
47
Location
France, near Lyon
Ok, you do have some error:
Code:
./vcmiserver: error while loading shared libraries: libboost_date_time.so.1.57.0: cannot open shared object file: No such file or directory
That's why the game is frozen for you.

I'll do some more symlink, as it seems vcmiserver wants all it's lib in "root" folder...
[doublepost=1522657790,1522656375][/doublepost]The new build is on the repo. I symlink'd al vcmiserver libs, so it should start now. Also, I stripped all binaries, so the PND is down to around 50MB.

Build 04
-----------

  • Re-repackaged: vcmiserver should work now
 

Magic Sam

Forever Homebrew
Joined
Aug 10, 2007
Messages
2,245
Age
38
Location
Innsmouth, MA
Hi all,

@ptitSeb: I just bought the game at GOG.com :) Currently scp'ing the EXE file to the Pandora. I'll report here ASAP !

Cheers, Magic Sam
[doublepost=1522668502,1522663873][/doublepost]Hi again,

@ptitSeb : extracting data from the GOG version worked like a charm, but the download site is still off-line.

EDIT : Host error 524 (connection timed out) on download.vcmi.eu (hosted by Cloudflare)

EDIT 2: I managed to start playing a campaign, so I guess everything is working correctly now :) The 3DO video was pretty slow though, and the game felt sluggish, even with OC @ 825MHz.

Cheers, Magic Sam
 
Last edited:

asimov-solensan

Very Active Member
Joined
Jan 8, 2010
Messages
531
Finally got it to work. Tanks a lot.

First impressions. You don't get music from GOG package. Files must be in ogg format as happened with older VCMI, luckily I had my older folder.

Indeed it feels sluggish on the map, hero movement and screen scrolling is very choppy.

Combats on the other hand seems ok but I must check a larger one with plenty of creatues in a siege.

I will try a couple of maps and see how it goes.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,644
Age
47
Location
France, near Lyon
Slugish? No MP3 Music? Mmmm, I don't think that's what I have, I'll check that later. There is no reason the MP3 music would not work. And, if the video are indeed slow, the Map should not.
[doublepost=1522707771,1522694991][/doublepost]New build on the repo. I fixed the MP3 music issue. My SDL2_mixer copy was a bit old. i updated my mercury repo and build a fresh new one, using libmpg123 for mp3 instead of smpeg-2.
Now, about the slugishness. I tried to tweak SDL2 a bit, but there is a lot of software Blit done by VCMI, so tweaking is not enough. I'll see later if I can plug the NEON blitter that notaz wrote for SDL1.2 in SDL2, or see if I can avoid some the blits...

Build 05
-----------

  • Rebuilt SDL2_mixer: MP3 music now work
  • Tweaked a bit SDL2, should be a bit faster (nothing spectacular)
 

Magic Sam

Forever Homebrew
Joined
Aug 10, 2007
Messages
2,245
Age
38
Location
Innsmouth, MA
Hi all !

@ptitSeb: the download site is back on-line. I managed to download 2 mods, True Type fonts and HiRes menus :)

Too bad the tutorial doesn't work in VCMI, I'm quite new to HoMM...

Cheers, Magic Sam
 
Top