Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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

The Original Forum. Game archives, full of resources. How to open them? Get help here.
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

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

Post 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.
Last edited by merlinsvk on Fri Feb 01, 2013 4:54 pm, edited 1 time in total.
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

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

Post 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.)
Rjack
n00b
Posts: 19
Joined: Thu Jun 14, 2012 9:53 am
Has thanked: 3 times
Been thanked: 3 times

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

Post 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
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

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

Post by merlinsvk »

Everything is fine :)
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

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

Post by Haoose »

Rjack, Costume Quest? =)
-= GP-team =-
Image
Rjack
n00b
Posts: 19
Joined: Thu Jun 14, 2012 9:53 am
Has thanked: 3 times
Been thanked: 3 times

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

Post by Rjack »

merlinsvk wrote:Everything is fine :)
Could you send me a copy of the decompiled .fla, please?
Rjack
n00b
Posts: 19
Joined: Thu Jun 14, 2012 9:53 am
Has thanked: 3 times
Been thanked: 3 times

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

Post by Rjack »

Haoose wrote:Rjack, Costume Quest? =)
Yes, I have been working on this game for a long time. :(
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

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

Post 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...
-= GP-team =-
Image
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

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

Post 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?
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

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

Post by Haoose »

merlinsvk wrote:Have you changed that byte in .gfx file back to 0x02?
Of course replaced
-= GP-team =-
Image
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

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

Post 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 ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

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

Post 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.
Rjack
n00b
Posts: 19
Joined: Thu Jun 14, 2012 9:53 am
Has thanked: 3 times
Been thanked: 3 times

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

Post 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.
merlinsvk
ultra-veteran
ultra-veteran
Posts: 411
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 121 times

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

Post by merlinsvk »

Yeah, but you are working on Costume Quest, maybe there is another problem that must be solved.
Rjack
n00b
Posts: 19
Joined: Thu Jun 14, 2012 9:53 am
Has thanked: 3 times
Been thanked: 3 times

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

Post 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. :[
Post Reply