N64Recomp / N64Recomp

Tool to statically recompile N64 games into native executables
MIT License
6.39k stars 363 forks source link

Procedure Entry Point Error #84

Open Degamisu opened 4 months ago

Degamisu commented 4 months ago

I built this correctly just now, but I'm not sure what this error means. How can I fix this?

image

AngheloAlf commented 4 months ago

I don't think anybody else has had this problem before. Could you post the specific steps you followed to build this tool?

Degamisu commented 4 months ago

Sure thing! I installed MYSYS2 and had MINGNU installed. Then ran the following:

git clone https://github.com/N64Recomp/N64Recomp.git
cd N64Recomp
git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .

Running Windows 11 23H2


Then clicked N64Recomp.exe to verify it loads (if it were working, the program would exit immediately)

Degamisu commented 4 months ago

just ran it in the console - no errors. why could this be?

also, how do i load a rom into this? do i specify the path?

AngheloAlf commented 4 months ago

Sure thing! I installed MYSYS2 and had MINGNU installed. Then ran the following:

None of the recomp-related stuff (the recompiler itself, building recompiled games, etc) have been tested on msys, mingw and similar toolchains. There are no plans on supporting them either. The recommended way to build this on Windows is to use clang and cmake installed from the Visual Studio Installer. The Zelda64Recomp repo has some instructions on installing those.

also, how do i load a rom into this? do i specify the path?

If you want to start a recomp for an N64 game I suggest looking at other already existing recomp projects, like the Zelda64Recomp repo. Currently there's no guide on how to setup a recompilation of a game, there are plans to make a minimal example in the future, but there it is low priority compared to other stuff that's being worked on.

Sorry for not responding earlier.

Degamisu commented 4 months ago

The recommended way to build this on Windows is to use clang and cmake installed from the Visual Studio Installer. The Zelda64Recomp repo has some instructions on installing those.

Got it! Is there anything else I should know or any resources?

If you want to start a recomp for an N64 game I suggest looking at other already existing recomp projects, like the Zelda64Recomp repo. Currently there's no guide on how to setup a recompilation of a game, there are plans to make a minimal example in the future, but there it is low priority compared to other stuff that's being worked on.

This one seems interesting. Once I figure out a way to make this all work, I could probably set up a sample repo for this with automatic building.

One more thing, would I need to make a launcher? Or if I build the executable from C it would just automatically launch.

Many thanks!