aliens

Author Topic: Starting problems: STR_HUMAN_SONIC_SHOTGUN  (Read 5800 times)

Offline MoonKid

  • Captain
  • ***
  • Posts: 59
    • View Profile
Starting problems: STR_HUMAN_SONIC_SHOTGUN
« on: December 30, 2019, 02:24:04 pm »
I installed OpenXCom nightly (25th Dec 2019) on Debian 10.

I tried to find the XComFiles Mod. There is no main-info-download-thread on the first-page of the xcomfiles-mod-sub-forum. so I used the "mod-protal" at https://openxcom.mod.io/ . Was this the rigth download area?

There are 3 folders in the zip archiv. I activted only the xcomfiles mod nothing else. And no other foreign mod. Openxcom restarts then and give me that error message
Weapon STR_HUMAN_SONIC_SHOTGUN has clip size 0 and no ammo defined. Please use 'clipSize: -1' for unlimited ammo, or allocate a compatibleAmmo item.

So what can I do?

This is the full log:

[30-12-2019_13-17-14]   [INFO]   OpenXcom Version: 1.0.dab597cb1 (2019-12-24 21:37)
[30-12-2019_13-17-14]   [INFO]   Platform: Unix-like
[30-12-2019_13-17-14]   [INFO]   Data folder is: /home/user/.local/share/openxcom/
[30-12-2019_13-17-14]   [INFO]   Data search is:
[30-12-2019_13-17-14]   [INFO]   - /home/user/.local/share/openxcom/
[30-12-2019_13-17-14]   [INFO]   - /tmp/.mount_OpenXcNuds6o/usr/share//openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/share/xfce4/openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/local/share//openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/share//openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/share/openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/local/share/openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/share/openxcom/
[30-12-2019_13-17-14]   [INFO]   - /usr/share/openxcom//
[30-12-2019_13-17-14]   [INFO]   - ./
[30-12-2019_13-17-14]   [INFO]   User folder is: /home/user/.local/share/openxcom/
[30-12-2019_13-17-14]   [INFO]   Config folder is: /home/user/.config/openxcom/
[30-12-2019_13-17-14]   [INFO]   Options loaded successfully.
[30-12-2019_13-17-14]   [INFO]   SDL initialized successfully.
[30-12-2019_13-17-15]   [INFO]   SDL_mixer initialized successfully.
[30-12-2019_13-17-15]   [INFO]   requested file not found: openxcom.png
[30-12-2019_13-17-15]   [INFO]   Detected locale: C.UTF-8
[30-12-2019_13-17-15]   [INFO]   Attempting to set display to 1920x1200x32...
[30-12-2019_13-17-15]   [INFO]   Display set to 1920x1200x32.
[30-12-2019_13-17-15]   [INFO]   Loading data...
[30-12-2019_13-17-15]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-17-15]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-17-15]   [INFO]   Mapping resource files...
[30-12-2019_13-17-15]   [INFO]   Resources files mapped successfully.
[30-12-2019_13-17-15]   [INFO]   Active mods:
[30-12-2019_13-17-15]   [INFO]   - xcom1 v1.0
[30-12-2019_13-17-15]   [INFO]   - XcomUtil_Starting_Defensive_Base v1.0
[30-12-2019_13-17-15]   [INFO]   - XcomUtil_Statstrings v1.0
[30-12-2019_13-17-15]   [INFO]   - area51 v0.972
[30-12-2019_13-17-15]   [INFO]   Loading rulesets...
[30-12-2019_13-17-17]   [INFO]   Loading fonts... Font.dat
[30-12-2019_13-17-17]   [INFO]   Data loaded successfully.
[30-12-2019_13-17-17]   [INFO]   Loading language...
[30-12-2019_13-17-17]   [INFO]   Language loaded successfully.
[30-12-2019_13-17-17]   [INFO]   OpenXcom started successfully!
[30-12-2019_13-17-17]   [INFO]   Playing flx, 320x200, 890 frames
[30-12-2019_13-17-21]   [INFO]   SDL_mixer initialized successfully.
[30-12-2019_13-17-23]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-17-23]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-17-32]   [INFO]   SDL_mixer initialized successfully.
[30-12-2019_13-17-32]   [INFO]   Loading data...
[30-12-2019_13-17-32]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-17-32]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-17-32]   [INFO]   Mapping resource files...
[30-12-2019_13-17-32]   [INFO]   Resources files mapped successfully.
[30-12-2019_13-17-32]   [INFO]   Active mods:
[30-12-2019_13-17-32]   [INFO]   - xcom1 v1.0
[30-12-2019_13-17-32]   [INFO]   - area51 v0.972
[30-12-2019_13-17-32]   [INFO]   Loading rulesets...
[30-12-2019_13-17-34]   [INFO]   Loading fonts... Font.dat
[30-12-2019_13-17-34]   [INFO]   Data loaded successfully.
[30-12-2019_13-17-34]   [INFO]   Loading language...
[30-12-2019_13-17-34]   [INFO]   Language loaded successfully.
[30-12-2019_13-17-34]   [INFO]   OpenXcom started successfully!
[30-12-2019_13-17-55]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-17-55]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-17-58]   [INFO]   SDL_mixer initialized successfully.
[30-12-2019_13-17-58]   [INFO]   Loading data...
[30-12-2019_13-17-58]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-17-58]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-17-58]   [INFO]   Mapping resource files...
[30-12-2019_13-17-58]   [INFO]   Resources files mapped successfully.
[30-12-2019_13-17-58]   [INFO]   Active mods:
[30-12-2019_13-17-58]   [INFO]   - xcom1 v1.0
[30-12-2019_13-17-58]   [INFO]   Loading rulesets...
[30-12-2019_13-17-59]   [INFO]   Loading fonts... Font.dat
[30-12-2019_13-17-59]   [INFO]   Data loaded successfully.
[30-12-2019_13-17-59]   [INFO]   Loading language...
[30-12-2019_13-17-59]   [INFO]   Language loaded successfully.
[30-12-2019_13-17-59]   [INFO]   OpenXcom started successfully!
[30-12-2019_13-18-01]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-18-01]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-18-07]   [INFO]   SDL_mixer initialized successfully.
[30-12-2019_13-18-07]   [INFO]   Loading data...
[30-12-2019_13-18-07]   [INFO]   Scanning standard mods in '/tmp/.mount_OpenXcNuds6o/usr/share//openxcom/standard'...
[30-12-2019_13-18-07]   [INFO]   Scanning user mods in '/home/user/.local/share/openxcom/mods'...
[30-12-2019_13-18-07]   [INFO]   Mapping resource files...
[30-12-2019_13-18-07]   [INFO]   Resources files mapped successfully.
[30-12-2019_13-18-07]   [INFO]   Active mods:
[30-12-2019_13-18-07]   [INFO]   - xcom1 v1.0
[30-12-2019_13-18-07]   [INFO]   - x-com-files v1.1.2
[30-12-2019_13-18-07]   [INFO]   Loading rulesets...
[30-12-2019_13-18-10]   [WARN]   disabling mod with invalid ruleset: x-com-files
[30-12-2019_13-18-10]   [ERROR]   failed to load 'X-Com Files'; mod disabled
Weapon STR_HUMAN_SONIC_SHOTGUN has clip size 0 and no ammo defined. Please use 'clipSize: -1' for unlimited ammo, or allocate a compatibleAmmo item.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #1 on: December 30, 2019, 02:38:18 pm »
I installed OpenXCom nightly (25th Dec 2019) on Debian 10.

