Page 1 of 1

Text for frames of shapes

Posted: Wed Jun 30, 2004 2:28 pm
by TMNM Dragon
eg. Shape 377 is 'food item'
Each frame has it's own name in the game.
How do you edit that?
Also is it possible, if I create a new shape with multiple frames, to have a different name for each frame?

I found I could edit existing ones in SI by unpacking text.flx. But there are a couple thousand files, and it's difficult to repack it in the right order.
Also it doesn't help for new games (not using BG or SI shapes), because I can't find a pointer table. Texts 0 to 1023 correspond to the shape numbers, but what determines where the frame names go?
But of course none of that really matters, if there is a way for ES to edit the frame names.

Re: Text for frames of shapes

Posted: Wed Jun 30, 2004 2:46 pm
by Dominus
I don't think it is possible to give frames names. Only the shape name is given. I might be wrong though.
You can change the shape-names with ES.

Re: Text for frames of shapes

Posted: Wed Jun 30, 2004 7:44 pm
by drcode
True. The few objects that have different names for shapes are hard-coded at present.

Re: Text for frames of shapes

Posted: Thu Jul 01, 2004 3:05 am
by wjp
We could introduce new syntax for this in text.flx.

Maybe something as simple as

frame 0 name;frame 1 name;frame 2 name;....

Re: Text for frames of shapes

Posted: Fri Jul 02, 2004 3:44 am
by artaxerxes
and you should use textpack for unflexing text.flx. Much easier to work with the result.

Run it like this:
texpack -x text.flx text.txt

and edit text.txt

Artaxerxes