The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.


Reply
 
Thread Tools
  #1    
Old November 9th, 2012, 12:41 AM
PokemonMasters's Avatar
PokemonMasters
Always Remember Forever&After
 
Join Date: Jun 2012
Location: Nuvema Town, Unova
Gender: Male
Nature: Calm
Hey Guys. Want to do Tranparent Textboxes but they look so hard to do? You can do it with the WBTO (Write by Offset) command in XSE. Here is a simple script on how to make Transparent Textboxes. (For Ruby |AXVE| Only)

Here is what you need to add to the script

writebytetooffset 0x3F 0x4000048
writebytetooffset 0x1F 0x4000049
writebytetooffset 0x41 0x4000050
writebytetooffset 0x3F 0x4000051
writebytetooffset 0xF 0x4000052
writebytetooffset 0xA 0x4000053
writebytetooffset 0xFF 0x202F0AA
writebytetooffset 0xFF 0x202F0AB
writebytetooffset 0x0 0x202F0B8
writebytetooffset 0x0 0x202F0B9
writebytetooffset 0x0 0x202F0AC
writebytetooffset 0x0 0x202F0AD
writebytetooffset 0x0 0x202F0BE
writebytetooffset 0x0 0x202F0BF
writebytetooffset 0x0 0x202F0C0
writebytetooffset 0x0 0x202F0C1
writebytetooffset 0x0 0x202F0C2
writebytetooffset 0x0 0x202F0C3
writebytetooffset 0x0 0x202F0C4
writebytetooffset 0x0 0x202F0C5
writebytetooffset 0x0 0x202F0C6
writebytetooffset 0x0 0x202F0C7
writebytetooffset 0x0 0x202F0C8
writebytetooffset 0x0 0x202F0C9


Test:


Notes:
- You must do this in Every Script you want Transparent.
- There are some bugs in doing this. Using this script will activate them.

Thanks for reading :D

Credit the following people if used:
- ~Andrea
__________________

+ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
Reply With Quote
  #2    
Old November 17th, 2012, 07:42 AM
kebbles's Avatar
kebbles
Rom Hacker.
 
Join Date: Jul 2007
Location: Victoria, Australia!
Gender: Male
Nature: Brave
Quote:
Originally Posted by PokemonMasters View Post
Hey Guys. Want to do Tranparent Textboxes but they look so hard to do? You can do it with the WBTO (Write by Offset) command in XSE. Here is a simple script on how to make Transparent Textboxes. (For Ruby |AXVE| Only)

Here is what you need to add to the script

writebytetooffset 0x3F 0x4000048
writebytetooffset 0x1F 0x4000049
writebytetooffset 0x41 0x4000050
writebytetooffset 0x3F 0x4000051
writebytetooffset 0xF 0x4000052
writebytetooffset 0xA 0x4000053
writebytetooffset 0xFF 0x202F0AA
writebytetooffset 0xFF 0x202F0AB
writebytetooffset 0x0 0x202F0B8
writebytetooffset 0x0 0x202F0B9
writebytetooffset 0x0 0x202F0AC
writebytetooffset 0x0 0x202F0AD
writebytetooffset 0x0 0x202F0BE
writebytetooffset 0x0 0x202F0BF
writebytetooffset 0x0 0x202F0C0
writebytetooffset 0x0 0x202F0C1
writebytetooffset 0x0 0x202F0C2
writebytetooffset 0x0 0x202F0C3
writebytetooffset 0x0 0x202F0C4
writebytetooffset 0x0 0x202F0C5
writebytetooffset 0x0 0x202F0C6
writebytetooffset 0x0 0x202F0C7
writebytetooffset 0x0 0x202F0C8
writebytetooffset 0x0 0x202F0C9


Test:


Notes:
- You must do this in Every Script you want Transparent.
- There are some bugs in doing this. Using this script will activate them.

Thanks for reading :D

Credit the following people if used:
- ~Andrea
Wow this is incrediable, i cant believe i only just found this!
What are the bugs before I use this?
__________________
Pokémon Galaxy Elements
Alpha 0.5 Out Now!


