Hey everyone!
Thief 4 has PROG_GUI_Fonts.upk file which contains all fonts per language. Extracted data is:
I guess .SwfMovie file is very similar to .swf. I can see what it contains with JPEXS Free Flash Decompiler:
There are two fonts game uses across languages: Adobe Jenson Pro and Frutiger LT Std 57 Cn. For english version, Adobe Jenson Pro font has limited characters beside other languages (such as fonts_FRA.SwfMovie):
So fonts_FRA.SwfMovie has all characters I need. But Frutiger LT Std 57 Cn font is same regardless to language. I need to add extra characters for it. Or maybe adding entire new font for this?
In the end, I need to edit fonts_en.SwfMovie. Basically two steps:
1 - Replace Adobe font with Adobe font inside fonts_FRA.
2 - Add extra characters for Frutiger.
Can you help me with this? Thanks
PROG_GUI_Fonts.upk file:
http://www.mediafire.com/file/hw99mbhzh ... s.rar/file
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Thief 4 Editing Fonts
Re: Thief 4 Editing Fonts
Actually I managed to get first step done. Can anyone help me with second?
-
- mega-veteran
- Posts: 191
- Joined: Sat Nov 26, 2016 3:39 pm
- Has thanked: 7 times
- Been thanked: 10 times
Re: Thief 4 Editing Fonts
Edited
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad
-
- mega-veteran
- Posts: 191
- Joined: Sat Nov 26, 2016 3:39 pm
- Has thanked: 7 times
- Been thanked: 10 times
Re: Thief 4 Editing Fonts
give me a edited flash file and original upk
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad
Re: Thief 4 Editing Fonts
I simply renamed and packed fonts_FRA.SwfMovie to fonts_en.SwfMovie and it workedGHOST DEAD wrote:give me a edited flash file and original upk
Anyway I included renamed flash file and one font which I want to change from Frutiger to:
http://www.mediafire.com/file/3u17yzrsn ... n.rar/file
Original upk from first message:
http://www.mediafire.com/file/hw99mbhzh ... s.rar/file
If its worked out, I will be very glad if you tell me how you did it. Thanks for interest.
- ikskoks
- Moderator
- Posts: 1666
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 647 times
- Been thanked: 431 times
- Contact:
Re: Thief 4 Editing Fonts
Hello. I had similar issue with Deadpool translation.
I was able to edit font this way:
1. Open swfmovie using JPEXS Free Flash Decompiler
2. Edit your file and save it as SWF/GFX. (don't remember which one)
Your file has to be smaller than original.
3. Copy header and footer from original swfmovie file and paste it to your saved SWF/GFX file. You can use Hex Workshop for that. You have to remember to also fill missing space with zeroes at this point (after SWF/GFX data and before footer).
4. Change filename to original filename and pack it to UPK using Gildor tools.
You can also check my transaltion to see how edited files looks like https://ikskoks.pl/deadpool-the-video-g ... lszczenie/
I was able to edit font this way:
1. Open swfmovie using JPEXS Free Flash Decompiler
2. Edit your file and save it as SWF/GFX. (don't remember which one)
Your file has to be smaller than original.
3. Copy header and footer from original swfmovie file and paste it to your saved SWF/GFX file. You can use Hex Workshop for that. You have to remember to also fill missing space with zeroes at this point (after SWF/GFX data and before footer).
4. Change filename to original filename and pack it to UPK using Gildor tools.
You can also check my transaltion to see how edited files looks like https://ikskoks.pl/deadpool-the-video-g ... lszczenie/
Re: Thief 4 Editing Fonts
Could you please explain to me how to do it this step? How long header and footer are in .SwfMovie? Thanks for interest btw.3. Copy header and footer from original swfmovie file and paste it to your saved SWF/GFX file. You can use Hex Workshop for that. You have to remember to also fill missing space with zeroes at this point (after SWF/GFX data and before footer).
- ikskoks
- Moderator
- Posts: 1666
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 647 times
- Been thanked: 431 times
- Contact:
Re: Thief 4 Editing Fonts
Yes, of course. Here is package with screenshots, I hope it helps.Could you please explain to me how to do it this step?
For header it's easy, you just take everything that is before "GFX" magic and copy it.How long header and footer are in .SwfMovie?
For footer, you have to compare saved GFX/SWF and swfmovie to get the length. You can use option Tools > Compare > Compare Files in Hex Workshop.
You do not have the required permissions to view the files attached to this post.
Re: Thief 4 Editing Fonts
Thanks for screenshots. I did all steps you gave me. But game crashed. I can't get figure out