bjude
Posts: 6
Joined: Sun Apr 20, 2014 2:39 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Sun Apr 27, 2014 1:53 am

https://github.com/libretro/mupen64plus-libretro has implemented some optimisations/bugfixes that might be helpful for our project

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Sun Apr 27, 2014 11:05 am

MissingScrews

Try using audio-omx, it is the fastest audio plugin for the pi with a simpler configuration.

What are the sound issues you are having? If its intermittant playing of audio then I am afraid it is due to the emulation speed. Check https://github.com/ricrpi/mupen64plus-r ... erformance to see if there is anything else you can do.

MissingScrews
Posts: 3
Joined: Sun Apr 27, 2014 12:42 am

Re: WIP: Playable Nintendo 64 Emulator Available

Sun Apr 27, 2014 2:46 pm

ric_rpi wrote:MissingScrews

Try using audio-omx, it is the fastest audio plugin for the pi with a simpler configuration.

What are the sound issues you are having? If its intermittant playing of audio then I am afraid it is due to the emulation speed. Check https://github.com/ricrpi/mupen64plus-r ... erformance to see if there is anything else you can do.
First I updated to the latest mupen build using RetroPie and changed the config to those settings which seemed to make being outside the Castle more tolerable. Once I enter Bob-omb Battlefield the framerate drops and the sound gets choppy.

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Sun Apr 27, 2014 3:08 pm

That is due to the pi not emulating fast enough, its worth checking the Performance page on the wiki though.

MissingScrews
Posts: 3
Joined: Sun Apr 27, 2014 12:42 am

Re: WIP: Playable Nintendo 64 Emulator Available

Sun Apr 27, 2014 6:47 pm

I did check it out and made changes based on those suggestions. The only thing else I could do is up the OC.

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Wed Apr 30, 2014 8:52 am

I have noticed that the official mupen64plus has two other rsp plugins. (rsp-cxd4 and rsp-z64)
Has anyone tried using either of these on the pi?

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Wed Apr 30, 2014 2:54 pm

I have decided to migrate mupen64plus-rpi into forks off the Official Mupen64plus Repositories so that future changes can be merged more easily and so that I can make pull requests to the official Repositories for the benefit of other mupen64plus ports.

I will therefore not be uploading any new software into the mupen64plus-rpi repository however it should still be used until I have finished merging/porting into the new repositories.

NF3RN0
Posts: 36
Joined: Thu Jan 24, 2013 5:28 am
Location: Texas

Re: WIP: Playable Nintendo 64 Emulator Available

Thu May 01, 2014 12:50 am

Would there be any benefits by compling Mupen64 using SDL 2 lib? I believe the instructions are using SDL 1.2. It seems that Mupen64 is able to compile with SDL 2 but I am not sure it would bring any benefit.
https://groups.google.com/forum/#!searc ... pjtmVws2AJ

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Thu May 01, 2014 9:50 am

SDL2 has mouse input support and if GLES/EGL is working in SDL2 then I can strip out some custom rpi code. It may also give us keyboard input via SDL so keyboard would work when playing whilst desktop/X11 is running.

NF3RN0
Posts: 36
Joined: Thu Jan 24, 2013 5:28 am
Location: Texas

Re: WIP: Playable Nintendo 64 Emulator Available

Fri May 02, 2014 2:18 am

So I just compiled the SDL 2.0 libraries since they are not in the Raspbian repositories. Modified the build.sh by adding SDL_CONFIG=sdl2-config to the end of all 3 make commands. e.g. :

Code: Select all

"$MAKE" -C source/mupen64plus-${component}/projects/unix SDL_CONFIG=sdl2-config clean $@
        "$MAKE" -C source/mupen64plus-${component}/projects/unix SDL_CONFIG=sdl2-config all $@
        "$MAKE" -C source/mupen64plus-${component}/projects/unix SDL_CONFIG=sdl2-config install $@ ${MAKE_INSTALL} DESTDIR="$(pwd)/test/"