When the world is in its final moments..
Where will you be?
Reply With Quote
  #3    
Old November 17th, 2012, 09:18 AM
Hacker Bisharp's Avatar
Hacker Bisharp
Bug reporter
 
Join Date: Dec 2011
Gender: Male
Nature: Gentle
Oh god.. This is very awesome! Keep it up
__________________
Hacks I support:

And i'm a good bug reporter. Contact me if you want :D

Reply With Quote
  #4    
Old November 17th, 2012, 12:32 PM
itman
Back to ROM hacking. :D
 
Join Date: May 2007
Age: 20
Nature: Adamant
This is amazing, but it takes up so much room to use in EVERY script.

So what everyone should do is make that a separate script, and then at the beginning of every script, call it, so this way you can save lots of room.

Example:

Script to be called:
Spoiler:

#org @begin
writebytetooffset 0x3F 0x4000048
writebytetooffset 0x1F 0x4000049
writebytetooffset 0x41 0x4000050
writebytetooffset 0x3F 0x4000051
writebytetooffset 0xF 0x4000052
writebytetooffset 0xA 0x4000053
writebytetooffset 0xFF 0x202F0AA
writebytetooffset 0xFF 0x202F0AB
writebytetooffset 0x0 0x202F0B8
writebytetooffset 0x0 0x202F0B9
writebytetooffset 0x0 0x202F0AC
writebytetooffset 0x0 0x202F0AD
writebytetooffset 0x0 0x202F0BE
writebytetooffset 0x0 0x202F0BF
writebytetooffset 0x0 0x202F0C0
writebytetooffset 0x0 0x202F0C1
writebytetooffset 0x0 0x202F0C2
writebytetooffset 0x0 0x202F0C3
writebytetooffset 0x0 0x202F0C4
writebytetooffset 0x0 0x202F0C5
writebytetooffset 0x0 0x202F0C6
writebytetooffset 0x0 0x202F0C7
writebytetooffset 0x0 0x202F0C8
writebytetooffset 0x0 0x202F0C9
return


Then if a script wants to use transparent text boxes, it would just call that one, and then it will automatically return to the script afterward due to the return command.

Spoiler:

