Unoffical empeg BBS

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

Page 3 of 4 < 1 2 3 4 >
Topic Options
#106135 - 23/07/2002 15:48 Re: empacman beta release [Re: bodybag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
RZ is where it waits for you to send the file. So send it the file. You do this in Hyperterminal, using Zmodem.

_________________________
Tony Fabris

Top
#106136 - 23/07/2002 15:51 Re: empacman beta release [Re: tfabris]
bodybag
addict

Registered: 07/03/2002
Posts: 504
Loc: Southern California
I've got that the X is exacutable, I just dont know where to put my "chmod 755" command. Where did the empacman file end up? I didn't tell it to go anywhere specific when I transfered.
_________________________
Bodybag - So Cal
Not a Whiner any more!!!

Top
#106137 - 23/07/2002 15:52 Re: empacman beta release [Re: bodybag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
It goes to the current directory. In your case, according to the example you showed above, it's in /empeg/bin.
_________________________
Tony Fabris

Top
#106138 - 23/07/2002 15:54 Re: empacman beta release [Re: tfabris]
bodybag
addict

Registered: 07/03/2002
Posts: 504
Loc: Southern California
Yeah, I sent the file. when I do a ls -l now the file is there, but how do I change it to an exacutable? I tried the "chmod 755" a hundred way now and no luck. This is my first attempt at any of this, once I grasp what's going on I'm sure everything will be more clear. Right now, I'm just confused.
_________________________
Bodybag - So Cal
Not a Whiner any more!!!

Top
#106139 - 23/07/2002 15:56 Re: empacman beta release [Re: bodybag]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
chmod 755 empacman in the directory where it is.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#106140 - 23/07/2002 16:04 Re: empacman beta release [Re: genixia]
bodybag
addict

Registered: 07/03/2002
Posts: 504
Loc: Southern California
Ok, did that (was trying to chmod 755 the empeg/bin#/empacman) now the empacman file is rwx. I still can't find it from the hijack menu though, what gives?
_________________________
Bodybag - So Cal
Not a Whiner any more!!!

Top
#106141 - 23/07/2002 16:06 Re: empacman beta release [Re: bodybag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
After setting it to executable, you still need to:

- Set your drives back to RO.
- Execute the program (./empacman)
- Type EXIT

then it will be on the Hijack menu.
_________________________
Tony Fabris

Top
#106142 - 23/07/2002 16:07 Re: empacman beta release [Re: bodybag]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Have you done this:
cd/<wherever empacman lives>
./empacman
exit

?
Edit: Bah, yeah what he said


Edited by Rue (23/07/2002 16:08)

Top
#106143 - 23/07/2002 16:19 Re: empacman beta release [Re: AndrewT]
bodybag
addict

Registered: 07/03/2002
Posts: 504
Loc: Southern California
Thanks to ALL, I am now playing Empacman. This is my first attempt with Hijack or any of this stuff, it was confusing at first but I think I have the concept now. I can't wait to start messing with other stuff now!!! Thanks again!!! High Score 5490 first try!
_________________________
Bodybag - So Cal
Not a Whiner any more!!!

Top
#106144 - 23/07/2002 16:25 Re: empacman beta release [Re: bodybag]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
The slightly more complex part comes when you want this good stuff to survive a re-boot, not exactly straightforward but you've got a friend in empeg-preinit

Top
#106145 - 23/07/2002 16:37 Re: empacman beta release [Re: bodybag]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
The reason I didn't type all of the exact keystrokes from top to bottom was so that I could illustrate a point: That we really really need a way to easily add userland apps which doesn't rely upon the shell prompt at any point. Someone please make a function for this. Should be as simple as FTP'ing the file to the player and adding an entry to config.ini. There's gotta be a way to do it.
_________________________
Tony Fabris

Top
#106146 - 23/07/2002 16:56 Re: empacman beta release [Re: tfabris]
bodybag
addict

Registered: 07/03/2002
Posts: 504
Loc: Southern California
Ahhhh..men!
_________________________
Bodybag - So Cal
Not a Whiner any more!!!

Top
#106147 - 23/07/2002 17:09 Re: empacman beta release [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Well, as somebody said somewhere, it would make sense to require preinit and then package the program with a preinit script. Then all that would be required is to upload the package and then reboot. I PM'd Mike at one point about adding some related functions to jEmplode, but I think he got busy doing some other stuff before he even had time to consider it, but what do I know?
_________________________
Bitt Faulk

Top
#106148 - 23/07/2002 17:45 Re: empacman beta release [Re: kirkis]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
omg, That's totally cool.... New permanent addition to my player...BTW, all the speeds seemed perfectly fine to me. My only suggestion is the institute a pause, then hit up to quit, or hit the wheel again to unpause. Totally rockin!!!! Man I wish I could pull something like that off.

Top
#106149 - 23/07/2002 19:22 Re: empacman beta release [Re: lectric]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
Oh, and btw, it stays running in my hijack after I quit out. Running Hijack 2.77.

Top
#106150 - 23/07/2002 19:52 Re: empacman beta release [Re: lectric]
dcosta
enthusiast

Registered: 04/02/2002
Posts: 277
Loc: Massachussetts
it does ?

how'd you pull that off ?
_________________________
__________ davecosta Hijacked 60GB MKIIa 2.0b13

Top
#106151 - 23/07/2002 20:21 Re: empacman beta release [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
I'm on it. Here's one idea

1) App developers ensure that their application's files are live in an application level directory - ie mygame has all neccessary files in the directory /somedir/mygame/ and not just in /somedir/
2) .tgz files are created of this directory, not of the files. so when we untar mygame-0.1.tgz into /programs0/ the directory /programs0/mygame/ gets created, and all the files put there.
3) Included in this tarball is the file /mygame/empeg_install.sh which contains some variables eg:

