Game Crashes when selecting modded ship

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Game Crashes when selecting modded ship

Postby Biohazard063 » Tue Nov 18, 2014 8:43 pm

Hey all,

I'm fairly new to modding and I'm now working on my second custom ship.
Using Superluminal, great program.
Now, I did most of the work with that program.
Created a hull, room layout, appointed systems to the rooms, installed doors etc...
The only thing really missing is the cloaking image which I'm still working on.
Wanted to take it for a test run, can load it into Slipstream but as soon as I click on the ship it replaces, FTL crashes.
I can show you the crash log (at least that's what I think it is) :

Code: Select all

Name:   APPCRASH
  Name of application:   FTLGame.exe
  Version of application:   0.0.0.0
  Time of application :   537a343e
  Name of errormodule:   ntdll.dll
  Version of errormodule:   6.1.7600.16385
  Time of errormodule:   4a5bdb3b
  Exceptionscode:   c0000005
  Exceptionmarge:   0002ee48
  Version of OS:   6.1.7600.2.0.0.256.1
  Country-id:   2067
  Additional information 1:   e8ad
  Additional information 2:   e8adce1c2b9e7be834b4063ac3c53863
  Additional information 3:   e8ad
  Additional information4:   e8adce1c2b9e7be834b4063ac3c53863

Had to translate that as my PC's OS isn't in English.

Some info on the mod.
It's a pretty big ship, as in size of the hull. (816x420 pixels)
It has 15 animated gibs.
Has doors that link to other doors (the rooms aren't next to one another, but used door linking).
Anyone here have an idea on what the cause could be?
Or where I can find additional info to help you/me find the problem?

Thanks for reading, and for any potential help.
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.
rannl
Posts: 335
Joined: Sun Nov 25, 2012 11:13 pm

Re: Game Crashes when selecting modded ship

Postby rannl » Tue Nov 18, 2014 9:01 pm

Can you post a link to the mod's .ftl file ? I'll DL it and take a look at it.

Your PC's OS isn't in english ? Funny, your accent on youtube sounds like a varient of some english speaking country :?
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Game Crashes when selecting modded ship

Postby kartoFlane » Tue Nov 18, 2014 9:55 pm

Biohazard063 wrote:Has doors that link to other doors (the rooms aren't next to one another, but used door linking).

I vaguely recall people having issues with manually linked doors since AE came about... If I remember correctly, the game crashes if the linked rooms are further apart than ~2 tiles or something.
You could try loading the ship in the editor, then going to Edit > Reset All Door Links, and using that modified version to see if this is in fact the reason for the crashes.

Though it could also be the 15 gibs, but I've never encountered any problems with that.
Superluminal2 - a ship editor for FTL
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Re: Game Crashes when selecting modded ship

Postby Biohazard063 » Wed Nov 19, 2014 7:37 am

Here's the link to what I have so far :
https://www.dropbox.com/s/6z9bgn37zj3ysdx/The%20Colllective.rar?dl=0
It's a rar file containing both the one with linked doors and the one without them (last one conveniently names "no doors").
You'll immediately see why I can't go without linked doors...
As far as the door labyrinth goes. If it's facing another door, it's linked to it. If it's facing empty space, it's an airlock.

Furthermore, I tested what you said Karto, it's not (just) the doors. So there's probably something else going on. I'll try to remove some gibs and see if anything changes.
Also checked Steam\SteamApps\common\FTL Faster Than Light\crashlogs. Nothing recent in there.

As for the accent, one of the things I'm a bit proud of, not having a heavy accent ;) .
Native language is dutch.
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Game Crashes when selecting modded ship

Postby RAD-82 » Wed Nov 19, 2014 8:44 pm

I took a quick look at your file. It didn't take me long to find a problem, since I was unable to load your hull image or gibs in my old Paint Shop Pro. Then I loaded the hull in GIMP, and it says that it was a GIF file, rather than a PNG. Try re-saving the hull and gibs as 32-bit PNG files.

However, I don't think that is causing the crash, since that would probably just end up as missing images in the game. My past work on DryEagle's Escort Duty suggests that the crashing is caused by the rooms being too far apart. I never actually figured out how that distance thing worked, but two tiles of empty space seem like a problem. Given your hull image, I can see that trying to bring the rooms closer together would cause some ships to overlap.


You also have a duplicate gib. I don't think it is causing any problems, but I'm just mentioning that it is there.
Image
Junkyard has FTL mods, mostly ships and a few other things.
rannl
Posts: 335
Joined: Sun Nov 25, 2012 11:13 pm

Re: Game Crashes when selecting modded ship

Postby rannl » Wed Nov 19, 2014 9:17 pm

I took a look at your mod, did some goofing around. Adding rooms between all the doors allowed for the ship to be loaded successfully in-game, then I tried removing one of the rooms, leaving a 2 space gap between the doors, and I manually reconnected the gapped rooms. This worked OK in game. Perhaps a large number of gapped connections causes the crashes ?

Dutch.... Never would have guessed :D

PS. Very nifty idea !
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Re: Game Crashes when selecting modded ship

Postby Biohazard063 » Thu Nov 20, 2014 6:55 am

RAD-82 wrote:I took a quick look at your file. It didn't take me long to find a problem, since I was unable to load your hull image or gibs in my old Paint Shop Pro. Then I loaded the hull in GIMP, and it says that it was a GIF file, rather than a PNG. Try re-saving the hull and gibs as 32-bit PNG files.

However, I don't think that is causing the crash, since that would probably just end up as missing images in the game. My past work on DryEagle's Escort Duty suggests that the crashing is caused by the rooms being too far apart. I never actually figured out how that distance thing worked, but two tiles of empty space seem like a problem. Given your hull image, I can see that trying to bring the rooms closer together would cause some ships to overlap.


You also have a duplicate gib. I don't think it is causing any problems, but I'm just mentioning that it is there.


Well, I still use paint and powerpoint for pretty much everything, even the creation of this hull image (with a little help from a site that allows me to make an entire colour transparent).
And yes, I found out that ".gif" can't be loaded in superluminal. The hull used is a ".png".
About the gibs : Oh? I thought one just disapeared... I"ll get it sorted.

rannl wrote:I took a look at your mod, did some goofing around. Adding rooms between all the doors allowed for the ship to be loaded successfully in-game, then I tried removing one of the rooms, leaving a 2 space gap between the doors, and I manually reconnected the gapped rooms. This worked OK in game. Perhaps a large number of gapped connections causes the crashes ?

Dutch.... Never would have guessed :D

PS. Very nifty idea !


Then why wasn't I able to load the mod when I removed all the links between the doors?
I can try to get fewer links though. But I'd like to at least see a working version... even if it's without linked doors.
Also when linking doors, do you have to put in both ID's, or just the one that isn't right next to the door?
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Game Crashes when selecting modded ship

Postby kartoFlane » Thu Nov 20, 2014 9:41 am

Biohazard063 wrote:Also when linking doors, do you have to put in both ID's, or just the one that isn't right next to the door?

Just the one that isn't right next to it. The rest will be handled by the editor during saving. Keep in mind though that it does matter which ID slot you use.
Superluminal2 - a ship editor for FTL
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Re: Game Crashes when selecting modded ship

Postby Biohazard063 » Thu Nov 20, 2014 9:45 am

kartoFlane wrote:
Biohazard063 wrote:Also when linking doors, do you have to put in both ID's, or just the one that isn't right next to the door?

Just the one that isn't right next to it. The rest will be handled by the editor during saving. Keep in mind though that it does matter which ID slot you use.


Would make for a pretty interesting ship if you messed those up though :lol:
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.
User avatar
Biohazard063
Posts: 412
Joined: Fri Feb 14, 2014 4:38 pm

Re: Game Crashes when selecting modded ship

Postby Biohazard063 » Thu Nov 20, 2014 4:24 pm

Alright, I can't get it to load properly even after removing door links and gibs. Well most of them, I...lost 4 of them in superluminal. Would like to know what you did to load it in Rannl.
It even breaks the other ships when I load in the mod, giving them squares with a black and yellow chess board pattern in them. :roll: When viewed in the ships list, it shows a black box in the top left corner in the window where the ship should be. Which is odd since I didn't even give a thumbnail yet.
Amateur modder and Let's player (with a substantial FTL and ItB LP featuring countless mods).
Channel link
A list of all my mods can be found here.