Comments (8)
Your steps to reproduce say "Make binary executable", which I interpreted as build the executable. You should have linked the docker commands in the first place.
The prebuilt linux executables are managed by a github action. It looks like that's not providing the HAVE_CHD=1 flag.
from ralibretro.
There shouldn't be any external dependencies. If you didn't get any compilation errors, it's a functional thing. The git submodule should tie you to the same version of libchd that I used.
"Could not locate primary executable" is a generic error message indicating several things could have gone wrong. Since you don't have a "Found SYSTEM.CNF at sector X" message, it seems like locating that is what failed.
from ralibretro.
Have you tried building with make HAVE_CHD=1
as suggested by the error?
from ralibretro.
I did not build, I downloaded the precompiled binary for ease of deployment/use.... see below:
https://github.com/RandomNinjaAtk/docker-raromprocessor/blob/c1f4a6992f9d7ea837beef23c02aafbecc55f4ca/Dockerfile#L57-L61
I can look at building it alternatively, but maybe the precompiled binary should already have it enabled?
from ralibretro.
Compiled it with the flag, but a new error:
root@02612a87ace1:/config/test2# bin64/RAHasher
RAHasher
====================
Usage: RAHasher [-v] systemid filepath
-v (optional) enables verbose messages for debugging
systemid specifies the system id associated to the game (which hash algorithm to use)
filepath specifies the path to the game file
root@02612a87ace1:/config/test2# bin64/RAHasher -v 12 "/config/file.chd"
Could not locate primary executable
from ralibretro.
I'm not sure what's in file.chd, but this seems to work fine for me:
brian@ubuntu18 master:~/source/RALibretro$ bin64/RAHasher -v 12 ~/roms/Darkstalkers\ 3.chd
Found SYSTEM.CNF at sector 23
Looking for boot executable: SLUS_007.45
Found SLUS_007.45 at sector 24
Hashing SLUS_007.45 title (11 bytes) and contents (514048 bytes)
Generated hash e9ddaf41a7cf406b5d7fc803c59d4a52
e9ddaf41a7cf406b5d7fc803c59d4a52
from ralibretro.
Are there other dependencies? Since I'm using a docker container and may have not accounted for it...
file.chd is a CHD rom file that I changed the file name for posting here. I'll try to do some more testing.
from ralibretro.
Fresh build via docker hub and compiling with flag, it now appears to work:
root@700227a77bc8:/config# /usr/local/RALibretro/bin64/RAHasher -v 12 "A-Train - Trains, Power, Money (USA) (En,Ja,Fr,De).chd"
Found SYSTEM.CNF at sector 19492
Looking for boot executable: SLUS_000.03
Found SLUS_000.03 at sector 19403
Hashing SLUS_000.03 title (11 bytes) and contents (182272 bytes)
Generated hash a5242af3db70ea41d4d8aad8511df310
a5242af3db70ea41d4d8aad8511df310
root@700227a77bc8:/config#
So maybe my quick compile without full docker rebuild, it wasn't enough, so this should now be resolved. Also It looks like your fixing the issue with the precompiled binary, and this identified that...
Thanks for all the help!
I'll leave this open for now until you've resolved the precompiled binary issue. Feel free to close though...
from ralibretro.
Related Issues (20)
- Dolphin support in RALibretro HOT 4
- [Feature Request] Controller Binding Profiles
- [Feature Request] Add hot key bindings for named save and load state action
- RAHasher - Failing against some CHD titles, either with errors or no output HOT 3
- Building for Arm64? Suggestions of editing Makefile HOT 2
- RAHasher - Some PS2 CHDs failing with "Could not locate primary executable" HOT 1
- Extend filetype support for PPSSPP HOT 2
- N64 Core Crashes when Screenshot is taken/Savestate is loaded. HOT 7
- Add support for Linux, macOS (and potentially other OSes) HOT 4
- Allow importing search results into memory inspector HOT 1
- theres stuttering in NES games HOT 3
- [Feature Request] Add fullscreen command line -f [--fullscreen]
- Xenia support? HOT 1
- Settings HOT 1
- RAHasher 1.7.0 Windows x64 release is linked with debug runtime HOT 1
- [Feature Request] Add ability to slow down emulation speed
- Rewind Integration
- analog trigger issue on RAlibretro (JR DEV here)
- Genesis Sonic Sequels Sound Not Working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ralibretro.