Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Game Boy Advance Emulator, GBA Linux< Next Oldest | Next Newest >
charpie Offline





Group: Members
Posts: 23
Joined: Mar. 2004
Posted: June 12 2004,00:24 QUOTE

I like xmame, works great. ayttm is awesome. Exactly what i wanted.

I have been trying to make work a GBA emulator in DSL. There is one call VBA that uses SDL, but I am not experience enough to make it work. Anyone could help on making this program a dsl extension. This would be much better then mame or snes

http://vba.ngemu.com/downloads.shtml

:p

Cheers.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: June 12 2004,03:51 QUOTE

charpie,

I saw this package in the debian packages.  It is called

http://packages.debian.org/testing/otherosfs/visualboyadvance

I was able to install it and run it (and it looks great) using the standard DSL disk, the dsl-dkpg.dsl file, and the following 4 files from debian packages site:

libsdl1.2debian-oss_1.2.7-6_i386.deb
libsdl1.2debian_1.2.7-6_i386.deb
zlib1g_1.2.1.1-3_i386.deb
visualboyadvance_1.7.1-1_i386.deb

find and download those files, then open a bash shell.

sudo su
dpkg -i libsdl1.2debian-oss_1.2.7-6_i386.deb
dpkg -i libsdl1.2debian_1.2.7-6_i386.deb
dpkg -i zlib1g_1.2.1.1-3_i386.deb
dpkg -i visualboyadvance_1.7.1-1_i386.deb

run the program using
vba yourgamefime.gba

Others brighter than myself have shown how to get from here to a dsl file.  try looking here:

http://damnsmalllinux.org/cgi-bin....11;t=79
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: June 12 2004,05:49 QUOTE

I should have been clearer.

First, you need to get the 4 .deb packages, place them in the ~ directory, open a bash shell,  and install them.

Code Sample
sudo su

dpkg -i libsdl1.2debian-oss_1.2.7-6_i386.deb
dpkg -i libsdl1.2debian_1.2.7-6_i386.deb
dpkg -i zlib1g_1.2.1.1-3_i386.deb
dpkg -i visualboyadvance_1.7.1-1_i386.deb


Then use these commands to get a list of files, directories, and links in the deb pakages and put them into a file called test:
Code Sample

dpkg --contents libsdl1.2debian-oss_1.2.7-6_i386.deb > test
dpkg --contents libsdl1.2debian_1.2.7-6_i386.deb >> test
dpkg --contents zlib1g_1.2.1.1-3_i386.deb >> test
dpkg --contents visualboyadvance_1.7.1-1_i386.deb >> test

Then you need to open the test file and edit it, using 'mkdir', 'cp' and 'link as appropriate.  Also I added the bash thing in front so I could run it.  Here is the front of my modified test so you can see what I did as far as editing and changing things:

Code Sample
#!/bin/bash
mkdir usr
mkdir usr/share/
mkdir usr/share/doc/
mkdir usr/share/doc/libsdl1.2debian-oss/
cp /usr/share/doc/libsdl1.2debian-oss/CREDITS usr/share/doc/libsdl1.2debian-oss/CREDITS
cp /usr/share/doc/libsdl1.2debian-oss/README usr/share/doc/libsdl1.2debian-oss/README
cp /usr/share/doc/libsdl1.2debian-oss/README-SDL.txt usr/share/doc/libsdl1.2debian-oss/README-SDL.txt
cp /usr/share/doc/libsdl1.2debian-oss/copyright usr/share/doc/libsdl1.2debian-oss/copyright
cp /usr/share/doc/libsdl1.2debian-oss/BUGS.gz usr/share/doc/libsdl1.2debian-oss/BUGS.gz
cp /usr/share/doc/libsdl1.2debian-oss/changelog.Debian.gz usr/share/doc/libsdl1.2debian-oss/changelog.Debian.gz
mkdir usr/lib/
cp /usr/lib/libSDL-1.2.so.0.7.0 usr/lib/libSDL-1.2.so.0.7.0
link usr/lib/libSDL-1.2.so.0.7.0 usr/lib/libSDL-1.2.so.0
...


the -> in the .deb files represent link commands. when you edit them you need to swap the order and add the directory in front.

execute the script, then tar the directories with

Code Sample
tar -cvf visualgameboy usr etc


gzip it with

Code Sample
gzip visualgameboy


rename it with

Code Sample
mv visualgameboy.gz visualgameboy.dsl


and you have your very own DSL.  Worked fine for me.  I know other have written things in perl to parse the file, but this one is small enough to do by hand.
Back to top
Profile PM 
charpie Offline





Group: Members
Posts: 23
Joined: Mar. 2004
Posted: June 12 2004,18:15 QUOTE

Thks clacker, looks great. Nice tutorial.

This should interest a couple of dsl-gba fan. I will try this. Can I download a copy of your final visualboy.dsl somewhere so I can have a quick trial?

Cheers.
:)
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: June 12 2004,23:33 QUOTE

You'd think with enough firepower to figure out all that, I would know where to download the visualgameboy.dsl to, but I don't.  Is there a web site that takes submissions, or do I email someone?

I am also hesitant because I don't want to give my real email address out as part of the file, which it looked like they wanted.  That is fine for the system managers, but I don't want people scanning pages and putting my email address on every sucker's mailing list from here to China.

I also didn't want to get in trouble for modifying the distributions (ie. removing documentation and source code).
Back to top
Profile PM 
13 replies since June 12 2004,00:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Game Boy Advance Emulator

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code