Max

Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 5:53 pm

...and I'm all outta gum.

Image


Duke Nukem 3D (eduke32) package for Wheezy.
REQUIRES UPDATING FIRMWARE FIRST (needs the palette fix released today)

After update, enter to install:

Code: Select all

wget http://apt.duke4.net/pool/main/d/duke3d-shareware/duke3d-shareware_1.3d-20_all.deb
wget http://www.berryterminal.com/dl/eduke32_2.0.0rpi+svn2789_armel.deb
sudo dpkg -i duke3d-shareware_1.3d-20_all.deb
sudo dpkg -i eduke32_2.0.0rpi+svn2789_armel.deb
To play (enter in the normal text console, not in X):

Code: Select all

If you want to use head phones instead of HDMI audio: amixer cset numid=3 1
eduke32

BenWiley4000
Posts: 100
Joined: Sun Jun 24, 2012 1:36 am

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:04 pm

Can this work on Squeeze?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:09 pm

Cool, works well.

Max

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:18 pm

BenWiley4000 wrote:Can this work on Squeeze?
Probably, but:
  • I have not tested it
  • like with Wheezy: you need to update the firmware.
  • and you might also need to install the additional dependencies. Not sure if those come preinstalled with Squeeze.
    ( sudo apt-get update ; sudo apt-get install libogg0 libsdl-mixer1.2 libsdl1.2debian libvorbis0a libvorbisfile3 )

walleee
Posts: 80
Joined: Tue May 29, 2012 6:16 pm

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:26 pm

what a great game, thanks for this, i've searched for palette fix and it only shows two results, one of which is this one, could you point me towards any info about (how to install) it?

User avatar
BakaOsaka
Posts: 40
Joined: Tue Jun 12, 2012 11:30 am

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:36 pm

http://hexxeh.net/#main

Look at the R-Pi update section, and run it.

Max

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:37 pm

walleee wrote:what a great game, thanks for this, i've searched for palette fix and it only shows two results, one of which is this one, could you point me towards any info about (how to install) it?
Either download the boot/kernel files from git manually and put them at the right places, or use Hexxeh's script: https://github.com/Hexxeh/rpi-update.

walleee
Posts: 80
Joined: Tue May 29, 2012 6:16 pm

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:41 pm

excellent guys thanks very much :D

edit: any recommendation on a value for RAM split??

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:46 pm

walleee wrote:edit: any recommendation on a value for RAM split??
This doesn't use 3D/GPU so any split will work.
Technically 224M is best, but I doubt this game used much RAM, so you probably won't see much effect.

walleee
Posts: 80
Joined: Tue May 29, 2012 6:16 pm

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:53 pm

Thanks, and i'll make this my last one (I promise)is the ram split dictated by the OS, rather than the firmware? I have Raspbmc on another card and understand it uses a 50/50 split which I wish to maintain for that at least....

quite sure this confirms the above
You can’t do any permanent damage to your Pi, though, so as long as you’re not afraid to recreate your SD card, give it a shot.
but a Nod of Approval from someone who is sure would give me a bit more confidence!
Last edited by walleee on Sun Jul 01, 2012 6:55 pm, edited 1 time in total.

Max

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:54 pm

walleee wrote:Thanks, and i'll make this my last one (I promise)is the ram split dictated by the OS, rather than the firmware? I have Raspbmc on another card and understand it uses a 50/50 split which I wish to maintain for that at least....
The firmware is stored on the sd card.
So your other card is not affected.

walleee
Posts: 80
Joined: Tue May 29, 2012 6:16 pm

Re: Time to kick *ss and chew bubble gum...

Sun Jul 01, 2012 6:56 pm

ahhh, of course it is, as the Pi doesn't have any other storgae, god, :oops: :oops: :oops: talk about not seeing the wood for the trees.

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Time to kick *ss and chew bubble gum...

Mon Jul 02, 2012 6:17 pm

I usually get problems with these things.....
eduke32 doesn't work 'off the bat' unless you go into the usr/games/ directory ;)

Also you need to sudo ./eduke32
Should the mouse control direction?

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

Max

Re: Time to kick *ss and chew bubble gum...

Mon Jul 02, 2012 6:23 pm

texy wrote:I usually get problems with these things.....
eduke32 doesn't work 'off the bat' unless you go into the usr/games/ directory ;)
Also you need to sudo ./eduke32
With the new Wheezy image /usr/games is part of the path, and username Pi is member of the rights groups to get video access without sudo.
But "sudo /usr/games/eduke32" may indeed still be necessary if you are using an older Debian version, or are logged in under a different user than "pi".

cslowik
Posts: 30
Joined: Wed Jun 27, 2012 2:31 pm

Re: Time to kick *ss and chew bubble gum...

Mon Jul 02, 2012 6:53 pm

