[TOOL]FTLEdit: FTL Ship editor [v0.95 11th Jan] Open source!

Discuss and distribute tools and methods for modding. Moderator - Grognak
Sprite99
Posts: 1
Joined: Sun Nov 25, 2012 10:51 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby Sprite99 » Sun Nov 25, 2012 10:57 pm

Great looking app, yet when I try to run it in MONO on my Mac I get this error

Code: Select all

Unhandled Exception: System.DllNotFoundException: csfml-graphics-2
  at (wrapper managed-to-native) SFML.Graphics.Transform:sfTransform_create ()
  at SFML.Graphics.Transform..ctor () [0x00000] in <filename unknown>:0
  at SFML.Graphics.Transform.get_Identity () [0x00000] in <filename unknown>:0
  at SFML.Graphics.RenderStates.get_Default () [0x00000] in <filename unknown>:0
  at FTLShipEdit.Game..ctor () [0x00000] in <filename unknown>:0
  at FTLShipEdit.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: csfml-graphics-2
  at (wrapper managed-to-native) SFML.Graphics.Transform:sfTransform_create ()
  at SFML.Graphics.Transform..ctor () [0x00000] in <filename unknown>:0
  at SFML.Graphics.Transform.get_Identity () [0x00000] in <filename unknown>:0
  at SFML.Graphics.RenderStates.get_Default () [0x00000] in <filename unknown>:0
  at FTLShipEdit.Game..ctor () [0x00000] in <filename unknown>:0
  at FTLShipEdit.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

It would be great if you could try to resolve the error because I am dying to try using this.
curlsworth
Posts: 8
Joined: Wed Sep 19, 2012 7:38 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby curlsworth » Sun Nov 25, 2012 11:11 pm

Hey alextfish. Thank you for taking the time write a helpful respond to me. While I had figured out conceptually most of what you told me, I clearly I haven't figured out all the specifics yet. You've given me the hope that I'm heading in the right direction. I think I'm struggling with the formatting. Whatever, I'll keep banging my head against the wall until I get it.

Basically, I'm trying to add in ships that you can play, without changing any of the ships in the hangar. Before you tell me that is impossible, which I already know, allow me to direct you to http://www.ftlgame.com/forum/viewtopic.php?f=12&t=5242 where Vhati came up with a way to swap your ship with almost any other ship in the game by editing the save file. So if people want a mod that gives them extra ships and a different set-up, but don't want to lose the other ships, you can distribute the mod with save files that start the player in the appropriate new ships.

I was able to do it with ships already coded into the game, but I don't know how it will/won't work with modded ships. To make things more difficult, I'm not sure how to test if the ships I'm trying to add in game are showing up. I know I'm not able to swap them via save file yet because I keep crashing the game.

Oh, and if you're interested in trying out the ship swap, you'll have to add in Vhati's code yourself. ComaToes hasn't released version 12 yet, which presumably will include Vhati's improvements. Seeing as I don't know anything about coding, I'll let you guess how long it took me to make that happen.

At any rate, thank you again. I really appreciate it.
Darkfrost
Posts: 92
Joined: Mon Sep 24, 2012 9:11 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby Darkfrost » Mon Nov 26, 2012 8:04 am

Hey all, I'm still up for finishg FTLEdit off, but I'm a pretty busy with some other real-life stuff at the moment, if I made a public repo on github or somewhere, would anyone be up for helping to improve it?

It's written in C#, using SFML, and the code is a bit off a mess here and there, but not terrible

Also, should have a version with a few fixes up soon, including actually letting the program close on the starting window ._. (I am a silly man)
Love FTL? Wish you could fly around in the USS Enterprise, the Tardis, or a ship that looks just like your own face? Check out FTLEdit, a ship editor for FTL, so you can create your own custom ships and play them!
Don't forget to share them too! :)
Mr. n
Posts: 2
Joined: Tue Oct 23, 2012 11:50 am

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby Mr. n » Mon Nov 26, 2012 9:50 am

I thought that might be the case, Darkfrost.

By all means, upload the new version here and source somewhere! I don't know second thing about C#, but I'm sure many people around here somewhere do and would be able to pick it up and continue, while you deal with your real-life duties.

I, for one, would very much like a ship editor which would give me all necessary output files, so I could port it into the game with GMM immediately - no such ship editor for now, but yours comes pretty close and I'm sure it someday will achieve the goal of no-hassle shipmaking.

Good luck with your endeavours :).
Slade
Posts: 1
Joined: Mon Nov 26, 2012 1:11 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby Slade » Mon Nov 26, 2012 1:16 pm

Awesome mod. If I have some spare time, I might work on a Starbug-1 ship from the excellent series Red Dwarf.

