fgsfdsfgs/perfect_dark

Fatal error - Could not open ROM file pd.ntsc-final.z64

sparta1012011 opened this issue · 8 comments

Hello, I have been experiencing an issue when trying to launch the pd.exe where it will will immediately give the error "Could not open ROM file pd.ntsc-final.z64. Ensure that it is in the ./data/ directory."

I first thought I had a bad ROM, so I found multiple other Version 1.1 ROMs from multiple sources but found it would give the same error to each of them. I was able to verify the ROM works with modloader 64 and verified at the startup screen it shows NTSC version 8.7 final. I have tried redownloading the i686-windows, but that didn't change the result.

besides downloading the i686-windows file and having the ROM, are there any other dependencies I would need?

I am running a 2080 TI on a Windows 10 machine. If there is any other information that could help please let me know.

Thanks

Photo of the file path and the downloaded files
Perfect Dark error
Photo of the data folder
Perfect Dark error data

Can you run the game with the --log command line parameter?
Also try moving the folder with the game to your desktop or something. It should be able to survive being in C:\ root though.

created a shortcut of the pd.exe and added --log to the target file path, I am not seeing any logs created in any roaming folders, event viewer, or AppData\Local\Temp. Do you know of the default location the log would be put? (I also tried adding -log and trying to create a log with that argument). Moving the folder to the desktop unfortunately didn't solve the issue. Thanks for your assistance on this.

If it's not in the same folder as pd.exe, it would be in %APPDATA%\perfectdark (AppData\Roaming\perfectdark). If it isn't there, then I really don't know what the hell the problem could be.

Sorry missed the text file that was next to the exe.

version: port b4f7f46 (i686-windows)
startup date: 25 Apr 2024 16:08:47
base dir: ./data
save dir: .
GL: created GL3.0 context
input: assigned controller '0: (BDA Core (Plus) Wired Controller)' (id 0) to player 0
ROM file: pd.ntsc-final.z64
ERROR: fsFileLoad: could not find file: ./data/pd.ntsc-final.z64
ERROR: FATAL: Could not open ROM file pd.ntsc-final.z64.
Ensure that it is in the ./data/ directory.

Do you have the ROM open in Notepad or some other program? Try closing that before launching the game.
Maybe try renaming it to 1.z64 and then running the game with --rom-file 1.z64.
Ensure that in the shortcut the working directory is set to the same folder pd.exe is in too.

Restarted just to be safe, tried running the pd.exe, gives the same error. Verified no instances of notepad or notepad++ are running.

verified file path is correct and tried renaming the ROM to 1.z64 and adding the --rom-file 1.z64 to the shortcut target path. Same error.

Perfect Dark error new ROM name

Not sure if this will help, but I copied and pasted the ROM into another Emulator and loaded up the game that way, here is the logs from ModLoader64

