Unoffical empeg BBS

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

Page 1 of 2 1 2 >
Topic Options
#30150 - 25/04/2001 09:32 Some useful utils
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Anyone who is interested, a colleague has made me some little utils that I was missing.

We have:
Sleep x where x is the delay in secs
empdisplay < filename

empdisplay will show a picture full screen on the empeg display. Use Tony's editor to create them and just remove the first 4 bytes from his BIN files.

I have found that a bash script with several empdisplay lines in will do quite a nice animation on the display.

Enjoy

MK2 Red S/n 949


Attachments
29222-utils.zip (40 downloads)

_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#30151 - 25/04/2001 10:32 Re: Some useful utils [Re: Dava]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Isn't sleep in the ARM debian distribution already?

-Tony
MkII #554
_________________________
- Tony C
my empeg stuff

Top
#30152 - 02/05/2001 07:52 Re: Some useful utils [Re: Dava]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
We have expanded on the display utility to allow animation.

I have attached the binary for empanim along with a sample animation.

You can try it by typing:

empanim 0 40 < anim.ema

The parameters for empanim are the delay between frames in 1/10 sec and the total number of frames.

MK2 Red S/n 949


Attachments
29563-empanim.zip (29 downloads)

_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#30153 - 03/05/2001 10:05 Re: Some useful utils [Re: Dava]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Wow! That's great! How did you create the anim.ema? Is it just like Tfabris' .bin files, concatenated to each other, or is there some other conversion utility? It'd be great to animate my bootlogo.
Thanks,
Jason

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30154 - 04/05/2001 02:44 Re: Some useful utils [Re: Dearing]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
The anim file is nearly the same as Tony's format but you will have to strip off the 4 bytes from the start and then concatenate each frame.

I used Crystal 3D to output BMPs at 128 x 32 x 4 and then wrote a small VB app to convert to empeg format and add them all together.

MK2 Red S/n 949
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#30155 - 04/05/2001 06:51 Re: Some useful utils [Re: Dava]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Cool. Any chance of putting that VB app in an exe & sharing it?

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30156 - 04/05/2001 07:05 Re: Some useful utils [Re: Dearing]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Cool. Any chance of putting that VB app in an exe & sharing it?

And/or the code.?.

/Michael

_________________________
/Michael

Top
#30157 - 04/05/2001 07:16 Re: Some useful utils [Re: mtempsch]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Hmmm, appologies.. It was one of those things that was a means to an end so is not tidy/finished/well programmed.

BUT IT WORKS !

Here is the EXE and the source. You may need to tweak the colour case statements for your source images.

Just select a load of BMP/JPGs etc and then convert. The output is always anim.ema in the same folder as the source images.

Have FUN

MK2 Red S/n 949


Attachments
29719-empegVid.exe (85 downloads)

_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#30158 - 04/05/2001 11:24 Re: Some useful utils [Re: Dava]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
It was one of those things that was a means to an end so is not tidy/finished/well programmed.

BUT IT WORKS !


And that is what counts - getting the job done, and not too slowly.

Now, if I were going to build a major application, I'd spend some
time thinking and designing, but for small (but oh so nice) stuff like
this, good enough is just that...

Hmmmm... The attachment is AFAICS just the .exe file, where did the source go?

/Michael

_________________________
/Michael

Top
#30159 - 07/05/2001 12:14 Re: Some useful utils [Re: Dava]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Thanks a lot for the Programs. Just to play around with it, I created a silly little Matrix animation. It's a constant-rate scroll, and the source image I used had a lot of different shades in it, so the characters are a little sloppy, so it doesn't look anywhere as good as it could look. But anyway, if anyone's interested, It's attached.
Let's make some cool animations!

_~= Dearing =~_
"WAY too happy about having #99."


Attachments
29849-matrix.zip (21 downloads)

_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30160 - 14/05/2001 01:39 Re: Some useful utils [Re: Dearing]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Try this one.