oh this is awesome, i cant wait to try it out later today!

shawnbusker
Posts: 23
Joined: Sun Jul 01, 2012 3:10 am

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 3:03 am

I tried installing using your guide in the first post but eduke32 wouldn't install because the package wasn't for armhf. I am using the Raspbian Pisces+MATE image. I ended up compiling the latest revision of eduke32 from svn and it worked fine however my mouse didn't work and the graphics was glitchy but other than that, it seemed to run great with good framerate.

Shawn

aspirin
Posts: 5
Joined: Wed Jul 04, 2012 7:55 am

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 7:58 am

I used the guide and it worked okay but with the same glitches mentioned previously. Nice!

BEA571E
Posts: 1
Joined: Wed Jul 04, 2012 7:01 am

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 8:15 am

Seems to work quite well, but graphics are a bit glitchy. there is seemingly flicker when light is fading on menus and during the game play.

Any ideas on causes, or work arounds. i see a few others with the same issue.

all in all though Big up :) best game ever on raspberry Pi, ,yay :D

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5282
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 8:57 am

BEA571E wrote:Seems to work quite well, but graphics are a bit glitchy. there is seemingly flicker when light is fading on menus and during the game play.
It's due to how palette is changed in kernel video driver. It should be fixed with a future firmware update...

User avatar
Mortimer
Posts: 923
Joined: Sun Jun 10, 2012 3:57 pm

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 9:28 am

I broke it in next to know time, probably by doing something silly.

On the first run I changed the video mode to 1280x1024. The graphics changed so that the menus were not central on the screen and a large number of the options are off the screen, so I couldn't change it back. I managed to quite the game, but when I run it now, I just get a black screen, but I can hear the sound effects being played so I guess the game is running. I am getting back to the command prompt by doing ctrl-alt-delete. I tried editing the eduke32.cfg file and changing the screen resolution settings in there, but this didn't fix it, neither did renaming the eduke32.cfg file and running it again.

The screen setup options at the moment are:

[Screen Setup]
ScreenBPP = 8
ScreenHeight = 768
ScreenMode = 0
ScreenWidth = 1024
Out = 0
Password = ""


Is anything amiss there, or should I try installing again?
--------------
The purpose of a little toe is to ensure you keep your furniture in the right place.

Max

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 1:42 pm

Mortimer wrote: Is anything amiss there, or should I try installing again?
Just try deleting the subdirectory in your home directory that has the eduke settings to get to the defaults.

Code: Select all

rm -rf ~/.eduke32
(if you run an old version of Debian and normally start duke with "sudo /usr/games/eduke32" you might need to do instead:

Code: Select all

sudo rm -rf /root/.eduke32 
)

User avatar
Mortimer
Posts: 923
Joined: Sun Jun 10, 2012 3:57 pm

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 2:07 pm

Yup, that fixed it!

Should it be possible to use the mouse?
--------------
The purpose of a little toe is to ensure you keep your furniture in the right place.

alexbrown
Posts: 10
Joined: Tue Jun 12, 2012 6:43 pm

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 4:59 pm

I know this may sound obvious but i really don't know how to get it to start can someone please explain or give me a code? thanks :)

aspirin
Posts: 5
Joined: Wed Jul 04, 2012 7:55 am

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 5:04 pm

alexbrown wrote:I know this may sound obvious but i really don't know how to get it to start can someone please explain or give me a code? thanks :)
by Max » Mon Jul 02, 2012 7:23 pm
texy wrote:
I usually get problems with these things.....
eduke32 doesn't work 'off the bat' unless you go into the usr/games/ directory
Also you need to sudo ./eduke32


With the new Wheezy image /usr/games is part of the path, and username Pi is member of the rights groups to get video access without sudo.
But "sudo /usr/games/eduke32" may indeed still be necessary if you are using an older Debian version, or are logged in under a different user than "pi".

alexbrown
Posts: 10
Joined: Tue Jun 12, 2012 6:43 pm

Re: Time to kick *ss and chew bubble gum...

Wed Jul 04, 2012 5:37 pm

aspirin wrote:
alexbrown wrote:I know this may sound obvious but i really don't know how to get it to start can someone please explain or give me a code? thanks :)
by Max » Mon Jul 02, 2012 7:23 pm
texy wrote:
I usually get problems with these things.....
eduke32 doesn't work 'off the bat' unless you go into the usr/games/ directory
Also you need to sudo ./eduke32


With the new Wheezy image /usr/games is part of the path, and username Pi is member of the rights groups to get video access without sudo.
But "sudo /usr/games/eduke32" may indeed still be necessary if you are using an older Debian version, or are logged in under a different user than "pi".
I am using the new wheezy image i just cant get it to run and it is in no game directory folder :S what do i need to do for it to start? i got 2 deb files and a bz2 file :/

Return to “Gaming”