![]() |
How to compile Jambo51's OakTutorial codes
I've found a pack of code on Jambo's GitHub: https://github.com/Jambo51/OakTutorial
I use windows 8.1 as my operating system, but i just can't compile this code. I have installed make, and copied the 3 files from the bin directory as is shown in the "mega evolution code compilation tutorial". Then I create a new folder naming "build" in the folder. Then I rename the ROM to test.gba and then put it in the folder with the codes. Then I double-click the configure.py to get the "makefile" and it seems successful. Then I open the terminal in the directory and write "make" but there's an error saying that the system can't find the specific file. The words shown in it is: Code:
Code:
|
Well, first of all, that is my code, not Jambo's. You need to click the "forked from Touched/OakTutorial" underneath the title to get to my version of the repository which is probably more up to date.
In order to compile this code, you need to point it to the binaries you'll be using to compile. Most people use devkitARM, and they're in the format "arm-none-eabi-as" instead of "arm-linux-gnueabi-as". You need gcc, ld, as, objcopy and objdump. Simply replace the names on the right hand side of the code in configure.py lines 129 - 136. Then re-run the script and try make again. Make sure the binaries for devkitARM are in your path environment variable otherwise you'll get similar errors. |
Quote:
Information shown in the command prompt: Code:
|
Quote:
|
Quote:
Now the "a.bin" is generated successfully, so i type make insert to make it be inserted at the default offset (0x800000) and it seems to succeed. But how can i use it? Where should i place a pointer or something to make it replace the original intro? I think it's not included in the Readme file. |
Quote:
Then make the following byte changes. The offset is on the left, the old byte in the middle and the byte you must change it to on the right. Spoiler:
Then pointer a pointer to the location +1 at both 0x12f7c0 and 0x12ee90. That should insert it over the old intro. Hopefully that works, since I can't seem to find any of the ROMs that I was using. |
Quote:
0012EBA1 9A E6 In my ROM it's ED instead 0f 9A and 9A appears at 0x12EBA0... Edit: I subtract 1 from all the offsets given and the value are correct. Then I done all the byte changes and placed 2 pointers (01 00 80 08) at 0x12f7c0 and 0x12ee90. But after the title screen, the game goes to the bootscreen again, so it failed. |
| All times are GMT -8. The time now is 2:30 AM. |
![]()
© 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.