If you have no boot logo it looks quite cool as it spins out the empeg logo and then spins in the first screen of the player.

It has 122 frames.

MK2 Red S/n 949
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#30161 - 14/05/2001 01:44 Re: Some useful utils [Re: Dearing]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
Hmmm.... with attachment.

MK2 Red S/n 949


Attachments
30152-anim.zip (25 downloads)

_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#30162 - 14/05/2001 08:43 Re: Some useful utils [Re: Dava]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
This is very cool.

Sean


Top
#30163 - 15/05/2001 06:54 Re: Some useful utils [Re: Dearing]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
So that sounds really cool what you are discussing here.
But I still don't know how I can see the anims.
What exactly should I do??
Which programs do I have to copy to the empeg?

_________________________
Fabian S/N 080000540 12GB blue

Top
#30164 - 15/05/2001 07:06 Re: Some useful utils [Re: Sevenger]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
You need:
-The developer image on your Mk1/Mk2.
-empanim, by Dava, attached a few posts up, copied to the empeg from a terminal emulator. I put it in /empeg/var.
-an animation file (.ema) to pass to empanim

If you type just "./empanim" from the directory where you uploaded it to, it will show you the parameters. For example, to run the matrix animation, type:
"./empanim 0 240 (lt)matrix.ema" (Sorry, "(lt)" should be replaced by the LessThan sign. The BBS won't show it right.)

What's giving you problems?

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30165 - 15/05/2001 07:11 Re: Some useful utils [Re: Dearing]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
Oh!
Much easier than I thought!
You have to know that I'm completly unexperienced with linux so I just typed empanim instead of ./empanim.
So I'm still learning :-))
(That's why it'll last still a loooong time till I get an FTP server running :-)) )

Thanks a lot :-)

WOW, I have a little problem.
when I type "./empanim" I got the message "Permission denied".
And when I type "rw" it says "EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended"
What should I do and where can I find e2fsck!
Plz help me

Edited by Sevenger on 15/05/01 03:25 PM.

_________________________
Fabian S/N 080000540 12GB blue

Top
#30166 - 15/05/2001 08:07 Re: Some useful utils [Re: Sevenger]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
you have to set permissions on the file. chmod 755 empanim

Sean


Top
#30167 - 15/05/2001 08:11 Re: Some useful utils [Re: Sevenger]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
First, you can put "." (local directory) in the path if you modify /etc/profile (I think that's the right file?), or use a shell script to set path, just like in DOS. Just add ".:" at the beginning of the list.
Second, it says Permission Denied because the file doesn't have the execute attribute set. Try: "chmod +x empanim". You can see the attributes for any file with a "ls -l". You'll also need to "chmod +w" the file you're sending empanim.
Third, when you get that message re-mounting the drive(s), it just means the mount limit (1 month/20 mounts, ISTR) has been reached. Everything's still fine, just sync with emplode to get rid of the message.
HTH,
Jason

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30168 - 15/05/2001 08:49 Re: Some useful utils [Re: Dearing]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
Thanks you for your help :-)
I don't know what I would do without this BBS!
I've got still one question:
The anim plays and it looks really cool but how can I see it automatic at startup of the player?


_________________________
Fabian S/N 080000540 12GB blue

Top
#30169 - 15/05/2001 09:10 Re: Some useful utils [Re: Sevenger]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
You would have to add it to the startup script (thats the wrong name for it). Im not sure how to do this but I would like to know too. I think it involved using ultraedit on your pc to edit it then put it back on the player.

Sean


