[MOD][WIP] FTL Infinite Space

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Estel
Posts: 466
Joined: Sat Jun 22, 2013 4:03 am

Re: [MOD][WIP] FTL Infinite Space

Postby Estel » Sun Aug 11, 2013 11:19 pm

Or, by just comparing old FTL version's files (the ones that are overwritten), with version from IS. Under linux, you can even do it automatically via diff.

It's pity, that I'm already over-projected (non-FTL things), as I would probably do it myself. Ideal thing would be version, that make use of Captain's Edition things (battle stations, trading, etc), with IS changes on top (probably require a little more work, than just applying Is after CE in mod manager, due to overwritten events, and amount of things that Is just brutally "cut out" from game's files - appending version for a start is a must to integrate anything else).

/Estel
dalolorn
Posts: 532
Joined: Sun Sep 23, 2012 8:06 am

Re: [MOD][WIP] FTL Infinite Space

Postby dalolorn » Mon Aug 12, 2013 11:28 am

Estel wrote:Or, by just comparing old FTL version's files (the ones that are overwritten), with version from IS. Under linux, you can even do it automatically via diff.

It's pity, that I'm already over-projected (non-FTL things), as I would probably do it myself. Ideal thing would be version, that make use of Captain's Edition things (battle stations, trading, etc), with IS changes on top (probably require a little more work, than just applying Is after CE in mod manager, due to overwritten events, and amount of things that Is just brutally "cut out" from game's files - appending version for a start is a must to integrate anything else).

/Estel


If I had Linux and permission from Sleeper Service, I might even merge the two as painlessly as possible. :|
User avatar
Estel
Posts: 466
Joined: Sat Jun 22, 2013 4:03 am

Re: [MOD][WIP] FTL Infinite Space

Postby Estel » Mon Aug 12, 2013 6:31 pm

Sleeper already gave his permission in CE's thread, just saying, that he rather wouldn't do it on his own (time constraints) - so, he would rather see someone else doing it.

As for Linux - just grab any liveCD and you're set up. Personally, I recommend Aptosid, but it's for rather advanced users. For what you want to achieve, practically any linux distro will do. If you need help on how some tool (for example, diff) work, just search for "magic phrase", let's say, "diff man".
---

If you happen to achieve something, be sure to post here revised versions (i.e. diff's of what you have done), as it will be easier to spot possible errors/mistakes together. While FTL developers haven't decided to open source code of FTL (sadly) after stopping working on it, there is no reason why we couldn't benefit from FOSS practices inside modding world.

/Estel
dalolorn
Posts: 532
Joined: Sun Sep 23, 2012 8:06 am

Re: [MOD][WIP] FTL Infinite Space

Postby dalolorn » Mon Aug 12, 2013 7:58 pm

Estel wrote:Sleeper already gave his permission in CE's thread, just saying, that he rather wouldn't do it on his own (time constraints) - so, he would rather see someone else doing it.

As for Linux - just grab any liveCD and you're set up. Personally, I recommend Aptosid, but it's for rather advanced users. For what you want to achieve, practically any linux distro will do. If you need help on how some tool (for example, diff) work, just search for "magic phrase", let's say, "diff man".
---

If you happen to achieve something, be sure to post here revised versions (i.e. diff's of what you have done), as it will be easier to spot possible errors/mistakes together. While FTL developers haven't decided to open source code of FTL (sadly) after stopping working on it, there is no reason why we couldn't benefit from FOSS practices inside modding world.

/Estel


Well, I downloaded CE in the meantime, and have abandoned any thoughts I may have had about merging it with IS, as its XMLs are completely unreadable. It'd take me weeks to reformat this stuff so that I can make any sense of it, as it's essentially one incredibly long line of text, which just so happens to be broken down by semi-random uses of the "Enter" key.

Right now, I'm just lucky ftldat has an append function, or my inability to run GMM (due to not having Python) would have made it impossible to install the blueprints.xml and autoBlueprints.xml files, as they can't be manually appended via copy-pasting.
User avatar
Estel
Posts: 466
Joined: Sat Jun 22, 2013 4:03 am

Re: [MOD][WIP] FTL Infinite Space

Postby Estel » Tue Aug 13, 2013 6:02 am

Maybe it is worth asking Sleeper, how he edit it. I don't think that he would be able to sensibly get track of his own work, this way (at least, I hope that he haven't memorized all of this :D). Even most messy coders wouldn't stand such holy line of text you're describing - one week without moding, and you wouldn't be able to decipher it, even being an Author.

/Estel
dalolorn
Posts: 532
Joined: Sun Sep 23, 2012 8:06 am

Re: [MOD][WIP] FTL Infinite Space

Postby dalolorn » Tue Aug 13, 2013 8:26 am

Estel wrote:Maybe it is worth asking Sleeper, how he edit it. I don't think that he would be able to sensibly get track of his own work, this way (at least, I hope that he haven't memorized all of this :D). Even most messy coders wouldn't stand such holy line of text you're describing - one week without moding, and you wouldn't be able to decipher it, even being an Author.