Got an error similar to one posted before by moocow1452.

Code: Select all

../../src/api/vidext_sdl2_compat.h: In function ‘SDL_CompatEventFilter’:
../../src/api/vidext_sdl2_compat.h:547:34: error: ‘SDL_Keysym’ has no member named ‘unicode’
../../src/api/vidext.c: In function ‘VidExt_GL_GetProcAddress’:
../../src/api/vidext.c:268:5: warning: implicit declaration of function ‘glXGetProcAddress’ [-Wimplicit-function-declaration]
../../src/api/vidext.c:268:5: warning: return makes pointer from integer without a cast [enabled by default]
../../src/api/vidext.c: At top level:
../../src/api/vidext_sdl2_compat.h:104:1: warning: ‘SDL_WM_SetCaption’ defined but not used [-Wunused-function]
../../src/api/vidext_sdl2_compat.h:147:1: warning: ‘SDL_ListModes’ defined but not used [-Wunused-function]
../../src/api/vidext_sdl2_compat.h:316:1: warning: ‘SDL_GL_SwapBuffers’ defined but not used [-Wunused-function]
../../src/api/vidext_sdl2_compat.h:322:1: warning: ‘SDL_WM_ToggleFullScreen’ defined but not used [-Wunused-function]
../../src/api/vidext_sdl2_compat.h:627:1: warning: ‘SDL_SetVideoMode’ defined but not used [-Wunused-function]
make: *** [_obj/api/vidext.o] Error 1
Any ideas? I am assuming it has to do with the code written to tweek OpenGL/SDL1.2, and that is causing SDL2 to confilct? Or maybe it's over my head.

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Fri May 02, 2014 8:16 am

in mupen64plus-core/src/api/vidext_sdl2_compact.h line 547 change

Code: Select all

event->key.keysym.unicode = unicode;
to

Code: Select all

event->key.keysym.sym = unicode;

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Tue May 06, 2014 2:19 pm

I have almost finished re-ordering repositories and could do with someone else running a sanity check for me.

To install mupen64plus with the new setup, run the following commands:
> git pull https://github.com/ricrpi/mupen64plus
> cd mupen64plus
> ./build_test.sh

The script should download and compile all the plug-ins defined in the file 'defaultList' and copy them into a test folder.

The mupen64plus-rsp-hle plug-in has updates from the official release so more games may be compatible now but emulation isn't any faster.

There are some Warnings about the ROM Database. These should disappear once I finish merging with the official core plug-in release.

bjude
Posts: 6
Joined: Sun Apr 20, 2014 2:39 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Wed May 07, 2014 12:12 pm

Gave it a quick test, problemo:

Code: Select all

