sultanoswing
New member
Have you removed all old plug in .conf files, including checking for ones in your /home/username directory? Just a thought.
I have another problem now. When I try to run Zelda O of T, it shows "NO CONTROLLER". If I choose back the Mupen64 basic input plugin, I can use only some of the keys I configured with blight's config interface: movement keys, show/hide map key, start key and the action key. I had exactly the same problem with Mupen64-0.5, before trying this one.
Your talking about a svn repository in this trhead where this issue is resolved, but i don't know where is this damn repository, could you give me th adress, i would like to play with textures :bouncy:
(mupen64:11086): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent =
= NULL' failed
rom size: 16777216 bytes (or 16 Mb or 128 Megabits)
rom size: 16777216 bytes (or 16 Mb or 128 Megabits)
rom loaded succesfully
80 37 12 40
ClockRate=f
Version:1448
CRC: 733fccb1 444892f9
name: Banjo-Kazooie
Manufacturer: Nintendo
Cartridge_ID: 4b42
European cartridge
size: 4096
PC= 80100400
md5 code:06A43BACF5C0687F596DF9B018CA6D7F
eeprom type:0
init timer!
memory initialized
[RiceVideo] SSE processing enabled.
[blight's SDL input plugin]: version 0.0.10 initialized.
[RiceVideo] SSE processing enabled.
[RiceVideo] Found ROM 'Banjo-Kazooie', CRC b1cc3f73f9924844-50
InitExternalTextures
Texture loading option is enabledFinding all hires texturesSignal number 11 caug
ht:
errno = 0 (Succès)
I had a little bug when trying to load a hi res texture for banjo-kazooie hizoka10s_Banjo-Kazooie_Retextures), here's the console output, don't know if this is useful.
The URL for the repository is:
svn://fascination.homelinux.net:7684/mupen64-amd64/trunk/
Speaking of which, after some initial troubles, got your latest RV Linux code and started to add in your OGL/hi res fixes to my code trunk![]()
--- Makefile.old 2008-01-04 06:49:28.000000000 -0700
+++ Makefile 2008-01-04 08:16:03.000000000 -0700
@@ -24,6 +24,9 @@
ifeq ($(VCR), 1)
CFLAGS += -DVCR_SUPPORT
endif
+ifeq ($(LIRC), 1)
+ CFLAGS += -DWITH_LIRC
+endif
# list of object files to generate
OBJ_CORE = \
@@ -144,6 +147,9 @@
OBJECTS += $(OBJ_VCR)
LIBS += $(AVIFILE_LIBS)
endif
+ifeq ($(LIRC), 1)
+ LDFLAGS += -llirc_client
+endif
# build targets
targets:
@@ -155,6 +161,7 @@
@echo " Options:"
@echo " BITS=32 == build 32-bit binaries on 64-bit machine"
@echo " VCR=1 == enable video recording"
+ @echo " LIRC=1 == enable LIRC support"
@echo " Debugging Options:"
@echo " DBGSYM=1 == add debugging symbols to binaries"
@echo " DBG=1 == build graphical debugger"
--- main/main.c.old 2008-01-04 08:20:15.000000000 -0700
+++ main/main.c 2008-01-04 09:12:26.000000000 -0700
@@ -60,6 +60,12 @@
#include <signal.h>
#endif
+#ifdef WITH_LIRC
+#include <string.h>
+#include <pthread.h>
+#include <lirc/lirc_client.h>
+#endif //WITH_LIRC
+
int autoinc_slot = 0;
int *autoinc_save_slot = &autoinc_slot;
@@ -68,6 +74,13 @@
static char cwd[1024];
int p_noask;
+#ifdef WITH_LIRC
+
+static pthread_t g_check_lirc_input = 0;
+struct lirc_config *g_config;
+
+#endif //WITH_LIRC
+
char *get_currentpath()
{
return cwd;
@@ -231,6 +244,60 @@
}
#endif
+#ifdef WITH_LIRC
+
+static void * check_lirc_input(void * arg)
+ {
+ if(pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL))
+ printf("ERROR: LIRC CANNOT SET ASYNC EXIT!");
+ if(lirc_init("mupen64",1)==-1) exit(EXIT_FAILURE);
+
+ if(lirc_readconfig(NULL,&g_config,NULL)==0)
+ {
+ char *code;
+ char *c;
+ int ret;
+
+ while(lirc_nextcode(&code)==0)
+ {
+ if(code==NULL) continue;
+ while((ret=lirc_code2char(g_config,code,&c))==0 &&
+ c!=NULL)
+ {
+ char *c_ind = c;
+ while(*c_ind!='\0')
+ {
+ *c_ind=toupper(*c_ind);
+ c_ind++;
+ }
+//#ifdef DEBUG
+ printf("LIRC Execing command \"%s\"\n",c);
+//#endif //DEBUG
+
+ if(strcmp(c,"SAVE")==0)
+ savestates_job |= SAVESTATE;
+ else if(strcmp(c,"LOAD")==0)
+ savestates_job |= LOADSTATE;
+ else if(strcmp(c,"QUIT")==0)
+ stop_it();
+ else if(strcmp(c,"FULLSCREEN")==0)
+ changeWindow();
+ else
+ {
+ int val = ((int)c[0])-((int) '0');
+ if (val >= 0 && val <= 9)
+ savestates_select_slot( val );
+ }
+ }
+ free(code);
+ if(ret==-1) break;
+ }
+ }
+ return NULL;
+ }
+#endif //WITH_LIRC
+
+
int main(int argc, char *argv[])
{
char romfile[PATH_MAX];
@@ -545,6 +612,14 @@
romOpen_gfx();
romOpen_audio();
romOpen_input();
+
+#ifdef WITH_LIRC
+
+ if(pthread_create(&g_check_lirc_input,NULL,check_lirc_input, NULL ) )
+ return -1;
+ printf("Launching LIRC!\n");
+#endif //WITH_LIRC
+
// ------------------------------------------------------------
SDL_SetEventFilter(filter);
@@ -554,6 +629,16 @@
/* Run the emulator */
go();
+#ifdef WITH_LIRC
+ printf("Terminating LIRC...");
+ pthread_cancel( g_check_lirc_input );
+
+ pthread_join( g_check_lirc_input,NULL);
+ lirc_freeconfig(g_config);
+ lirc_deinit();
+ printf("done.\n");
+#endif //WITH_LIRC
+
/* Notify all dynamically loaded libraries to close down */
romClosed_RSP();
romClosed_input();
GUI code is on the way. Sorry about the delay, i had to install a mother board today and then i had a strange error where the structure accessed from another file was changed and the other file wasn't recompiled and... Well, a cast was failing. In the end i found out all i had to do was recompile but i wasted half the day on it.
I won't be around to test this until at least Sunday or Monday, but I should have the mechanics fleshed out by the end of the day. Let me know if you think this will meet the need.
L8r
P.S. There isn't any kind of a forum dedicated to the development of this project is there?