MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001010VCMIMechanics - Otherpublic2012-06-16 18:052012-06-17 09:17
Reporterlyssdod 
Assigned To 
PriorityhighSeveritycrashReproducibilityalways
StatusclosedResolutionno change required 
PlatformLinuxOSGentooOS Version
Product Version0.89 
Target VersionFixed in Version 
Summary0001010: can not find AVCVGR.DEF file
DescriptionI compiled vcmi from current SVN (r2760) and placed all required files into corresponding directories, but vcmiclient still refuses to run, though this file is present

Steps To ReproduceRun vcmiclient
Additional Information$ uname -a
Linux 3.2.9-gentoo 0000007 SMP PREEMPT Tue May 1 19:38:03 UTC 2012 x86_64 Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz GenuineIntel GNU/Linux


$ vcmiclient -v
Starting...
VCMI 0.89b
  data directory: /usr/share/games/vcmi
  library directory: /usr/games/lib64/vcmi
  binary directory: /usr/games/bin

$ ls /usr/share/games/vcmi/Data | grep -i AVCVGR
AVCvgr.def
AVCVGR.DEF
AVCvgr.msg

$ ls /usr/share/games/vcmi/Sprites | grep -i AVCVGR
AVCVGR.DEF

TagsNo tags attached.
Attached Filestxt file icon VCMI_Client_log.txt [^] (15,735 bytes) 2012-06-16 18:05 [Show Content]

- Relationships

-  Notes
(0002735)
Ivan (developer)
2012-06-16 19:47
edited on: 2012-06-16 19:53

Will check this out.

For now try to copy msk file to Sprites:
cp /usr/share/games/vcmi/Data/AVCVGR.msg /usr/share/games/vcmi/Sprites/AVCVGR.msg

Just wondering: how you got *.def's and *.msg's in Data?
Normally they are in .lod archives.

(0002736)
lyssdod (reporter)
2012-06-16 19:59

I used build_data.sh script from source directory. Now it says following:

VCMI 0.89b (client)
Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 0
    Initializing screen: 30
    Initializing video: 0
    Initializing minors: 0
[smk @ 0x1bc4fc0] max_analyze_duration 5000000 reached at 5066160
    Initializing sound: 20
Initializing screen and sound handling: 30
Loading .lod files: 110
    General text handler: 30
    Hero handler: 20
    Artifact handler: 0
    Creature handler: 40
    Town handler: 20
    Object handler: 0
Cannot find file: ZOBJ044
Fatal error. Missing game file: ZOBJ044.DEF. Aborting!
Killing console... done!



$ pwd
/usr/share/games/vcmi

$ ls Data | grep ZOBJ044
ZOBJ044.DEF

$ ls Sprites | grep ZOBJ044
ZOBJ044.DEF
(0002737)
Ivan (developer)
2012-06-16 20:02

move all *.def's and *.msk's from Data to Sprites directory.

I'll check the script.
(0002738)
lyssdod (reporter)
2012-06-16 20:15

I moved, but it still does not work (I have no such file). By the way, file naming in Data and Sprites is an awful mixing of upper- and lowercase characters; if vcmi always tries to open uppercase named files only, maybe it'll be useful to add some renaming functionality to the script for unification purposes?

Note: SDL suggests to use 32 bpp instead of24 bpp
New screen flags: 0
    Initializing screen: 40
    Initializing video: 0
    Initializing minors: 0
[smk @ 0x7f07d808c100] max_analyze_duration 5000000 reached at 5066160
    Initializing sound: 20
Initializing screen and sound handling: 20
Loading .lod files: 110
    General text handler: 20
    Hero handler: 20
    Artifact handler: 10
    Creature handler: 40
    Town handler: 30
    Object handler: 0
Cannot find file: AVA0129
Fatal error. Missing game file: AVA0129.DEF. Aborting!
Killing console... done!
(0002739)
Ivan (developer)
2012-06-16 20:34

It's already in. Console messages may be confusing a bit but vcmi looks for files in case-insensitive way. (and somewhat ignoring extensions)

AVA0129 is an artifact added in Armaggedon's Blade. Script takes them from here:
"data1.cab and data1.hdr from the original 1st CDROM"

If this file is missing it means that you have H3:Restoration of Erathia.
VCMI won't work with RoE or Armaggedon's Blade. You need to have H3:Complete or H3:Shadow of Death.
(0002741)
lyssdod (reporter)
2012-06-16 21:04

I have Armageddon's Blade and extracted this file from H3ab_spr.lod. However, now vcmi looks for bmps:


Loading .lod files: 150
    General text handler: 20
    Hero handler: 10
    Artifact handler: 10
    Creature handler: 40
    Town handler: 20
    Object handler: 10
    Def information handler: 50
    Building handler: 10
    Spell handler: 0
Initializing VCMI_Lib: 330
Screen handler: 0
Error: Failed to find file HPS133Nc.bmp
Error: Failed to find file HPL133Nc.bmp
Segmentation fault
(0002742)
Ivan (developer)
2012-06-16 21:20

I suppose they're in H3ab_bmp.lod

It's probably first time somebody have edition with essential files in H3ab_*.lod's
For now you'll have to extract them into Data/ and Sprites/ but later it should be possible to add support for such editions.
(0002743)
lyssdod (reporter)
2012-06-17 00:51

I tried another variant of game data and it worked
(0002744)
lyssdod (reporter)
2012-06-17 00:52

Ticket can be closed

- Issue History
Date Modified Username Field Change
2012-06-16 18:05 lyssdod New Issue
2012-06-16 18:05 lyssdod File Added: VCMI_Client_log.txt
2012-06-16 19:47 Ivan Note Added: 0002735
2012-06-16 19:53 Ivan Note Edited: 0002735 View Revisions
2012-06-16 19:59 lyssdod Note Added: 0002736
2012-06-16 20:02 Ivan Note Added: 0002737
2012-06-16 20:15 lyssdod Note Added: 0002738
2012-06-16 20:34 Ivan Note Added: 0002739
2012-06-16 21:04 lyssdod Note Added: 0002741
2012-06-16 21:20 Ivan Note Added: 0002742
2012-06-17 00:51 lyssdod Note Added: 0002743
2012-06-17 00:52 lyssdod Note Added: 0002744
2012-06-17 09:17 Ivan Status new => closed
2012-06-17 09:17 Ivan Resolution open => no change required

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean