Skeli789 / Complete-Fire-Red-Upgrade

A complete upgrade for FireRed, including an upgraded Battle Engine.
576 stars 264 forks source link

"Unable to load DLL" error when inserting code #86

Closed Limesar closed 3 years ago

Limesar commented 3 years ago

I've been trying to compile this onto a fresh FireRed 1.0 rom, but I keep running into some kind of hitch. While the installation guide helped me solve most of them, the title of this issue was never mentioned. I'm not sure if this is the sole reason why the compiled test rom doesn't work, but I believe this is at least one of the factors.

This issue extends to the Dynamic Pokémon Expansion as well. It doesn't seem to matter if I compile CFRU or DPE first, neither of them work. Compiling CFRU causes the game to reset before it can fully transition from the opening credits screen (the very first screen that pops up), and compiling DPE first has the game stuck at a white screen while glitched audio plays.

I can't seem to find the particular DLL file anywhere either. If someone here can provide it, I'd appreciate that very much.

(Error that pops up when running the make.py script) unable to load dll

(Result when compiling CFRU first) https://user-images.githubusercontent.com/89325465/130359972-73add757-bb84-47cd-9f83-77e3e24592a9.mp4

(Result when compiling DPE first) https://user-images.githubusercontent.com/89325465/130359990-b213839c-3bcc-49ab-9a60-df47747fe0a8.mp4

Limesar commented 3 years ago

So uh. I didn't think to comment about this sooner, but I initially had multiple compiling warnings when following the installation instructions. I also glossed over the note underneath Step 1 (as shown here:) oops

When I found those warnings, I tried to "fix" them by going over to the files that were in need of "fixing". Then I found the aforementioned note and went through that accordingly.

I more than likely left those "fixed" files the way I had changed them after the fact. The DLL error had nothing to do with why I wasn't getting a good compiling.

Once I'd redownloaded both CRFU and DPE and replaced the old files, both test.gba ROMs that are compiled with a fresh FireRed copy work. (Though the DLL error still pops up for whatever reason. If it's not the cause of my troubles, I guess it's fine.)

All I can really say is: oops.