Top
#30170 - 15/05/2001 09:14 Re: Some useful utils [Re: Terminator]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
I hoped it would be as easy as changing the icon but doesn't seem so
:-(

_________________________
Fabian S/N 080000540 12GB blue

Top
#30171 - 15/05/2001 09:16 Re: Some useful utils [Re: Sevenger]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
Empanim is a seperate program, so it would have to be loaded and run after displayserver and before the player software runs, i think.

Sean


Top
#30172 - 18/05/2001 07:33 Re: Some useful utils [Re: Sevenger]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Yes, If you already have a custom init script (Which I believe is what loads displayserver), you could put the call to empanim in that same file. To see if you have a custom init, cat /bin/init. If it's legible text, then you can add empanim to it. Keep in mind that the last thing init does is start the player, so anything in the script will run before the player does.

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30173 - 18/05/2001 08:03 Re: Some useful utils [Re: Dearing]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
I found that init and it seems to be quite easy to add empanim.
But sorry, I'm a real newbie at Linux.
How can I add it.
Should I send it to my PC edit there and send back (I even don't know how to send files from my empeg to my pc).
Sorry but there's a lot about Linux I don't know already and this BBS is the only place I can post my questions.
You don't know where I can find a Helpfile which contains every command for the Empeg (Linux) Shell??

_________________________
Fabian S/N 080000540 12GB blue

Top
#30174 - 18/05/2001 08:28 Re: Some useful utils [Re: Sevenger]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
I got a lot of help from Tony's Voladj for Dummies. It's got instructions on how to modify the init on the PC side and send it to empeg. He recommends UltraEdit, and after trying (and buying) it, I wholehartedly agree.
As for Linux resources, I'd say go to Barnes&Noble/Amazon/whatever, buy a "Starting Linux" book that comes with a distribution CD (Red Hat Linux is a good distro to start with). Install it on a small Partition on your PC, and play around with it. Within weeks, you'll be an expert in navigating around and using cmd-line commands.
There are also plenty of websites about learning Linux. Just don't be afraid to get your feet wet.
Jason

_~= Dearing =~_
"WAY too happy about having #99."
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#30175 - 18/05/2001 11:39 Re: Some useful utils [Re: Dearing]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
I think I've got a big problem!
I've edited the init file and add the path to empanim.
I've deleted the original init file an copied the new one.
I've rebooted the player and then it stopped when it shows the logo!
So I think I've done something wrong :-))
So I'm just copying the original kernel back to the empeg!

D'oh!
The upgrade failed!
I got this message:
Error "Bad pump response to device select" occured during stage 0x20

HELP

Edited by Sevenger on 18/05/01 07:56 PM.

_________________________
Fabian S/N 080000540 12GB blue

Top
#30176 - 18/05/2001 12:10 Re: Some useful utils [Re: Sevenger]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I had the same problem once on win2000 and it required a strict sequence of actions to be taken.
It seemed that after loading a faulty init, the serial port of the empeg is sending out crap constantly, which locks up the serial port of the PC. Here's how :

- unplug your empeg from mains and serial
- reboot your PC
- start the upgrade program
- plug in the serial cable
- plug in the power for the empeg.

Frank van Gestel
_________________________
Frank van Gestel

Top
#30177 - 18/05/2001 12:31 Re: Some useful utils [Re: fvgestel]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
Thanks but that did not help!
Same problem!
:-((((
What can I do???
Ah, finaly I could repair it.
I could get in shell mode and chenged the init file again.
Now it works (i hope)

Edited by Sevenger on 18/05/01 08:45 PM.

_________________________
Fabian S/N 080000540 12GB blue

Top
#30178 - 18/05/2001 14:16 Re: Some useful utils [Re: Sevenger]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
YES :-)))))))))))))) IT WORKS!!!
My first modification of the init!!
A little bit sweat (ok, ok some moments I was close to panic)
but now :-))
You were right!
You have to add the command line after the displayserver!!
AND IT LOOKS COOL!!!

_________________________
Fabian S/N 080000540 12GB blue

Top
#30179 - 18/05/2001 14:43 Re: Some useful utils [Re: Dava]
Sevenger
journeyman

Registered: 08/09/2000
Posts: 68
Loc: Hamburg/Germany
Can someone name me some progs (Shareware or Freeware will be best) I can use to create a simple animation and save tham in bitmap files to use them for an animation?

_________________________
Fabian S/N 080000540 12GB blue

Top
Page 1 of 2 1 2 >