XXX@XXX ~/dev $ git clone https://github.com/ricrpi/mupen64plus
Cloning into 'mupen64plus'...
remote: Counting objects: 36, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 36 (delta 18), reused 26 (delta 11)
Unpacking objects: 100% (36/36), done.
XXX@XXX ~/dev $ cd mupen64plus/
XXX@XXX ~/dev/mupen64plus $ ./build_test.sh
************************************ Downloading core from ricrpi to ./ricrpi/mupen64plus-core
Cloning into './ricrpi/mupen64plus-core'...
remote: Counting objects: 5716, done.
remote: Compressing objects: 100% (1229/1229), done.
remote: Total 5716 (delta 4350), reused 5695 (delta 4339)
Receiving objects: 100% (5716/5716), 8.77 MiB | 671 KiB/s, done.
Resolving deltas: 100% (4350/4350), done.
************************************ Downloading ui-console from mupen64plus to ./mupen64plus/mupen64plus-ui-console
Cloning into './mupen64plus/mupen64plus-ui-console'...
remote: Reusing existing pack: 966, done.
remote: Total 966 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (966/966), 663.98 KiB | 244 KiB/s, done.
Resolving deltas: 100% (582/582), done.
************************************ Downloading audio-omx from ricrpi to ./ricrpi/mupen64plus-audio-omx
Cloning into './ricrpi/mupen64plus-audio-omx'...
remote: Reusing existing pack: 47, done.
remote: Total 47 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (47/47), done.
************************************ Downloading audio-sdl from mupen64plus to ./mupen64plus/mupen64plus-audio-sdl
Cloning into './mupen64plus/mupen64plus-audio-sdl'...
remote: Reusing existing pack: 565, done.
remote: Total 565 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (565/565), 402.30 KiB | 142 KiB/s, done.
Resolving deltas: 100% (300/300), done.
************************************ Downloading input-sdl from mupen64plus to ./mupen64plus/mupen64plus-input-sdl
Cloning into './mupen64plus/mupen64plus-input-sdl'...
remote: Reusing existing pack: 1042, done.
remote: Total 1042 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1042/1042), 1001.79 KiB | 241 KiB/s, done.
Resolving deltas: 100% (570/570), done.
************************************ Downloading rsp-hle from ricrpi to ./ricrpi/mupen64plus-rsp-hle
Cloning into './ricrpi/mupen64plus-rsp-hle'...
remote: Reusing existing pack: 2643, done.
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 2648 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2648/2648), 1.53 MiB | 318 KiB/s, done.
Resolving deltas: 100% (1859/1859), done.
************************************ Downloading video-gles2rice from ricrpi to ./ricrpi/mupen64plus-video-gles2rice
Cloning into './ricrpi/mupen64plus-video-gles2rice'...
remote: Reusing existing pack: 145, done.
remote: Total 145 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (145/145), 414.04 KiB | 151 KiB/s, done.
Resolving deltas: 100% (19/19), done.
************************************ Downloading video-gles2n64 from ricrpi to ./ricrpi/mupen64plus-video-gles2n64
Cloning into './ricrpi/mupen64plus-video-gles2n64'...
remote: Reusing existing pack: 87, done.
remote: Total 87 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (87/87), done.
************************************ Downloading rom from mupen64plus to ./mupen64plus/mupen64plus-rom
Cloning into './mupen64plus/mupen64plus-rom'...
remote: Reusing existing pack: 45, done.
remote: Total 45 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (45/45), done.
************************************ Changing branch from master to ric_dev for mupen64plus-core
Branch ric_dev set up to track remote branch ric_dev from origin.
Switched to a new branch 'ric_dev'
************************************ Building core library
make: Entering directory `/home/pi/dev/mupen64plus/ricrpi/mupen64plus-core/projects/unix'
Makefile:101: Architecture "armv6l" not officially supported.'
    CC  _obj/api/callbacks.o
    CC  _obj/api/common.o
    CC  _obj/api/config.o
    CC  _obj/api/debugger.o
    CC  _obj/api/frontend.o
    CC  _obj/api/vidext.o
../../src/api/vidext.c: In function ‘VidExt_GL_GetProcAddress’:
../../src/api/vidext.c:268:5: warning: implicit declaration of function ‘glXGetProcAddress’ [-Wimplicit-function-declaration]
../../src/api/vidext.c:268:5: warning: return makes pointer from integer without a cast [enabled by default]
    CC  _obj/api/esUtil.o
    CC  _obj/api/rpiGLES.o
    CC  _obj/main/main.o
../../src/main/main.c: In function ‘main_core_state_set’:
../../src/main/main.c:558:8: error: ‘M64CORE_UI_VERBOSE’ undeclared (first use in this function)
../../src/main/main.c:558:8: note: each undeclared identifier is reported only once for each function it appears in
make: *** [_obj/main/main.o] Error 1
make: Leaving directory `/home/pi/dev/mupen64plus/ricrpi/mupen64plus-core/projects/unix'

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Wed May 07, 2014 7:39 pm

bjude

Thanks for giving my installer script a go.

