Game Boy Advance Emulator


Forum: myDSL Extensions (deprecated)
Topic: Game Boy Advance Emulator
started by: charpie

Posted by charpie on June 12 2004,00:24
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.

Posted by clacker on June 12 2004,03:51
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 >

Posted by clacker on June 12 2004,05:49
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.

Posted by charpie on June 12 2004,18:15
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.
:)

Posted by clacker on June 12 2004,23:33
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).

Posted by cbagger01 on June 13 2004,01:14
You do not need to put your real e-mail address as part of the *.lsm file.

You do need to give credit to the original author of the program (the guy who wrote the program, not the guy who created the *.dsl).

If you do not want to list your e-mail under the "maintainer", you can either leave the field blank or you can put in the maintainer of DSL ( john at damnsmalllinux.org).

Posted by clacker on June 13 2004,03:40
where do the files get uploaded to?  I tried < ftp://ftp.ibiblio.org/pub/linux/distributions/damnsmall/mydsl/ > but it told me I didn't have permission to upload.
Posted by John on June 14 2004,01:10
Clacker, if you have access to hosting put them up and email me with the locations and I'll grab the files.  If not, just email the files to me.
john _at_ damnsmalllinux.org

Posted by ke4nt1 on June 15 2004,16:36
Here is a temporary link to get your VBA, until "clacker" gets
his uploaded and posted up on the repository ...

Run it from a terminal, like "vba sonic3d.gba"
or use emelfm ...  highlight your .gba rom,
right click and select open with, and type "vba"


remember ... right click/save as ...
(mozilla likes to add .html to the filename.. simply remove it ...)
< http://www.creativesound.com/ares/vba.dsl >
< http://www.creativesound.com/ares/vba.dsl.md5.txt >
< http://www.creativesound.com/ares/vba.dsl.lsm >

Enjoy .... just add roms!

73
ke4nt

Posted by clacker on June 15 2004,17:04
I'd say just use those files from ke4nt1 for the repository.  It's not like there aren't anymore DSLs for me to create.

I didn't know about the right click and open with in elefm either.  That's a great thing to know.

Posted by ke4nt1 on June 15 2004,17:31
That's nice of you to say...
I'm looking forward to getting others involved in posting
up fresh .dsl extensions, so if you have yours ready to go,
please email it to John, so he can post it up for others to enjoy.
You turned me on to making the vba , with your
tutorial and posts, and my kids
are having a fantastic time with it ! ( yes, me too.. :D )

I've posted up so many .dsl's so far.
Please email yours, and get your credit due to yourself
for inviting us DSL users to such a fun game addition.

73
ke4nt

Posted by clacker on June 15 2004,22:56
I will upload mine in that case.  I'm on the road now, but when I get back on Friday I'll upload it.  Your lsm file was helpful to see how it's done.
Posted by John on June 16 2004,05:27
Great Clacker, there is no reason why we can't have more than one .dsl per application.
Posted by ke4nt1 on June 16 2004,14:35
Here's another trick that worked well for my young ones...
Edit the configure-buttons menu in Emelfm to add a VBA button...
(click configure - goto buttons - click add - label=VBA - command=vba %f )
Then , just like loading .dsl extensions with the mydsl button,
you can highlight the rom your want to use, and
press the "VBA" button to load up the *.gba rom file ...
( I leave em' zipped - like xmms skins - seems to work fine )
If the zipped files seem to not work, load the gnu-utils.dsl first.
( the unzip utility in gnu works better than the busybox substitute, IMHO)
Perhaps it is due to these being zipped up for M$ OS ...

Enjoy,

73
ke4nt

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.