bem o titulo ja resume tudo
There are a few out there, but unfortunately none of them currently has a Flatpak for installation. melonDS has one, but it’s not working at the moment …
Your best bet would be to run it with Podman until it’s available.
eu tentei essa sua recomendação so que fica travando tambem
well could you explain to me how i could use podman to use melonDS
?
First of all it would be a good starting point to read the linked Tutorial, to get a idea about the technology behind.
To make things a little more easy, i’ve written some scripts to create the container, which you find below:
#!/bin/bash
CONTAINER=test2
IMAGE=ubuntu:20.04
function create_container
{
podman container list --all | grep ${CONTAINER} 2>/dev/null 1>&2
if [ $? -eq 0 ]; then
echo "Container already exists, please remove first"
return
fi
echo "Creating container ..."
podman run --interactive --tty --name ${CONTAINER} --volume /tmp/.X11-unix:/tmp/.X11-unix --env DISPLAY --device /dev/dri --device /dev/snd --device /dev/input/mouse0 --volume /etc/localtime:/etc/localtime:ro --volume ${HOME}:/mnt --cap-add=ALL --security-opt seccomp=unconfined ${IMAGE} /bin/bash
}
function remove_container
{
podman container list --all | grep ${CONTAINER} 2>/dev/null 1>&2
if [ $? -ne 0 ]; then
echo "Container does not exist ..."
return
fi
podman container rm --force ${CONTAINER}
}
if [ $# -gt 0 ]; then
case "${1}" in
"create") create_container;;
"remove") remove_container;;
"dump") echo Exporting container: ${CONTAINER}; podman container export ${CONTAINER} | gzip > ${CONTAINER}.tar.gz;;
esac
else
podman start ${CONTAINER}
podman exec --interactive --tty --privileged ${CONTAINER} bash
fi
Save this to some location, like ~/ubuntu.sh
. Then open a Terminal and type:
chmod +x ~/ubuntu.sh
~/ubuntu.sh create
This will create the container with all the needed settings. After the command has been run, you’re already in to container. Run:
apt-get update; apt-get install libsdl2-2.0-0 libgtk-3-0 mesa-utils libegl-mesa0 libegl1
Now the dependencies for melonDS have been installed. Now download melonDS and the associated files and extract it to some location, like ~/Downloads
. Your entire Home directory is available as /mnt
in the container, so you now can:
cd /mnt/Downloads/melonDS
./melonDS
The script provided above has additional parameters too:
- If run with
./ubuntu.sh create
the container is being created - If run with
./ubuntu.sh remove
the container is removed without further questions - If run without any parameters you start the container and open a shell inside of it
Good luck.
Qual jogo você tentou jogar?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.