FLD creation guide with pictures

Forum closed. Read only permissions.

Moderator: Moderators

Message
Author
codedmarine
Noob
Noob
Posts: 8
Joined: 22 Feb 2013, 13:56
Noob?: Yes

FLD creation guide with pictures

#1 Post by codedmarine »

I used to have an old username, but since i can't get that because of being forgetful, i will just use this one. Since i answered all the questions of who i am, then let's get to the tut.



First Open your GRF Tool of choice, I used GRF Tool and GRF Factory (by timec0p).
To load the GRF data file, normally for the private server open the GRF for the particular server you are on, on your GRF extractor of choice choose the “open” option and find the RO folder with the GRF file. For instance if you are on CodedMarineRO, look for the CodedMarineRO.GRF file to extract the GAT and RSW files.

GRF Tool
Image

GRF Factory
Image


Once the GRF has loaded you will have a few files, but if you open a larger GRF there will inherently be more files, i.e. more *.rsw and *.gat files. In GRF Tool you can use “gat” to search without the quotation marks. In GRF Factory you can search with the wildcard symbol preceding the search string, so use “ *gat ”. Once you have narrowed down the files in GRF Tool you hit the column labeled “type” to sort the column, and in GRF Factory you don’t have to do anything because it has a better search/sort functionality.

Image

Now once you have the GAT and RSW files selected use the “extract” function/button in each application. Save both types of files into a folder by themselves. Keep this safe because we will revisit this folder in a little while to create the FLD files.

Image

To convert the GAT and RSW files I installed perl because using the start.exe, which is referenced in the FLD openkore guide did not work for me so I choose a full featured perl package.
Goto this website to choose a flavor of perl, I choose DWIM Perl:
http://www.perl.org/get.html#win32


****** Install perl ******

Or do this to install what I installed
To do it the way I did goto:
http://dwimperl.com/windows.html
Hit the BIG “DOWNLOAD” with the download arrow and unpack and install the perl version from the website.
Once it is installed to a location, let’s call it “C:\Dwimperl” follow these notes for installing and setting up this version of perl:

• directory that does not have spaces in it - e.g. c:\myperl\
• then run some commands and manually set some environment


[NOTE: RUN AT LEAST THE FIRST ONE]
variables:

c:\myperl\relocation.pl.bat ... this is REQUIRED!
c:\myperl\update_env.pl.bat ... this is OPTIONAL


Now to create the FLD files from the extracted files. The command to convert the RSW and GAT files will be simple because DWIM perl will register environment variables with the batch files you just clicked on above. Open the command prompt and now move to the directory where you have extracted the RSW and GAT files.

cd C:\GATandRSWfiles

First move the “gat_to_fld.pl”[/b][/color] file from “C:\openkore_ready\fields\tools” folder to the folder “C:\GATandRSWfiles” folder. Now you can run the script from the folder with the RSW and GAT files, which now have the correct perl scrip to convert them.

The script will be run using this now:
perl gat_to_fld.pl

Once this is done you are done and can go into “C:\GATandRSWfiles” folder and move the “ *.fld ” files to your openkore folder “C:\openkore_ready\fields”

Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: FLD creation guide with pictures

#2 Post by Kaspy »

Excellent tutorial, but ideally this Wiki?
If you can, asking the kLabMouse permission to edit the Wiki, or if you prefer, I even update the article from there.
Image

codedmarine
Noob
Noob
Posts: 8
Joined: 22 Feb 2013, 13:56
Noob?: Yes

Re: FLD creation guide with pictures

#3 Post by codedmarine »

Yea i will, but the only reason i created this is because no matter what i tried with the Wiki instructions it didnt work. I put this together because i didnt see one solid post of everything together, or much other than pointing to the Wiki page for help. This was a littler more detailed and uses a perl install as opposed to the executable. I would be glad to add this to the wiki.


Does anyone know:
Quick question can i attach the GRF tools here? I have both of the tools downloaded.

Kaspy
Halfway to Eternity
Halfway to Eternity
Posts: 398
Joined: 08 Jun 2012, 15:42
Noob?: No
Location: Brazil

Re: FLD creation guide with pictures

#4 Post by Kaspy »

codedmarine wrote:Does anyone know:
Quick question can i attach the GRF tools here? I have both of the tools downloaded.
If you do not have problems with copyright, I do not have problems.
Image

codedmarine
Noob
Noob
Posts: 8
Joined: 22 Feb 2013, 13:56
Noob?: Yes

Re: FLD creation guide with pictures

#5 Post by codedmarine »

Hmmm, i have to check to see if it shows what licensing they were released under, but i have finals atm so this is going to have to wait....

battlemax09
Noob
Noob
Posts: 5
Joined: 05 Feb 2013, 07:45
Noob?: Yes

Re: FLD creation guide with pictures

#6 Post by battlemax09 »

this guide helps me alot.
Thanks :)

Locked