I tried to find the XComFiles Mod. There is no main-info-download-thread on the first-page of the xcomfiles-mod-sub-forum. so I used the "mod-protal" at https://openxcom.mod.io/ . Was this the rigth download area?

yes

There are 3 folders in the zip archiv. I activted only the xcomfiles mod nothing else. And no other foreign mod. Openxcom restarts then and give me that error message
Weapon STR_HUMAN_SONIC_SHOTGUN has clip size 0 and no ammo defined. Please use 'clipSize: -1' for unlimited ammo, or allocate a compatibleAmmo item.

So what can I do?

XcomFiles requires OpenXcom Extended: https://openxcom.org/forum/index.php/topic,5258.0.html

(You should have received a warning when you activated the mod.)

Offline MoonKid

  • Captain
  • ***
  • Posts: 59
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #2 on: December 30, 2019, 03:00:23 pm »
But I found a thread somewhere here on the forum the OXC and OXCE are fusioned.
https://openxcom.org/forum/index.php/topic,6586.0.html
« Last Edit: December 30, 2019, 03:03:16 pm by MoonKid »

Offline BlackStaff

  • Colonel
  • ****
  • Posts: 336
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #3 on: December 30, 2019, 03:14:54 pm »
XcomFiles requires OpenXcom Extended !

But I found a thread somewhere here on the forum the OXC and OXCE are fusioned.
You're confusing OXC and OXCE!

1. OG = original game, i.e. X-COM: UFO Defense / X-COM: Terror from the Deep (by Microprose)
2. OXC = OpenXcom (nightly by SupSuper & Warboy)
3. OXCE = OpenXcom Extended (by Yankes)
4. OXCE+ = OpenXcom Extended+ (by Meridian)

(OXCE) + (OXCE+) = OXCE
« Last Edit: December 30, 2019, 03:17:07 pm by BlackStaff »

Offline zee_ra

  • Colonel
  • ****
  • Posts: 213
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #4 on: March 26, 2023, 04:46:03 am »
yes

