• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Development: The Ruins of Alph Puzzles

Can anyone tell how to implement it?
When I type that code in cmd in root folder, shows error,
Here is what I did:
Copied my rom in root, then copied 3 files from bin folder of gnumake, then open cmd here, and typed the following:
make bpre fname="test" offset=800000
My rom name was test, obviously...
You're meant to use devkitPro and its toolkit in order to build this. Also, you need to also give the file extension in the fname parameter.
 
Can anyone provide me a bin file insead?
Problems compiling,
Offset > 0xAA0000
What issues are you having? It would be best to fix those problems instead of someone providing you a binary.
 
That's true, Do i need any software for this?
I have make and devkitpro installed and added to patch variables...
Also have java runtime.
Plz guide me, thanks
Well what's your actual issue? When you try to build it, what happens?
 
I copied 3 files from bin folder of GnuMake and pasted them in repo, created a new empty folder called build, shift+right click and open cmd here, typed make and enter...
Giving error,

Actually sharing error screenshot can be really helpful to help you out ;)
 
I copied 3 files from bin folder of GnuMake and pasted them in repo, created a new empty folder called build, shift+right click and open cmd here, typed make and enter...
Giving error,

Have you paid attention in Diego's thread? It's not a simple "make":
Code:
make (ROM code) fname="(ROM name.gba)" offset=(free space offset)
Example:
Code:
make bpre fname="BPRE0.gba" offset=0x9E0000
 
Last edited:
Do we have to edit linker.sc?

I don't know because I never tried to compile it, but I will take a look when I get a chance.


Spoiler:

It will only show one picture? If I want to make all pictures from GSC I need to compile it many times? If the puzzle is solved, there is a flag/var that checks it for future uses?
 
I copied 3 files from bin folder of GnuMake and pasted them in repo, created a new empty folder called build, shift+right click and open cmd here, typed make and enter...
Giving error,
Why are you copying anything from GnuMake? Either the devkitPro tools should already be in your PATH or you should be executing this from within the environment installed by devkitPro (called msys). You also shouldn't be creating a build folder, you should be executing this inside the root of the repo.
It will only show one picture? If I want to make all pictures from GSC I need to compile it many times? If the puzzle is solved, there is a flag/var that checks it for future uses?
Just realized I left out some important parts to the actual in-game script from the instructions. I've added them in now, so check the first post in this thread for your answer.
 
Just realized I left out some important parts to the actual in-game script from the instructions. I've added them in now, so check the first post in this thread for your answer.

Awesome (obviously ^^).

One thing, this source supports additional puzzles? (because I want to add puzzles for all Fossil Pokémon)
 
Awesome (obviously ^^).

One thing, this source supports additional puzzles? (because I want to add puzzles for all Fossil Pokémon)
Well it's just code. As long as you understand how it all works together, you can do anything you want to it.
 
If you want a hg/ss style graphics I created this

[PokeCommunity.com] The Ruins of Alph Puzzles


now a question: after the callasm if I resolved the puzzle or not the script finish...

my script for fire red (U) 1.0

Code:
'---------------
#dynamic 0x800000
#org @start
lockall
msgbox @mess1 0x6
setvar 0x8004 0x0
fadescreen 0x1
callasm 0x8A00001
waitstate
compare LASTRESULT 0x1
if 0x1 goto @success
msgbox @mess3 0x6
releaseall
end

'---------------
#org @success
msgbox @mess2 0x6
releaseall
end


'---------
' Strings
'---------
#org @mess1
= Wow! A puzzle!

#org @mess3
= Bad News...

#org @mess2
= Good Job!

The messages "Good Job!" and "Bad News" don't appear in any case...the script finish before...
 
The messages "Good Job!" and "Bad News" don't appear in any case...the script finish before...
It seems the FireRed port was buggy and didn't correctly return to the overworld. Pull the latest commit and try building it again.
 
So to use that hgss style I just replace the file from folder?
Does it use same pallete?

If you want to use this new background you must re-edit the file in M_X-RuinsofAlph/img_bins/background.h with the byte of this background or you can change the pointer offset (tiles and map) after.
The palette is not the same, but I just index it.
 
Gettin errors, diego.
I dropped my rom named BPRE0 in root, edited xxxxxx to 990000 in linker file, and in cmd typed
make bpre fname=BPRE0.gba offset=990000
Xactly tgat, sam cases as I typed above, no quotes too in fname...
Is that right?
You shouldn't need to edit the linker file at all; the whole point of the offset argument is that it automatically generates a proper linker file and inserts itself at that offset.
 
I'm having trouble compiling this. Every time I try, I get the error:
Spoiler:

Any suggestions of what I could be doing wrong?
 
I'm having trouble compiling this. Every time I try, I get the error:
Spoiler:

Any suggestions of what I could be doing wrong?
That's really interesting.. You've installed devkitARM, right? And your Windows "Path" environment variable points to it too?
 
That's really interesting.. You've installed devkitARM, right? And your Windows "Path" environment variable points to it too?
Yup. I installed msys also and was able to get the error down to this:
Spoiler:

How do I get the compiler to recognize the command "sed"?
 
Your Path does not have Devkiarm there, also GNUmake bin fodler.
They do. Both my user variables and environment variables have a path to the DevkitARM bin folder, the GNUmake bin folder, and the msys bin folder.
 
I need an help with this
Spoiler:
i use Windows Google is todays now useless search it and i sorry if this an old Thread.
 
Back
Top