DerelictStudios Forums: Figuring Out The Font Name Used In The Main Menu!.. Or If It's Even Possible. - DerelictStudios Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Figuring Out The Font Name Used In The Main Menu!.. Or If It's Even Possible. FontSubstitution.xml

#1 User is offline   IcySon55 

  • Private
  • Group: Volcano Officer
  • Posts: 44
  • Joined: 10-September 07
  • Location:Grassland

Posted 13 May 2009 - 05:43 PM

EDIT: See below (3rd post) for the solution to this problem!

I was able to use Font Substitution to replace the Red Alert Extended font in some menus of the game using that xml file, but I can't seem to replace the font on the main menu. Any suggestions, insights, etc?

CODE
<FontSubstitution Name="Red Alert Extended" id="RedAlertExtended">
    <Substitute Size="2">
        <Font Name="Pipe Dream" Size="2" />
    </Substitute>

    <Substitute Size="1000">
        <Font Name="Pipe Dream" Size="750" />
    </Substitute>
</FontSubstitution>



This post has been edited by IcySon55: 14 May 2009 - 01:23 AM

0

#2 User is offline   Bibber 

  • Sergeant Major
  • Group: Volcano Citizen
  • Posts: 58
  • Joined: 14-March 07
  • Location:Germany

Posted 13 May 2009 - 06:13 PM

Why don't you just replace the ttf file?
0

#3 User is offline   IcySon55 

  • Private
  • Group: Volcano Officer
  • Posts: 44
  • Joined: 10-September 07
  • Location:Grassland

Posted 13 May 2009 - 09:48 PM

I've already tried that. It fails so nicely. The font basically stops working and defaults to Arial. Very big, ugly, Arial.

That's why replacing the ttf is not an option.

EDIT: Success! (and mini tut)

With a bit of work, I have fonts working all over the game.

Problem: The problem is that Red Alert 3 cares about the internal font name within the ttf files.

Steps to resolve:
1. Open the font in a font editor (Font Creator 5.6 recommended)
2. Change the name to the exact same name of the font you want to override. In the main menu's case "Red Alert Extended" was the name.
3. Then rename the ttf to match the font you want to override.
4. Use your favorite BIG file editor to create a new .big containing your edited font in a virtual directory: "data\fonts\red alert extended.tff".
5. Finally, include the new big in your mod's SkuDef and voila, your font is now working in-game.

This post has been edited by IcySon55: 14 May 2009 - 01:22 AM

0

#4 User is offline   Mighty BOB! 

  • Sergeant Major
  • Group: Volcano Citizen
  • Posts: 94
  • Joined: 03-March 07
  • Location:California, USA

Posted 14 May 2009 - 03:17 AM

Awesome.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users