XcomFiles requires OpenXcom Extended: https://openxcom.org/forum/index.php/topic,5258.0.html

(You should have received a warning when you activated the mod.)

I have compiled the OXCE from the https://github.com/MeridianOXC/OpenXcom.git, and I am still getting the same error.  What could be going wrong?  Is there some additional data that needs to installed?

In my case, I did a manual install along the lines of

install -m 755 $BUILD_DIR/bin/openxcom /usr/local/bin/
cp -r $BUILD_DIR/{standard,common} ~/.local/share/openxcom/
cp -r $HIDDEN_TREASURE/{TFTD,UFO} ~/.local/share/openxcom/


UPDATE I think, I might have found the root of the problem.  The master branch of the aforementioned git repository contains a vanilla version of the game.  I used that branch in connection with the issue discussed at https://openxcom.org/forum/index.php/topic,11190.0.html.

@Meridian Frankly, this is a bit misleading.  Perhaps, a policy of branch naming should be reconsidered?  Maybe, a file with release id should also be placed in the root of the repository.  Nothing more sophisticated than a VERSION with a basic description string is necessary.  Maybe first paragraph in README could mentioned something about being a vanilla version, and not an extended one.
« Last Edit: March 26, 2023, 05:10:10 am by zee_ra »

Offline krautbernd

  • Commander
  • *****
  • Posts: 1108
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #5 on: March 26, 2023, 01:12:32 pm »
Is this a mod issue or an issue with OXCE and the repository? Might want to post this in the OXCE subforum instead.

Offline zee_ra

  • Colonel
  • ****
  • Posts: 213
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #6 on: March 26, 2023, 10:27:02 pm »
Is this a mod issue or an issue with OXCE and the repository? Might want to post this in the OXCE subforum instead.

Thank you; this is a good idea.

I would say this is a release engineering / code organization issue.  I actually posted in the OXCE dev section.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #7 on: March 28, 2023, 10:06:20 am »
UPDATE I think, I might have found the root of the problem.  The master branch of the aforementioned git repository contains a vanilla version of the game.  I used that branch in connection with the issue discussed at https://openxcom.org/forum/index.php/topic,11190.0.html.

@Meridian Frankly, this is a bit misleading.  Perhaps, a policy of branch naming should be reconsidered?  Maybe, a file with release id should also be placed in the root of the repository.  Nothing more sophisticated than a VERSION with a basic description string is necessary.  Maybe first paragraph in README could mentioned something about being a vanilla version, and not an extended one.

The 'master' branch contains the latest OXC.

The naming is fine in my opinion, OXC is a "master mod" for OXCE :) And I can't rename it anyway (I think?).

I also cannot add any files to the master branch, because then it wouldn't be a 100% copy of OXC and the merge history would start to look absolutely awful from the moment I add a first non-OXC commit. Already tried that some years ago, we really don't want that.

The 'oxce-plus' branch is the one you need, and it is also the default branch... you get it automatically when you first download the repo. No need to switch branches, it's ready to go.

Offline zee_ra

  • Colonel
  • ****
  • Posts: 213
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #8 on: March 30, 2023, 05:22:56 am »
The 'master' branch contains the latest OXC.

The naming is fine in my opinion, OXC is a "master mod" for OXCE :) And I can't rename it anyway (I think?).


The name of the repository is OXCE, and the general convention to have master branch refer to the project's current development state.  In case of OXCE, it should have been OXCE's current development state, not OXC's.


I also cannot add any files to the master branch, because then it wouldn't be a 100% copy of OXC and the merge history would start to look absolutely awful from the moment I add a first non-OXC commit. Already tried that some years ago, we really don't want that.

You may create a branch for OXC.  The issue is not the presence of a branch dedicated to OXC, but rather its name.

The merge history would not really look any different if branches are named differently.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #9 on: March 30, 2023, 07:40:45 am »
Thank you for your opinion.

Offline Nephron

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #10 on: May 28, 2023, 11:33:21 am »
Having the same issue.

A naive user can do the following and it won't work:

1. Google "the x-com files"
2. Click top result
3. Click top thread
4. Click "Get mod here"
5. Click on the listed dependency
6. Open the forum link per the instructions
7. download and run openxcom_extended_v7.9.6-win64.exe
8. download openxcom_xfiles_2.9-9vuz.zip
9. Place the open xcom files in the location stated in the readme.
10. Have it not work with the above mentioned error

My opinion is that something is clearly disorganized when a very reasonable attempt to follow instructions doesn't work.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: Starting problems: STR_HUMAN_SONIC_SHOTGUN
« Reply #11 on: May 28, 2023, 12:53:32 pm »
Sorry, but if you did exactly what you wrote and nothing else, it is literally impossible to get that same error.

Either you did something more or something less.