Extract data from DB

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Extract data from DB

Postby Nathan » 08 Jun 2012, 20:33

Hello everyone,

who should I contact if I want to get de DB as an excel file (or csv or anything else but html) ?
Nathan
 
Posts: 9
Joined: 02 Jun 2012, 17:46
Has liked: 0 time
Been liked: 0 time
FAF User Name: Nathan

Re: Extract data from DB

Postby FunkOff » 08 Jun 2012, 21:41

You can always look at the unit blueprints....
FunkOff
Supreme Commander
 
Posts: 1863
Joined: 26 Aug 2011, 17:27
Has liked: 14 times
Been liked: 43 times
FAF User Name: FakeOff

Re: Extract data from DB

Postby Nathan » 08 Jun 2012, 22:00

Can you please expand on that ?
Nathan
 
Posts: 9
Joined: 02 Jun 2012, 17:46
Has liked: 0 time
Been liked: 0 time
FAF User Name: Nathan

Re: Extract data from DB

Postby noobymcnoobcake » 08 Jun 2012, 22:20

Find your FA units database file, copy and paste it to somewhere else and extract it. Then you have a list of units. Look in the .BP files for stats.
User avatar
noobymcnoobcake
Evaluator
 
Posts: 672
Joined: 17 Sep 2011, 16:34
Has liked: 16 times
Been liked: 5 times

Re: Extract data from DB

Postby Gowerly » 08 Jun 2012, 22:20

The database files.
When you look at the webpage, there's an option for the raw blueprint.
That is the way the game reads them in. If you want them as anything else you'll need to write your own parser.
Gowerly
Evaluator
 
Posts: 507
Joined: 30 Aug 2011, 10:52
Has liked: 0 time
Been liked: 0 time
FAF User Name: Gowerly

Re: Extract data from DB

Postby Raging_Squirrel » 09 Jun 2012, 16:04

at the moment we have 2 parsers for blueprints:
lua to php and lua to python (superior)

I can share the code, and you will be free to do whatever you want with it
Never argue with an idiot. He will bring you down to his level and beat with experience.
User avatar
Raging_Squirrel
Priest
 
Posts: 494
Joined: 26 Aug 2011, 16:53
Location: Russia
Has liked: 1 time
Been liked: 4 times
FAF User Name: Raging_Squirrel


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest