Jump to content
The Dark Mod Forums

Change in-game paper font


Krtzk

Recommended Posts

I'm not sure if this is the right place but I thought it was the best section to ask.

 

I find it very hard to read the in-game cursive font style. I just began to play Saint Lucia mission and the first thing I do is pick up a paper and I can't bloody read it.

 

Now I want to ask before I try to decipher it as that will likely take more time than using some neat tool with the map editor for Dark Mod to change the font.

Link to comment
Share on other sites

http://wiki.thedarkmod.com/index.php?title=Readable_Editor

 

Using Dark Radiant, the editor, you shift-click the item in the map, and select menu "Entity", "Readable Editor". At GUI definition, select one more pleasing to you.

 

Once changed, either quit/load TDM for it to refresh, or use the console command in TDM "reloadxdata".

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Then before you even get there, you'll need to learn the file system of TDM.

 

You'll want to extract the darkmod/fms/saintlucia/saintlucia.pk4 zip file (.pk4 is just a .zip renamed) so you can load maps/saintlucia.map into Dark Radiant.

 

The 7zip utility can open .pk4s directly, or you can rename the .pk4 to .zip and open it through Windows (other OS, other utilities).

 

Once you get the map loaded in DR, you right-click in the rendered window and hold control to scroll around the map, hold shift with control to zoom in/out. It looks very complicated compared to in game, so might take a bit to orient yourself and find the readable. You might also see spoilers. It can help to filter (Filter menu) out Caulk, Clip, Collision, Triggers and Visportals to see clearly.

 

An alternative would be to read it in a text file instead of changing it in game. However you are likely to see spoilers from other readables as well stored in the same text file in the xdata folder of the map's .pk4. It might also be tricky to sort out which section of the xdata relates to which readable in game unless you were able to sort out enough words to search.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

An alternative would be to read it in a text file instead of changing it in game. However you are likely to see spoilers from other readables as well stored in the same text file in the xdata folder of the map's .pk4. It might also be tricky to sort out which section of the xdata relates to which readable in game unless you were able to sort out enough words to search.

 

I take this back, due to language translation, the copy isn't in the xdata file, so that won't help you. (For most other FMs, it would have.) In this case, the copy is in strings/fm/english.lang and harder to associate with it's source readable.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

There's a way to do this that doesn't involve Dark Radiant, and might be easier if you haven't used Dark Radiant before.

 

Where exactly in the map is this paper you can't read?

 

The first one in Saint Lucia mission where you walk forward right into a pub where there's a drunken dude on a chair but I believe this will be an issue almost every mission so I might as well find a way to change on a per-mission basis.

Edited by Krtzk
Link to comment
Share on other sites

I have to go out, but when I get back I'll write up a procedure you can use to change the font that you don't like.

 

This procedure doesn't require knowing how to use DarkRadiant.

 

You can use this procedure on any mission where you run into the problem.

 

For missions that have been internationalized, you won't run the risk of spoilers. Unfortunately, with missions that haven't, you'll be able to read everything.

Link to comment
Share on other sites

Instead of learning all that and modifying every time, another option would be to simply replace the font that's unreadable for you with another font, although formatting won't exactly match, and size might be an issue for some readables.

 

Here's examples of the fonts: http://wiki.thedarkmod.com/index.php?title=Fonts_Screenshots

 

The fonts for the game are in darkmod/tdm_fonts01.pk4

 

You should be able to make matching folders in your install, IE, fonts/english/ and dds/fonts/english, then copy another font from the .pk4 which matches sizes that you can read, into the new folders, and rename it to exactly the name of the font you can't read.

 

Now every time the game calls for the illegible font, you'll instead see the legible font. Note, if a mapper used different fonts to discriminate who wrote what, and you happen to choose the same, it won't be as apparent.

"The measure of a man's character is what he would do if he knew he never would be found out."

- Baron Thomas Babington Macauley

Link to comment
Share on other sites

Sounds like an opportunity for a simple cvar "g_ForceAllFonts <fontname>" where fontname is the name of the desired font. Now, if I knew how, I would code this.

 

Do I have to write that every time or could I add that to an autoexec? Not that I don't mind, a simple cvar is a fantastic solution as opposed to using the editor.

Link to comment
Share on other sites

I tried cvar g_ForceAllFonts but unfortunately the console doesn't recognize it nor will it allow me to show me a list of possible font name so I couldn't pick a different one even if the command had worked. Also, Is the seta com_allowconsole 1 command required first?

 

I'm not sure regarding off topic rules here but at notifications there's an option that indicates support for a Mobile App for this forum but I couldn't find anything for Android. Could someone point me in the right direction?

Link to comment
Share on other sites

I tried RJFerret's solution and it worked splendidly! I changed the files from Treasure Map to Popsies and then repacked it as a ZIP-file and renamed it to a PK4 file.

 

If anyone don't mind is there a table somewhere either at the wiki or in-game files that show the entire alphabet based upon all fonts? I would like to learn to read Popsies as I quite liked the style even if it was hard to decipher.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 2 replies
    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 4 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
×
×
  • Create New...