Page 1 of 1

How to automatically install a font on the end-user computer

PostPosted: Fri Nov 04, 2005 10:53 pm
by GM-Support
The following tutorial will tell you how to setup the installer of your game so that it will install a font on the end-user computer.


1. When you are ready to compile your project, click "Distribute (create exe)" and then click "Start Distribution".

2. Click OK until you get the following message: "Adventure Maker is now ready to create a setup file for your project. The process may take a few minutes."

3. For the moment, do NOT click OK. With Notepad, edit the file "PROJECTNAME.ISS" that is located inside the Adventure Maker folder (i.e. the folder in which you have installed Adventure Maker).

4. You will notice that there is a secton called [Files]. Just add the following line to that section:

Code: Select all
Source: "c:\windows\fonts\MYFONT.TTF"; DestDir: "{fonts}"; FontInstall: "FONTNAME"; CopyMode: onlyifdoesntexist; Flags: uninsneveruninstall

(where you must replace MYFONT.TTF with the name of the file that contains the font information, and FONTNAME with the name of the font itself. For example, replace MYFONT.TTF with OZHANDIN.TTF, and FONTNAME with "Oz Handicraft BT")

5. Now save and close the file. Go back to Adventure Maker and click OK to resume the creation of the setup file.


Best regards,
GM-Support

PostPosted: Thu Dec 01, 2005 4:26 am
by under_score
Yay! :P

I've always wanted to do that.
Thanks GM

PostPosted: Mon Feb 19, 2007 2:27 am
by proficio
Keep in mind most fonts are copyrighted.

PostPosted: Fri Aug 22, 2008 6:50 am
by mercedes
I do not see this folder...I have AM installed in my Program Files..I also looked inside AM as well, and I can't find t his..I have gotten as far as compiling it..right before..now i don't know what to do..Edit what with notepad..? Please tell me where this is.


THanks:)

Peace

PostPosted: Fri Aug 22, 2008 7:40 am
by Candle
Look for the file in your AM folder with the name of PROJECTNAME.ISS (maybe small case) and you can right click on it and click open with notepad.

PostPosted: Fri Aug 22, 2008 8:08 am
by mercedes
This is what is in my AM folder..:)

I have looked for the most part in all of them ..the folders u see here..

Which one is it in..am i on the right track?

PostPosted: Fri Aug 22, 2008 9:12 am
by Candle
How it is done :)
Stop at the dialog that says AM is ready to make your setup file.
look in the Am folder.
Unzip this file and drop the exe in to the AM folder and make a short cut to it and when you want to open the iss file just run this exe and it will open it for you to edit.

see images

PostPosted: Sat Mar 14, 2009 7:46 am
by juhuwoorps
If I install a font with the game, is it also uninstall when I uninstall the game?

PostPosted: Sat Mar 14, 2009 9:16 am
by mercedes
I would think so.. yes..when u uninstall the software, and it asks u do u want to uninstall "this game" and all of it's components..I would think it would mean the font's too..When u install it, you put it in whichever game's project folder. So yeah.. i would think so Juhu..:) I installed a game today and then i uninstalled it and the font is not on my pc...if it does stay i would think it would be cached then..

Adieux~

PostPosted: Sun Apr 22, 2012 8:44 am
by insaneproject
which is the default font of AM?

may include more than one font?

PostPosted: Sun Apr 22, 2012 8:55 am
by mercedes

PostPosted: Sun Apr 22, 2012 9:15 am
by insaneproject
ok, I see font.tff. the name of the font is the same as appears in the file. tff?

PostPosted: Mon Apr 23, 2012 1:00 am
by mercedes
..Yes, that is your basic extension for a Font..

PostPosted: Mon Apr 23, 2012 1:16 am
by insaneproject
and as I see what your real name?

PostPosted: Tue Apr 24, 2012 11:14 am
by insaneproject
I've released an error during compilation to put this code:
Source: "c: \ windows \ fonts \ Creepsville Normal.TTF" DestDir: "{font}"; FontInstall: "RW-creepsville" CopyMode: onlyifdoesntexist; Flags: insneveruninstall
I put this under [files] on line 341 and I came out this error:

PostPosted: Tue Apr 24, 2012 11:18 am
by insaneproject
to see the name of the font: click the right button / properties is correct?

because then I get this error?
I include this font in a folder of my project?

PostPosted: Tue Apr 24, 2012 4:57 pm
by mercedes
It doesn't read read right..It should read;

Source: "c: \windows\ fonts\Creepsville Normal.TTF" DestDir: "{font}"; FontInstall: "RW-creepsville" CopyMode: onlyifdoesntexist; Flags: uninsneveruninstall

uninsneveruninstall was misspelled..
That might be the problem..

Copy and paste when you can...:)

PostPosted: Tue Apr 24, 2012 8:11 pm
by insaneproject
its really ohhhhhhhhhh sorry please I have bad memory
thx very much mercedes again