Skip to content

Instantly share code, notes, and snippets.

@RishiMenon2004
Last active September 27, 2020 10:03
Show Gist options
  • Save RishiMenon2004/4343dc7debbd44379a8f43e930bd3218 to your computer and use it in GitHub Desktop.
Save RishiMenon2004/4343dc7debbd44379a8f43e930bd3218 to your computer and use it in GitHub Desktop.
Fex's Modelling Toolbox - How to run on MacOS/OSX

There are two ways to get FMT working on your iMac or Macbook

1.To use an installer and a .app

2.To use the terminal everytime you want to run it

(NOTE: Both these methods require you to have installed Java-8 which can be downloaded from the oracle java website)

Assuming you want to use a .app and not go through the trouble of using the terminal and it's various commands,

Download the file: FMT Installer

Don't worry about viruses or malwares, it's completely safe. Just follow the instructions in the dmg file.

——————————————————————————————————————————————————————————

Now if you want to toil yourself everytime you want to use it, then you'll need to know these commands,

(NOTE: All commands have to be input after the $ in the terminal)

  1. cd : this command lets you navigate through directories. When you open up terminal, you're always starting from the users directory.

example of use : MacBook-Pro:~ myusername$ cd Downloads/My\ Downloaded\ File/

In the above example we're going to the Downloads folder, in which we are going into the "My Downloaded Folder" which may contain the fmt jar file.

So if you've downloaded the zip file and unzipped the contents to the desktop you'd use this command:

MacBook-Pro:~ myusername$ cd Desktop/FMT-2.X.X/
  1. java -XstartOnFirstThread -jar FMT-2.X.X.jar : This command runs the program, by giving the XstartOnFirstThread and jar arguments.

The XstartOnFirstThread arguments starts the program in the first thread or 0 thread.

The jar arguments tells the java command that it is opening a jar file file which is given after this argument

example if use :

MacBook-Pro:FMT-2.X.X myusername$ java -XstartOnFirstThread -jar FMT-2.X.X.jar

——————————————————————————————————————————————————————————

So in the end your terminal should show something like this (the first two lines are the ones you type in) :

MacBook-Pro:~ myusername$ cd Desktop/FMT-2.X.X/

MacBook-Pro:FMT-2.X.X myusername$ java -XstartOnFirstThread -jar FMT-2.X.X.jar

10 Jul 2020 12:51:08(758) [main]: ==================================================

10 Jul 2020 12:51:08(876) [main]: Starting FMT! 2.X.X

10 Jul 2020 12:51:08(877) [main]: Running on Mac OS X / 10.X.X

10 Jul 2020 12:51:09(827) [main]: Loaded Root Texture (blank ) [./resources/textures/blank.png]

10 Jul 2020 12:51:09(830) [main]: Loaded Root Texture (bordered) [./resources/textures/bordered.png]

10 Jul 2020 12:51:09(848) [main]: Loaded Root Texture (cursor) [./resources/textures/cursor.png]

10 Jul 2020 12:51:09(866) [main]: Loaded Root Texture (demo  ) [./resources/textures/demo.png]

10 Jul 2020 12:51:09(871) [main]: Loaded Root Texture (dotted) [./resources/textures/dotted.png]

10 Jul 2020 12:51:09(881) [main]: Loaded Root Texture (floor ) [./resources/textures/floor.png]

10 Jul 2020 12:51:09(900) [main]: Loaded Root Texture (floor2) [./resources/textures/floor2.png]

10 Jul 2020 12:51:09(905) [main]: Loaded Root Texture (icon  ) [./resources/textures/icon.png]

10 Jul 2020 12:51:09(918) [main]: Loaded Root Texture (null  ) [./resources/textures/null.png]

10 Jul 2020 12:51:09(931) [main]: Loaded Root Texture (steve ) [./resources/textures/steve.png]

10 Jul 2020 12:51:09(937) [main]: Loaded Root Texture (t1p   ) [./resources/textures/t1p.png]

10 Jul 2020 12:51:09(949) [main]: Loaded Root Texture (transparent) [./resources/textures/transparent.png]

10 Jul 2020 12:51:10(479) [main]: Langauge is set to default, skipping translation parsing.

And thats it! It should be up and running!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment