Unoffical empeg BBS

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

Page 1 of 4 1 2 3 4 >
Topic Options
#106075 - 19/07/2002 15:03 empacman beta release
kirkis
new poster

Registered: 17/03/2002
Posts: 21
Hi folks,

I've been working over the last month on a project that is now at a stage I'm ready to release to the public. Find attached to this message a zip file containing version 0 of empacman.

The file is an empeg executable that requires hijack to function. Once the file is executed on your empeg, it will create a new hijack menu item for you to launch the game.

The controls are as follows:
up - face top, rio/kw remote 2
down - face bottom, rio/kw remote 5,8
left - face left, rio/kw remote 1,4
right - face right, rio/kw remote 3,6
quit - face knob, rio remote cancel, kw remote *

Version 1 complete with source is forthcoming. I just want to get some feedback on its current state, to nail any bugs and make any smart or highly requested improvements.

So, anybody out there who wants to beta test my game please get to it, and report your findings in this thread.

Cheers,

Richard
--


Attachments
104750-empacman_v0.zip (21 downloads)


Top
#106076 - 19/07/2002 15:09 Re: empacman beta release [Re: kirkis]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
OMG that is so so utterly cool. My hat is off to you.

Can't play it well yet because it starts out kinda fast and it's hard to think fast enough to hit the buttons, but I'll prolly get the hang of it.
_________________________
Tony Fabris

Top
#106077 - 19/07/2002 15:15 Re: empacman beta release [Re: kirkis]
bbowman
enthusiast

Registered: 12/05/2002
Posts: 205
Loc: Virginia, USA
So to get this working, I just log into the empg shell and run it? does it need to be in any special directory?
_________________________
Brent
RioCar MK][a 20GB+80GB
'96 Saab 900s (Not any more)
Still looking for a good way to install in a 2010 BMW 3 series with iDrive/NAV

Top
#106078 - 19/07/2002 15:19 Re: empacman beta release [Re: bbowman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Gotta tag it as executable. Doesn't need to be in a specific directory, but if it's in, say, drive0/var it won't get erased by an upgrade.

Then "Q" outta the player from the shell. Execute it (./empacman) then type "exit" to get back into the player. Then fire up Hijack and it'll be there on the Hijack menu.

Optionally, you can start it up with each player boot from a custom init.
_________________________
Tony Fabris

Top
#106079 - 19/07/2002 15:38 Re: empacman beta release [Re: kirkis]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
That's an amazing addon you've done there, a really really nice piece of work! I can't wait to show off Pacman on my car stereo

This is in no way a criticism but personally I'd prefer it if the pace was somewhat slower, I too found some buttons less responsive than I expected and got chomped up fairly easily as I was unable to navigate as I'd expected.

Top
#106080 - 19/07/2002 15:39 Re: empacman beta release [Re: kirkis]
bbowman
enthusiast

Registered: 12/05/2002
Posts: 205
Loc: Virginia, USA
I did what my question asked above, and it worked great. However, after I played it once, the shell gave a message saying:
hijack: removed menu entry: "empacman"

After rebooting, I no longer had the menu option.
In order to get it back, I had to repeat the process. How do I get it to stay as a permanent menu entry?

_________________________
Brent
RioCar MK][a 20GB+80GB
'96 Saab 900s (Not any more)
Still looking for a good way to install in a 2010 BMW 3 series with iDrive/NAV

Top
#106081 - 19/07/2002 15:42 Re: empacman beta release [Re: bbowman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
I also got that message at the shell prompt (removed meny entry empacman) but it's still on my menu. Just checked.

The trick is that you can't reboot the player. If you reboot the player, the menu entry will be gone. Unless you make empacman run on every boot by putting it into a custom init.
_________________________
Tony Fabris

Top
#106082 - 19/07/2002 15:46 Re: empacman beta release [Re: tfabris]
bbowman
enthusiast

Registered: 12/05/2002
Posts: 205
Loc: Virginia, USA
Is there a faq that talks about these custom inits? I'm assuming that it is not the config.ini file.
_________________________
Brent
RioCar MK][a 20GB+80GB
'96 Saab 900s (Not any more)
Still looking for a good way to install in a 2010 BMW 3 series with iDrive/NAV

Top
#106083 - 19/07/2002 15:49 Re: empacman beta release [Re: bbowman]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
There's no FAQ on it, It's a pretty advanced linux thing. You kind of have to know what you're doing. Search the BBS, there are some threads on the subject.

What we really need is a way to install and run things like this without having to replace the init. There has been some talk about modifying hijack so that you can execute userland programs directly from its menu, and configure them by putting them in config.ini. This would be the ultimate, and someone could do it without linux knowledge or complicated instructions.
_________________________
Tony Fabris

Top
#106084 - 19/07/2002 15:55 Re: empacman beta release [Re: tfabris]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Am I right in assuming this applies also to emptriv?

That app was really neat, I say 'was' because it too doesn't survive a reboot while still appearing on the Hijack menu. I followed the emptriv thread as much as I could but got out of my depth after a while.

I'd happily settle for a 'middle ground' on this, i.e. I don't mind fiddling with a .ini file to make these cool apps available all of the time. Can you recall if something exists that meets this criteria?

Edit: I don't want to steal the thunder from this great game with a semi-OT question, please feel free to direct this elsewhere .


Edited by Rue (19/07/2002 15:57)

Top
#106085 - 19/07/2002 15:57 Re: empacman beta release [Re: AndrewT]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
I don't mind fiddling with a .ini file to make these cool apps available all of the time. Can you recall if something exists that meets this criteria?

That's my point, it's not as simple as fiddling with an ini file, and I wish it were.
_________________________
Tony Fabris

Top
#106086 - 19/07/2002 18:00 Re: empacman beta release [Re: kirkis]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
This absolutely rocks. Very well done.

As a side note, I have moved my telnetd and viewer and empacman into /drive0/var and can't get preinit.d to work. Executable permissions are set and simply moving them back to /empeg/bin works fine.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#106087 - 19/07/2002 18:36 Re: empacman beta release [Re: Shonky]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
It's likely that that directory is not mounted when preinit wants to run those programs. You could try changing the first letter of your startup scripts to an `M'. This should tell preinit to wait to execute those scripts until that directory is mounted.
_________________________
Bitt Faulk

Top
#106088 - 19/07/2002 19:21 Re: empacman beta release [Re: wfaulk]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Thanks Bitt. I figured it was something like that but hadn't got as far as working it out for sure. Thanks.

Sorry for hijacking the thread kirkis
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#106089 - 19/07/2002 20:55 Re: empacman beta release [Re: kirkis]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
Holy [censored]! Thats awesome.

How about some sound fx?
pacman
pacman2

Tom

Top
#106090 - 19/07/2002 22:41 Re: empacman beta release [Re: kirkis]
oliver
addict

Registered: 02/04/2002
Posts: 691
Wow! This must be the best app i've tried yet!

I setup empeg-preinit.v3 just now, and preinits loads, and tries to load the empacman file from the preinit.d folder. but i get this error.

/etc/preinit.d/N01empacman: /etc/preinit.d/N01empacman: cannot execute binary file

I've tried the file with both the 'N' and 'M' prefix, and i still get this error. How can i fix this, and get this programming running all the time?

_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#106091 - 19/07/2002 22:54 Re: empacman beta release [Re: oliver]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Did you make it executeable? If not:

chmod 755 /etc/preinit.d/N01empacman

/Michael
_________________________
/Michael

Top
#106092 - 19/07/2002 23:01 Re: empacman beta release [Re: mtempsch]
oliver
addict

Registered: 02/04/2002
Posts: 691
yes, i've made it executeable, first i tried 755 on both the folder preinit.d then on the N01empacman file. If i type ./N01empacman from the hyperterm window, it loads and binds to hijack. but the preinit gives that error when it tires to load it.

_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#106093 - 19/07/2002 23:35 Re: empacman beta release [Re: oliver]
jbauer
veteran

Registered: 08/05/2000
Posts: 1429
Loc: San Francisco, CA
Can someone post a empeg screen shot?

- Jon

Top
#106094 - 20/07/2002 00:00 Re: empacman beta release [Re: jbauer]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279


Attachments
104830-empacman.gif (143 downloads)


Top
#106095 - 20/07/2002 00:02 Re: empacman beta release [Re: charcoalgray99]
jbauer
veteran

Registered: 08/05/2000
Posts: 1429
Loc: San Francisco, CA
Wow!

Thanks!

- Jon

Top
#106096 - 20/07/2002 00:23 Re: empacman beta release [Re: jbauer]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
OK.. this one has to go into Hijack!!! is that easily doable?

Top
#106097 - 20/07/2002 00:43 Re: empacman beta release [Re: charcoalgray99]
charcoalgray99
enthusiast

Registered: 14/05/2001
Posts: 279
I found some pacman wav's that sound good, anyone else think this game needs sound?
http://emuxhaven.net/emuxhaven/multia/extras/sounds.zip

Tom

Top
#106098 - 20/07/2002 01:05 Re: empacman beta release [Re: oliver]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
preinit scripts must be scripts. If you want it to start a binary program, then you'll need to write a one-liner to start it.
_________________________
Bitt Faulk

Top
#106099 - 20/07/2002 01:20 Re: empacman beta release [Re: wfaulk]
oliver
addict

Registered: 02/04/2002
Posts: 691
Could you give me an example of the one liner script? I've never written a script for the empeg, or linux for that matter.

_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#106100 - 20/07/2002 02:15 Re: empacman beta release [Re: oliver]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
===================¨
#!/bin/sh
/path/to/actual/program_to_run
===================

Just the part between the lines with =='s. #!/bin/sh must be on first line of file.
Be sure to save it it with Unix style line endings, if creating it on a non-unix system, or it will not work (use something like UltraEdit on Windows).

Save that in the preinit.d catalog with an appropriate name and keep the real programs somewhere else. Don't forget to make it executeable.

/Michael
_________________________
/Michael

Top
#106101 - 20/07/2002 08:17 Re: empacman beta release [Re: kirkis]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Way cool. Time to install pre-init
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#106102 - 20/07/2002 12:27 Re: empacman beta release [Re: mtempsch]
oliver
addict

Registered: 02/04/2002
Posts: 691
Thanks for the help, i just got it working. I downloaded that UltraEdit Program, and the script still didn't work. So i installed ae on my empeg, and opened and saved the file, didn't make any changes, and it worked! Yay! Pacman is the coolest thing (till gps comes around )
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#106103 - 20/07/2002 16:31 Re: empacman beta release [Re: AndrewT]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
I finally caved in, RTFM (and this board) and installed the excellent empeg-preinit-v3 and wished I'd done it sooner, I now have emptriv and empacman on my Hijack menu, OH YES

I do have a slight problem though, running emptriv removes empacman from Hijack's menu and I need to reboot to get it back again.

Here are my serial logs:

Player Bootlog
Linux version 2.2.14-rmk5-np17-empeg50-hijack-v276 ([email protected])
<..snip..>
player.cpp : 385:empeg-car 2.00-beta11 2002/02/08.
empacman running as pid 15
opening display...
opening font file...
creating font image...
ok...
loading categories...
waitmenu...
Prolux 4 empeg car - 2.1434 Feb 7 2002
Vcb: 0x4054d000


Run emptriv 1st time
hijack: removed menu entry: "emptriv"
hijack: removed menu entry: "empacman"
failed EMPEG_HIJACK_BINDBUTTONS: Device or resource busy


Quit emptriv
waitmenu...

Run emptriv 2nd time
hijack: removed menu entry: "emptriv"

Quit emptriv
waitmenu...

In /etc/preinit.d i have 2 files:
1. M10empacman
---> #!/bin/sh
---> /drive0/empacman

2. M15emptriv
---> #!/bin/sh
---> cd /drive0/emptriv
---> ./emptriv

Edit: Changing the order of empacman/emptriv (M15emptriv & M20empacman) doesn't make any difference. Additionally, both games work fine standalone with no errors reported from Hijack.

Can anyone shed any light on what's going wrong here please?


Edited by Rue (20/07/2002 18:18)

Top
#106104 - 20/07/2002 23:29 Re: empacman beta release [Re: mtempsch]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
In the interests of full disclosure, in the case of preinit, you don't really need the shebang line. This is another aspect of the same reason that it needs to be a script in the first place. However, for the sake of consistency with other scripts, you should probably put it there nonetheless.
_________________________
Bitt Faulk

Top
Page 1 of 4 1 2 3 4 >