I have fixed the build error so all you should need to do is re-run build_test.sh - it will pull the changes automatically.

bjude
Posts: 6
Joined: Sun Apr 20, 2014 2:39 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Thu May 08, 2014 5:43 am

I'll re-run it when i get home.

A little off topic: Would it be possible to have an rpi (or even a desktop) interface with actual n64 hardware? I have an old n64 lying around and with all the trouble of emulating the system i got to thinking about whether it would be possible to simply interface with the actual hardware, probably at the cartridge connector, and feed a rom into the n64 and have that do all the hard work and output through the n64 video connection. I guess what i'm getting at is trying to run a rom on a real n64, has it been done?

bjude
Posts: 6
Joined: Sun Apr 20, 2014 2:39 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Thu May 08, 2014 10:39 am

Not quite there yet ricrpi

Code: Select all

XXX@XXX ~/dev $ git clone https://github.com/ricrpi/mupen64plus
Cloning into 'mupen64plus'...
remote: Reusing existing pack: 36, done.
remote: Total 36 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (36/36), done.
XXX@XXX ~/dev $ cd mupen64plus/
XXX@XXX ~/dev/mupen64plus $ ./build_test.sh
************************************ Downloading core from ricrpi to ./ricrpi/mupen64plus-core
Cloning into './ricrpi/mupen64plus-core'...
remote: Counting objects: 5720, done.
remote: Compressing objects: 100% (1233/1233), done.
remote: Total 5720 (delta 4353), reused 5695 (delta 4339)
Receiving objects: 100% (5720/5720), 8.77 MiB | 688 KiB/s, done.
Resolving deltas: 100% (4353/4353), done.
************************************ Downloading ui-console from mupen64plus to ./mupen64plus/mupen64plus-ui-console
Cloning into './mupen64plus/mupen64plus-ui-console'...
remote: Reusing existing pack: 966, done.
remote: Total 966 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (966/966), 663.98 KiB | 142 KiB/s, done.
Resolving deltas: 100% (582/582), done.
************************************ Downloading audio-omx from ricrpi to ./ricrpi/mupen64plus-audio-omx
Cloning into './ricrpi/mupen64plus-audio-omx'...
remote: Reusing existing pack: 47, done.
remote: Total 47 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (47/47), done.
************************************ Downloading audio-sdl from mupen64plus to ./mupen64plus/mupen64plus-audio-sdl
Cloning into './mupen64plus/mupen64plus-audio-sdl'...
remote: Reusing existing pack: 565, done.
remote: Total 565 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (565/565), 402.30 KiB | 182 KiB/s, done.
Resolving deltas: 100% (300/300), done.
************************************ Downloading input-sdl from mupen64plus to ./mupen64plus/mupen64plus-input-sdl
Cloning into './mupen64plus/mupen64plus-input-sdl'...
remote: Reusing existing pack: 1042, done.
remote: Total 1042 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1042/1042), 1001.79 KiB | 250 KiB/s, done.
Resolving deltas: 100% (570/570), done.
************************************ Downloading rsp-hle from ricrpi to ./ricrpi/mupen64plus-rsp-hle
Cloning into './ricrpi/mupen64plus-rsp-hle'...
remote: Reusing existing pack: 2643, done.
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 2648 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (2648/2648), 1.53 MiB | 358 KiB/s, done.
Resolving deltas: 100% (1859/1859), done.
************************************ Downloading video-gles2rice from ricrpi to ./ricrpi/mupen64plus-video-gles2rice
Cloning into './ricrpi/mupen64plus-video-gles2rice'...
remote: Reusing existing pack: 145, done.
remote: Total 145 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (145/145), 414.04 KiB | 168 KiB/s, done.
Resolving deltas: 100% (19/19), done.
************************************ Downloading video-gles2n64 from ricrpi to ./ricrpi/mupen64plus-video-gles2n64
Cloning into './ricrpi/mupen64plus-video-gles2n64'...
remote: Reusing existing pack: 87, done.
remote: Total 87 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (87/87), done.
************************************ Downloading rom from mupen64plus to ./mupen64plus/mupen64plus-rom
Cloning into './mupen64plus/mupen64plus-rom'...
remote: Reusing existing pack: 45, done.
remote: Total 45 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (45/45), done.
************************************ Changing branch from master to ric_dev for mupen64plus-core
Branch ric_dev set up to track remote branch ric_dev from origin.
Switched to a new branch 'ric_dev'
************************************ Building core library
make: Entering directory `/home/XXX/dev/mupen64plus/ricrpi/mupen64plus-core/projects/unix'
Makefile:101: Architecture "armv6l" not officially supported.'
    CC  _obj/api/callbacks.o
    CC  _obj/api/common.o
    CC  _obj/api/config.o
    CC  _obj/api/debugger.o
    CC  _obj/api/frontend.o
    CC  _obj/api/vidext.o
../../src/api/vidext.c: In function ‘VidExt_GL_GetProcAddress’:
../../src/api/vidext.c:268:5: warning: implicit declaration of function ‘glXGetProcAddress’ [-Wimplicit-function-declaration]
../../src/api/vidext.c:268:5: warning: return makes pointer from integer without a cast [enabled by default]
    CC  _obj/api/esUtil.o
    CC  _obj/api/rpiGLES.o
    CC  _obj/main/main.o
../../src/main/main.c: In function ‘new_vi’:
../../src/main/main.c:698:5: warning: implicit declaration of function ‘timed_section_start’ [-Wimplicit-function-declaration]
../../src/main/main.c:698:25: error: ‘TIMED_SECTION_IDLE’ undeclared (first use in this function)
../../src/main/main.c:698:25: note: each undeclared identifier is reported only once for each function it appears in
../../src/main/main.c:739:5: warning: implicit declaration of function ‘timed_section_end’ [-Wimplicit-function-declaration]
../../src/main/main.c: In function ‘main_run’:
../../src/main/main.c:754:5: error: ‘delay_si’ undeclared (first use in this function)
../../src/main/main.c:755:5: error: ‘count_per_op’ undeclared (first use in this function)
../../src/main/main.c:757:34: error: ‘rom_params’ has no member named ‘countperop’
../../src/main/main.c:758:5: warning: implicit declaration of function ‘cheat_add_hacks’ [-Wimplicit-function-declaration]
make: *** [_obj/main/main.o] Error 1
make: Leaving directory `/home/XXX/dev/mupen64plus/ricrpi/mupen64plus-core/projects/unix'

