Pages : 1
#1 Le 04/04/2011, à 19:44
- Quézac
[Résolu...] VBAlink java compilation
Bien le bonjour
J'ai voulu utiliser VBAlink (1.8...), version windows, via Wine. Pour cela, il me demandais d'ajouter la librairie mfc42.dll. Je l'ai ajoutée dans wine (C:/Windows/systeme32 ou proche). L'émulateur fonctionne, jusqu'à ce que j'essaie d'ouvrir une rom GBA.
Là, plantage de Wine, qui envoie un message d'arret de l'application, et la fenetre ne répond plus juste ensuite.
Voilà ce que le terminal renvoie...
fixme:win:EnumDisplayDevicesW ((null),0,0x32ea58,0x00000000), stub!
wine: Call from 0x7bc49f00 to unimplemented function MFC42.DLL.6876, aborting
wine: Unimplemented function MFC42.DLL.6876 called at address 0x7bc49f00 (thread 0009), starting debugger...
Unhandled exception: unimplemented function MFC42.DLL.6876 called in 32-bit code (0x7bc49f00).
err:dbghelp:pe_load_dbg_file Couldn't find .DBG file "MFC42.dbg" ("")
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7bc49f00 ESP:0032f8c8 EBP:0032f92c EFLAGS:00000202( - -- I - - - )
EAX:00001adc EBX:7bc9aff4 ECX:0032f964 EDX:00189e58
ESI:0032f8d4 EDI:0016d810
Stack dump:
0x0032f8c8: 7b8649a0 0032f8ec 7b8649d3 80000100
0x0032f8d8: 00000001 00000000 7bc49f00 00000002
0x0032f8e8: 00526850 00001adc 5f40889a 00400000
0x0032f8f8: 00000045 00000006 0016d810 00000445
0x0032f908: 0032fa1c 00540744 5f40e6f1 00189e58
0x0032f918: 5f401756 00189e58 0032f964 00540744
Backtrace:
=>0 0x7bc49f00 in ntdll (+0x39f00) (0x0032f92c)
1 0x0033003c (0x0032fa1c)
2 0x5f4039db in mfc42 (+0x39da) (0x0032fa4c)
3 0x5f411e08 in mfc42 (+0x11e07) (0x0032fa9c)
4 0x5f4023ed in mfc42 (+0x23ec) (0x0032fb1c)
5 0x5f40230b in mfc42 (+0x230a) (0x0032fb3c)
6 0x5f402294 in mfc42 (+0x2293) (0x0032fb9c)
7 0x5f40221f in mfc42 (+0x221e) (0x0032fbb8)
8 0x5f4021d6 in mfc42 (+0x21d5) (0x0032fbe4)
9 0x6852511a WINPROC_wrapper+0x19() in user32 (0x0032fc14)
10 0x68526c2c in user32 (+0x96c2b) (0x0032fc64)
11 0x68527f7f in user32 (+0x97f7e) (0x0032fcb4)
12 0x684ebd6e DispatchMessageA+0x9d() in user32 (0x0032fda4)
13 0x5f40133b in mfc42 (+0x133a) (0x005e3fc4)
14 0x00000111 (0x0001009e)
0x7bc49f00: subl $4,%esp
Modules:
Module Address Debug info Name (107 modules)
PE 400000- 74a000 Deferred visualboyadvance
ELF 47fb6000-4800e000 Deferred ddraw<elf>
\-PE 47fc0000-4800e000 \ ddraw
ELF 4fc6b000-4fda3000 Deferred wined3d<elf>
\-PE 4fc70000-4fda3000 \ wined3d
ELF 557b3000-557ec000 Deferred dinput<elf>
\-PE 557c0000-557ec000 \ dinput
PE 5f400000-5f4ed000 Export mfc42
ELF 68000000-6801e000 Deferred ld-linux.so.2
ELF 6801e000-6815e000 Deferred libwine.so.1
ELF 6815e000-68178000 Deferred libpthread.so.0
ELF 68178000-682d5000 Deferred libc.so.6
ELF 682d5000-682d9000 Deferred libdl.so.2
ELF 682d9000-682e1000 Deferred libnss_compat.so.2
ELF 682e1000-682f8000 Deferred libnsl.so.1
ELF 682f8000-68303000 Deferred libnss_nis.so.2
ELF 68303000-6830f000 Deferred libnss_files.so.2
ELF 6830f000-6832a000 Deferred wsock32<elf>
\-PE 68310000-6832a000 \ wsock32
ELF 6832a000-68357000 Deferred ws2_32<elf>
\-PE 68330000-68357000 \ ws2_32
ELF 68357000-68377000 Deferred iphlpapi<elf>
\-PE 68360000-68377000 \ iphlpapi
ELF 68377000-6838b000 Deferred libresolv.so.2
ELF 6838b000-683e5000 Deferred advapi32<elf>
\-PE 683a0000-683e5000 \ advapi32
ELF 683e5000-68479000 Deferred winmm<elf>
\-PE 683f0000-68479000 \ winmm
ELF 68479000-685a9000 Export user32<elf>
\-PE 68490000-685a9000 \ user32
ELF 685a9000-68634000 Deferred gdi32<elf>
\-PE 685b0000-68634000 \ gdi32
ELF 68634000-68671000 Deferred avifil32<elf>
\-PE 68640000-68671000 \ avifil32
ELF 68671000-68698000 Deferred msacm32<elf>
\-PE 68680000-68698000 \ msacm32
ELF 68698000-686bf000 Deferred msvfw32<elf>
\-PE 686a0000-686bf000 \ msvfw32
ELF 686bf000-687aa000 Deferred comctl32<elf>
\-PE 686d0000-687aa000 \ comctl32
ELF 687aa000-688a8000 Deferred ole32<elf>
\-PE 687c0000-688a8000 \ ole32
ELF 688a8000-6891b000 Deferred rpcrt4<elf>
\-PE 688b0000-6891b000 \ rpcrt4
ELF 6891b000-689bf000 Deferred opengl32<elf>
\-PE 68930000-689bf000 \ opengl32
ELF 689bf000-689c8000 Deferred libsm.so.6
ELF 689c8000-689e1000 Deferred libice.so.6
ELF 689e1000-689f1000 Deferred libxext.so.6
ELF 689f1000-68b0e000 Deferred libx11.so.6
ELF 68b0e000-68b13000 Deferred libuuid.so.1
ELF 68b13000-68b2d000 Deferred libxcb.so.1
ELF 68b2d000-68b35000 Deferred libatiuki.so.1
ELF 68b35000-68b51000 Deferred libgcc_s.so.1
ELF 68b51000-68b55000 Deferred libxau.so.6
ELF 68b55000-68bd5000 Deferred msvcrt<elf>
\-PE 68b70000-68bd5000 \ msvcrt
ELF 68bd5000-68c93000 Deferred comdlg32<elf>
\-PE 68be0000-68c93000 \ comdlg32
ELF 68c93000-68e6c000 Deferred shell32<elf>
\-PE 68ca0000-68e6c000 \ shell32
ELF 68e6c000-68ecd000 Deferred shlwapi<elf>
\-PE 68e80000-68ecd000 \ shlwapi
ELF 68ecd000-68f04000 Deferred winspool<elf>
\-PE 68ed0000-68f04000 \ winspool
ELF 68f04000-68f7b000 Deferred libfreetype.so.6
ELF 68f7b000-68f90000 Deferred libz.so.1
ELF 68f90000-68fb7000 Deferred libexpat.so.1
ELF 68fb7000-69059000 Deferred winex11<elf>
\-PE 68fc0000-69059000 \ winex11
ELF 69059000-6907a000 Deferred imm32<elf>
\-PE 69060000-6907a000 \ imm32
ELF 6907a000-6907e000 Deferred libxinerama.so.1
ELF 6907e000-69084000 Deferred libxxf86vm.so.1
ELF 69084000-6908e000 Deferred libxrender.so.1
ELF 6908e000-69096000 Deferred libxrandr.so.2
ELF 69096000-6909a000 Deferred libxcomposite.so.1
ELF 6909a000-690a4000 Deferred libxcursor.so.1
ELF 690a4000-690d8000 Deferred uxtheme<elf>
\-PE 690b0000-690d8000 \ uxtheme
ELF 690d8000-6ac3c000 Deferred fglrx_dri.so
ELF 6ac3c000-6ac45000 Deferred librt.so.1
ELF 6ac45000-6ac77000 Deferred libatiadlxx.so
ELF 6ac77000-6acc1000 Deferred libcups.so.2
ELF 6acc1000-6acf0000 Deferred libgssapi_krb5.so.2
ELF 6acf0000-6ad64000 Deferred libgcrypt.so.11
ELF 6ad64000-6ad74000 Deferred libavahi-client.so.3
ELF 6ad74000-6ae23000 Deferred libkrb5.so.3
ELF 6ae23000-6ae47000 Deferred libk5crypto.so.3
ELF 6ae47000-6ae4f000 Deferred libkrb5support.so.0
ELF 6ae4f000-6ae53000 Deferred libkeyutils.so.1
ELF 6ae53000-6ae64000 Deferred libtasn1.so.3
ELF 6ae64000-6ae69000 Deferred libgpg-error.so.0
ELF 6ae69000-6aea5000 Deferred libdbus-1.so.3
ELF 6c687000-6c6ad000 Deferred libm.so.6
ELF 6c753000-6c7ee000 Deferred libgnutls.so.26
ELF 6fe6d000-6fe73000 Deferred libxdmcp.so.6
ELF 72afd000-72bc1000 Deferred libgl.so.1
ELF 751f6000-751fc000 Deferred libxfixes.so.3
ELF 75239000-75245000 Deferred libavahi-common.so.3
ELF 77edd000-77ee1000 Deferred libcom_err.so.2
ELF 7b800000-7b97b000 Deferred kernel32<elf>
\-PE 7b810000-7b97b000 \ kernel32
ELF 7bc00000-7bcb7000 Export ntdll<elf>
\-PE 7bc10000-7bcb7000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7d289000-7d2b9000 Deferred libfontconfig.so.1
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\home\aurelien\vbalink\VisualBoyAdvance.exe
0000001a 0
00000009 0 <==
0000000e services.exe
00000015 0
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000017 0
00000016 0
00000013 0
00000012 0
00000018 explorer.exe
00000019 0
Backtrace:
=>0 0x7bc49f00 in ntdll (+0x39f00) (0x0032f92c)
1 0x0033003c (0x0032fa1c)
2 0x5f4039db in mfc42 (+0x39da) (0x0032fa4c)
3 0x5f411e08 in mfc42 (+0x11e07) (0x0032fa9c)
4 0x5f4023ed in mfc42 (+0x23ec) (0x0032fb1c)
5 0x5f40230b in mfc42 (+0x230a) (0x0032fb3c)
6 0x5f402294 in mfc42 (+0x2293) (0x0032fb9c)
7 0x5f40221f in mfc42 (+0x221e) (0x0032fbb8)
8 0x5f4021d6 in mfc42 (+0x21d5) (0x0032fbe4)
9 0x6852511a WINPROC_wrapper+0x19() in user32 (0x0032fc14)
10 0x68526c2c in user32 (+0x96c2b) (0x0032fc64)
11 0x68527f7f in user32 (+0x97f7e) (0x0032fcb4)
12 0x684ebd6e DispatchMessageA+0x9d() in user32 (0x0032fda4)
13 0x5f40133b in mfc42 (+0x133a) (0x005e3fc4)
14 0x00000111 (0x0001009e)
wine: Call from 0x7bc49f00 to unimplemented function MFC42.DLL.6876, aborting
Merci de votre aide...
Dernière modification par Quézac (Le 11/04/2011, à 22:49)
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#2 Le 04/04/2011, à 23:17
- Quézac
Re : [Résolu...] VBAlink java compilation
Sinon, de l'aide pour installer une version Linux en Java serait bienvenue :
http://jaime.gemelo.free.fr/visualboyadvance/index.html
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#3 Le 06/04/2011, à 22:59
- Quézac
Re : [Résolu...] VBAlink java compilation
Bon, j'ai réussi un peu via virtualisation, mais c'est vraiment pas pratique... Aucune avancée sur Wine. En revanche, voilà ce que me donne la compilation de la version Linux (pour le moment sans interface JAVA)...
aurelien@aurelien-Studio-1535:~/Téléchargements/VBALink_version13/VisualBoyAdvan
ce-1.8.0-with-link$ sudo ./configure && make && make install
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for nasm... /usr/bin/nasm
checking for gzopen in -lz... yes
checking for pthread_yield in -lpthread... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libpng... yes
checking LIBPNG_CFLAGS... -I/usr/include/libpng12
checking LIBPNG_LIBS... -lpng12
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking zutil.h usability... no
checking zutil.h presence... no
checking for zutil.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for socklen_t... yes
checking whether byte ordering is bigendian... no
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: WARNING: 'm4/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/gb/Makefile
config.status: WARNING: 'src/gb/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/i386/Makefile
config.status: WARNING: 'src/i386/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/prof/Makefile
config.status: WARNING: 'src/prof/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/sdl/Makefile
config.status: WARNING: 'src/sdl/Makefile.in' seems to ignore the --datarootdir setting
config.status: executing depfiles commands
Making all in m4
make[1]: entrant dans le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/m4 »
make[1]: Rien à faire pour « all ».
make[1]: quittant le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/m4 »
Making all in src
make[1]: entrant dans le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src »
Making all in gb
make[2]: entrant dans le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/gb »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/gb »
Making all in prof
make[2]: entrant dans le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/prof »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/prof »
Making all in i386
make[2]: entrant dans le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/i386 »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/i386 »
Making all in sdl
make[2]: entrant dans le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/sdl »
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.8.0\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/include/libpng12 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -DBKPT_SUPPORT -DPROFILING -DMMX -DDEV_VERSION -MT LinkLinux.o -MD -MP -MF ".deps/LinkLinux.Tpo" \
-c -o LinkLinux.o `test -f '../LinkLinux.cpp' || echo './'`../LinkLinux.cpp; \
then mv -f ".deps/LinkLinux.Tpo" ".deps/LinkLinux.Po"; \
else rm -f ".deps/LinkLinux.Tpo"; exit 1; \
fi
../LinkLinux.cpp: In function 'int InitLink()':
../LinkLinux.cpp:382: error: 'S_IREAD' was not declared in this scope
../LinkLinux.cpp:382: error: 'S_IWRITE' was not declared in this scope
../LinkLinux.cpp:402: warning: ignoring return value of 'int ftruncate(int, __off_t)', declared with attribute warn_unused_result
../LinkLinux.cpp: In member function 'int lserver::Init(void*)':
../LinkLinux.cpp:557: warning: NULL used in arithmetic
../LinkLinux.cpp: In member function 'int lclient::Init(hostent*, void*)':
../LinkLinux.cpp:726: warning: NULL used in arithmetic
make[2]: *** [LinkLinux.o] Erreur 1
make[2]: quittant le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src/sdl »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/aurelien/Téléchargements/VBALink_version13/VisualBoyAdvance-1.8.0-with-link/src »
make: *** [all-recursive] Erreur 1
Pour ceux qui veulent tenter, voilà le lien où j'ai trouvé ce logiciel.
A quand un .deb ? ^^
Dernière modification par Quézac (Le 06/04/2011, à 23:00)
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#4 Le 09/04/2011, à 11:53
- Jaime.Gemelo
Re : [Résolu...] VBAlink java compilation
Bonjour Quézac.
Merci pour votre message.
Citation du message de Quézac:
../LinkLinux.cpp:382: error: 'S_IREAD' was not declared in this scope
../LinkLinux.cpp:382: error: 'S_IWRITE' was not declared in this scope
Cette erreur est présente lors de l'utilisation des dernières versions des librairies "Système". Pour régler ce problème, j'ai ajouté dans le fichier "LinkLinux.h" les lignes suivantes:
#define S_IWRITE S_IWUSR
#define S_IREAD S_IRUSR
J'ai trouvé ces lignes sur ce site web: http://faculty.qu.edu.qa/rriley/cmpt507 … at_8h.html.
J'ai retesté l'installation complète avec ces modifications et je n'ai plus eu d'erreurs .
Voici le lien pour télécharger la nouvelle version: http://jaime.gemelo.free.fr/visualboyad … 14.tar.bz2
Pourriez vous s'il-vous-plait tester cette nouvelle version? Si vous rencontrez d'autres soucis ou des questions, je serai ravi de vous aider.
Merci encore pour votre message.
Amicalement
IMBERT Jacques-Olivier
Site Web: http://jaime.gemelo.free.fr/
Hors ligne
#5 Le 11/04/2011, à 21:22
- Quézac
Re : [Résolu...] VBAlink java compilation
Ok, je teste l'installation dès que j'ai un peu de temps libre, et je te tiens au courant.
En tout cas, merci pour ta réponse.
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#6 Le 11/04/2011, à 22:48
- Quézac
Re : [Résolu...] VBAlink java compilation
Après cette astuce, ça marche. Par contre, j'ai des problèmes avec les couleurs.
Ceci dit, je viens de lancer VBA, présent dans les dépots (natty), et le même problème est présent, donc ça doit être indépendant du script...
Dernière modification par Quézac (Le 12/04/2011, à 00:44)
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#7 Le 12/04/2011, à 10:34
- Jaime.Gemelo
Re : [Résolu...] VBAlink java compilation
Bonjour Quézac
Après cette astuce, ça marche. Par contre, j'ai des problèmes avec les couleurs.
Ceci dit, je viens de lancer VBA, présent dans les dépots (natty), et le même problème est présent, donc ça doit être indépendant du script...
Content que l'installation s'est bien déroulée.
Pour le problème des couleurs, cela se produit sur quel jeu? Puis avoir aussi ton fichier de configuration et un capture d'écran de l'effet obtenu sur ce jeu stp?
J'ai reçu aussi ton mail.
Pour le script, cela n'est pas normal que tu sois obligé d'utiliser les commandes "sudo" pour la copie du fichier jar, l'extraction et l'installation du programme.
Au début du script, il vérifie que l'utilisateur exécutant le programme est bien "root". Si cette condition est respectée, il a de ce fait tous les droits nécessaires pour l'installation.
De ce fait, cela voudrait dire que root sous Ubuntu n'aurait pas comme UID la valeur 0. Dis moi ce que tu obtiens avec la commande "echo $UID" sous root stp?
Moi j'obtiens ceci:
bash-4.1$ su root
Password:
bash-4.1# echo $UID
0
bash-4.1#
Pour l'histoire des menus VBA, cela est tout à fait normal que tu ne puisses pas y accéder. La version compilée de l'émulateur est une version SDL uniquement.
Au début, j'ai testé l'émulateur version GTK sur mon netbook. J'ai constaté que l'émulation ne dépassait pas les 80% et il avait besoin de beaucoup de ressources mémoire.
De ce fait, les données de configuration se trouvant dans le ficher cfg, j'ai testé l'émulateur version SDL. Et là tout fonctionne correctement.
Comme tu me l'as conseillé, je rajouterai dans le script un test pour vérifier la présence de la librairie SDL. C'est la seule condition pour l'installation du programme.
En ce moment, je travaille sur une nouvelle version basée sur une technologie de vbam: le joy-bus. Cela n'est pas très stable pour le moment car ce protocole n'utilise pas les mêmes vitesses
selon le jeu.
Pour le jeu Pokemon Rouge Feu (même si je suis pas un grand fan de ce jeu ), je vais y regarder.
Merci beaucoup pour tes suggestions et tes messages. Cela m'aide beaucoup pour améliorer ce projet.
Amicalement
IMBERT Jacques-Olivier
Dernière modification par Jaime.Gemelo (Le 12/04/2011, à 10:34)
Site Web: http://jaime.gemelo.free.fr/
Hors ligne
#8 Le 12/04/2011, à 18:14
- Quézac
Re : [Résolu...] VBAlink java compilation
Sous Ubuntu, le compte root est désactivé par défaut, privilégiant l'utilisation d'un groupe sudo dans lequel l'utilisateur qui a installé le système est. Quand on a besoin des droits, il y a juste à entrer ce mot de passe, et l'utilisateur prend temporairement les droits roots (pour une commande en gros).
Il est possible de réactiver le compte root assez facilement, mais je préfère largement faire à partir du compte utilisateur, ça gagne pas mal en confort d'utilisation ((enfin je trouve... les goûts et les couleurs...)).
et puis si je sais comment réactiver ce compte, remettre ensuite la gestion des droits comme à l'origine c'est une autre affaire.
J'avais signalé le bug graphique pour Pokemon rouge feu. Si tu n'es pas grand fan de ce jeu, tu peut essayer avec un autre, j'ai remarqué que ça concernait tous mes jeux. ^^
Voilà par exemple l'écran d'accueil de la version vert feuille (oui, j'aime beaucoup pokemon ^^...) :
Et d'ailleurs, voilà le contenu de mon .conf
# All numeric values are in hexadecimal
# Use TAB or EQUAL sign to separate name from value
#
# Key configuration (all numbers are in hexadecimal!)
#
# Keys values are in the format YXXX where Y is the device number. 0 means
# keyborad and XXX is the SDL define for the desired key (read SDL_keysym.h).
#
# If Y is greater than 0, it means joystick number Y-1 and it uses the
# following format for XXX:
#
# - if XXX < 20, XXX is the axis number multiplied by 2. An even number means
# movement to the negative side (on the X axis, it means left). An odd
# number means movement to the positive side (on the X axis, it mean
# right). For the Y axis, negative means up and positive means down.
# X axis is usally axis number 0 and Y is axis number 1.
# - if 20 >= XXX > 30, then XXX is the HAT number multiplied by 4 plus the
# direction: 0 for up, 1 for down, 2 for right and 3 for left. Example:
# 0021 is HAT 0 down, 0026 is HAT 1 right.
# - if 80 >= XXX > 100, XXX is the joystick button number (XXX-080).
#
# Default key configuration is (value in parenthesis):
#
# Left Left Arrow (0114)
# Right Right Arrow (0113)
# Up Up Arrow (0111)
# Down Down Arrow (0112)
# A Z (007a)
# B X (0078)
# L A (0061)
# R S (0073)
# Start ENTER (000d)
# Select BACKSPACE (0008)
# Speed up SPACE (0020)
# Capture F12 (0125)
#
Joy0_Left=0071
Joy0_Right=0064
Joy0_Up=007a
Joy0_Down=0073
Joy0_A=0069
Joy0_B=0075
Joy0_L=0079
Joy0_R=006f
Joy0_Start=0130
Joy0_Select=0132
Joy0_Speed=0020
Joy0_Capture=0125
# Motion support keys. Same format as above
#
# Default keys are (value in parenthesis):
#
# Left Numeric Pad 4 (0104)
# Right Numeric Pad 6 (0106)
# Up Numeric Pad 8 (0108)
# Down Numeric Pad 2 (0102)
#
Motion_Left=0104
Motion_Right=0106
Motion_Up=0108
Motion_Down=0102
# Frame skip setting. Allowed values are from 0 to 5 only.
frameSkip=0
# Gameboy Frame skip setting. Allowed values are from 0 to 5 only.
gbFrameSkip=0
# Video setting. 0=1x, 1=2x, 2=3x, 3=4x.
video=0
# Use fullscreen mode. 0=false, any other value means true
fullScreen=0
# Disables MMX support
disableMMX=0
# Use bios file. 0=false, any other value means true
useBios=0
# Bios file full path and name (ZIP not supported)
biosFile=none
# Filter to use. 0=no filter, 1=TV Mode, 2=2xSaI, 3=Super 2xSaI, 4=Super Eagle
# 5=Pixelate, 6=Motion Blur, 7=AdvanceMAME Scale2x, 8=Simple 2x,
# 9=Bilinear, A=Bilinear Plus, B=hq2x, C=lq2x
filter=6
# Disable status messages. 0=false, any other value means true
disableStatus=0
# Enable Gameboy border. 0=false, any other value means true
borderOn=0
# Gameboy emulator type. 0=automatic, 1=CGB/GBC, 2=SGB, 3=GB, 4=GBA, 5=SGB2
emulatorType=0
# Enable washed colors. 0=false, any other value means true
colorOption=0
# Directories. Not setting one them makes the file go the rom directory.
# Save state directory
saveDir=
# Screen shot Capture directory
captureDir=
# Battery directory
batteryDir=
# Screen capture format
# 0=PNG, anything else for BMP
captureFormat=0
# Sound quality
# 1=44 Khz, 2=22Khz, 4=11Khz
soundQuality=4
# Sound Echo
# 0=false, anything else for true
soundEcho=0
# Sound Low pass filter
# 0=false, anything else for true
soundLowPass=0
# Sound reverse stereo
# 0=false, anything else for true
soundReverse=0
# Remove GBA intros (not supported anymore)
# 0=false, anything else for true
removeIntros=0
# Save Type
# 0=automatic, 1=EEPROM, 2=SRAM, 3=Flash, 4=EEPROM+Sensor, 5=NONE
saveType=3
# Flash size
# 0=64K Flash, 1=128K Flash
flashSize=1
# Sound volume
# 0=1x, 1=2x, 2=3x, 3=4x
soundVolume=0
# Interframe blending
# 0=none, 1=motion blur, 2=smart
ifbType=1
# Show emulation speed
# 0=none, 1=percentage, 2=detailed
showSpeed=1
# Show speed in transparent mode
# 0=normal, anything else for transparent
showSpeedTransparent=1
# Enable/Disable auto frameskip
# 0=disable, anything else to enable
autoFrameSkip=0
# Sets the desired throttle
# 0=disable, 5...1000 valid throttle speeds
throttle=0
# Pauses the emulator when the window is inactive
# 0=disable, anything else to enable
pauseWhenInactive=1
# Enables AGBPrint support
# 0=disable, anything else to enable
agbPrint=0
# Enables GBA RTC support
# 0=disable, anything else to enable
rtcEnabled=0
# Sound OFF flag
# 0=sound on, anything else turns off sound
soundOff=1
# Sound Enable
# Controls which channels are enabled: (add values)
# 1 - Channel 1
# 2 - Channel 2
# 4 - Channel 3
# 8 - Channel 4
# 100 - DirectSound A
# 200 - DirectSound B
# 30f=all enabled, 0=mute all
soundEnable=0
# Controls automatic SGB border
# 0=disable, anything else enables automatic SGB border display
borderAutomatic=0
# Skip bios code
# 0=disable, anything else skips BIOS code
skipBios=0
# The interval between the rewind saves
# Minimum of 0 seconds to disable rewind support,
# Maximum of 60 minutes. Value in seconds (hexadecimal numbers)
rewindTimer=0
# Enable enhanced save type detection
# 0=disable, anything else to enable (no longer used)
enhancedDetection=0
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#9 Le 12/04/2011, à 19:26
- Jaime.Gemelo
Re : [Résolu...] VBAlink java compilation
Bonsoir
J'ai fait le test avec le jeu que tu as utilisé. En effet j'ai la même chose aussi.
De ce fait, j'ai essayé sur la version que je développe actuellement. Je n'ai plus ce souci. Je vais préparer une nouvelle version sans le support du joybus pour le moment (pas assez stable), ce qui permettra à tout le monde de l'utiliser tranquillement.
Dès qu'elle sera prête, je mettrai ici un lien pour le télécharger.
Amicalement
IMBERT Jacques-Olivier
Site Web: http://jaime.gemelo.free.fr/
Hors ligne
#10 Le 12/04/2011, à 20:22
- Quézac
Re : [Résolu...] VBAlink java compilation
Ok, merci. Une idée de ce qui peut provoquer cela ?
La femme est le chef-d'œuvre de Dieu surtout quand elle a le diable au corps ! (Allais)
Hors ligne
#11 Le 03/09/2012, à 21:13
- azerman
Re : [Résolu...] VBAlink java compilation
j'ai le meme probleme d'image sur rouge feu avec la visulboyadvance alors qu'il marchait avec vba express qui ne marche plus depuis ma mise a jour 12.4
Hors ligne
Pages : 1