#!/bin/bash
#install.sh
export PATH = mygame
export BINARY = mygame/mygamebinary
export PRIORITY = M99


4) JEmplode installs and execs a script that sets a lot of stuff up - formats /dev/hda2, modifies /etc/fstab, creates a couple of mounting utilities, and installs a couple of scripts; /etc/preinit.d/N10mount and /etc/preinit.d/M0appinstall.
5) JEmplode installs the preinit binary.
6) JEmplode modifies config.ini to ensure that reservecache is set to a sensible value.

7) At this point users can ask JEmplode to dump an application tarball into the empeg. JEmplode puts it in a known location...eg /programs0/new
After a reboot, preinit finds it's first 2 scripts. The first one mounts the /programs0 partition ro. The second script, M0installapps.sh checks to see if there are any tarballs in /programs0/new/. If none exist, it exits. But if there are any, it untars them into /programs0. It then sources the empeg_install.sh script contained in the tarball, and uses the information found there to set up /etc/preinit.d/ entries Finally it moves the tarball so it doesn't get found next reboot... eg to /programs0/installed


Issues:
There wouldn't be any feedback on the final install process. For the whole part this isn't a huge problem, as most stuff will untar almost instantly, and the application will be ready for use next boot. But emptriv takes an exceedingly long time to untar because of the huge number of question files. I don't see an easy way around this problem. Yes we could make JEmplode do the application install itself, but this would either require telnetd to be installed and run so that JEmplode can run commands natively and get decent feedback, or kernel changes to allow JEmplode to achieve the same thing through the ftpd in hijack. Neither is really a desirable solution.
(I'm happy running telnetd on my empeg because it never gets plugged in anywhere but my home network - but those of you plugging in at work should *not* run it in it's current state - there's no password protection (and it would be sniffable anyway), and it has full root priviledges, meaning that anyone could scrub the entire drive(s)).
The ideal solution would be for emptriv to consolidate the questions into a few much larger files, and seek to position within it when looking for a question. But I understand that this would also be a pain to do.


Opinions?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#106152 - 23/07/2002 21:37 Re: empacman beta release [Re: genixia]
canuckInOR
carpal tunnel

Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
See my reply to you in this thread...

The only part I'm not too keen on in your version is that the .tgz gets left on the empeg after the install process is done. Given the apps partition is only 30MB, I'd rather it be removed (in anticipation of an explosion of 3rd party app development )...

Oh, I don't know abount the M0appinstall, either. I think it might be a little excessive -- I mean, how often do new apps appear (in anticipation of the aforementioned explosion never occuring)? However, I can't think of any other way to get apps installable by JEmplode...

Top
#106153 - 24/07/2002 05:01 Re: empacman beta release [Re: canuckInOR]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
Then there becomes the problem of programs that dont like eachother... such at empgps and emptrivia... it would be nice if you could put some kind of "link" in config.ini such as:
Empgps: /programs0/empgps
Empackman: /programs0/empacman
Emptrivia: /programs0/emptrivia

So that those names would appear in the hikjack menu but wouldnt have to be running to be in there. Then you could open up empgps and when your done "close" the program (kill the process).. this way the programs wouldnt have to run into eachother....

Although it would be nice if the programmers would make the programs work together or if they dont have time or what have you to release the source so someone could. I am really interested in gps but that project has seemed to almost die off completly ; (

-Greg

Top
#106154 - 24/07/2002 08:06 Re: empacman beta release [Re: mandiola]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Yeah. But you'd need to be able for hijack to start programs which is a problem which hasn't been solved yet. Mark Lord has a thread about it somewhere...

- Trevor

Top
#106155 - 24/07/2002 08:16 Re: empacman beta release [Re: mandiola]
dcosta
enthusiast

Registered: 04/02/2002
Posts: 277
Loc: Massachussetts
didn't someone implement a "picker" that would do this sarting and stopping of different applications ?
_________________________
__________ davecosta Hijacked 60GB MKIIa 2.0b13

Top
#106156 - 24/07/2002 08:44 Re: empacman beta release [Re: dcosta]
mandiola
enthusiast

Registered: 26/12/2001
Posts: 386
Loc: Miami, FL - Sioux Falls, SD
Could Hijack send to the player like ./program ? .... or even as ghetto as telnetting to localhost and doing it (this would be an extreem way to do it.. not very recourceful but its an idea)

I like how picker works but the problem is that you only get the option when you startup the player. So if you wanted to use another program you would have to reboot the player. I wish there was a way to bringup the picker menu just like hijack.
-Greg

Top
#106157 - 24/07/2002 08:53 Re: empacman beta release [Re: mandiola]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
How about adapting Picker to be a userland application that binds to Hijack and does its process crceation entirely in user-space?
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#106158 - 24/07/2002 09:26 Re: empacman beta release [Re: AndrewT]
jdandrea
member

Registered: 07/11/2001
Posts: 188
Loc: New Jersey
How did you get empeg-preinit installed? I tried:

ftp -s:install.ftp [my empeg IP]

But the first line of install.ftp (quote site rw) was skipped.

I added a blank line to install.ftp and tried again. This time it executed the rw command, but it's now hanging on the put (empeg-preinit hijack).

Also, the install.ftp does a cd into /bin to place empeg-preinit as hijack. The README file mentions /sbin instead.

Clue, please.
_________________________
-- JD - SN# 040104008 (120GB Blue, Digital Out)

Top
#106159 - 24/07/2002 10:04 Re: empacman beta release [Re: jdandrea]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Can't answer most of your questions as I use Linux, not DOS.

But /sbin and /bin are the same directory - one is a symlink (windows translation: shortcut) to the other.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#106160 - 24/07/2002 11:16 Re: empacman beta release [Re: genixia]
jdandrea
member

Registered: 07/11/2001
Posts: 188
Loc: New Jersey
OK. That's good! Symlinks are your friend.

Now the only gotcha I have is that I can't get anything to transfer over ftp. (Maybe it needs to be in passive mode?)

Even if I try an ls, "150 Opening data connection" comes back and it just sits there until I ^C out of it.

At least it didn't do anything harmful ('cept it IS still in rw mode - yikes! [grin]).
_________________________
-- JD - SN# 040104008 (120GB Blue, Digital Out)

Top
#106161 - 24/07/2002 11:24 Re: empacman beta release [Re: jdandrea]
jdandrea
member

Registered: 07/11/2001
Posts: 188
Loc: New Jersey
OK - I used Hyperterminal, went in that way, and uploaded the file into /sbin (as hijack). Then I made /etc/preinit.d ... and I think I'm almost there!
_________________________
-- JD - SN# 040104008 (120GB Blue, Digital Out)

Top
#106162 - 25/07/2002 09:17 Re: empacman beta release [Re: kirkis]
erikbragg
new poster

Registered: 16/04/2002
Posts: 35
Loc: Chino Hills, CA
amazing! the game looks great but when i reboot it is no longer in the hijack menu. how hard is it to start programming things for my rio. i would love to make some cool programs but i dont even know where to start.

Top
#106163 - 25/07/2002 09:45 My EmPacMan exeriences [Re: jdandrea]
avatarTX
member

Registered: 23/08/2000
Posts: 193
Loc: Dallas Texas USA
I have been reading this thread for a bit .. played with the program some and wanted to add what I went through in order to maybe cut some corners for anyone else having problems.

Let me start off laying some groundwork. For starters, I am not a Linux/Unix user. I have very limited exposure to them but do understand some of the concepts. I did have to download a few things.. the developers version of the software for my player for example.

OK - I installed beta developer v13 and re-installed the new version of Hijack. I am going to assume that everyone knows how to do that already, and has them up and running.

In my case, I have DSL at home. My computer has an ethernet card that I use to connect to my DSL line. I recently added a small and cheap 5 port ethernet hub to my connection, so both my computer and DSL line are all 'hubbed'.

With this, I can use another ethernet cable and connect my empeg player. Since my DSL provider (Verizon) uses DHCP to assign IP addresses, it assigns my player an address as soon as I power it up automatically, I do nothing. I know this works, I can start up my copy of emplode and it sees the player and displays the IP address for me. It also still sees the USB connection, I could chose that if I wanted.. but anyway..

NOTE : I used FTP to send my files, and to make my CHMOD settings. It is possible to use Telnet as well, if you want.

Once you get an ethernet connection, I use my favorite FTP client (WS-FTP) to connect to the empeg player. No problems, I can connect anonymously so no login ID or pass is needed.

With my FTP program connected, it allows me to set the player in READ WRITE mode. The player is in READ ONLY mode by default. I cannot tell you how to set the player in Read Write unless you also use WS-FTP. But evidently, this is an important step, I got the afore mentioned '150' errors in FTP until I set the correct mode.

From here, I chose to make a directory under Drive0 named 'games' and uploaded my empacman file there. I also used my FTP client to set the rights to 755 for the file and the newly formed 'games' directory.

I then disconnected my FTP program and logged in to the player by way of Telnet. There is a pretty good link in this thread somewhere that told me how, if I remember exactly where I would say but sorry. I found it, you can too. Once connected via Telnet, I executed the file by typing './empacman' and then (if I remember right) logged out of Telnet.

I then brought back up my FTP client and set the player back to READ ONLY mode. <-- Do NOT forget to do this or else bad things can happen.

At this point, I could enter HiJack and the menu selection was there, the game started with no problem.

I am now at a familiar problem, how to keep the setting in the HiJack menu. This is beyond my grasp so I cannot give any insights here. Believe me, I will be reading to see if anyone can post a step by step solution for the rest of us.

If anyone is still seeking help, at least up to this point, feel free to email and I will be glad to do what I can. Remember, I am no guru when it comes to this stuff.. but I did learn a few things installing this program.
_________________________
Carl Aydelotte Dallas Texas USA empeg MKII 080000506 40gb-green

Top
#106164 - 12/08/2002 12:13 EmPacman Very Cool & One Tweak [Re: kirkis]
gryng
stranger

Registered: 27/09/2000
Posts: 48
I would like to add to everyone else, this is very sweet and well done; kudos.

Also, you asked for suggestions. I have only one at the moment.

Since I studied Pacman back in Highschool (in order to make my own DOS/Pascal Clone), I noticed one behavior right off that was very different from the original game:

That is, you have it right that the ghosts do not come out until a certain number of bullets are eaten. However, if the ghosts are killed, they come back within a short period of time, not bullet count.

Without this behavior, the game is much easier, since I can concentrate on getting large sections of bullets, then eat a super bullet (thus killing all the ghosts), then concentrate on getting any small sections of bullets.

But I'd like to repeat my appreciation of this fine gift! It's very well done.

Oh before I go, I think sound effects would be nice (but also annoying to someone else in the car, so make them optional if you do). I also like the idea of fruit and extra lives. All of these shouldn't be too much to add; I'm sure someone else will do them .

Top
Page 3 of 4 < 1 2 3 4 >