bjude
Posts: 6
Joined: Sun Apr 20, 2014 2:39 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Sun May 11, 2014 3:35 am

I'm giving it a rebuild, seems to be building properly now.

One other note: i'd recommend people build with the most up to date version of gcc they have on their systems. GCC 4.6 is the default for raspbian but GCC 4.7 is installable and looking at some of the assembly it's outputting its a hell of a lot smarter on ARM than GCC 4.6. I haven't done any performance comparisons for the emulator but in some code for other projects i'm working on is ~10% faster.

You should be able to build the new project by setting environment variables CC and CXX appropriately before building:

Code: Select all

$ CC=gcc-4.7 CXX=g++-4.7 ./build.sh

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Tue May 13, 2014 10:22 am

GCC 4.7 improves performance by around 2%. Build scripts will use GCC-4.7 now.

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Thu May 15, 2014 8:34 am

New setup/build emulates faster than mupen64plus-rpi now. Mario 64 runs at ~67% of full speed on introduction compared to 57% for mupen64plus-rpi.

Users should run the following to install: mupen64plus will be installed into /usr/local/bin and /usr/local/lib/mupen64plus.

Developers should do the following:
  • git clone https://github.com/ricrpi/mupen64plus
  • cd mupen64plus
  • modify the 'defaultList' file to point to repositories you want to use.
  • run ./dev_build.sh to download and build into ./test/.
  • run ./cfg_developer.sh to set username/email for pushing updates, setting 'upstream' remotes and creating symbolic links.
  • optionally, run ./cfg_ssh.sh if you want to use ssh keys to push/pull from github