Going to lurk a bit more here since the 25 pages are full of content.
Lock Vesh
Posts: 1
Joined: Tue Nov 27, 2012 9:44 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby Lock Vesh » Tue Nov 27, 2012 9:47 pm

The FTL edit won't save my path ways and I cannot download ftl.dat be because it red flags my virus proctection and I cannot close the editor.

Looks like it would be wonderful, I just can't use it TT^TT.
therunawaybros615
Posts: 51
Joined: Fri Oct 05, 2012 8:57 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby therunawaybros615 » Tue Nov 27, 2012 10:11 pm

Darkfrost wrote:Image
What is it?
It's a program for editing FTL ships, of course! The aim is for it to be an all-in-one tool for creating, and editing existing ships. So far, it will generate the blueprint xml file, and the layout txt file. It's not done yet though!

What do I need to run it?
It's built using C#, meaning it's a windows program. However, it should be possible to run it on a Mac or Linux via Mono.

Where can I download it?
Here's an early testing version, there's still a lot of stuff that needs to be done though!
http://toastedlemons.com/FTLShipEdit.zip


Recent changes:
v0.88:
- Fixed a crash that happens sometimes when opening the options window after closing it
v0.87:
- Added setting/loading crew members
- Added some error handling when trying to export a ship without everything set
- Fixed the blueprints not getting loaded when creating a ship from scratch
- Added the date to the ftl exported
v0.85:
- Fixed an issue with the auto extract not working
- Actually fixed augment exporting
v0.82
- Fixed a crash when you cancelled loading an image
- Fixed not saving augments
- Fixed not saving/loading the ship offset

Some screenshots:
Image
Image
-----------------------------

Instructions:
Open FTLEdit, then open up the options. You need to set up your paths to your data and resources folders.
It should be able to do this automatically - If you don't have ftl dat installed, click the download ftldat button to download the installer, then hit the extract files button. It should extract it all and configure the paths. If the cmd windows that pop up disappear instantly, it should atleast take a few seconds, something probably went wrong (Let me know if this happens)
It should save these options next time you load the program, but if it doesn't, let me know!
Click the load existing ship from the game folder button
Now doubleclick on a ship you want to load
(Or, click the create from scratch button)


Adding rooms:
To add a room, click the add room button, or press F1. Left click to place the room, then right click and drag to resize it.
To move an existing room, just click and drag it.
To delete a room, select it (click on it) and press the DEL key. Doors work the same way

Adding doors:
To add a door, click the add door button, or press F2. Space bar will rotate the door (I'll probably change this to a more intuitive system later).

Moving the bg:
To move the bg, click the move bg button. You can now roughly place the bg using the mouse. Once you click, you're able to fine adjust the position using the arrow keys. Once you have where you want it, press enter or click again.

Other options:
To change the majority of options, and export the ship, click the options button in the bottom right. Here you can change all of the main ship properties, like weapons, augments, drones, systems etc, and export the ship.

Anyway, what do you think? I'll post more updates as I add things!



Hello! I haven't tried this Ship Editor yet, but it is so tempting that I might end up downloading it. But I must ask: Can you save your ships as a .ftl file? If not, here's a suggestion. :D?
I will bring PEACE! FREEDOM! JUSTICE! And SECURITY to my new empire! ~Anakin Skywalker
Steam Profile
filip15100
Posts: 16
Joined: Sun Sep 16, 2012 6:25 pm

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby filip15100 » Tue Nov 27, 2012 10:18 pm

therunawaybros615 wrote:Hello! I haven't tried this Ship Editor yet, but it is so tempting that I might end up downloading it. But I must ask: Can you save your ships as a .ftl file? If not, here's a suggestion. :D?


Yes you can, you can find the button in the ship options screenshot.
StormySunrise
Posts: 8
Joined: Mon Nov 26, 2012 1:30 am

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby StormySunrise » Wed Nov 28, 2012 1:08 am

Hey i have a problem with this, i download FTLdat from the options and it puts it in my C drive program files but it doesnt go to the FTL game folder and when i click make form existing ship it says you need blueprint.XML which i dont know where it is and i searched my FTL folder and nothing matches Help?
TurtleLuigi
Posts: 7
Joined: Wed Nov 28, 2012 3:20 am

Re: [TOOL]FTLEdit: FTL Ship editor [v0.88] (Please test!)

Postby TurtleLuigi » Wed Nov 28, 2012 3:28 am

Darkfrost wrote:If the cmd windows that pop up disappear instantly, it should atleast take a few seconds, something probably went wrong (Let me know if this happens)


I don't know if this problem has been answered, And I'm a derp at finding the post(probably is :roll: ). But I'm yeah having this issue.

I've been searching for the answer for an hour now.
I've been really looking forward to making ships. T^T

Who is online

Users browsing this forum: No registered users and 25 guests