Wiki

General discussion about the game.
Snake Plissken
Posts: 97
Joined: Fri Apr 20, 2012 5:58 pm

Wiki

Post by Snake Plissken »

Anyone have plans to make a wiki for FTL?
Warbird
Posts: 209
Joined: Mon Apr 23, 2012 12:23 am

Re: Wiki

Post by Warbird »

Well, there's no reason why we couldn't make one. All we need is the beta to come out so we can have some information.
Image
Snake Plissken
Posts: 97
Joined: Fri Apr 20, 2012 5:58 pm

Re: Wiki

Post by Snake Plissken »

Yea but developer help would speed things along as well and insure accuracy. I would hate to spread bad information.
Warbird
Posts: 209
Joined: Mon Apr 23, 2012 12:23 am

Re: Wiki

Post by Warbird »

Being slightly inaccurate is part of the wiki fun. And look at the Dorf Fort wiki, they've got it on lock without help from Toadyone (I'm assuming he isn't in on it).
Image
JanoS
Posts: 30
Joined: Mon Jun 18, 2012 1:15 pm

Re: Wiki

Post by JanoS »

I started posting a ton of information to the FTL wiki.
Beware as it is full of spoilers.
Also I pulled a lot of info from the game data, so you might avert your eyes if you do not want to see percentage probabilities etc.

And to the creators of FTL: Thank you for the fun game :) However what does the 'BP' mean in the weapon descriptions? Also rarity of 0 means you cannot buy it in the game?
aviphysics
Posts: 54
Joined: Sun May 27, 2012 3:17 pm

Re: Wiki

Post by aviphysics »

How about a wiki address?
JanoS
Posts: 30
Joined: Mon Jun 18, 2012 1:15 pm

Re: Wiki

Post by JanoS »

Wow, I copied it to clipboard, but never pasted it here. SOrry ;)
http://ftl.wikia.com/wiki/FTL:_Faster_Than_Light_Wiki
Surfpup
Posts: 3
Joined: Sat Jun 16, 2012 12:53 pm

Re: Wiki

Post by Surfpup »

JanoS wrote:I started posting a ton of information to the FTL wiki.
Beware as it is full of spoilers.
Also I pulled a lot of info from the game data, so you might avert your eyes if you do not want to see percentage probabilities etc.

And to the creators of FTL: Thank you for the fun game :) However what does the 'BP' mean in the weapon descriptions? Also rarity of 0 means you cannot buy it in the game?
How did you get the game data? I'm wondering if it's already possible to create mods. I can see that the resources file has some text data in it, but it also has a lot of binary stuff too.
JanoS
Posts: 30
Joined: Mon Jun 18, 2012 1:15 pm

Re: Wiki

Post by JanoS »

I wrote a short python program. Sorry for its ugliness.

Code: Select all

import os
f = open("resource.dat")
data = f.read()
f.close()
def getint(pos):
  return ord(data[pos]) + (ord(data[pos+1])<<8) + (ord(data[pos+2]) << 16) + (ord(data[pos+3]) << 24)
numfiles = getint(0)
files = []
for i in xrange(numfiles):
  files.append(getint(i*4 + 4))
for i in xrange(numfiles):
  filelen = getint(files[i])
  namelen = getint(files[i]+4)
  name = data[files[i]+8:files[i]+8+namelen]
  d = os.path.dirname(name)
  if d != '' and not os.path.exists(d):
    os.makedirs(d)
  f = open(name, "w")
  f.write(data[files[i]+8+namelen:files[i]+8+namelen+filelen])
  f.close()
Inside there is a ton of nice XMLs ...
(Thanks to authors of the game for not obfuscating or encrypting it. I am having fun :) )

And yes, you can mod it in some sense. Create your own encounters, weapons etc.
aviphysics
Posts: 54
Joined: Sun May 27, 2012 3:17 pm

Re: Wiki

Post by aviphysics »

Is the enemy AI in there?

Would be nice to try and beef it up a little. Right now they play kind of dumb.
Post Reply