Custom Font Script: VL Gothic?

Status
Not open for further replies.

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
A friend of mine is unable to run a game. The error says: "Unable to find VL Gothic font". I don't actually use that font, because I have a script that changes it. Is there any way NOT to include the font in my "Fonts" folder in the game directory? It's rather large in terms of file size, so I would prefer not to include it. Hope someone knows. :)
 
Joined
Feb 1, 2013
Messages
62
Reaction score
12
Primarily Uses
Does he have the particular font installed on his computer? Try installing it first and then delete the font from the folder. I think that the "Fonts" folder is used in case the fonts are not installed on the system. 
 

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
He doesn't use the RPG Maker himself, so he didn't have the font. He has it installed now, and it works, but I would like to make my project runable by anyone, so even people without the RPG Maker. So I would like to know if there is a way to tell the Game.exe that VL Gothic is not actually required for the game, since it uses a custom font included in the "Fonts" folder.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
VL Gothic is related more to game.exe I believe. You have to pack it together with your game all the time sadly.
 

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Oh, I see. Well, then it has to be. Thank you very much, Archeia. :)

EDIT: Oh, wait. There was something else. That friends tried putting the VL Gothic fonts (VL-Gothic-Regular.ttf and VL-PGothic-Regular.ttf; on a side note: do you need both?) into the "Fonts" folder of the game directory, which didn't work. Is there any way to at least make that work, so the people trying my game don't have to manually install the fonts?
 
Last edited by a moderator:

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Just put it in fonts folder, both of them just to be safe? They won't require installation! :D

Odd that it didn't work though. Let me gets something.

Can you try this one instead?
 
Last edited by a moderator:

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Sure, have at it. :)

Well, if it actually *does* work just putting the VL Gothic fonts into the folder (and my friend just got unlucky or did it wrong or something), wouldn't it be possible to place the font in the "Fonts" folder which I actually want to use and just rename it to "VL-Gothic-Regular.ttf"? (And copy it and name that copy "VL-PGothic-Regular.tff"?)

I could test this myself, of course, but it's a rather long process, right ... I was hoping that someone else has already dealt with this problem in the past and knows. :/
 
Joined
Feb 1, 2013
Messages
62
Reaction score
12
Primarily Uses
Try creating a folder named "VLGothic" in the Fonts folder and put the fonts there.

~Edit~

Also Archeia is right. VLGothic is included in the RTP, so it's needed.
 
Last edited by a moderator:

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
"VLGothic", exactly like that? Doesn't work.

I have just uninstalled my RTP and the VL Gothic fonts from my regular font directory. Now I get the same error: "Unable to find VL Gothic font."

Tried renaming the font I use ("Sylfaen") to "VL-Gothic-Regular", copied it and called the copy "VL-PGothic-Regular". Both are in my game directory under "Fonts". Still "unable to find VL Gothic font". So I have the same error that my friend had. Hrm.
 

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Including the RTP? It was quite some work to get rid of it. :/ I think I'd rather have people install the fonts manually than include the whole RTP into my game.

But is that a thing, compressing the game to handle things like these? I mean, could it work fiddling around with font names and stuff and compressing the game again with those fonts renamed? I always thought compressing the game was like zipping, and nothing more.
 
Last edited by a moderator:
Joined
Feb 1, 2013
Messages
62
Reaction score
12
Primarily Uses
Ok try this. Go to C:\Program Files (x86)\Enterbrain\RPGVXAce and copy the VLGothic folder from there as is.
 

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Now I have uninstalled the RTP already. :D Well, I do have the fonts saved. That other folder included some license things ... was there really anything important in it?
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
"VLGothic", exactly like that? Doesn't work.

I have just uninstalled my RTP and the VL Gothic fonts from my regular font directory. Now I get the same error: "Unable to find VL Gothic font."

Tried renaming the font I use ("Sylfaen") to "VL-Gothic-Regular", copied it and called the copy "VL-PGothic-Regular". Both are in my game directory under "Fonts". Still "unable to find VL Gothic font". So I have the same error that my friend had. Hrm.
I have done this before. In order to trick the engine into using your font, you need to rename it in the file's data itself. The filename is from the operating system and filesystem, however stored in a part of the file itself is the name of the font. In order to trick RM into using that by default you need to change that information to be VLGothic's. Then it will accept your font by default.

