OpenXcom Forum

Modding => Work In Progress => Topic started by: Quinch on September 17, 2015, 06:48:36 am

Title: [TFTD] Can someone figure out this crash for me?
Post by: Quinch on September 17, 2015, 06:48:36 am
Link (https://dl.dropboxusercontent.com/u/33551029/openXcom/Second%20Alien%20War.zip)

Whenever I try to fire this up, I crash with an error that it can't find the hull charge sprite. However, if I put in the full path* in the ruleset, the sprite loads fine.

Any ideas?



* C:\Users\thequ\Documents\OpenXcom\Mods\Second Alien War\Resources\Sprites\hull_breach_charge_bigob.png
Title: Re: [TFTD] Can someone figure out this crash for me?
Post by: winterheart on September 17, 2015, 08:12:22 am
Where exactly in rule you defining sprite? I don't see any one.
Title: Re: [TFTD] Can someone figure out this crash for me?
Post by: Quinch on September 17, 2015, 05:39:11 pm
Oh, blah, I uploaded the wrong file. Also, the sprite definition is in the weapons ruleset.
Title: Re: [TFTD] Can someone figure out this crash for me?
Post by: winterheart on September 17, 2015, 06:00:36 pm
OpenXcom uses brand-new® slashes (/) as delimeters for folders. Backslashes (\) are "escaping character" (in terms regular expression meaning). Just replace '\' with '/' and all will be OK.
Title: Re: [TFTD] Can someone figure out this crash for me?
Post by: Quinch on September 17, 2015, 06:08:53 pm
Oh, that works! Thanks!