What's new

Mupen doesnt run on my machine! Please help me!

OP
N

Neutrinus

New member
in the dnload page there are 3 linux:
linux IA32
linux AMD64
linux IA64.
what of the three is the good one for me? (whoa the rhime :D)
 
Last edited:

Hacktarux

Emulator Developer
Moderator
IA32

Your error when you compile mupen64 is a known error with some gcc version that's easy to fix : open main/gui_gtk/main_gtk.c
Go at the line where there's the error (~1550).
You should see this line : int scanargs = 1;
move the line at the beginning of the main function, it should look like:
int
main( int argc, char *argv[] )
{
int scanargs = 1;
int i;
....

This error will be fixed in the next mupen64 version :)
 
OP
N

Neutrinus

New member
did it! now i try to compile...
YIPPY!!! SUCCESS! and now what?
ok i compiled the sound and imput plugins. but i cant compile rsp_hle...it gives me another error(&@#%!!!):
ucode3.c: In function `INTERLEAVE':
ucode3.c:426: parse error before `unsigned'
ucode3.c:428: `i' undeclared (first use in this function)
ucode3.c:428: (Each undeclared identifier is reported only once
ucode3.c:428: for each function it appears in.)
make: *** [ucode3.o] Error 1
 
Last edited:

Hacktarux

Emulator Developer
Moderator
That's the same error, move "unsigned int i;" at the beginning of the INTERLEAVE function.
 
OP
N

Neutrinus

New member
Neutrinus said:
did it! now i try to compile...
YIPPY!!! SUCCESS! and now what?
ok i compiled the sound and imput plugins. but i cant compile rsp_hle...it gives me another error(&@#%!!!):
ucode3.c: In function `INTERLEAVE':
ucode3.c:426: parse error before `unsigned'
ucode3.c:428: `i' undeclared (first use in this function)
ucode3.c:428: (Each undeclared identifier is reported only once
ucode3.c:428: for each function it appears in.)
make: *** [ucode3.o] Error 1
help
 
OP
N

Neutrinus

New member
that's the error part:

static void INTERLEAVE(void)
{
unsigned long inL = (inst2 >> 16)/2;
unsigned long inR = (inst2 & 0xFFFF)/2;
unsigned long out = (inst1 & 0xFFFF)/2;
unsigned long len = ((inst1>>16)&255)*16;
if (!len) len = d.buf_len;
unsigned int i; //line 426

for (i=0; i<len/2; i++) //line 428
 

Hacktarux

Emulator Developer
Moderator
Read what i wrote, it's the same error you fix in mupen64, you should move "unsigned int i;" at the beginning of the function, it should look like:
static void INTERLEAVE(void)
{
unsigned int i;
unsigned long inL = (inst2 >> 16)/2;
 
OP
N

Neutrinus

New member
ok i have compiled the input,sound,hle_rsp and tr64gl...i can emulate something now? the work is finished?
 

Hacktarux

Emulator Developer
Moderator
Yes if you have placed all plugins in plugins/ folder it should work... Later you may want to compile some other plugins.

If it's running at ~1fps, it means that you have not installed correctly your 3d accelerated drivers.
 
OP
N

Neutrinus

New member
ok... another prob. the emulation window is black when i load a game, and remains black. what can i do?

second prob. the installer of the driver for my nvidia tnt2 gives this error
bash: /mnt/discD/NVIDIA-Linux-x86-1.0-5336-pkg1.run: bad interpreter: Permission denied
even if i run as root.
 
Last edited:

Hacktarux

Emulator Developer
Moderator
i don't know for the nvidia driver problem, look at their help....
Make sure you don't have any sound application running at the same time when you run mupen64, it requires exclusive access to the sound card device file.
 

killthegene

One Kool dude
Neutrinus said:
second prob. the installer of the driver for my nvidia tnt2 gives this error
bash: /mnt/discD/NVIDIA-Linux-x86-1.0-5336-pkg1.run: bad interpreter: Permission denied
even if i run as root.
run "chmod +x /mnt/discD/NVIDIA-Linux-x86-1.0-5336-pkg1.run"
 
OP
N

Neutrinus

New member
ok i solved that error anyway but the installer exits, telling me that he dont like X. how i can go temporary in line mode stopping X?
(with temporary i say that i want x to start at the reboot)
 
Last edited:
OP
N

Neutrinus

New member
i want to install the driver becouse mupen act strange: i start a game, and the emulating window remains black, and stay black...:(
 

JttL

New member
Neutrinus said:
ok i solved that error anyway but the installer exits, telling me that he dont like X. how i can go temporary in line mode stopping X?
(with temporary i say that i want x to start at the reboot)
Type

$ init 3

and when you want back to graphical mode type

$ init 5
 
OP
N

Neutrinus

New member
JttL said:
Type

$ init 3

and when you want back to graphical mode type

$ init 5
$ init 3 (with spaces) gives "command not found". without spaces doesnt do nothing

bhuhuuuu...:(
 
Last edited:
OP
N

Neutrinus

New member
Did It! I installed the nvidia driver modified the x64thing, but nothing happens in mupen. same desolated black. help me...
P.S. for people having my same probs, the command for switching in line-mode il telinit 3
and the one for returning in X is telinit 5.
 

Top