Patch Leon's DPE + CFRU Base and Ultimate Rom Base Page 17

Started by Prof. Leon Dias June 9th, 2018 10:29 PM
  • 229089 views
  • 512 replies
Male
Seen 1 Hour Ago
Posted December 26th, 2021
387 posts
2.9 Years
HOW DO I USE IT.
I AM NEW TO ROM HACKING PLEASE HELP
According to the main post, he said, "Do Note: If you are completely new to ROM Hacking, this probably isn't for you. This requires at least an intermediate level of understanding and practice to use effectively. "
Male
Mother Earth. My heart's in Unova.
Seen November 17th, 2022
Posted November 8th, 2020
19 posts
3.1 Years
Hey, had any luck fixing your problem? I'm having the same one and it's really, really weird. It's not just the first move you add, too. Every single new one transforms into Breakneck Blitz for some reason.
Male
India
Seen December 19th, 2020
Posted December 7th, 2020
7 posts
2.6 Years
According to the main post, he said, "Do Note: If you are completely new to ROM Hacking, this probably isn't for you. This requires at least an intermediate level of understanding and practice to use effectively. "
I am not new to ROM hacking, actually i am new to ROM base.
Sorry i have commented wrong
Now i am watching tutorials for this
Male
Seen 5 Days Ago
Posted November 22nd, 2022
19 posts
7.1 Years
I am trying to insert new attacks after Dragon Energy and before the Z-Moves. I repointed them correctly as you can see for both their name strings and their defines. and I even repointed the Z-Moves and Max Moves to be after the non Z-moves I put. When I add the custom move to a learnset it shows up correctly on the pokemon menu and even on the battle menu, and even shows the correct animation, but when I use the move in battle it says <POKEMON> used Breakneck Blitz. I added the move description and battle abilities using G3T's move editor. I also tried removing the Z-Moves from the defines and the strings, but it didn't make a difference.




Does anyone still not know how to fix this problem?
Male
Seen January 7th, 2021
Posted December 3rd, 2020
1 posts
6.4 Years
Can someone please help me...
I've followed all of the steps up until you're meant to run the make.py through cmd...
Problem is, a black screen flashes but literally nothing happens.

I'm thinking the files are simply in the wrong directory, or the command does not know which files to start compiling. Can someone please let me know where the DPE master folder ought to be when running make.py?

Alternatively - I really just want a version of the rom base that has all the mons with the .ini. That's really all I'm wanting - but I'm kinda stuck right now

darkyy92

Creator of Pokemon Elite Redux

Age 30
Male
Zurich, Switzerland
Seen 4 Days Ago
Posted April 7th, 2023
10 posts
8 Years
Does anyone know why this CFRU compiling errors show up? I didn't change the overworld.c file or anything with "HM05_Dive".
I tried to apply CFRU to the previously successfully compiled test.gba (DPE compile) and also to a vanilla Fire Red.



Errors:
C:\Users\darky\Google Drive\Pokemon\ROM Hacks\Pokemon FireRed Reloaded\Leon Rom Base\CFRU>python scripts//make.py
Compiling ./src\overworld.c
./src\overworld.c: In function 'TrySetupDiveDownScript':
./src\overworld.c:2418:10: error: 'ITEM_HM05_DIVE' undeclared (first use in this function); did you mean 'ITEM_TYPE_DRIVE'?
2418 | item = ITEM_HM05_DIVE;
| ^~~~~~~~~~~~~~
| ITEM_TYPE_DRIVE
./src\overworld.c:2418:10: note: each undeclared identifier is reported only once for each function it appears in
./src\overworld.c: In function 'TrySetupDiveEmergeScript':
./src\overworld.c:2445:10: error: 'ITEM_HM05_DIVE' undeclared (first use in this function); did you mean 'ITEM_TYPE_DRIVE'?
2445 | item = ITEM_HM05_DIVE;
| ^~~~~~~~~~~~~~
| ITEM_TYPE_DRIVE
Any help would be greatly appreciated! 😊

EDIT: I solved the problem by disabling (commenting out) the following line in src/config.h :
#define ONLY_CHECK_ITEM_FOR_HM_USAGE //Allows HMs to be used if the HM is the Bag, and as long as there is a Pokemon in the party that can learn the HM
Does anyone know how to use this feature?

Pyxal

It's pronounced pixel.

Age 17
Pakistan
Seen 6 Hours Ago
Posted 5 Days Ago
987 posts
3.8 Years
Does anyone know why this CFRU compiling errors show up? I didn't change the overworld.c file or anything with "HM05_Dive".
I tried to apply CFRU to the previously successfully compiled test.gba (DPE compile) and also to a vanilla Fire Red.



