Page 2 of 4

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 4:42 pm
by merlinsvk
Haoose wrote: Does not work the way. White squares instead of letters.
That's because of that one byte. At least it was my case.

Haoose wrote:How to change font in SWF-file in Adobe Flash?
I open up englishfonts.fla (decompiled .swf with Sothink SWF Decompiler), then:

1. Click to Font Embedding...
Image

2. Then you see all fonts in that .fla file (I've used other fonts, cause didn't find original Chauvet and Tasha Quest).
You can add individual alphabet characters, or select whole predefined ranges. Click OK.

Image


3. And now we need to publish it to generate .swf file.
Image


4. These are settings I'm using.
Image


So we now have edited .swf file, which we will export to .gfx with scaleform gfxexport.

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 4:51 pm
by merlinsvk
Rjack wrote: What should I do if I want to use another font? Should I change the font name?
I also used other fonts. Just edited their names and installed them as Chauvet and Tasha Quest. Maybe it's not needed to do it this complicated way. I have not tested it with subtituted fonts (like that we have in Windows normally, Arial etc.)

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 6:58 pm
by Rjack
merlinsvk wrote:
I open up englishfonts.fla (decompiled .swf with Sothink SWF Decompiler), then:
Could you take a look at my englishfonts.swf?
https://www.dropbox.com/s/3qs3dq4eaf44b ... hfonts.swf

I used Sothink SWF Decompiler to decompile it, but I got nothing but a 14.5KB ~englishfonts.fla.
I don't know which part I did wrong.
Image

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:08 pm
by merlinsvk
Everything is fine :)

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:11 pm
by Haoose
Rjack, Costume Quest? =)

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:15 pm
by Rjack
merlinsvk wrote:Everything is fine :)
Could you send me a copy of the decompiled .fla, please?

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:17 pm
by Rjack
Haoose wrote:Rjack, Costume Quest? =)
Yes, I have been working on this game for a long time. :(

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:19 pm
by Haoose
merlinsvk wrote:
Haoose wrote: Does not work the way. White squares instead of letters.
That's because of that one byte. At least it was my case.
Can make a video tutorial how to replace the font?
Replace seemingly correct, but I get the squares, or the game crashes.
Fonts I already have for this game. But I want to understand how to make such fonts as they are used in many games.
Rjack wrote:Yes, I have been working on this game for a long time. :(
I too...

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:24 pm
by merlinsvk
Haoose wrote: Replace seemingly correct, but I get the squares, or the game crashes.
Have you changed that byte in .gfx file back to 0x02?

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 7:36 pm
by Haoose
merlinsvk wrote:Have you changed that byte in .gfx file back to 0x02?
Of course replaced

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Fri Feb 01, 2013 11:45 pm
by michalss
Can anyone pls help me to fix aluigi script for Cave X360? At least struct of the file and sizes of the chunks i can do the rest.

Code: Select all

http://aluigi.altervista.org/papers/bms/others/brutal_legend.bms
I can also send files if anyone is interst to help. Please anyone ?

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Sat Feb 02, 2013 12:02 pm
by merlinsvk
Haoose wrote:Of course replaced
I probably know why it shows only squares, and it's also an answer for Rjack's question.
Rjack wrote: What should I do if I want to use another font? Should I change the font name?
We can use other fonts, but their names must be "Chauvet" and "Tasha Quest". I've tried substitute them with Arial and Trebuchet, but only squares showed up.

Image

So guys, change names of your desired fonts in some TTF/OTF font editor (like Fontlab Studio or Hi-Logic FontCreator) and install them to your OS like Chauvet and Tasha Quest. After opening .fla file, Flash will use them automatically.

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Sat Feb 02, 2013 12:39 pm
by Rjack
merlinsvk wrote: So guys, change names of your desired fonts in some TTF/OTF font editor (like Fontlab Studio or Hi-Logic FontCreator) and install them to your OS like Chauvet and Tasha Quest. After opening .fla file, Flash will use them automatically.
thanks, merlinsvk. Those three files you send me that all can be edited with Adobe flash cs5.5.
Unfortunately, after I repacked .~p, I still got many squares. :cry:
I had change the fonts name and install them, and change the byte to 0x02.
My GFx version is 4.0.

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Sat Feb 02, 2013 1:16 pm
by merlinsvk
Yeah, but you are working on Costume Quest, maybe there is another problem that must be solved.

Re: [PC] The Cave - *.~h and *.~p archives

Posted: Sun Feb 03, 2013 5:35 am
by Rjack
merlinsvk wrote:Yeah, but you are working on Costume Quest, maybe there is another problem that must be solved.
You are right. I can change the font of The Cave with the same way. It just dose not work on Costume Quest. :[