[2024-04-25T17:05:18.901] [INFO] Core - ModLoader64
[2024-04-25T17:05:18.903] [INFO] Core - Authors: denoflions,Sylvain
[2024-04-25T17:05:18.903] [INFO] Core - Version: 2.0.30
[2024-04-25T17:05:18.903] [INFO] Core - Github Contributors: SpiceyWolf,Psi-Hate,DemoXinMC,ElTipejoLoco,Drahsid,JerryWester,PapaSmurf-ML64,glankk
[2024-04-25T17:05:18.903] [INFO] Core - Setting running directory: C:\Users\tryin\Downloads\Zelda OOT M\modloader64-gui-1.1.60-ia32-win\modloader64-gui-1.1.60-ia32-win\ModLoader
[2024-04-25T17:05:19.443] [DEBUG] BindingManager - Registered: Mupen64Plus
[2024-04-25T17:05:19.444] [INFO] Core - Loading internal cores...
[2024-04-25T17:05:19.450] [INFO] Core - Auto-wiring core: DummyCore
[2024-04-25T17:05:19.586] [INFO] Core - Auto-wiring core: OcarinaofTime
[2024-04-25T17:05:19.586] [INFO] Core - Loading external cores...
[2024-04-25T17:05:19.685] [DEBUG] BindingManager - Constructing: Mupen64Plus
[2024-04-25T17:05:20.078] [DEBUG] OpenGL - Initial context: 2.1 Unknown Profile
[2024-04-25T17:05:20.078] [DEBUG] OpenGL - Vendor: NVIDIA Corporation
[2024-04-25T17:05:20.078] [DEBUG] OpenGL - Renderer: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
[2024-04-25T17:05:20.078] [DEBUG] OpenGL - Version: 4.6.0 NVIDIA 551.86
[2024-04-25T17:05:20.078] [DEBUG] OpenGL - Shading language version: 4.60 NVIDIA
[2024-04-25T17:05:20.085] [DEBUG] OpenGL - Rendering context: 3.3 Core Profile
[2024-04-25T17:05:20.102] [INFO] M64p - Using full mem base
[2024-04-25T17:05:20.302] [INFO] Core - Loading rom: C:\Users\tryin\Downloads\Zelda OOT M\modloader64-gui-1.1.60-ia32-win\modloader64-gui-1.1.60-ia32-win\ModLoader\roms\1.z64.z64.
[2024-04-25T17:05:20.443] [INFO] M64p - Goodname: Perfect Dark (U) (V1.1) [!]
[2024-04-25T17:05:20.443] [INFO] M64p - Name: Perfect Dark
[2024-04-25T17:05:20.443] [INFO] M64p - MD5: EEE911DAB73D32FBDFC590C465EA4125
[2024-04-25T17:05:20.443] [INFO] M64p - CRC: 41F2B98F B458B466
[2024-04-25T17:05:20.443] [INFO] M64p - Imagetype: .z64 (native)
[2024-04-25T17:05:20.443] [INFO] M64p - Rom size: 67108864 bytes (or 64 Mb or 512 Megabits)
[2024-04-25T17:05:20.443] [INFO] M64p - Version: 1449
[2024-04-25T17:05:20.443] [INFO] M64p - Manufacturer: Nintendo
[2024-04-25T17:05:20.443] [INFO] M64p - Country: Unknown (0x145)
[2024-04-25T17:05:20.445] [INFO] Core - Parsing rom header...
[2024-04-25T17:05:20.445] [ERROR] Core - Failed to find a compatible core for the selected rom!
[2024-04-25T17:05:20.445] [DEBUG] Core - {
"name": "Perfect Dark \u0000\u0000\u0000\u0000\u0000\u0000\u0000",
"country_code": "E",
"revision": 1,
"id": "NPD"
}
[2024-04-25T17:05:20.445] [INFO] Core - Setting core to DummyCore.
[2024-04-25T17:05:20.446] [INFO] NetworkEngine.Client - Dropping into single player mode due to config.
[2024-04-25T17:05:20.466] [INFO] PluginLoader - Using load order saved from GUI...
[2024-04-25T17:05:20.911] [INFO] NetworkEngine.Server - NetworkEngine.Server set up on port 8082.
[2024-04-25T17:05:20.911] [INFO] NetworkEngine.Client - Starting up NetworkEngine.Client...
[2024-04-25T17:05:20.918] [INFO] NetworkEngine.Server - UDP socket listening 0.0.0.0:8082
[2024-04-25T17:05:20.928] [INFO] NetworkEngine.Server - Client zBuuBWOaOqMPeMmSAAAA connected.
[2024-04-25T17:05:20.933] [INFO] NetworkEngine.Client - Connected.
[2024-04-25T17:05:20.942] [INFO] NetworkEngine.Client - Version good! {"ml":"2.0.30","plugins":{},"core":"DummyCore","discord":""}
[2024-04-25T17:05:20.942] [INFO] NetworkEngine.Client - This server has a 10MB bps patch limit.
[2024-04-25T17:05:20.944] [INFO] NetworkEngine.Server - Creating lobby LSDHome.
[2024-04-25T17:05:20.944] [INFO] NetworkEngine.Client - Joined lobby LSDHome.
[2024-04-25T17:05:20.946] [INFO] Core - Setting up Mupen64Plus...
[2024-04-25T17:05:21.056] [INFO] NetworkEngine.Server - Opened port for UDP server.
[2024-04-25T17:05:21.061] [INFO] NetworkEngine.Server - Opened port for TCP server.
[2024-04-25T17:05:21.075] [INFO] M64p - input plugin did not specify a render callback; there will be no on screen display by the input plugin.
[2024-04-25T17:05:21.075] [INFO] M64p - 1 SDL joysticks were found.
[2024-04-25T17:05:21.075] [INFO] M64p - N64 Controller #1: Using manual config for SDL joystick 0
[2024-04-25T17:05:21.075] [INFO] M64p - N64 Controller #2: Using manual config for SDL joystick 0
[2024-04-25T17:05:21.075] [INFO] M64p - N64 Controller #3: Using manual config with no SDL joystick (keyboard/mouse only)
[2024-04-25T17:05:21.075] [INFO] M64p - N64 Controller #4: Using manual config with no SDL joystick (keyboard/mouse only)
[2024-04-25T17:05:21.075] [INFO] M64p - 4 controller(s) found, 3 plugged in and usable in the emulator
[2024-04-25T17:05:21.075] [WARN] M64p - Couldn't open rumble support for joystick #1
[2024-04-25T17:05:21.075] [WARN] M64p - Couldn't open rumble support for joystick #2
[2024-04-25T17:05:21.075] [WARN] M64p - Couldn't open rumble support for joystick #3
[2024-04-25T17:05:21.075] [WARN] M64p - Couldn't open rumble support for joystick #4
[2024-04-25T17:05:21.075] [INFO] M64p - Mupen64Plus SDL Input Plugin version 2.5.9 initialized.
[2024-04-25T17:05:21.075] [INFO] M64p - RSP Fallback disabled !
[2024-04-25T17:05:21.228] [INFO] M64p - Using video capture backend: dummy
[2024-04-25T17:05:21.238] [INFO] M64p - Game controller 0 (Standard controller) has a Memory pak plugged in
[2024-04-25T17:05:21.238] [INFO] M64p - Game controller 1 (Standard controller) has a Memory pak plugged in
[2024-04-25T17:05:21.238] [INFO] M64p - Game controller 2 (Standard controller) has a Memory pak plugged in
[2024-04-25T17:05:21.238] [INFO] M64p - Game controller 3 (Standard controller) has a Memory pak plugged in
[2024-04-25T17:05:21.239] [INFO] M64p - Using CIC type X105
[2024-04-25T17:05:21.478] [INFO] M64p - Using resampler trivial
[2024-04-25T17:05:21.479] [INFO] M64p - Initializing SDL audio subsystem...
[2024-04-25T17:05:21.529] [INFO] M64p - 1 SDL joysticks were found.
[2024-04-25T17:05:21.529] [INFO] M64p - N64 Controller #1: Using manual config for SDL joystick 0
[2024-04-25T17:05:21.529] [INFO] M64p - N64 Controller #2: Using manual config for SDL joystick 0
[2024-04-25T17:05:21.529] [INFO] M64p - N64 Controller #3: Using manual config with no SDL joystick (keyboard/mouse only)
[2024-04-25T17:05:21.529] [INFO] M64p - N64 Controller #4: Using manual config with no SDL joystick (keyboard/mouse only)
[2024-04-25T17:05:21.529] [INFO] M64p - 4 controller(s) found, 3 plugged in and usable in the emulator
[2024-04-25T17:05:21.529] [WARN] M64p - Couldn't open rumble support for joystick #1
[2024-04-25T17:05:21.529] [WARN] M64p - Couldn't open rumble support for joystick #2
[2024-04-25T17:05:21.529] [WARN] M64p - Couldn't open rumble support for joystick #3
[2024-04-25T17:05:21.529] [WARN] M64p - Couldn't open rumble support for joystick #4
[2024-04-25T17:05:21.530] [INFO] Core - Finishing plugin init...
[2024-04-25T17:05:21.531] [INFO] M64p - Initializing 8 RDRAM modules for a total of 16 MB
[2024-04-25T17:05:21.534] [INFO] M64p - Starting R4300 emulator: Dynamic Recompiler
[2024-04-25T17:05:21.603] [DEBUG] MenubarPlugin - Loading default font.
[2024-04-25T17:05:23.689] [INFO] NetworkEngine.Client - UDP test passed.
[2024-04-25T17:05:23.690] [DEBUG] PluginLoader - Starting injection...
[2024-04-25T17:05:23.690] [DEBUG] PluginLoader - Injection finished.
[2024-04-25T17:05:27.803] [INFO] M64p - Initializing SDL audio subsystem...

.... Found the issue. After renaming the file to 1.z64, saw in modloader64 is has the .z64 twice. Went to the ROM and renamed it to just 1. Verified in properties that it's still at .z64 file. Launched the shortcut to pd.exe. Boots up without issue. Sorry for the confusion here and thanks for your assistance on this.