Author Topic: [TFTD] Can someone figure out this crash for me?  (Read 2787 times)

Offline Quinch

  • Colonel
  • ****
  • Posts: 128
    • View Profile
[TFTD] Can someone figure out this crash for me?
« on: September 17, 2015, 06:48:36 am »
Link

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

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile
Re: [TFTD] Can someone figure out this crash for me?
« Reply #1 on: September 17, 2015, 08:12:22 am »
Where exactly in rule you defining sprite? I don't see any one.

Offline Quinch

  • Colonel
  • ****
  • Posts: 128
    • View Profile
Re: [TFTD] Can someone figure out this crash for me?
« Reply #2 on: September 17, 2015, 05:39:11 pm »
Oh, blah, I uploaded the wrong file. Also, the sprite definition is in the weapons ruleset.

Offline winterheart

  • Colonel
  • ****
  • Posts: 180
  • Fellow Squaddie
    • View Profile
Re: [TFTD] Can someone figure out this crash for me?
« Reply #3 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.

Offline Quinch

  • Colonel
  • ****
  • Posts: 128
    • View Profile
Re: [TFTD] Can someone figure out this crash for me?
« Reply #4 on: September 17, 2015, 06:08:53 pm »
Oh, that works! Thanks!