Edit: Font editing details:

VLGothic Name Info

I used TTFEdit. Just direct it to the font you want to use by default, edit the values so they look like above, and the engine should use yours by default. Be sure not to include the given VLGothic, as there would be a chance of conflict there.
 
Last edited by a moderator:
Joined
Feb 1, 2013
Messages
62
Reaction score
12
Primarily Uses
I don't know...maybe the game checks these files. So to be on the safe side, include them in your game.
 
Joined
Feb 1, 2013
Messages
62
Reaction score
12
Primarily Uses
I have done this before. In order to trick the engine into using your font, you need to rename it in the file's data itself. The filename is from the operating system and filesystem, however stored in a part of the file itself is the name of the font. In order to trick RM into using that by default you need to change that information to be VLGothic's. Then it will accept your font by default.

I'll edit this in a bit with extra info on editing them.
Isn't that though a modification of the RTP contents, thus against license terms?
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
Isn't that though a modification of the RTP contents, thus against license terms?
If you edit your own font file and don't include the ones given with the engine, how is it an RTP edit? We're simply tricking the engine to use our resources and not its resources, not necessarily changing VLGothic. The license distributed with the font (A font licensed by Enterbrain, not created by them) also has no indication that describes editing that information is against the terms of use.

License for VLGothic Font Family

--------------------------------

 

This font includes glyphs derived from M+ FONTS which is created by

M+ FONTS PROJECT. License for M+ FONTS part is described in M+ FONTS

PROJECT's license. See attached 'LICENSE_E.mplus'.

 

This font also includes glyphs derived from Sazanami Gothic font which

is created by Electronic Font Open Laboratory (/efont/). License for

Sazanami Gothic part is described in it's license. See attached

'README.sazanami' for original Sazanami Gothic font license.

 

This font also includes original glyphs which is created by Daisuke

SUZUKI and Project Vine based on M+ FONTS. Licese for VL Gothic

original glyphs is same as M+ FONTS PROJECT's license.

 

There is no limitation and the below description is not applied

as for in order not to reuse as font (ex: font is embeded to documents).

 

Copyright © 1990-2003 Wada Laboratory, the University of Tokyo.

Copyright © 2003-2004 Electronic Font Open Laboratory (/efont/).

Copyright © 2003-2011 M+ FONTS PROJECT

Copyright © 2006-2011 Daisuke SUZUKI <daisuke@vinelinux.org>.

Copyright © 2006-2011 Project Vine <Vine@vinelinux.org>.

All rights reserved.

 

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions

are met:

1. Redistributions of source code must retain the above copyright notice,

   this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,

   this list of conditions and the following disclaimer in the documentation

   and/or other materials provided with the distribution.

3. Neither the name of the Wada Laboratory, the University of Tokyo nor

   the names of its contributors may be used to endorse or promote products

   derived from this software without specific prior written permission.

 

THIS SOFTWARE IS PROVIDED BY WADA LABORATORY, THE UNIVERSITY OF TOKYO AND

CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT

NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A

PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE LABORATORY OR

CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,

EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,

PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;

OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,

WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR

OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF

ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 
Edit: Added the font editing info to my post above, showing VLGothic's (Not VLPGothic) information.
 
Last edited by a moderator:

Liak

Veteran
Veteran
Joined
Mar 13, 2012
Messages
1,788
Reaction score
270
First Language
German
Primarily Uses
Zalerinian, do you have any idea which part of the meta information is really relevant? Do I need to change EVERYTHING, or is it just one field that's important? :/

EDIT: Oh, right! Sorry! :/ @Archeia: I have that! "RPG=" it is. :) (Although, on another side note, do you actually have to have that line at all? I've read you don't have to, but I don't want to mess around with that at the same time right now ...)
 
Last edited by a moderator:

Lim Jin Kai

Warper
Member
Joined
Oct 16, 2014
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Hi, Im new here to the game. I lately just downloaded and I had suffered same problem as your friend. I fiddled with the folder and in the end, i pulled the font folder from the RPGXVAce folder out to the SAOEW Main folder and finally worked. However I need help im missing lots of files for the sao game such as Cursor, Desicion 3 ... Where do i get all this ?  :unsure:  
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top