Author Topic: Help Installing mod  (Read 4833 times)

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Help Installing mod
« on: May 11, 2019, 03:26:20 am »
Looked at some You tube vids for installing mods, but there is a difference.

The mod I am installing is openxcom.mod.io/arsenal-expanded.

From the vids I should put it in the data directory of the base openX location, not the save games location. There is suppose to be a data directory there, it is not. I created one anyway and put the mod there. Upon startup in the options/mod screen, it is not listed.

What did I do wrong? I did the patch update beforehand so am at a loss.

Thanks for any help

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Help Installing mod
« Reply #1 on: May 11, 2019, 10:05:41 am »
Which version of OpenXcom?

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #2 on: May 11, 2019, 05:00:53 pm »
The latest 4/28/2019 from the nightlies  and it is a fresh install with no other mods.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Help Installing mod
« Reply #3 on: May 11, 2019, 07:58:44 pm »
There is no "data" directory in the nightlies, this was the case many years ago in v1.0.

Nightlies can be installed anywhere... I recommend NOT into Program Files, but somewhere else. If you want you CAN install into Program Files, but you may run into issues with that.

After installation, and after the first successful run without any mods, there will be a "mods" directory in your documents folder (same folder where the saved games are).
The mod needs to be extracted into that "mods" directory.

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #4 on: May 12, 2019, 02:31:15 am »
Okay, halfway there. Yes, the install was in Program X86 and no mod directory in save location.

Put clean install in not either program files. Now there is a mod  location at saves. put mod there and the following error upon startup:

Error: Resources/weapon rework/Sound/ACC fire.ogg: Mix_LoadWav_RW with null src

The mod didn't specify any additional files for it to work.

What next?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Help Installing mod
« Reply #5 on: May 12, 2019, 10:31:58 am »
Well, does the file at that location exist?

I get the same error message when I delete that file.

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #6 on: May 12, 2019, 03:08:29 pm »
The file is there and i can play it with a media player

I get the same error message if the file is there or not.

Weird?
« Last Edit: May 12, 2019, 03:13:39 pm by Old School1985 »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Help Installing mod
« Reply #7 on: May 12, 2019, 05:40:18 pm »
Can you attach the log file?

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #8 on: May 12, 2019, 06:34:12 pm »
here you go




Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Help Installing mod
« Reply #9 on: May 12, 2019, 06:59:46 pm »
I don't know man, it says clearly the file is not there.

Code: [Select]
[12-05-2019_08-13-10] [INFO] requested file not found: Resources/Weapon Rework/Sound/AAC Fire.ogg
[12-05-2019_08-13-10] [ERROR] Resources/Weapon Rework/Sound/AAC Fire.ogg:Mix_LoadWAV_RW with NULL src

Have you uninstalled openxcom 1.0 properly and deleted the "data" folder if it wasn't deleted?
Can you try some other mod?

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #10 on: May 12, 2019, 09:05:51 pm »
Deleted the original 1.0 with the control panel un-install. have already deleted, re-installed new 1.0 and the mod.
No data directory exists. Have not tried any other mods. I play Skyrim/Fallout4 and for sure you add mods one at a time to make sure things are stable.
Will try some others to see what happens.
I am a weapons freak so thought this would be a good start.

Ty for the timely return replies. :)

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #11 on: May 12, 2019, 10:45:32 pm »
The mini-gun and gauss mods work fine, though have not tried them together.

I am looking to modify the laser weapons, but am not a programmer. Could you point me in a direction to learn this stuff? Perhaps a templete guide?  I hex edited the original game, but this different.
Currently looking at the mod resources, so absorbing what i can.
Though notedpad still works for charactors  and money.

TY
« Last Edit: May 12, 2019, 10:49:02 pm by Old School1985 »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Help Installing mod
« Reply #12 on: May 12, 2019, 10:54:10 pm »
Hex edit is not needed, openxcom modding is via plain text files.

Easiest way to learn modding is to read other mods; start with a very simple mod adding for example one weapon and make your way to more complicated mods.

The full reference guide can be found here: https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)
It can give you an idea what can be changed.

Offline Old School1985

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Re: Help Installing mod
« Reply #13 on: May 13, 2019, 01:04:53 am »
Awesome!

Again, thanks for the timely help.  :)