Errors:


Any help would be greatly appreciated! 😊

EDIT: I solved the problem by disabling (commenting out) the following line in src/config.h :


Does anyone know how to use this feature?
You probably messed something up when editing the item files, which, I believe, Leon has in the base. Just edit the item files again; correctly.
Seen 3 Weeks Ago
Posted March 9th, 2023
852 posts
2.4 Years
Alright I'm still having the problem, others had with the damage calculation and trainer_secret_base being undeclared.

I've got everything else going but that, I followed guides, got dpe going, I just need this to work so I can get CFRU patched to it.

Attachment 95377
Ok figured it out the problem is actually all in the config file.

Go to src config.h and make sure to carefully read through the requirements of the things you're commenting,
like 1 line required I put a value in, based on the value I had in another field but +8.

After I got that all in line things ran smoothly. I recommend anyone trying this to get familiar with the repo i.e look around through the folders read through the files in notepad, before they actually try anything.

Doing that will greatly help you figure out where you've gone wrong as you'll understand what links to what a bit better.

Also when making your paths, copy the pathway to your arm45 bin folder. then in windows go to control panel, system, advance system settings, then environmental variables.

In the system variables window at the bottom, click path and edit.

When everyone says "add your path to the end" what you need to do is click new, then paste in the path to the bin folder you copied at the start.

That's it, then just click ok on all the windows to confirm and close them out. The final and most important thing you need to do is RESTART YOUR COMPUTER. Then you'll (should) be able to compile no problem.
Seen January 26th, 2022
Posted May 8th, 2021
4 posts
2.3 Years
One thing I'm confused about that hopefully someone more knowledgeable can clear up. The guides say to do all scripting and trainer editing before adding CFRU. But for me none of the pokemon moves show up until after CFRU is added.

pokemoves.jpg

Is it alright to edit trainer data after CFRU or have I done something wrong?
Seen March 15th, 2023
Posted March 10th, 2023
17 posts
3.2 Years
I've run into a slight roadblock trying to figure out how to use this. I managed to get the patch installed (not intending to use DPE/CFRU. just the ROM Base itself, since the post seems to make it clear that DPE/CFRU are not mandatory?) and using the INIs provided, G3T cannot read really anything correctly. Specifically, it doesn't show proper names for Pokémon past Chimecho, and attempting to load any of them throws a ton of errors, causing G3T itself to basically have its own little panic attack. Other comments in this thread have been saying that the INIs need to be manually edited, but how do I find the offset values I need to replace the ones in the INI with? I would think the INI being provided specifically for the ROM base would mean it'd at least be configured for the base (that is, not requiring DPE or CFRU?)? This is quite confusing.
Male
Seen 1 Hour Ago
Posted December 26th, 2021
387 posts
2.9 Years
I've run into a slight roadblock trying to figure out how to use this. I managed to get the patch installed (not intending to use DPE/CFRU. just the ROM Base itself, since the post seems to make it clear that DPE/CFRU are not mandatory?) and using the INIs provided, G3T cannot read really anything correctly. Specifically, it doesn't show proper names for Pokémon past Chimecho, and attempting to load any of them throws a ton of errors, causing G3T itself to basically have its own little panic attack. Other comments in this thread have been saying that the INIs need to be manually edited, but how do I find the offset values I need to replace the ones in the INI with? I would think the INI being provided specifically for the ROM base would mean it'd at least be configured for the base (that is, not requiring DPE or CFRU?)? This is quite confusing.
To add the pokemon, use dpe and for many features to work, you also need cfru, the ini is obtained from offsets.ini after compiling cfru and dpe
Seen January 26th, 2022
Posted May 8th, 2021
4 posts
2.3 Years
Does anyone know why this CFRU compiling errors show up? I didn't change the overworld.c file or anything with "HM05_Dive".
I tried to apply CFRU to the previously successfully compiled test.gba (DPE compile) and also to a vanilla Fire Red.



Errors:


Any help would be greatly appreciated! 😊

EDIT: I solved the problem by disabling (commenting out) the following line in src/config.h :


Does anyone know how to use this feature?
I had this same problem. I fixed it by changing ITEM_HM05_FLASH to ITEM_HM05_DIVE in items.h
Seen March 15th, 2023
Posted March 10th, 2023
17 posts
3.2 Years
To add the pokemon, use dpe and for many features to work, you also need cfru, the ini is obtained from offsets.ini after compiling cfru and dpe
Wait what?!? The old version of this base already had up to gen 7 built-in, didn't it?

Is there any way to get that without needing to learn an entire new coding language?