The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary Hack Research & Development (https://www.pokecommunity.com/forumdisplay.php?f=195)
-   -   Development BETA RELEASED 19/06/2016 | PRHE (Pokémon Ruby Hacked EINGine) (https://www.pokecommunity.com/showthread.php?t=323366)

eing15 April 7th, 2014 4:52 AM

BETA RELEASED 19/06/2016 | PRHE (Pokémon Ruby Hacked EINGine)
 
¡Hello to everyone!
It have past more time ago since my last visit to pokeco. I visited it when i'm a simple Rom Hacker.
Btw, now i study a lot and i applicate it to the Rom Hacking, so i win new experience, like in ASM programation.

Well, stop to explaining my life and then I'll go to explain the thread.
I want to post my project call PRHE (Pokémon Ruby Hacked EINGine) -thanks to JPAN for the idea with his project Fire Red Hacked Engine, he motived to me to do something like his path, but in ruby and with my routines-

The path is actually in development, and i'm doing it when i have time to investigate, think about ideas, and more. And when i'm not working in my project jeje.

Now, i will to share with us some features that i add.

LOAD SOME MINISPRITES


Explanation:
In this video, i load a minisprite from a table that i created in some free space in the rom. Thanks to the var 0x40fe i can load the minisprite that indicate in this var.

Bugs:
-You Can't use "b" to run.
-You Can't use surf, cycle, cut.. and other minisprite animations.
-You Can't use minisprites with another size that isn't be 16x32.
-The sprite don't change.
-The backsprite don't change.
-NSE will doesn't load the minisprites table, don't worry is too easy to fix it. (The overworld editor don't provocate any problems).

LOAD 65535 PALETTES



Explanation: You sacrificate one palette in the rom. (I sacrificate the 3 palette...) and order to the rom that it's will be load in the ram. (NOT in ROM!!)
Then, you load the value of var 0x40fd and load the palette of this position * 0x20 in your new table palettes. (You don't need in any moment to repoint the principal table palette, only you need to create the new one that will use the palletes of the minisprites in palette 3)
The great utility of it is that you can insert minisprites with a palette that you only use for this minisprite. For example the ship of fr, (Before that made this routine, i only use this palette for this minisprite, now for alot of minisprites).
To insert the sprites in this palette is too easy, you only need to insert the sprite in other palette that will not "3" and whitout import palette.

Bugs:


-NSE will doesn't load the minisprites table, don't worry is too easy to fix it. (The overworld editor don't provocate any problems.


Well, there are the only two features that i add at this moment, but every day i'm continuing study which features i can add. And in the next days i will update with corrections of bugs, or explaining better the "65535 palettes".

Credit and Thanks to each ASM hackers that shares her knowledge in form of tutorials. (Hackmew, ZodiacDagreat, ShinyQuagsire..etc)

Don't forget to give me more ideas!

eing15 April 14th, 2014 3:30 AM

Hello to everybody, I'm sad to don't see any coments, and obligate to me to do double post, but.. What can I do?

Today, i will give tu us an small change of the routine that allows to us use each mini in the rom. You can load it's without think about the size.



That's all!

jan2prado April 14th, 2014 3:46 AM

Probably no one is commenting cus' Ruby's code is messed up... and there are a little Ruby Hackers out there cuz' Emerald has all the stuff that Ruby features.. anyways.. I hope somebody would actually notice this..

loldamaru April 14th, 2014 4:39 PM

Hi eing15! This actually good, so hackers can use Ruby and FireRed as their base for hacking. Actually, OW sprite in ruby can be added with replacing Secret Base stuff. But, if we can add some more, i think that would be interesting. I hope you can fix the bug and add new features, so maybe some hacker interested using your ROM base.


~XDamaru

AtecainCorp. April 15th, 2014 11:35 AM

Are you planing to resize Pokemon Dex spaces? I mean make possible to add new Pokemon to the game.

Tyranitar Killer April 16th, 2014 3:06 AM

can you explain to me a novice hacker what this engine mean

eing15 April 18th, 2014 4:17 AM

Quote:

Originally Posted by jan2prado (Post 8197676)
Probably no one is commenting cus' Ruby's code is messed up... and there are a little Ruby Hackers out there cuz' Emerald has all the stuff that Ruby features.. anyways.. I hope somebody would actually notice this..

Maybe you are saying the true, but.. there are some rom hackers that now continue using pokémon ruby as their rom base, so this rom base is for they.

Quote:

Originally Posted by XDamaru (Post 8198493)
Hi eing15! This actually good, so hackers can use Ruby and FireRed as their base for hacking. Actually, OW sprite in ruby can be added with replacing Secret Base stuff. But, if we can add some more, i think that would be interesting. I hope you can fix the bug and add new features, so maybe some hacker interested using your ROM base.



~XDamaru

Thanks, i don't know the method which is used in the secret base, maybe i need to investigate or search something about it. About the bugs, i working on fixing it, but at this moment that it isn't fixed, i see that every body can use Overworld editor, that it works fine.


Quote:

Originally Posted by Ksiazek Bartlomiej (Post 8199534)
Are you planing to resize Pokemon Dex spaces? I mean make possible to add new Pokemon to the game.

I never try to do it. Maybe when i end the researches that i'm doing i'll do it. But i don't promisse anything.

Quote:

Originally Posted by Tyranitar Killer (Post 8200392)
can you explain to me a novice hacker what this engine mean

This Engine, is a Pokémon Ruby Hacked by me, like Jpan engine, but not in FR, in ruby.
This engine, the purpose is add some features that the normal pokémon ruby doesn't have, and facilitate the work of rom hackers that don't know ASM, and allow to use it without knowledge.

------
Ok, after to answer everybody -thanks for post, it made me happy- i will post a new video.


In this video i show the normal D&N routine made by Prime-Dialga. But i add an small features.
For example, i add the illumination of the windows, or other tiles in the map.
It's very usefull, and allow us to use it without script levels in each map with setmaptiles.
Futhermore, i use one pallete that will illuminate after 00 hours, because is too late and in the real life, not everybody is aslepp at this hour. (For example pokemon center, are allways open, so its windows allways be illuminated, but the mart no).

Cya!

loldamaru April 20th, 2014 5:06 AM

Quote:

Originally Posted by eing15 (Post 8203289)
------
Ok, after to answer everybody -thanks for post, it made me happy- i will post a new video.


In this video i show the normal D&N routine made by Prime-Dialga. But i add an small features.
For example, i add the illumination of the windows, or other tiles in the map.
It's very usefull, and allow us to use it without script levels in each map with setmaptiles.
Futhermore, i use one pallete that will illuminate after 00 hours, because is too late and in the real life, not everybody is aslepp at this hour. (For example pokemon center, are allways open, so its windows allways be illuminated, but the mart no).

Cya!

What? Without setmaptile script? That will be cool eing15! And oh, could we expand attack table, type table and Pokemon table with this hacked engine? If we can, good luck with it then :D

eing15 April 27th, 2014 4:24 AM

Quote:

Originally Posted by XDamaru (Post 8206602)
What? Without setmaptile script? That will be cool eing15! And oh, could we expand attack table, type table and Pokemon table with this hacked engine? If we can, good luck with it then :D

Yes, it works without setmaptile script. But for works great you need to be an order hacker. (Because you need to use the same palettes allways for the windows, if you don't do it, maybe other tiles will be illuminates xD)

About expan attack table, type table, and pokémon table, there isn't be in my head now. (I'm working in small things, that pokemon ruby in its time didn't have, but as i say, maybe in the future i study how to add it).

------------
Well, now I aport a new video, here is it.


In this video, i delete/dismiss the Birch intro of pokémon ruby, and go directly of the default map that you start. (Here is the most important part, you can load a black map, and customize your own intro, of course, with XSE or Pokescript).
There are any bugs, but you need to know that your name will be the default name for boy, and you will be a boy. (But it's easy to fix, calling one asm routine, and writebytetoffset in 02024eac if you want to change the gender).

Cya!

eing15 May 1st, 2014 1:42 PM

Hello, to everybody!
Today I gonna present to you how to change the name of the player.
Like in the intro.



In the future maybe I change the routine, to load more sprites than only the specifies in the genre value
cya!

loldamaru May 2nd, 2014 3:04 PM

Quote:

Originally Posted by eing15 (Post 8218969)

About expan attack table, type table, and pokémon table, there isn't be in my head now. (I'm working in small things, that pokemon ruby in its time didn't have, but as i say, maybe in the future i study how to add it).

------------
Well, now I aport a new video, here is it.


In this video, i delete/dismiss the Birch intro of pokémon ruby, and go directly of the default map that you start. (Here is the most important part, you can load a black map, and customize your own intro, of course, with XSE or Pokescript).
There are any bugs, but you need to know that your name will be the default name for boy, and you will be a boy. (But it's easy to fix, calling one asm routine, and writebytetoffset in 02024eac if you want to change the gender).

Cya!

It's okay if we cant yet adding new types, move, PKMN ... just let me know if you can
Also, will you give us tutorial about creating new custom intro with this.? Of course after you release it..
Thanks again...

eing15 May 21st, 2014 7:31 PM

¡Hello to everybody!
You never imagine do wildbattles with more pokémon than the Advance Map permess?
Or classify the pokémon's by areas?

One week ago, I think about it, and I try to do it, and i made it fine.
I made a routine that allow to load pokémon by areas, following this instruccions:

Type of route:
Wood: Each bug and grass types will appear here. (setvar 0x40fc 0x1 at entering the map)
Mountain: Rock, Steel, Fire, ground, dragon, fight (setvar 0x40fc 0x3 at entering the map)
Sea: Water, (setvar 0x40fc 0x3 at entering the map)
Normal: Normal, Psychic, fly, electric (30 % appear in each encounter)
Dark: ghost, dark (Allways appear at night)
Cold: Ice (Always appear in winter)

Season:
Different pokemon wild appear in each season. (The most diferent will be winter with ice pokémon and summer with cacnea and another pokemon like it)

Period of the day:
Morning: Appear pokémon like to wake up early (Beautifly for example)
Day: Appears the most pokémon at the day.
Night: Dark/ghost and zubats will appear in the wildbattles and another pokémon like to walk at night.

Rare:
It isn't the same have a willbattle with machop that machamp right now?
The majority of pokémon in the last evolution, will be rare (If are overUsed) and the starters or rare pokemon like Mr. Mime, babys, starters..

Finally, there is the video:



¿What do you say? ¿You don't like it?
No problem, if you set "setvar 0x40fc 0x0", the routine will load the pokémon that are in the wildbattles area map!

Hope you like it!

Le pug May 22nd, 2014 6:32 AM

I love what you're trying to do to contribute to Ruby hackers. I just wish you'd also do the same for Emerald. Do you think you'll ever port some of your stuff over to Emerald? I'd kill for the minisprite change asm ... that'd be great for certain events like putting on costumes to blend in and what not. Also I love the OW that you use as the hero, is it yours?

AtecainCorp. May 22nd, 2014 12:08 PM

You did a great work. I counting on you man. First who want make Pokemon Ruby Hacking more easier. When you end I can use your base for my hack?

Salamence™ May 23rd, 2014 11:31 PM

If i hacked ruby i would use that :D

Kakarot1212 May 26th, 2014 5:58 PM

Yay! Finally, an engine for ruby. ^_^
The stuffs that your putting are great man, this would come in handy. :)

I'll be looking forward to this bra.

eing15 June 1st, 2014 5:14 AM

Quote:

Originally Posted by Le pug (Post 8263355)
I love what you're trying to do to contribute to Ruby hackers. I just wish you'd also do the same for Emerald. Do you think you'll ever port some of your stuff over to Emerald? I'd kill for the minisprite change asm ... that'd be great for certain events like putting on costumes to blend in and what not. Also I love the OW that you use as the hero, is it yours?

Maybe when I finish this engine, i'll go to port some stuff to emerald. Because it doesn't have engine, like ruby. (Only exist for fire red..)
About the change of minisprite with asm, it's quite simple to do in my engine. And work fine, but it have only a little "bug", that is the NSE doesn't work meanwhile the pointers of the sprites are pointing to the ram. (Change the pointer to the last value, and it work fine again..)

Quote:

Originally Posted by Ksiazek Bartlomiej (Post 8263734)
You did a great work. I counting on you man. First who want make Pokemon Ruby Hacking more easier. When you end I can use your base for my hack?

Hahaha that is because i only hack pokémon ruby. I don't like Fr because it works to slow in my emulator. (Ruby emulates over 800 % in the best cases)
Sure, i do it for people that will hack and don't know asm and want to add some properties to her/his hack that the normal ruby doesn't have.

Quote:

Originally Posted by Salamence™ (Post 8265893)
If i hacked ruby i would use that :D

Nice!!

Quote:

Originally Posted by Kakarot1212 (Post 8270691)
Yay! Finally, an engine for ruby. ^_^
The stuffs that your putting are great man, this would come in handy. :)

I'll be looking forward to this bra.

I'm working on do ruby more interestant..

After answer to everybody that post, i would like to post here some news about PRHE (Pokémon Rubí Hacked EINGine).
Here it is.

- Dismiss the Prof. Abedul intro (You start at the map that you choose with the tool Start Map chooser)
- Routine that allow to use to give a name to the protagonist. (With a callasm in some script)
- Dismiss the girl player. (It's because you can control each minisprite in the rom)
- Iluminate windows at night in the D&N system without setmaptiles. (D&N routine made by Prime dialga, I only edited it to illuminate the windows).
- Routine to do shiny pokemon. (Hackmew)
- FF FF palettes for the palette "15" (The palette that use the ship, that significate that is a dynamic palette)
- Dynamic minisprite of the hero (You can control FF FF diferent minisprites)
- Invisible textbox with asm (Set the textbox invisible with only a callasm)
- Efects in the textbox with asm (Like black screen with white text in the center)
- Make textbox to default with asm (Back the textbox to normal, after change it)
- Dynamic wildbattles in the grass. (Based on which reoute are we, seasson, part of the day, and rarity of the pokemon specie)



After to post the modifications that have the PRHE (Pokémon Rubí Hacked EINGine, I will post in what I'm working now.

- Sistem of energy, hungry and Luck.

http://i.imgur.com/xDyrnm1.png?1?9986

(Translate the textbox: "You need to sleep before pass 1 hour, if you dismiss this alert you will be fainted")

As you can see, when we need to sleep/eat the game will give us an advice like the msgbox above.
(The msgbox will be open all the time, only will be closed if we enter on inside map like cp, or homes.. and if load another msgbox o refresh the map -enter in the bag menu for example-)
When the map is refreshed, but we dismiss the advice, if we change the map the advice gonna appear again. As I said, the advice will be active ALWAYS. Only disapear if they obey the advice, or dismiss it. -Finally have beed fainted-)

- Calculator, for execute multiple operations with the data, like add, sub, mul, div, square root, XOR, OR, AND ..

- Hordas pokémon in pair of two, it only appear if the want it. The species that will appear on it, will be or random species that based on the random wild battle system, or in the rare pokémons. (We can set it with a variable, and with the parametter "luck" that have our player)

- Roaming Pokémon (1 only type of it at the same time, for example articuno, zapdos and moltres, suicune, entei and raikou, mew, lugia, ho-oh, latios-latias.. etc. But only 1 of these at the same time. I need to study it alot, to do it the best system..)


Cya and thanks for the coments!

PS. Maybe tomorrow more or less i post the video of the system of energy. (I only need to finish the part of be fainted, that i'm thinking how to do the best)

destinedjagold June 1st, 2014 5:00 PM

Quote:

Originally Posted by eing15 (Post 8280004)
- Sistem of energy, hungry and Luck.

http://i.imgur.com/xDyrnm1.png?1?9986

(Translate the textbox: "You need to sleep before pass 1 hour, if you dismiss this alert you will be fainted")

As you can see, when we need to sleep/eat the game will give us an advice like the msgbox above.
(The msgbox will be open all the time, only will be closed if we enter on inside map like cp, or homes.. and if load another msgbox o refresh the map -enter in the bag menu for example-)
When the map is refreshed, but we dismiss the advice, if we change the map the advice gonna appear again. As I said, the advice will be active ALWAYS. Only disapear if they obey the advice, or dismiss it. -Finally have beed fainted-)

Can you please add an option to disable this feature? xD
That's gonna be annoying, for me at least. :P

Kakarot1212 June 1st, 2014 5:19 PM

Quote:

Originally Posted by destinedjagold (Post 8281071)
Can you please add an option to disable this feature? xD
That's gonna be annoying, for me at least. :P

Yup, I agree with djg. This feature can be annoying, for some at least. :S

eing15 June 2nd, 2014 2:26 AM

Quote:

Originally Posted by destinedjagold (Post 8281071)
Can you please add an option to disable this feature? xD
That's gonna be annoying, for me at least. :P

Woa, finally destinedjagold the creator of the ruby destiny series comment here! nicee ^^
Btw, when you say "disable", what do you mean? As a hacker? Or a gamer?
In case that you have refered to hacker case, you only need to change only one pointer, dismissing this routine. (It will be programed, but not allowed because you don't call to it).
In the case that you will mean as a gamer, maybe I add an script at the start of the game that force you to choose your preferences.

Quote:

Originally Posted by Kakarot1212 (Post 8281088)
Yup, I agree with djg. This feature can be annoying, for some at least. :S

Read above, in the answer of Djg, and reply me. (I can made a routine to fix your preferences at the start, or if you prefer I give you the call pointer to this routine, and say you how bytes you need to push to disable it.

Shiny Quagsire June 2nd, 2014 10:14 AM

Just as a suggestion, but one of the things that made JPAN's engine so great was that the source code for the entire thing was available to the public to look at, examine, and modify. While I probably won't be using this due to my preferred interest in FR/EM hacking, it would be nice for those who are going to apply this patch to be able to view and modify the source code. Plus it might help in finding a solution for some of the present bugs in the engine as well.

destinedjagold June 3rd, 2014 9:16 PM

Quote:

Originally Posted by eing15 (Post 8281681)
Woa, finally destinedjagold the creator of the ruby destiny series comment here! nicee ^^

Erm...thanks?
But I've been watching this thread for a while now and I am quite excited for this. :3

Anyway...


Quote:

Originally Posted by eing15 (Post 8281681)
when you say "disable", what do you mean? As a hacker? Or a gamer?
In case that you have refered to hacker case, you only need to change only one pointer, dismissing this routine. (It will be programed, but not allowed because you don't call to it).
In the case that you will mean as a gamer, maybe I add an script at the start of the game that force you to choose your preferences.

When I said "disable", I meant it as a hacker. Changing one pointer to dismiss the routine sounds easy enough. ^_^
But your plan of giving the players the ability to choose in the game also sounds like a great idea. ^^

Anyway, keep up the great work~ ;)

Renegade June 3rd, 2014 9:37 PM

This is very cool, eing15~
All of the features look like they flow really well together and actually work. O_o

Great job so far, hope to see more soon~ :3

eing15 July 4th, 2014 2:20 AM

Quote:

Originally Posted by Shiny Quagsire (Post 8282232)
Just as a suggestion, but one of the things that made JPAN's engine so great was that the source code for the entire thing was available to the public to look at, examine, and modify. While I probably won't be using this due to my preferred interest in FR/EM hacking, it would be nice for those who are going to apply this patch to be able to view and modify the source code. Plus it might help in finding a solution for some of the present bugs in the engine as well.

Yeah, as i say in your profile, you're right.
When i post the eingine, i post the source code of the routines too.
It's better to the Information Technology World, because it allow to other people to learn with the code, or pull it.

Quote:

Originally Posted by destinedjagold (Post 8284976)
Erm...thanks?
But I've been watching this thread for a while now and I am quite excited for this. :3

Anyway...


When I said "disable", I meant it as a hacker. Changing one pointer to dismiss the routine sounds easy enough. ^_^
But your plan of giving the players the ability to choose in the game also sounds like a great idea. ^^

Anyway, keep up the great work~ ;)

As I said the last time, if a rom hacker want to disable it, he/she only need to change one pointer to another pointer, dismissing this routine.


Quote:

Originally Posted by Renegade (Post 8285004)
This is very cool, eing15~
All of the features look like they flow really well together and actually work. O_o

Great job so far, hope to see more soon~ :3

Thanks, i hope to do the best i can!

------------------

After answer all the post, i gonna post the routine of energy and hungry system done.

ENERGY AND HUNGRY SISTEM - POKÉMON RUBY HACKED EINGINE (PRHE)


Explanation:
The system consists in that the protagonist must eat and sleep to recover the energy and hungry values.
The maximum of each one is:
Hungry: 2h (You only can be 2h without eating something)
Sleep: 5h (You only can be 5h without sleeping)
So, to have the best experiencie with the system, i add and advice that say you that you need eat or sleep, depending the hungry or sleep values.
If you dismiss the advice, and falling down, you will defeated and will go to the last room you sleep. But you lose the money too.

PS: The hours of the system are in game, so if you press "space" to run fast the emulator, you will need eat and sleep more times than normal playing.

Near~ July 17th, 2014 12:43 PM

Nice! I love this might even use this :)
off topic: Is it true you are going to hack FR soon? I heard it on wah foro jeje saludos bro!


All times are GMT -8. The time now is 8:40 AM.


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.