Mupen64 - N64 Emulator running

I’ll try setting something up from scratch to see if I can replicate your problem. For now, and clarity on what you are doing, could you put a step by step process of exactly what you’ve done. Like, down fo each line. There’s probably something we can see if you so that.

Meantime, if you just want to play doom, just use the doom wrapper built in. The tutorial on here may need to be updated, since it uses legacy directory structures, but if you understand how if references files, you should be right.

Alright this is what I did, @javelinface
P.S: Doom 64 is drastically different than normal doom.

  1. I went to the git hub page you posted, and copy pasted every line in the instructions.

  2. In the instructions after doing all of the installation process, I reloaded the UI and the N64 icon was there.

  3. So I loaded in my .z64 rom of doom 64, then reloaded the UI, I ran the game, then the issues I mentioned above started.

  4. I then replaced the .config that was already there with your config, then same problem happened again, so I used Hawanna’s config still same problem

  5. I stopped messing with it to come here and get help.

I ssh to do all of the steps to install and used FileZilla to get my rom into the N64 folder.

I was actually hoping to see a list of exactly what lines you typed into your SSH session to see what you could have done wrong in following the instructions. Small syntax errors etc.

Even better, a log file of your entire session. Was there any feedback to see if you could enter the cloned directory? Did changing permissions work successfully? And I guess at the end of the day, what else have you installed on your system? Especially mods. I’m assuming you are using Terminal on a Mac, from what I’ve seen you post before.

Did you modify the configuration file using something like nano? If not, and you just did a drag and drop with FileZilla, you might need go Chmod 755 the config file. I think it’s 755 from memory. I don’t use FileZilla myself, so have no idea what it does and doesn’t do/respect. I personally use either Transmit or Cyberduck as my go to for SSH/FTP etc for the last 20 years haha! (I’m stubborn and old)

My guess is that it is something went wrong following the instructions on the Github page.

But if you’re 100% sure you’ve followed the instructions, then I guess the only thing I can suggest for now is finding a spare SD micro card. Flashing a fresh OS, and see what happens if you follow follow the instructions again and install mupen from scratch.

It is strange that it worked for some people first try, yet didn’t for others, despite having the same hardware, same base environment and following the same instructions. As a side, seemingly the people who have it working know their way around a command line fairly well.

Did you also try using the FBTurbo graphics driver, as suggested earlier?

As a side, I don’t have the doom ROM but I tried Duke Nukem 64. Worked super smooth and fine, albeit horrible controls. You’ll need to edit your configuration if you want something useable. Eg, X is forwards, Y is backwards, dpad left right = rotate, and up/down is inverted. It’s shocking.
I couldn’t get Quake 1 or 2 working on Mupen. I haven’t tried fiddling, but since Doom is ID software too, chances are it may not work without some fiddling of your own. Basically what I’m saying is, if Doom 64 is your primary reason for having an N64 emulator, you may be in for a bit more of a bumpy ride configuring it yourself.

1 Like

Thank you for taking the time to help, you are awesome @javelinface , but I this is all way out of my league. So I’ll just find another way to play doom 64

I did try changing it to FBturbo but the sound came out super choppy, and no video

1 Like

It affected the audio anyway!!? Meaning that there was still graphic processing going on, sharing resources, just not with a dedicated GPU! This is at least getting somewhere! You may need to specify where the video is being output.

Hmm. Indulge me for a minute. Before giving up entirely, try plugging it into an HDMI screen. (if you have the cable that is)

Well actually it was the same experience just worse when I switched to FBturbo, I don’t have a mini hdmi adapter :pensive: @javelinface

Ah yup yup. By being worse, we can actually diagnose something. Changing to a different graphic driver shouldn’t affect audio, right? Meaning … it is actually processing some graphics, just not displaying. I know it’s not much, but hey! It’s one step closer to unravelling this mystery.

For now, have a look at this. See if it helps shed any light.

Just went through it, I basically did all the steps they were talking about, except reflashing. But what about this… @javelinface

2 Likes

Did you start the emulator via SSH or launcher? SSH requires export DISPLAY=:0; before starting the emulator. Otherwise there won‘t be any video output.

1 Like

Or did you mean install? I used ssh to install

I started it via launcher @Hawanna

That’s exactly what I’m thinking, but can’t replicate having a black screen to test it.
It could possibly fix it given the symptoms are the same! Give it a go and let us know if it works! :slight_smile:

And of course try running via SSH as @Hawanna said too!

Please try to start via SSH to check if there is some terminal output that helps us locating the problem. :slight_smile:

1 Like

Sounds good, but what would I have to put into the terminal after I ssh into it? :sweat_smile:

@Hawanna
@javelinface

Dont wan‘t to sound offensive. :slight_smile: Did you follow the other posts?
Have a look:
Mupen64 - N64 Emulator running

„Load a game“

If you could possibly copy every single thing that you put in your ssh session when installing mupen64, we can help out, letting you know if you missed something. As in, line for line.

Unfortunately just saying you followed the guide doesn’t show where something may have possibly gone wrong. :slight_smile:

There are quite a few things in this thread that got updated chronologically.

I personally amended the installation script with the lines mentioned here:

Ie my install script looks like this.

!/bin/bash

# Script to build and install mupen64 emulator on ClockworkPi GameShell from source.

# Script written by Hawanna

# For ClockworkPi GameShell

# ClockworkOS 0.3

# Inspired by knuxyl

# For ASUS Tinker Board

# ------------------------------------------------------------

# If you are not using the default user account, please change the user variable below to your username

user="cpi"

# Build source locations