#org @begin
call 0x(whateveroffsetit'sat!)
lock
faceplayer
msgbox @hi 0x6
release
end

#org @hi
= Hi.


Space saving ftw! I know this isn't a complex technique in anyway; I was just over explaning for newer hackers out there. :)
Reply With Quote
  #5    
Old November 17th, 2012, 02:20 PM
shinyabsol1's Avatar
shinyabsol1
Pokemon DarkJasper!?
 
Join Date: Aug 2010
Gender: Male
Nature: Calm
Interesting. I thought you needed ASM to do this. Great work figuring this out!

Since its just a bunch of WBTO, couldn't this work for FR too? We just need to find the equivalents in FR and change those. What exactly do allthose WBTOs do?
Reply With Quote
  #6    
Old November 17th, 2012, 02:23 PM
PokemonMasters's Avatar
PokemonMasters
Always Remember Forever&After
 
Join Date: Jun 2012
Location: Nuvema Town, Unova
Gender: Male
Nature: Calm
Quote:
Originally Posted by itman View Post
This is amazing, but it takes up so much room to use in EVERY script.

So what everyone should do is make that a separate script, and then at the beginning of every script, call it, so this way you can save lots of room.

Example:

Script to be called:
Spoiler:

#org @begin
writebytetooffset 0x3F 0x4000048
writebytetooffset 0x1F 0x4000049
writebytetooffset 0x41 0x4000050
writebytetooffset 0x3F 0x4000051
writebytetooffset 0xF 0x4000052
writebytetooffset 0xA 0x4000053
writebytetooffset 0xFF 0x202F0AA
writebytetooffset 0xFF 0x202F0AB
writebytetooffset 0x0 0x202F0B8
writebytetooffset 0x0 0x202F0B9
writebytetooffset 0x0 0x202F0AC
writebytetooffset 0x0 0x202F0AD
writebytetooffset 0x0 0x202F0BE
writebytetooffset 0x0 0x202F0BF
writebytetooffset 0x0 0x202F0C0
writebytetooffset 0x0 0x202F0C1
writebytetooffset 0x0 0x202F0C2
writebytetooffset 0x0 0x202F0C3
writebytetooffset 0x0 0x202F0C4
writebytetooffset 0x0 0x202F0C5
writebytetooffset 0x0 0x202F0C6
writebytetooffset 0x0 0x202F0C7
writebytetooffset 0x0 0x202F0C8
writebytetooffset 0x0 0x202F0C9
return


Then if a script wants to use transparent text boxes, it would just call that one, and then it will automatically return to the script afterward due to the return command.

Spoiler:

#org @begin
call 0x(whateveroffsetit'sat!)
lock
faceplayer
msgbox @hi 0x6
release
end

#org @hi
= Hi.


Space saving ftw! I know this isn't a complex technique in anyway; I was just over explaning for newer hackers out there.
lol, I'll update the thread later on to add the "Space Saving" xD
__________________

+ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
Reply With Quote
  #7    
Old November 19th, 2012, 02:12 AM
Pinkish Purple's Avatar
Pinkish Purple
五代目水影
 
Join Date: Aug 2012
Location: Kirigakure
Age: 15
Gender: Female
Nature: Naughty
Cool, PokemonMasters! :D you put it up. Is there a more in-depth tutorial for newbs?
__________________
Reply With Quote
  #8    
Old November 19th, 2012, 09:42 AM
Gamer2020's Avatar
Gamer2020
This love is a sickness...
 
Join Date: Jun 2008
Location: Violet city!
Gender: Male
Nature: Bold
Send a message via AIM to Gamer2020 Send a message via Windows Live Messenger to Gamer2020 Send a message via Yahoo to Gamer2020 Send a message via Skype™ to Gamer2020
I'm sure you can make an asm function to do the same thing. I'm pretty sure all you're doing is setting registers and stuff to use the hardware windowing.

http://www.coranac.com/tonc/text/gfx.htm#sec-win
__________________
I find it amusing how people my steal ideas and then claim to be the first one to do something.

A present to people learning to make ROM hacking tools. - https://dl.dropboxusercontent.com/u/..._Functions.zip

If you want a successor to PGE then download this: http://www.pokecommunity.com/showthread.php?t=311461

This site likes to keep things quiet and buries things. Over the years I have seen many injustices on this website to members of the ROM hacking community. Some where even very important people in the community that are now gone. If you want a website where you will be treated fairly and you can voice your opinion while learning more about ROM hacking then please join the following website.
http://pokemonhackersonline.com/
Reply With Quote
  #9    
Old November 19th, 2012, 02:51 PM
Shiny Quagsire's Avatar
Shiny Quagsire
Actually gone until Aug 20th .-.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
It wouldn't be that hard to write an ASM routine to set those bytes, and attach it to a special, or even hack in a call to that function every time a textbox is loaded.
__________________



Reply With Quote
  #10    
Old November 19th, 2012, 10:01 PM
Darkrai Lv.1000's Avatar
Darkrai Lv.1000
Has a tendency to figure things out
 
Join Date: Jul 2007
Location: Aboard the Arc-Gurren
Age: 19
Gender: Male
Nature: Adamant
Send a message via AIM to Darkrai Lv.1000
How have I not seen this yet?
This is awesome, I'll definitely try this out, and maybe have it in my project.

Looks good for things like signs and "stage directions" and stuff like that.
__________________
Reply With Quote
  #11    
Old November 19th, 2012, 10:56 PM
PokemonMasters's Avatar
PokemonMasters
Always Remember Forever&After
 
Join Date: Jun 2012
Location: Nuvema Town, Unova
Gender: Male
Nature: Calm
Quote:
Originally Posted by kebbles View Post
Wow this is incrediable, i cant believe i only just found this!
What are the bugs before I use this?
The bugs are:
-if you open the menu the textxbox of menu disapeared
-you don't change the color of the test because the wbto with you create semi-trasparent textbox makes the textbox and the text semi-trasparnet because are you found in BG0 (the screen are divided into Bg0,Bg1,Bg2,Bg3,Bg4,Bg5 and Bg6) and makes textbox and text semitrasparnet...
-The effect of textbox finish when you doing warp
that's why it is best to use asm..
Quote:
Originally Posted by Pinkish Purple View Post
Cool, PokemonMasters! :D you put it up. Is there a more in-depth tutorial for newbs?
its already. You just put that in the script. How more in-depth do you want? xD
Quote:
Originally Posted by Gamer2020 View Post
I'm sure you can make an asm function to do the same thing. I'm pretty sure all you're doing is setting registers and stuff to use the hardware windowing.

http://www.coranac.com/tonc/text/gfx.htm#sec-win
Quote:
Originally Posted by shiny quagsire View Post
It wouldn't be that hard to write an ASM routine to set those bytes, and attach it to a special, or even hack in a call to that function every time a textbox is loaded.
It for newbies or people who barely or don't know anything about ASM :D
__________________

+ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
Reply With Quote
  #12    
Old November 19th, 2012, 11:02 PM
pikakitten's Avatar
pikakitten
You met with a terrible fate
 
Join Date: Jan 2011
Location: Termina, Clock Tower
Age: 16
Gender: Male
Nature: Naughty
So what are the bugs involved in doing this? Are they serious? Are they permanent as in use it once and the bug is forever there or... you know.
Thanks!

~Sincerely
PikakittenX, devout member of the Pokecommunity
__________________
Credit |Kitty Pair | VM/PM | Photobucket | Theme
Reply With Quote
  #13    
Old November 20th, 2012, 02:30 AM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by PokemonMasters View Post
It for newbies or people who barely or don't know anything about ASM :D
So what?

They are trying to make routines for it so that it will work with FireRed as well and to fix those bugs that you mentioned.
__________________
Reply With Quote
  #14    
Old November 22nd, 2012, 07:34 AM
~Andrea's Avatar
~Andrea
 
Join Date: Oct 2012
Gender: Male
With this you will have the semi-trasparent textbox but there will also annoying bugs that is why using the asm which he said shiny Guaiser is always active ...
The bug in question are:
-If you open the menu, there will be the old textbox semi-transparent white color ...
-With these wbto you can not become colored text
-With these wbto you can not become a white-transparent textbox
-the names of the cities and routes will be like the old textbox but the color white as the transparent menu
-the effect ends when you use a warp
So I say to you that if you do not know asm put the tetxbox normal ...
__________________
Reply With Quote
  #15    
Old November 22nd, 2012, 09:06 AM
Team Fail's Avatar
Team Fail
The fine line between in|sanity
Community Supporter
 
Join Date: May 2009
Age: 19
Gender: Male
Nature: Brave
Quote:
Originally Posted by ~Andrea View Post
-the effect ends when you use a warp
If this is the case, why not just call it again after you warp?
__________________

Pairs:
Kevin, Echidna
Follow me on Twitter! @TeamFail
Alt 1, リザードン
Miiverse
Pokémon Hackers Online
Alt 2: Jack Cayman



[04:20.39] <@GoGo> I WILL INSERT WITH PLEASURE
[04:20.45] <@GoGo> shut it Bela

[05:41.55] <Team_Fail> Blue Spider is interesting, but #MEHMasterRace
[05:42.20] <diegoisawesome> Team_Fail: Sounds like a bunch of unmotivated people that still want to try to take over the world
Reply With Quote
  #16    
Old November 22nd, 2012, 10:00 PM
Pinkish Purple's Avatar
Pinkish Purple
五代目水影
 
Join Date: Aug 2012
Location: Kirigakure
Age: 15
Gender: Female
Nature: Naughty
I think it is too troublesome, doing ASM is better of course but there doesn't seem to be any tutorial about ASM around here...
__________________
Reply With Quote
  #17    
Old November 23rd, 2012, 12:08 AM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by Pinkish Purple View Post
I think it is too troublesome, doing ASM is better of course but there doesn't seem to be any tutorial about ASM around here...
Huh?

I think there are about 4 ASM TUT's here in PC search in the tutorial section look in the pages... Hackmew, FullMetal, Shiny Quagsire, and knizz made ASM tut's.
__________________
Reply With Quote
  #18    
Old November 24th, 2012, 11:17 AM
Gamer2020's Avatar
Gamer2020
This love is a sickness...
 
Join Date: Jun 2008
Location: Violet city!
Gender: Male
Nature: Bold
Send a message via AIM to Gamer2020 Send a message via Windows Live Messenger to Gamer2020 Send a message via Yahoo to Gamer2020 Send a message via Skype™ to Gamer2020
Why don't you set the values back to what they were after you use the text box? That way the start menu won't be buggy.
__________________
I find it amusing how people my steal ideas and then claim to be the first one to do something.

A present to people learning to make ROM hacking tools. - https://dl.dropboxusercontent.com/u/..._Functions.zip

If you want a successor to PGE then download this: http://www.pokecommunity.com/showthread.php?t=311461

This site likes to keep things quiet and buries things. Over the years I have seen many injustices on this website to members of the ROM hacking community. Some where even very important people in the community that are now gone. If you want a website where you will be treated fairly and you can voice your opinion while learning more about ROM hacking then please join the following website.
http://pokemonhackersonline.com/
Reply With Quote
  #19    
Old December 7th, 2012, 04:04 PM
Shiny Quagsire's Avatar
Shiny Quagsire
Actually gone until Aug 20th .-.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Quote:
Originally Posted by PokemonMasters View Post
It for newbies or people who barely or don't know anything about ASM :D
Patchers and programs that patch could be a viable solution to apply an ASM routine and link it to a special or force transparency as the default.
__________________



Reply With Quote
  #20    
Old December 8th, 2012, 03:41 PM
NintendoBoyDX
Togepi
 
Join Date: Jul 2010
Gender: Male
Yo PokemonMansters, I was wondering... Could you explain how you figured out how to do this hack, and why it works?
Reply With Quote
  #21    
Old December 8th, 2012, 06:56 PM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by NintendoBoyDX View Post
Yo PokemonMansters, I was wondering... Could you explain how you figured out how to do this hack, and why it works?
He didn't figured this out, ~Andrea did Pokemonmasters just shared this info with and practically doesn't know how this works... :)
__________________
Reply With Quote
  #22    
Old December 8th, 2012, 10:17 PM
PokemonMasters's Avatar
PokemonMasters
Always Remember Forever&After
 
Join Date: Jun 2012
Location: Nuvema Town, Unova
Gender: Male
Nature: Calm
Thanks Val. .-.
So , did anybody find a way to port this over to BPRE?
__________________

+ForeverDash on PC's Battle Server | Pair | VM/PM |Partner In Crime
Reply With Quote
  #23    
Old December 8th, 2012, 11:13 PM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by PokemonMasters View Post
Thanks Val. .-.
So , did anybody find a way to port this over to BPRE?
~Andrea said that he knows it but forgot how to do it...

And Lucas said that coolcolstyles has a code for he ransparent textbox in BPRE but hasn't release the code yet.
__________________
Reply With Quote
  #24    
Old December 10th, 2012, 03:53 AM
xWhyNotx's Avatar
xWhyNotx
Scripting Master
 
Join Date: Jun 2012
Location: Kuna Region
Gender: Male
Nature: Jolly
Send a message via Windows Live Messenger to xWhyNotx
This is amazing I will totally use this in my hack! ^-^ thanks for posting!
__________________
This signature has been disabled.
If a scroll bar appears that means it\'s too tall!
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #25    
Old December 10th, 2012, 05:52 AM
阴魂君's Avatar
阴魂君
_(:зゝ∠)_ so busy i am…
 
Join Date: Nov 2012
Location: China
Age: 18
Gender: Male
Nature: Brave
Quote:
Originally Posted by tajaros View Post
~Andrea said that he knows it but forgot how to do it...

And Lucas said that coolcolstyles has a code for he ransparent textbox in BPRE but hasn't release the code yet.
how about Emerald?
I think those offset are different,too..╯﹏╰
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:21 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.