olso4539
Posts: 30
Joined: Mon Feb 03, 2014 9:02 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Fri May 16, 2014 1:43 pm

ric_rpi,
I can confirm that the above install instructions work. I suggest setting nearly all the memory to the CPU for the build.
I am running a custom compiled 3.12.18 kernel with a previous install of Retropie (which probably had all the dependencies installed).

Both installs coexist nicely and boot/run successfully from emulationstation using
cd /home/pi/RetroPie/emulators/mupen64plus-rpi/test/ && sudo ./mupen64plus %ROM%
and
sudo mupen64plus %ROM%

Mario Kart runs at a playable pace at a "medium" 900 MHz overclock (highest stable), with gratuitous sound issues on both installs. GPU memory set to 384M. Two player Mario Kart grinds to a halt, only updating the screen when paused. ps3 controllers work nicely from wired usb (using sudo sixad-raw /dev/hidrawX & to add them), but sometimes tend to register two button presses instead of one, which doesn't happen with the other emulationstation emulators.

I do not find a .cfg in the mupen64plus source directory other than "daily-tests.cfg". Is there a default somewhere?

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Fri May 16, 2014 4:15 pm

the cfg is in /home/[user]/.local/mupen64plus/mupen64plus.cfg or when running with sudo, /root/.local/mupen64plus/mupen64plus.cfg

When mupen64plus has been installed, it has a tendancy to override ./test/libmupen64plus.so.2 unless you use the flag --corelib or rebuild the ui-console with

Code: Select all

 CLEAN=1 ./dev_build.sh.

olso4539
Posts: 30
Joined: Mon Feb 03, 2014 9:02 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Fri May 16, 2014 8:16 pm

I don't really understand,
doesn't the mupen64plus-rpi version run the binaries from the test directory while the mupen64plus install directions above run from /usr/local/lib/ and /usr/local/bin/?

The config file suggests that it looks in the folder "./" for plugins which would be wherever it was called from? yet the man page suggests that it looks in ${PREFIX}/lib/mupen64plus/ by default...

I'm confused as to what is installed and read from where...

welshy
Posts: 1667
Joined: Mon Oct 29, 2012 2:07 pm

Re: WIP: Playable Nintendo 64 Emulator Available

Sat May 17, 2014 6:04 am

bjude/ric_rpi
As I use 4.7 (because AdvMAME/MESS for ease of compiling required it) on the Image used for Build/Compiling programs if that's why my builds seem to have previously been slightly faster than other users have reported for the same O/C Settings?
"The list of things I have heard now contains everything!"

ric_rpi
Posts: 206
Joined: Thu Jul 11, 2013 2:33 pm
Location: Bedford, UK

Re: WIP: Playable Nintendo 64 Emulator Available

Sat May 17, 2014 7:31 pm

olso4539

from briefly reviewing the associated code, my understanding is that if --plugindir is used then it overrides everything, else mupen64plus will search in the following order: PLUGINDIR (if passed into makefile), /usr/local/lib, /usr/lib and finally the current directory.

The core is loaded from --coredir [path], then COREDIR (specified in Makefile) and then current directory.

./dev_build.sh sets COREDIR to ./ so that developers don't need to use --coredir and ./build.sh sets COREDIR to /usr/local/lib/.

User avatar
krisnation2000
Posts: 38
Joined: Sun Mar 16, 2014 12:18 am

Re: WIP: Playable Nintendo 64 Emulator Available

Sun May 18, 2014 2:46 am

Welshy help me out here, i think you can help me! http://www.raspberrypi.org/forums/viewt ... 78&t=77465

Return to “Gaming”