if [[ ! -d "mupen" ]]; then

mkdir "mupen"

cd "mupen"

mkdir "zip"

mkdir "source"

else

sudo rm -R mupen

mkdir "mupen"

cd "mupen"

mkdir "zip"

mkdir "source"

fi

clear

# ------------------------------------------------------------

# Installing dependencies

# ------------------------------------------------------------

sudo apt-get install -y libfreetype6 libfreetype6-dev libpng-dev zlib1g-dev zlib1g libsdl2-2.0-0 libsdl2-dev python-pyqt5 pyqt5-dev-tools python-pyqt5.qtopengl qt5-default git p7zip-full python-pip python-setuptools libboost-dev libboost-filesystem-dev

clear

cd "source"

# ------------------------------------------------------------

# Downloading the latest packages and putting them in archives for backup

# ------------------------------------------------------------

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-core ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-core

7za a ../zip/mupen64plus-core.zip mupen64plus-core

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-audio-sdl ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-audio-sdl

7za a ../zip/mupen64plus-audio-sdl.zip mupen64plus-audio-sdl

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-input-sdl ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-input-sdl

7za a ../zip/mupen64plus-input-sdl.zip mupen64plus-input-sdl

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-ui-console ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-ui-console

7za a ../zip/mupen64plus-ui-console.zip mupen64plus-ui-console

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-rsp-hle ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-rsp-hle

7za a ../zip/mupen64plus-rsp-hle.zip mupen64plus-rsp-hle

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-rsp-cxd4 ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-rsp-cxd4

7za a ../zip/mupen64plus-rsp-cxd4.zip mupen64plus-rsp-cxd4

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-rsp-z64 ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-rsp-z64

7za a ../zip/mupen64plus-rsp-z64.zip mupen64plus-rsp-z64

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-video-glide64mk2 ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-video-glide64mk2

7za a ../zip/mupen64plus-video-glide64mk2.zip mupen64plus-video-glide64mk2

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-video-arachnoid ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-video-arachnoid

7za a ../zip/mupen64plus-video-arachnoid.zip mupen64plus-video-arachnoid

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-video-rice ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-video-rice

7za a ../zip/mupen64plus-video-rice.zip mupen64plus-video-rice

echo "------------------------------------------------------------"

echo "--- Downloading mupen64plus-video-z64 ---"

echo "------------------------------------------------------------"

git clone --recursive --quiet https://github.com/mupen64plus/mupen64plus-video-z64

7za a ../zip/mupen64plus-video-z64.zip mupen64plus-video-z64

# ------------------------------------------------------------

# Building all the packages and installing them

# ------------------------------------------------------------

echo "------------------------------------------------------------"

echo "--- Building core ---"

echo "------------------------------------------------------------"

cd mupen64plus-core/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building audio-sdl ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-audio-sdl/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo make install

echo "------------------------------------------------------------"

echo "--- Building input-sdl ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-input-sdl/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building ui-console ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-ui-console/projects/unix

make NEON=1 VFP_HARD=1 PIE=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building rsp-hle ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-rsp-hle/projects/unix

sudo make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building rsp-cxd4 ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-rsp-cxd4/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building rsp-z64 ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-rsp-z64/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building video-glide64mk2 ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-video-glide64mk2/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building video-arachnoid ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-video-arachnoid/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building video-rice ---"

echo "------------------------------------------------------------"

cd ../../../mupen64plus-video-rice/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

echo "------------------------------------------------------------"

echo "--- Building video-z64 ---"

echo "------------------------------------------------------------"
cd ../../../mupen64plus-video-z64/projects/unix

make NEON=1 VFP_HARD=1 USE_GLES=1 all

sudo NEON=1 VFP_HARD=1 USE_GLES=1 make install

Honestly guys thank you for all your help and time, but N64 on this hardware is not enjoyable, I already installed a N64 emulator on my phone. I’ll just delete the emulator

1 Like

Ah well, that’s a shame. Maybe you’ll come back to it later.

For the record, I just uninstalled everything and set it up again from scratch; just to see if anything has changed. Instead of using the Github link, I made one using the install script I pasted above; @Hawanna’s with the typo fixed.

It’s working fine.

Try one more thing. This was posted above.

If you do delete it, make sure you delete it properly using the uninstall script, or you’ll have lots of messy leftovers. :slight_smile:

1 Like

Alright, you’ve given me some kind of hope, how would I use your script if I already have the emulator installed? @javelinface

1 Like

First, haha it’s not mine. Don’t want to take credit.
I guess in the most basic of methods;

First, do the update as mentioned above.
After you’ve done that, go to the script I copied and edited from information in this thread.

  1. copy the entire script file
  2. SSH into your home directory.
  3. make a new file, and name it install.sh (or whatever.sh really) and paste the script in the file
  4. type ./install.sh in your SSH session from the cpi home directory to run the script.
  5. make a sandwich or something. This will take a while.
  6. after that’s done, type apt install libsamplerate0-dev libspeexdsp-dev into your SSH session.
  7. upload your config file of choice to '/home/cpi/.config/mupen64plus'
  8. if you still have the mupen/n64 action files from before, it should all be done. Just make sure the directory it refers to is where you have your Roms, and that the expected extensions line up.
  9. if you haven’t already done so, attach you light key module if you have one.
  10. hopefully enjoy playing Doom 64 on the Gameshell.

I’m not taking any credit for this, since it’s all stuff that was in this thread. Pretty much this is what I was hoping to see you show me you’ve done, so I can check to see where you could have gone wrong. I guess it’s hard when people say they followed the instructions when the instructions are spread across different posts.

1 Like