The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   ROM Hacking Resources (https://www.pokecommunity.com/forumdisplay.php?f=502)
-   -   Patch Leon's DPE + CFRU Base and Ultimate Rom Base (https://www.pokecommunity.com/showthread.php?t=409672)

Low End Gaming November 7th, 2020 7:06 AM

Guys what helped me the most was the rom hack planner

Kapil Kumar November 8th, 2020 7:16 AM

HOW DO I USE IT.
I AM NEW TO ROM BASE PLEASE HELP

Mason Shu November 8th, 2020 9:23 AM

Quote:

Originally Posted by Kapil Kumar (Post 10228561)
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. "

Megagigon November 8th, 2020 2:34 PM

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.

Kapil Kumar November 8th, 2020 7:51 PM

Quote:

Originally Posted by MASON SHU (Post 10228593)
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

Hellfax November 9th, 2020 12:06 AM

No, no luck so far.

Mason Shu November 20th, 2020 3:55 PM

Is step
03D. Paste this immediately after and before [ITEM_EXPERT_BELT]:

[ITEM_RUSTED_SWORD] = ITEM_TYPE_HELD_ITEM,
[ITEM_RUSTED_SHIELD] = ITEM_TYPE_HELD_ITEM,
In itemtables
necessary? (It already exists)

Hellfax November 21st, 2020 8:11 AM

Quote:

Originally Posted by Hellfax (Post 10222502)
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.
https://i.imgur.com/qLCnvvg.png
https://i.imgur.com/IFsTvLo.png
https://i.imgur.com/6qbwDVj.png
https://i.imgur.com/SdBQea9.png
https://i.imgur.com/4Xw5Pqx.png

Does anyone still not know how to fix this problem?

sunstraal December 3rd, 2020 3:40 AM

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

Hellfax December 3rd, 2020 9:52 AM

I set the asm_defines correctly as well, is there any other stuff i need to configure to fully setup new moves.

Ronildo December 14th, 2020 3:06 PM

my pokemons don't evol, how to fix?
and how to activate mega ev?

Mason Shu December 14th, 2020 3:40 PM

Quote:

Originally Posted by Ronildo (Post 10244883)
my pokemons don't evol, how to fix?
and how to activate mega ev?

You'll need to install the CFRU and DPE repos and compile editing the "Required Edits" folder

darkyy92 January 1st, 2021 1:41 PM

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.

https://i.imgur.com/mpLKBi0.png

Errors:
Quote:

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 :
Quote:

#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 January 2nd, 2021 11:28 PM

Quote:

Originally Posted by darkyy92 (Post 10254085)
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.

https://i.imgur.com/mpLKBi0.png

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.

Meister_anon~Master_o f_None January 20th, 2021 11:58 PM

1 Attachment(s)
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

Meister_anon~Master_o f_None January 21st, 2021 10:51 PM

Quote:

Originally Posted by Meister_anon~Master_o f_None (Post 10265279)
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.

Mc Roger January 22nd, 2021 12:18 AM

is this base compatible with dynamic overworld palettes?

or should i add dynamic overworld first? since the patch offset when I put the DPE is already in use.

sm7302 January 24th, 2021 2:20 PM

Forgive me for bothering, but I'm using this ROM Base, and the Intro Editor is missing 3 offsets in the .ini, file, being "Pokemon Names", "PokemonImageTable", "PokemonPaletteTable". If anyone is able to help me find the offsets, let me know.

kalarie January 25th, 2021 3:12 PM

@Mc Roger

Dynamic Overworld Palettes is one of the features that is already present in the CFRU iirc.

knoxphox January 27th, 2021 10:47 PM

1 Attachment(s)
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.

Attachment 95509

Is it alright to edit trainer data after CFRU or have I done something wrong?

Snowka85 January 30th, 2021 11:26 PM

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.

Mason Shu January 31st, 2021 1:33 PM

Quote:

Originally Posted by Snowka85 (Post 10271154)
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

knoxphox February 1st, 2021 11:42 PM

Quote:

Originally Posted by darkyy92 (Post 10254085)
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.

https://i.imgur.com/mpLKBi0.png

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

Snowka85 February 3rd, 2021 6:33 PM

Quote:

Originally Posted by M̷̗̟̥̏a̶̰͐̐̇s̸͙̈͗̊o̵̡̩͐̑̒n̷̗̗̈ (Post 10271576)
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?

Mason Shu February 3rd, 2021 10:10 PM

Quote:

Originally Posted by Snowka85 (Post 10274332)
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?

You don't need to learn code. The instructions are very nice:)


All times are GMT -8. The time now is 8:08 PM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.