/Estel


It could be just a compatibility issue between whatever he's using and Notepad.

His editing tool may automatically format the code before displaying it, but output a complete mess. :|
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [MOD][WIP] FTL Infinite Space

Postby kartoFlane » Tue Aug 13, 2013 9:22 am

dalolorn wrote:my inability to run GMM (due to not having Python)

Huh. Maybe I'm missing something, but can't you just, like, download it?
It seems to work perfectly for everyone else here.
Unless you're runninng some really obscure OS, a compatible interpreter should be available.

dalolorn wrote:...its XMLs are completely unreadable. It'd take me weeks to reformat this stuff so that I can make any sense of it, as it's essentially one incredibly long line of text, which just so happens to be broken down by semi-random uses of the "Enter" key.

Likely because Sleeper is using Linux/Ubuntu, which uses LF-style line-endings, whereas Windows uses CRLF-style line-endings.
Any good text editor will be able to decipher it just fine, though. I wouldn't call the stock Notepad or Word (for this purpose) a good text editor, though.
Take a look at Notepad++, or Notepad2 (my personal preference)
Superluminal2 - a ship editor for FTL
dalolorn
Posts: 532
Joined: Sun Sep 23, 2012 8:06 am

Re: [MOD][WIP] FTL Infinite Space

Postby dalolorn » Tue Aug 13, 2013 11:18 am

kartoFlane wrote:
dalolorn wrote:my inability to run GMM (due to not having Python)

Huh. Maybe I'm missing something, but can't you just, like, download it?
It seems to work perfectly for everyone else here.
Unless you're runninng some really obscure OS, a compatible interpreter should be available.

dalolorn wrote:...its XMLs are completely unreadable. It'd take me weeks to reformat this stuff so that I can make any sense of it, as it's essentially one incredibly long line of text, which just so happens to be broken down by semi-random uses of the "Enter" key.

Likely because Sleeper is using Linux/Ubuntu, which uses LF-style line-endings, whereas Windows uses CRLF-style line-endings.
Any good text editor will be able to decipher it just fine, though. I wouldn't call the stock Notepad or Word (for this purpose) a good text editor, though.
Take a look at Notepad++, or Notepad2 (my personal preference)


It's a bit more complicated for me. Incidentally, the reason why I can't get Python is the same as the reason for my not getting Notepad++ or Notepad2.

Edit: Lol, you say Word is bad for this purpose. I say Wordpad is quite capable of reading through this mess. :lol:
User avatar
Estel
Posts: 466
Joined: Sat Jun 22, 2013 4:03 am

Re: [MOD][WIP] FTL Infinite Space

Postby Estel » Tue Aug 13, 2013 8:56 pm

No, seriously. If you're ever thinking about contributing something useful, you *must* get some real editing tool. Windows notepad/wordpad/whatever won't get you anywhere. Even if you manage to produce something, it will be PITA for others to read (line endings, anyone?), not to mention possible incompatibility with FTL at all, due to amount of shit added by wordpad to raw file while saving.

AIUI you're running machine without admin privileges - fear not, you can find editors that doesn't require installation, too. Also, linux LiveCD/LiveUSB (any distro) is a way to go, too.

/Estel
dalolorn
Posts: 532
Joined: Sun Sep 23, 2012 8:06 am

Re: [MOD][WIP] FTL Infinite Space

Postby dalolorn » Tue Aug 13, 2013 10:12 pm

Estel wrote:No, seriously. If you're ever thinking about contributing something useful, you *must* get some real editing tool. Windows notepad/wordpad/whatever won't get you anywhere. Even if you manage to produce something, it will be PITA for others to read (line endings, anyone?), not to mention possible incompatibility with FTL at all, due to amount of shit added by wordpad to raw file while saving.

AIUI you're running machine without admin privileges - fear not, you can find editors that doesn't require installation, too. Also, linux LiveCD/LiveUSB (any distro) is a way to go, too.

/Estel


Wrong. :P

That said, why would others read my code unless they absolutely had to? :|