Custom Font Script: VL Gothic?

● ARCHIVED · READ-ONLY
Started by Liak 20 posts View original ↗
  1. 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. :)
  2. 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. 
  3. 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.
  4. VL Gothic is related more to game.exe I believe. You have to pack it together with your game all the time sadly.
  5. 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?
  6. 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?
  7. 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. :/
  8. 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.
  9. "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.
  10. Try recompressing the game then, including the rtp.
  11. 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.
  12. Ok try this. Go to C:\Program Files (x86)\Enterbrain\RPGVXAce and copy the VLGothic folder from there as is.
  13. 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?
  14. Liak said:
    "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

    Spoiler
    9a1eeb764330b82418c67dacf1d68fcb.png
    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.
  15. I don't know...maybe the game checks these files. So to be on the safe side, include them in your game.
  16. Make sure that your Game.ini has

    RTP = 

    instead of

    RTP = RPGVXACE
  17. Zalerinian said:
    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?
  18. Serenity Crystal said:
    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.

    Spoiler
    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.
  19. 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 ...)
  20. 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: