Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#80981 - 15/03/2002 05:38 jEmplode 25 - Small fixes for AnimEdit UI
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Grab 25 from www.jempeg.org for some small clean-ups in AnimEdit.

Top
#80982 - 15/03/2002 08:17 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mschrag]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
save animation, quit, start again, load animation --> gives me a blank animation, instead of the non-blank one I saved.

??

Top
#80983 - 15/03/2002 08:51 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mschrag]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Here is a more clear example of what's happening..

09f7e0 ffffffff ffffffff ffffffff 0000000c
09f7f0 0000040c 00000000 00000000 00000000
09f800 00000000 00000000 00000000 00000000
*
09fbf0 00000000 00000000 ffffffff ffffffff
09fc00 ffffffff ffffffff ffffffff ffffffff
*
09fff0 ffffffff ffffffff 0009f7f0 4d494e41
0a0000

In this example, the actual animation consisted of two frames, the first being completely '00' and the second filled completely with 'ff'.

The error here is that the tail offset value, 0009f7f0, is off by 4, it should be 0009f7ec instead. This explains (1) the lower-right garbage when played, and (2) the absence of the first frame when played.

Cheers

Top
#80984 - 15/03/2002 09:10 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Figured that one out -- need to have added a frame to the sequence pane (RHS of screen) before saving. Works okay after that.

Top
#80985 - 15/03/2002 10:36 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mschrag]
sancho
journeyman

Registered: 17/08/2000
Posts: 70
the left side of my animation is wrapping around to the right side of the screen...

and i am getting the trash in the bottom right on the last frame...

hijack v242
jemplode v25
--
sancho

Top
#80986 - 15/03/2002 11:35 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: sancho]
jnmunsey
member

Registered: 10/01/2002
Posts: 139
Loc: Houston, TX, USA
Ok I am lost, are there any details on how to use the animation Editor? When I try to upload an animation nothing happens..

Thanks

Top
#80987 - 15/03/2002 12:04 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Interesting .... I can see why it might do that. Probably shuuld write an empty frame table, then all your frames. My bad.

Top
#80988 - 15/03/2002 12:05 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: jnmunsey]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
When you say "nothing happens", can you explain? Does AnimEdit give you an error? Does the Empeg just not play the animation? Make sure you're running Hijack 242....

Top
#80989 - 15/03/2002 12:07 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Very weird -- Are you saying the offset that I write for Hijack to find the animation is off by 4? I didn't even notice the first frame missing I'll fix this up tonight. Nobody said they wanted a _WORKING_ animation editor

Top
#80990 - 15/03/2002 12:08 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mschrag]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Yup.. the offset at the end (beside the 'ANIM' signature) is off by 4.

Cheers

Top
#80991 - 15/03/2002 12:14 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I'll fix that right up later tonight.

Top
#80992 - 15/03/2002 15:50 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mschrag]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
Text seems to be broken for me. I click the Text button, pick what font I want, and then hit ok. I can then click on the editor space to place the cursor (it correctly picks the right color based on which mouse button I use) and can type my text. Two problems with this. only a-zA-Z0-9 are accepted (no symbols, no spaces) and I can't do anything for the text to actually be put into the frame. Also, the text is displayed in a high-resolution format, and when placed into the frame that resolution is lost (well was, it worked last version)..

Top
#80993 - 15/03/2002 16:12 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: Yang]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
yeah, i had problems with this too. Just click on another button, like paint, and the text should "stick"
_________________________
|| loren ||

Top
#80994 - 15/03/2002 18:48 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: Yang]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Broken is such a harsh word -- Technically, it works exactly as I programmed it ... I can probably resolve all the issues except rendering at hires as you type ... To be able to move the text around as you type and to allow editing, I can't render the text down into the buffer (and thus have it scaled up and lores), I can only draw it on top of the scaled up image (well, I mean, it's certainly technically possible to work around this, but it's kind of a pain, and it's definitely a lower priority -- I agree it's annoying though.)

Mike

Top
#80995 - 15/03/2002 18:57 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: sancho]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I'm guessing this will be fixed in the next version now that I am not off-by-4-bytes.

Top
#80996 - 15/03/2002 18:59 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Turns out this is a really tricky problem ... If you don't specify the frame in the sequence, then it doesn't get written to the offset table, which means I have no idea that this frame even exists ... I don't know if I can tell when to stop reading frames without this. For now I won't let you upload until you reference each frame at least one in the sequence -- at least a little better UI than total failure.

Top
#80997 - 15/03/2002 19:09 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I worked around this one in a better way -- Just taking advantage of the fact that the animation is written at the end of the kernel, I can just read until there are less than 1024 bytes left, then I know you're either a) at the end of a saved file, or b) at the end of the Hijack kernel (i.e. those last 8 bytes).

Mike

Top
#80998 - 15/03/2002 19:16 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mschrag]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
How about using the file size (from the o/s) to figure out how many frames are in the saved animation?

Top
#80999 - 15/03/2002 19:31 Re: jEmplode 25 - Small fixes for AnimEdit UI [Re: mlord]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Yeah -- you're right .. And for Hijack, I can just use 640k - offset - 8.

Thanks for the suggestion
Mike

Top