What's new

Fixing configure/Makefile

halfdone

New member
(FC4 32bit, mythtv 0.19-fixes, mupen 0.5 src)
I'm tring to setup mupen_nogui to run under Mythtv. Reading the forums it seems the mythtv wiki is out of date/just plain wrong. I also read on these forums that the configure script is known broken and I have seen the problems with it. I was thinking of patching the configure script and updating the mythtv wiki myself.

From what I see a few items need to be done:
- Add patching for command line (http://www.emutalk.net/showthread.php?t=33833)
- Add creation of save folder (http://www.emutalk.net/showthread.php?t=35302&page=2#18)
- Add message letting them know they need to be in X (http://www.emutalk.net/showthread.php?t=35725#3)
- Replacing -mpu= for -mtune
- Add -m32 option? (http://www.emutalk.net/showthread.php?t=35232&highlight=amd64#8)


First I need to figure out what configure wants to do. At one point it's asking:
"Do you want to configure mupen64 to run in a user directory? (Answering no
will configure it for multi-users usage with the configuration stored in the
HOME directory)"

If you enter in Yes or nothing it sets #undef WITH_HOME in config.h otherwise sets #define WITH_HOME "/path/entered". in Makefile it gets the PREFIX directory with the line "$(shell grep WITH_HOME config.h | cut -d '"' -f 2)". If you enter in Yes from before it will take in "#undef WITH_HOME" as part of the path. Ok adding -s to cut makes it collect "" instead (which I assume it wants). But then it takes the path of ./ and share's path would be "./share/mupen64". Does it really want to setup the share and prefix folder into the existing directly were I dumped the source code? If the message really says it wants to go into the home directory shouldn't it default to ~\mupen or $HOME\mupen?

Thanks!
 

Sri Narayan

New member
start.sh:

Code:
#!/bin/sh
rom=TRON.V64
./mupen64_nogui $rom --fullscreen --interactive <numbers


numbers(it's a filename):

Code:
1
1
1
1


this is a workaround. don't know if this will help you for nogui stuff

ciu
 

Top