[Help] Need Help With a Custom Weapon

Discuss and distribute tools and methods for modding. Moderator - Grognak
BattleBee
Posts: 13
Joined: Sat Sep 28, 2013 12:25 pm

Re: [Help] Need Help With a Custom Weapon

Post by BattleBee »

kartoFlane wrote:Huh. That's odd. But SMM rarely is mistaken.

It'll be a lot simpler if you just upload your .ftl file so we can figure out what's wrong -- you don't have to worry about it containing stuff from other mods, IIRC technically every mod is part of public domain by default. Especially given the fact that .ftl files can be easily unpacked.
Given my luck, EVERYTHING is mistaken. =P

Anyway, files uploaded.
User avatar
Kieve
Posts: 944
Joined: Tue Sep 18, 2012 2:21 pm

Re: [Help] Need Help With a Custom Weapon

Post by Kieve »

My attempts to download and open both files resulted in a "file is corrupted" error.
Perhaps that's the source of the problem? What are you using to package them?
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Help] Need Help With a Custom Weapon

Post by kartoFlane »

The havoc laser has data files with extension .xml - it should have .xml.append
The modified CEPS has blueprints.xml, should be blueprints.xml.append. All other files have ~ at the end -- those are temporary files that are sometimes present in CE's release. Just remove the ~ from the name and it should work.
Superluminal2 - a ship editor for FTL
BattleBee
Posts: 13
Joined: Sat Sep 28, 2013 12:25 pm

Re: [Help] Need Help With a Custom Weapon

Post by BattleBee »

Kieve wrote:My attempts to download and open both files resulted in a "file is corrupted" error.
Perhaps that's the source of the problem? What are you using to package them?
I am using WinRar to pack them, and then rename the file extension to ".ftl".
BattleBee
Posts: 13
Joined: Sat Sep 28, 2013 12:25 pm

Re: [Help] Need Help With a Custom Weapon

Post by BattleBee »

kartoFlane wrote:The havoc laser has data files with extension .xml - it should have .xml.append
The modified CEPS has blueprints.xml, should be blueprints.xml.append. All other files have ~ at the end -- those are temporary files that are sometimes present in CE's release. Just remove the ~ from the name and it should work.
But the laser cannot have data files with only extension .xml. When I look at it, it clearly says ".xml.append".

It's really weird, but I will try and fix the CE problem.
BattleBee
Posts: 13
Joined: Sat Sep 28, 2013 12:25 pm

Re: [Help] Need Help With a Custom Weapon

Post by BattleBee »

BattleBee wrote:
kartoFlane wrote:The havoc laser has data files with extension .xml - it should have .xml.append
The modified CEPS has blueprints.xml, should be blueprints.xml.append. All other files have ~ at the end -- those are temporary files that are sometimes present in CE's release. Just remove the ~ from the name and it should work.
But the laser cannot have data files with only extension .xml. When I look at it, it clearly says ".xml.append".

It's really weird, but I will try and fix the CE problem.
Nope. Did not work.

Welp, looks like I am going to have someone to fix the mod for me. Would anyone help me with this, please?
User avatar
5thHorseman
Posts: 1665
Joined: Sat Mar 02, 2013 2:29 am

Re: [Help] Need Help With a Custom Weapon

Post by 5thHorseman »

Your problem is that you used winrar :) It made the file a rar file. I don't use the gui versions of any of these programs so don't know, but you'll want to find a way to make zip files instead of rar files, either within winrar (I know it can unpack zips, but don't know if it'll make them) or winzip, or use Windows' ability to compress a folder. I personally use "zip" at the command line. :)

I see no indication that SMM can even understand rar files, and I'm a little surprised that it tries to if it can't. I unpacked your rar though and then zipped it up and got:

Code: Select all

@ temp.ftl:
  ---------
  No Problems
My Videos - MY MOD HUB
Simo-V - The Potential - Automated Scout - "Low O2" Icons
The Black Opal - The Asteroid - The Enforcer - The Pyro

"Every silver lining has a cloud..."
BattleBee
Posts: 13
Joined: Sat Sep 28, 2013 12:25 pm

Re: [Help] Need Help With a Custom Weapon

Post by BattleBee »

5thHorseman wrote:Your problem is that you used winrar :) It made the file a rar file. I don't use the gui versions of any of these programs so don't know, but you'll want to find a way to make zip files instead of rar files, either within winrar (I know it can unpack zips, but don't know if it'll make them) or winzip, or use Windows' ability to compress a folder. I personally use "zip" at the command line. :)

I see no indication that SMM can even understand rar files, and I'm a little surprised that it tries to if it can't. I unpacked your rar though and then zipped it up and got:

Code: Select all

@ temp.ftl:
  ---------
  No Problems
Was that the problem all along?! xD

Thank you so much! The mod now works. I can't get the custom weapon image to work, but the mod itself works! C:
Post Reply