Closed inukaze closed 8 months ago
Other than a key being actually stuck on your keyboard or a connected controller I don't know anything that could cause the movement. Moving the mouse does not control the menus. Make sure you disconnect the controllers before you start the game. If that doesn't work, try to download this file and put it next to pd.ini
.
Unfortunately for now using ROMs other than NTSC requires building a separate executable with ROMID=pal-final
for example. There are no automatic builds for them.
Other than a key being actually stuck on your keyboard or a connected controller I don't know anything that could cause the movement. Moving the mouse does not control the menus. Make sure you disconnect the controllers before you start the game. If that doesn't work, try to download this file and put it next to
pd.ini
.Unfortunately for now using ROMs other than NTSC requires building a separate executable with
ROMID=pal-final
for example. There are no automatic builds for them.
i try with no gamepads/joystick, mouse connected just keyboard.
Ok, i am trying right now with that file, and nothing happend, i press some keys to stuck the movement and when i reach to start a game play inside carringston institute, for unknow reasons, the for the executable is like if i ever had pressed the "w" key, ever is walking to foward.
Well meanwhile i wait you give me another idea for fix this "w" holded i am going see how i can solve some troubles with msys2 to try to compile this proyect with PAL version. https://github.com/msys2/MSYS2-packages/issues/4320
you can not make the bot create the executables give specific names to exectutables like : pd.ntsc-final.exe pd.pal-final.exe
Becuase the executable look for specific romfile. and by that way is more ease see if the executable works with the expected rom.
Sorry, but I got no clue what's wrong with your input. Try deleting pd.ini
just in case.
Since you're on W7 32-bit, maybe also try an older version of SDL2.dll. Just replace the SDL2.dll that comes with the game with the one from that file.
Executables for PAL and JPN regions are already named pd.pal.exe
and pd.jpn.exe
. I will probably add them to autobuilds at some point or make one executable work with multiple ROMs.
I had delete again "pd.ini" and this time with "epprom.bin" with the older sdl2 file and with gamecontrollerdb.txt , now the holded "w" key is fixed.
I change one line inside "pd.ini"
A_BUTTON=MOUSE_LEFT
Happy New Year 2024
Well at the end i prefer edit "pd.ini" one more time just for change
A_BUTTON=SPACE
Sometimes i got slowdowns for around 30 segs Well i am thinking with lines i should edit in pd.ini to improve performance.
@fgsfdsfgs : i got a dunno, when i use the executable for start the pal version rom, that is 100% compatible with save data generate from ntsc rom version ?
I think it should be.
I think it should be.
Well i just wait the prebuilt version in the future versions had a pd.pal-final.exe or pd.exe search without asking or the rom filename can be specify inside the pd.ini just for try
i notice the "epprom.bin" had the savegame ¿is in N64 binary format that file?
well my pc had stuttering when 2 or more enemies are attaking me simultaneously. ¿i do not need a cache file?
Well i go trying to build under GNU/Linux, distro Deepin (On my job XD).
inxi -Fz
System: Host: nico-PC Kernel: 5.15.77-amd64-desktop x86_64 bits: 64 Desktop: Deepin 20.9 Distro: Deepin 20.9 Machine: Type: Server Mobo: VIT model: NP3020M3 v: Rev 1.xx serial:
BIOS: American Megatrends v: 1311 date: 11/21/2013 CPU: Topology: Quad Core model: Intel Xeon E3-1220 v3 bits: 64 type: MCP L2 cache: 8192 KiB Speed: 3266 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 3340 2: 3312 3: 3387 4: 3387 Graphics: Device-1: NVIDIA GK107GL [Quadro K600] driver: nouveau v: kernel Display: x11 server: X.Org 1.20.11 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz OpenGL: renderer: NVE7 v: 4.3 Mesa 21.3.8 Audio: Device-1: NVIDIA GK107 HDMI Audio driver: snd_hda_intel Device-2: C-Media CMI8738/CMI8768 PCI Audio driver: snd_cmipci Sound Server: ALSA v: k5.15.77-amd64-desktop Network: Device-1: Intel I210 Gigabit Network driver: igb IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: Device-2: Intel I210 Gigabit Network driver: igb IF: enp3s0 state: down mac: Drives: Local Storage: total: 1.88 TiB used: 1.56 TiB (83.4%) ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-22ERMA0 size: 465.76 GiB ID-2: /dev/sdb vendor: Western Digital model: WD5000AAKX-22ERMA0 size: 465.76 GiB ID-3: /dev/sdc vendor: Western Digital model: WD5000AAKX-22ERMA0 size: 465.76 GiB ID-4: /dev/sdd vendor: Western Digital model: WD5000AAKX-22ERMA0 size: 465.76 GiB ID-5: /dev/sde type: USB model: N/A size: 58.59 GiB RAID: Hardware-1: Intel C600/X79 series SATA RAID Controller driver: ahci Device-1: md126 type: mdraid status: active raid: raid-0 report: N/A Components: online: sda~c3 sdb~c2 sdc~c1 sdd~c0 Device-2: md127 type: mdraid status: inactive raid: sdc3 report: N/A Components: online: N/A spare: sda~c2 sdd~c1 sdb~c0 Partition: ID-1: / size: 14.66 GiB used: 10.02 GiB (68.4%) fs: ext4 dev: /dev/md126p5 ID-2: /boot size: 1.44 GiB used: 200.2 MiB (13.6%) fs: ext4 dev: /dev/md126p1 ID-3: swap-1 size: 11.00 GiB used: 4.0 MiB (0.0%) fs: swap dev: /dev/md126p4 Sensors: System Temperatures: cpu: 50.0 C mobo: 27.8 C gpu: nouveau temp: 51 C Fan Speeds (RPM): N/A gpu: nouveau fan: 3810 Info: Processes: 253 Uptime: 18m Memory: 7.73 GiB used: 2.64 GiB (34.2%) Shell: bash inxi: 3.0.32
nico@nico-PC$ mkdir -p /tmp/src
nico@nico-PC$ cd /tmp/src
nico@nico-PC: /tmp/src$ git clone https://github.com/fgsfdsfgs/perfect_dark
Clonando en 'perfect_dark'...
remote: Enumerating objects: 91260, done.
remote: Counting objects: 100% (11559/11559), done.
remote: Compressing objects: 100% (2654/2654), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: el remoto se colgó de manera inesperadaB | 47.00 KiB/s
fatal: EOF temprano 7% (6448/91260), 6.18 MiB | 47.00 KiB/s
fatal: index-pack falló
Well . . .
mkdir -p "$HOME/.ssh"
cd "$HOME/.ssh"
rm -rf id_rsa*
ssh-keygen -o -t rsa -C "inukaze@github.com"
Generating public/private rsa key pair. Enter file in which to save the key (/home/nico/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/nico/.ssh/id_rsa. Your public key has been saved in /home/nico/.ssh/id_rsa.pub. The key fingerprint is: SHA256:swwBM94tg10W0FbpyJv89oWlXneky059rm5yJlxwAxo inukaze@github.com The key's randomart image is: +---[RSA 2048]----+ | + .o+o.. | | . B +o E . | | o o.o o . | | +o o . o | | ..So o...| | o+o +.+ | | o. .o.= =| | o.+=++o| | . .oO..| +----[SHA256]-----+
Well now its the moment to follow this tutorial for use git via ssh : Option 1 -> https://jdblischak.github.io/2014-09-18-chicago/novice/git/05-sshkeys.html Option 2 -> https://www.warp.dev/terminus/git-clone-ssh
cd /tmp/src
echo 'After you add your ssh-key to your github account, you ever should use the git user'
git clone git@github.com:fgsfdsfgs/perfect_dark.git
Clonando en 'perfect_dark'... remote: Enumerating objects: 91260, done. remote: Counting objects: 100% (11559/11559), done. remote: Compressing objects: 100% (2653/2653), done. remote: Total 91260 (delta 9226), reused 11027 (delta 8879), pack-reused 79701 Recibiendo objetos: 100% (91260/91260), 113.87 MiB | 42.00 KiB/s, listo. Resolviendo deltas: 100% (75326/75326), listo. Revisando archivos: 100% (2271/2271), listo.
cd perfect_dark/
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=x86_64-linux
Host platform: x86_64-linux Target platform: x86_64-linux Makefile.port:91: *** 64-bit target platforms are not supported yet. Alto.
Well before i forget first install the things can be dependencies :
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y git gcc g++ gcc-multilib g++-multilib make libsdl2-dev zlib1g-dev libsdl2-dev:i386 zlib1g-dev:i386
Leyendo lista de paquetes... Hecho Creando árbol de dependencias
Leyendo la información de estado... Hecho gcc ya está en su versión más reciente (4:8.3.0-1). fijado gcc como instalado manualmente. git ya está en su versión más reciente (1:2.20.1.3-2+dde). libsdl2-dev ya está en su versión más reciente (2.0.14+dfsg2-3). make ya está en su versión más reciente (4.2.1-1.2). fijado make como instalado manualmente. zlib1g-dev ya está en su versión más reciente (1:1.2.12.5-1+dde). fijado zlib1g-dev como instalado manualmente. No se pudieron instalar algunos paquetes. Esto puede significar que usted pidió una situación imposible o, si está usando la distribución inestable, que algunos paquetes necesarios aún no se han creado o se han sacado de «Incoming». La siguiente información puede ayudar a resolver la situación:Los siguientes paquetes tienen dependencias incumplidas: libsdl2-dev:i386 : Depende: libibus-1.0-dev:i386 pero no va a instalarse Depende: libpulse-dev:i386 pero no va a instalarse zlib1g-dev:i386 : Depende: libc6-dev:i386 pero no va a instalarse o libc-dev:i386 E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
Well the thing i hate from Debains, the stupid conflicts beetween packages for architectures 32Bits and 64 Bits. Slackware never gave me problem like that, well i try to find if i can install deps :
sudo su
apt-get install libc6-dev:i386
Leyendo lista de paquetes... Hecho Creando árbol de dependencias
Leyendo la información de estado... Hecho No se pudieron instalar algunos paquetes. Esto puede significar que usted pidió una situación imposible o, si está usando la distribución inestable, que algunos paquetes necesarios aún no se han creado o se han sacado de «Incoming». La siguiente información puede ayudar a resolver la situación:Los siguientes paquetes tienen dependencias incumplidas: libc6-dev:i386 : Depende: linux-libc-dev:i386 pero no va a instalarse E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
apt-get install linux-libc-dev:i386
Leyendo lista de paquetes... Hecho Creando árbol de dependencias
Leyendo la información de estado... Hecho Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios. deepin-ai-daemon deepin-ai-models deepin-elf-sign-tool deepin-wine-runtime deepin-wine5-stable deepin-wine5-stable-amd64 deepin-wine5-stable-i386:i386 dwz freeglut3-dev gir1.2-harfbuzz-0.0 gir1.2-ibus-1.0 icu-devtools intltool-debian ledit libarchive-cpio-perl libarchive-zip-perl libasound2-dev libbrotli-dev libc-dev-bin libcairo-script-interpreter2 libcupsfilters-dev libdbus-1-dev libdebhelper-perl libegl1-mesa-dev libffi-dev libfile-stripnondeterminism-perl libfindlib-ocaml libfizmo-common libflac-dev libfribidi-dev libglib2.0-dev-bin libgmp-dev libgmpxx4ldbl libgnutls-openssl27 libgnutlsxx28 libgpg-error-dev libgraphite2-dev libharfbuzz-gobject0 libibus-1.0-5 libice-dev libidn2-dev libimage-exiftool-perl liblablgl-ocaml liblabltk-ocaml libltdl-dev libmad0-dev libmikmod-config libmikmod3 libmime-charset-perl libogg-dev libp11-kit-dev libpcre16-3 libpcre32-3 libpixman-1-dev libpng-tools libposix-strptime-perl libsdl-console libsdl-gfx1.2-5 libsdl-mixer1.2 libsdl-net1.2 libsdl-ocaml libsdl-pango1 libsdl-sge libsdl-sound1.2 libsdl-stretch-0-3 libsdl2-gfx-1.0-0 libsdl2-net-2.0-0 libsepol1-dev libsm-dev libsndfile1-dev libsndio-dev libsombok3 libtasn1-6-dev libudev-dev libunicode-linebreak-perl libusbmuxd-dev libvorbis-dev libwayland-bin libwayland-dev libwebp-dev libwiretap8 libwscodecs2 libwsutil9 libxcb-render0-dev libxcb-shm0-dev libxcursor-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxss-dev libxt-dev libxv-dev libxxf86vm-dev nettle-dev ocaml-base-nox ocaml-findlib pango1.0-tools pkg-config po-debconf python3-distutils python3-lib2to3 x11proto-fixes-dev x11proto-randr-dev x11proto-scrnsaver-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev Utilice «sudo apt autoremove» para eliminarlos. Los siguientes paquetes se ELIMINARÁN: bcmwl-kernel-source comerr-dev debhelper dh-autoreconf dh-strip-nondeterminism libblkid-dev libbz2-dev libc6-dev libcaca-dev libcairo2-dev libcups2-dev libcupsimage2-dev libdevmapper-dev libdtkwidget-dev libexpat1-dev libext2fs-dev libfindlib-ocaml-dev libfizmo-dev libfontconfig1-dev libfreetype-dev libfreetype6-dev libgcrypt20-dev libglib2.0-dev libgnutls28-dev libgsf-1-dev libharfbuzz-dev libibus-1.0-dev libicu-dev libimobiledevice-dev libjpeg-dev libjpeg62-turbo-dev liblablgl-ocaml-dev liblabltk-ocaml-dev libmikmod-dev libmount-dev libncurses-dev libncurses5-dev libpango1.0-dev libparted-dev libpcre3-dev libplist-dev libpng-dev libpulse-dev libsdl-console-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ocaml-dev libsdl-pango-dev libsdl-sge-dev libsdl-sound1.2-dev libsdl-stretch-dev libsdl-ttf2.0-dev libsdl1.2-dev libsdl2-dev libsdl2-dev-dbgsym libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev libselinux1-dev libslang2-dev libsndifsdl2-dev libtiff-dev libtool libxft-dev libxml2-dev linux-libc-dev ocaml-compiler-libs ocaml-interp ocaml-nox tcl-dev tcl8.6-dev tk-dev tk8.6-dev uuid-dev zlib1g-dev Se instalarán los siguientes paquetes NUEVOS: linux-libc-dev:i386 0 actualizados, 1 nuevos se instalarán, 79 para eliminar y 3 no actualizados. Se necesita descargar 1.457 kB de archivos. Se liberarán 405 MB después de esta operación. ¿Desea continuar? [S/n] S
echo 'The before installation finish without errors'
apt-get install -y libc6-dev:i386
apt-get install -y zlib1g-dev:i386
apt-get install -y libpulse-dev:i386
apt-get install -y libibus-1.0-dev:i386
#SDL2
apt-get install -y libopusfile0:i386
apt-get install -y libsdl2-dev:i386 libsdl-ttf2.0-dev:i386 libsdl-sge-dev:i386 libsdl-console-dev:i386 libsdl-pango-dev:i386 libsdl2-gfx-dev:i386 libsdl2-image-dev:i386 libsdl2-mixer-dev:i386 libsdl2-net-dev:i386 libsdl2-ttf-dev:i386
#SDL1.2
apt-get install -y libsdl1.2-dev:i386 libsdl-stretch-dev:i386 libsdl-sound1.2-dev:i386 libsdl-mixer1.2-dev:i386 libsdl-image1.2-dev:i386 libsdl-gfx1.2-dev:i386 libsdl-net1.2-dev:i386
ldconfig
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=i686-linux -j2 >> make-output.txt
The ever useless debian , Output for that make command line :
Package sdl2 was not found in the pkg-config search path. Perhaps you should add the directory containing
sdl2.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl2' found Package sdl2 was not found in the pkg-config search path. Perhaps you should add the directory containing
sdl2.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl2' found port/src/audio.c:3:10: fatal error: SDL.h: No existe el fichero o el directorioinclude
^~~~~~~
compilation terminated. make: [Makefile.port:311: build/pal-final-port/port/src/audio.o] Error 1 make: Se espera a que terminen otras tareas....
Ok i not try anymore under Debians distros, ever is the same when user want use 64 Bits & 32 Bits, ever are conflicted and that provokes fails like this. Well i am going to format this pc to install Slackware64 15.0
eeprom.bin
is the save file, yes. It is not directly compatible with emulator eeprom files, but it is essentially used for the same thing.
What kind of GPU do you have? Can you run the game with --log --debug-gl
on the command line and post the resulting pd.log
file?
eeprom.bin
is the save file, yes. It is not directly compatible with emulator eeprom files, but it is essentially used for the same thing.What kind of GPU do you have? Can you run the game with
--log --debug-gl
on the command line and post the resultingpd.log
file?
i answer you, tomorrow, in this right moment i am on my job, on that machine the OS is GNU/Linux, distro Deepin. i really dislike Debians. i am Slackware user, i try tonight compile under Slackware(64) 14.2
the GPU on the job is Nvidia Quadro K600, on my home personal machine is Nvidia GeForce 620 MSI
Trying on Slackware64 14.2 :
mkdir -p /media/GNU-Con-Linux1/src
cd /media/GNU-Con-Linux1/src
git clone https://github.com/fgsfdsfgs/perfect_dark
Clonando en 'perfect_dark'... remote: Enumerating objects: 91280, done. remote: Counting objects: 100% (11579/11579), done. remote: Compressing objects: 100% (2660/2660), done. remote: Total 91280 (delta 9239), reused 11045 (delta 8892), pack-reused 79701 Recibiendo objetos: 100% (91280/91280), 113.87 MiB | 166.00 KiB/s, listo. Resolviendo deltas: 100% (75339/75339), listo. Actualizando archivos: 31% (717/2271) Actualizando archivos: 100% (2271/2271), listo.
cd perfect_dark
git submodule update --init --recursive
Submódulo 'tools/recomp' (https://github.com/Emill/ido-static-recomp.git) registrado para ruta 'tools/recomp' Clonando en '/media/GNU-Con-Linux1/src/perfect_dark/tools/recomp'... Ruta de submódulo 'tools/recomp': check out realizado a '421e546956ceae984927e609b083195e9e81659e'
echo 'Reinstalling Packages for solve deps :'
echo -ne 'y\n' | slpkg --reinstall -s slack binutils automake cmake gccmakedep make makedepend pmake python python-setuptools
echo -ne 'y\n' | slpkg --reinstall -s slonly fakeroot
echo -ne 'y\n' | slpkg --reinstall -s multi aaa_elflibs elfutils-compat32 glibc-debug glibc glibc-i18n glibc-profile glibc-solibs
echo "Try to compile it, i wish use the PAL version, because i wanna play on Spanish"
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=i686-linux -j2 >> make-output.txt
too much long output the content of that make-output.txt -> https://controlc.com/9bad8c10
trying again just for see just the part with Error 1
make -f Makefile.port TARGET_PLATFORM=i686-linux -j2
Output :
Host platform: x86_64-linux Target platform: i686-linux gcc -std=c11 -c -DVERSION=4 -DVERSION_HASH=\"49f607dd7\" -DVERSION_TARGET=\"i686-linux\" -DVERSION_ROMID=\"pal-final\" -DVERSION_BRANCH=\"port\" -DMATCHING=0 -DPAL=1 -DPIRACYCHECKS=0 -DROM_SIZE=32 -D_LANGUAGE_C=1 -DAVOID_UB=1 -I include -I include/PR -I src/include -I src/generated/pal-final -I src/lib/ultra/audio -I port/include -I/usr/include/SDL2 -m32 -g -fno-inline-functions -fno-strict-aliasing -funsigned-char -fwrapv -Wall -Wno-address -Wno-aggressive-loop-optimizations -Wno-int-in-bool-context -Wno-misleading-indentation -Wno-missing-braces -Wno-multichar -Wno-tautological-compare -Wno-unused-but-set-variable -Wno-unused-value -Wno-unused-variable -Wno-format-truncation -Wno-pointer-sign -Og -o build/pal-final-port/port/src/optionsmenu.o port/src/optionsmenu.c gcc -std=c11 -c -DVERSION=4 -DVERSION_HASH=\"49f607dd7\" -DVERSION_TARGET=\"i686-linux\" -DVERSION_ROMID=\"pal-final\" -DVERSION_BRANCH=\"port\" -DMATCHING=0 -DPAL=1 -DPIRACYCHECKS=0 -DROM_SIZE=32 -D_LANGUAGE_C=1 -DAVOID_UB=1 -I include -I include/PR -I src/include -I src/generated/pal-final -I src/lib/ultra/audio -I port/include -I/usr/include/SDL2 -m32 -g -fno-inline-functions -fno-strict-aliasing -funsigned-char -fwrapv -Wall -Wno-address -Wno-aggressive-loop-optimizations -Wno-int-in-bool-context -Wno-misleading-indentation -Wno-missing-braces -Wno-multichar -Wno-tautological-compare -Wno-unused-but-set-variable -Wno-unused-value -Wno-unused-variable -Wno-format-truncation -Wno-pointer-sign -Og -o build/pal-final-port/port/src/libultra.o port/src/libultra.c port/src/optionsmenu.c: En la función ‘menuhandlerMaximizeWindow’: port/src/optionsmenu.c:659:10: aviso: declaración implícita de la función ‘videoGetMaximizeWindow’ [-Wimplicit-function-declaration] return videoGetMaximizeWindow(); ^ port/src/optionsmenu.c:661:3: aviso: declaración implícita de la función ‘videoSetMaximizeWindow’ [-Wimplicit-function-declaration] videoSetMaximizeWindow(data->checkbox.value); ^ port/src/optionsmenu.c: En la función ‘menuhandlerCrosshair_R’: port/src/optionsmenu.c:956:3: error: una etiqueta sólo puede ser parte de una declaración y una declaración no es un enunciado u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFFFFFF | data->slider.value << 24; ^ port/src/optionsmenu.c:956:66: aviso: se sugieren paréntesis alrededor de la aritmética para un operando de ‘|’ [-Wparentheses] u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFFFFFF | data->slider.value << 24; ^ port/src/optionsmenu.c: En la función ‘menuhandlerCrosshair_G’: port/src/optionsmenu.c:972:3: error: una etiqueta sólo puede ser parte de una declaración y una declaración no es un enunciado u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFF00FFFF | data->slider.value << 16 ^ port/src/optionsmenu.c:972:66: aviso: se sugieren paréntesis alrededor de la aritmética para un operando de ‘|’ [-Wparentheses] u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFF00FFFF | data->slider.value << 16 ^ port/src/optionsmenu.c: En la función ‘menuhandlerCrosshair_B’: port/src/optionsmenu.c:988:3: error: una etiqueta sólo puede ser parte de una declaración y una declaración no es un enunciado u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFFFF00FF | data->slider.value << 8; ^ port/src/optionsmenu.c:988:66: aviso: se sugieren paréntesis alrededor de la aritmética para un operando de ‘|’ [-Wparentheses] u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFFFF00FF | data->slider.value << 8; ^ port/src/optionsmenu.c: En la función ‘menuhandlerCrosshair_A’: port/src/optionsmenu.c:1004:3: error: una etiqueta sólo puede ser parte de una declaración y una declaración no es un enunciado u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFFFFFF00 | data->slider.value; ^ port/src/optionsmenu.c:1004:66: aviso: se sugieren paréntesis alrededor de la aritmética para un operando de ‘|’ [-Wparentheses] u32 newColor = g_PlayerExtCfg[g_ExtMenuPlayer].crosshaircolour & 0xFFFFFF00 | data->slider.value; ^ port/src/optionsmenu.c: En el nivel principal: cc1: aviso: no se reconoce la opción de línea de órdenes ‘-Wno-format-truncation’ cc1: aviso: no se reconoce la opción de línea de órdenes ‘-Wno-tautological-compare’ cc1: aviso: no se reconoce la opción de línea de órdenes ‘-Wno-misleading-indentation’ cc1: aviso: no se reconoce la opción de línea de órdenes ‘-Wno-int-in-bool-context’ Makefile.port:310: fallo en las instrucciones para el objetivo 'build/pal-final-port/port/src/optionsmenu.o' make: [build/pal-final-port/port/src/optionsmenu.o] Error 1 make: Se espera a que terminen otras tareas....
That build issue should be fixed now. Even though your compiler really should be able to build it even without the fix, which is why automatic builds for NTSC were not failing.
Hi there, how i can compile the "net-port" version i should use a env variable or is another project ?
yesterday i had compile PerfectDark under Slackware64 15.0, i had do the follow 1 - Install Slackware64 15.0 [Full Installation]
2 - After install "32 Bits" multilib / compat32 support, follow the instructions of "https://docs.slackware.com/slackware:multilib"
cd /tmp
SLACKVER=15.0
mkdir multilib
cd multilib
lftp -c "open http://slackware.nl/people/alien/multilib/ ; mirror -c -e ${SLACKVER}"
cd ${SLACKVER}
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
Restart entire pc, and login again and now start the process to download and compile perfect dark manually :
mkdir -p "$HOME/Desktop/src"
cd "$HOME/Desktop/src"
git clone https://github.com/fgsfdsfgs/perfect_dark
cd perfect_dark/
git submodule update --init --recursive
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=i686-linux
i use environemnt variable :
export ROMID=pal-final
Because i want to use European PAL Version with Spanish Text Translations
well the make process finish without errors Now i make the Directory when i want to put the binary executable and the data need it.
cd "$HOME/Desktop/src/perfect_dark/build/pal-final-port"
mkdir -p "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mv -f "$HOME/Desktop/src/perfect_dark/build/pal-final-port/pd.pal.exe" "$HOME/Programas/Videojuegos/Disparos/PerfectDark/"
Well i need the "data" directory and this binary executable look for another path, i really prefer, first look in relative path, not on absolute path, because the ever path, are very incovenient when i put the executables on a LiveUSB and use like portables apps.
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mkdir -p "$PWD/data"
mkdir -p "$HOME/.local/share/perfectdark"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"
Note i use the follow web site, to convert my "n64" rom to "z64" -> https://hack64.net/tools/swapper.php
i put the rom on "data" directory and rename it to "pd.pal-final.z64"
Before know the path i try to run it, and i see the absolute paths, the another curious thing was the first, second, and third time i start it, the port start without sound
Well i just grab my "pd.ini" file and "epprom.bin" from the "Windows XP SP3" test i do before, and the sound now is working and i had my Save Game working
The SaveGame absolute path is
"$HOME/.local/share/perfectdark/eeprom.bin"
i suggest do the follow its the first time you use perfect dark, and don't want the files on diferents paths.
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mkdir -p "$HOME/.local/share/perfectdark"
touch "eeprom.bin"
ln -s "$PWD" "$HOME/.local/share/perfectdark/eeprom.bin"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"
echo 'i rename pd.pal.exe to pd.pal.lignux32 because GNU/Linux on some distro use MIME Types and depend of your desktop environment can try use "Wine" first because the extension is ".exe" and that is not the idea, i prefer callit lignux to know is GNU/Linux 32 Bits executable'
mv -f "pd.pal.exe" "pd.pal.lignux32"
chmod a+o+x "pd.pal.lignux32"
Now enjoy Perfect Dark :
Well i want compile the net-port version :D
Change to the port-net
branch: git checkout port-net
. Then do a clean build.
Ok clean build :
mkdir -p "$HOME/Desktop/src"
cd "$HOME/Desktop/src"
git clone https://github.com/fgsfdsfgs/perfect_dark perfect_dark_net-port
cd perfect_dark_net-port
git checkout port-net
git submodule update --init --remote --recursive
export ROMID=pal-final
make -f Makefile.port TARGET_PLATFORM=i686-linux
cd build/pal-final-port/
mv pd.pal.exe pd-netport.pal.lignux32
chmod a+o+x pd-netport.pal.lignux32
mkdir -p "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
cp "pd-netport.pal.lignux32" "$HOME/Programas/Videojuegos/Disparos/PerfectDark/"
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark/"
mkdir -p "$PWD/data"
mkdir -p "$HOME/.local/share/perfectdark"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"
cd "$HOME/Programas/Videojuegos/Disparos/PerfectDark"
mkdir -p "$HOME/.local/share/perfectdark"
touch "eeprom.bin"
ln -s "$PWD" "$HOME/.local/share/perfectdark/eeprom.bin"
ln -s "$PWD/data" "$HOME/.local/share/perfectdark/data"
echo 'Does not forget put your Z64 Perfect Dark EURopean ROM on data sub-folder'
./pd-netport.pal.lignux32
Ready :D
Automatic builds now include executables for PAL and JPN.
Automatic builds now include executables for PAL and JPN.
Excelent
Dunno : The dificulty of challange of Combat Simulator #29, the dificult has been down ?
i can't complete that challange because the two simulants killme 10 times too much fast because ever they ever knows when i appear and when i am respawning i am get killed before i can start to move. the challange rarely dure 1 minute or more.
Higher simulant difficulties might be harder on high FPS. Limit it to 60 maybe.
Higher simulant difficulties might be harder on high FPS. Limit it to 60 maybe.
On that challange its not harder is just unfair, the simulants kill me the 10 times the mayor part of time before the first minute reach. Becuase the simulants knows when and where i appear in the next respawn and when i am appearing both reach to that point and kill me after i can start move.
On the challange 30 is hard but not unfair like 29.
Hi there, i am right trying to test this project under Windows 7 32 Bits Service Pack 1.
Ok the first thing i got an issue, when i reach the Main Menu of Perfect Dark, constantly move to one side, left or right. i had disconnect Gamepads, not work, i disable Mouse inside pd.ini neither works.
Ok the second thing is how i can use the EUR Final version with pd.exe because my native lang is spanish, i prefer play on Spanish, but when i try to use "--rom-path" automatically ask for "pd.ntsc-final.z64"
Or i need make a complety manually compilation just for use another rom ?