The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.



Reply
Thread Tools
  #51  
Unread December 19th, 2009, 05:06 AM
Razer Rage
Beginning Hacker
 
Join Date: Apr 2008
Gender:
So, how does PKSV compare to XSE? Why would you recommend PKSV over XSE?

Nice tutorial, although I would make the text larger, and maybe darker. I don't like bright text, it hurts my eyes.

I also recommend making screenshots to illustrate what you're teaching. They make a huge difference, trust me.
__________________
Click here if you are a fan of The Legend of Zelda: Ocarina of Time.

Last edited by Razer Rage; December 19th, 2009 at 05:14 AM.
Reply With Quote
  #52  
Unread December 19th, 2009, 02:56 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
Well..
1) PKSV has an sg, it has a movement planner, it can decompile thumb code and has scintilla, plus you don't need to include any header files to say "givepokemon BULBASAUR", not to mention there is a drop down code completion feature that is really nice. XSE is nice, and it has some of the same things PKSV does (calculator,notes etc) BUT it's just not quite as user friendly. XSE really is good, and there are times when i use (like for eraserange and what not) but usually, i use pksv.
2) hm....i'll look into it...
3) I'l try 'n make em.
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #53  
Unread December 20th, 2009, 01:40 AM
Jemzx's Avatar
Jemzx
Guardian Trainer
 
Join Date: Nov 2009
Gender: Male
Nature: Relaxed
Do u know how to work with gender script??
Reply With Quote
  #54  
Unread December 20th, 2009, 01:50 AM
score_under's Avatar
score_under
I program the *other* ASM.
 
Join Date: Aug 2005
Location: Hertfordshire, England
Age: 20
Nature: Rash
Quote:
Originally Posted by Jemzx View Post
Do u know how to work with gender script??
Code:
'... in the middle of some script ...
checkgender
compare lastresult boy
if == jump :boy
'do something girlish
jump :continue
:boy
'do something boyish
:continue
'continue the script as normal
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
Reply With Quote
  #55  
Unread December 20th, 2009, 02:03 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
withe the checkgender command of course
That will be added into the tut as lesson 10.
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #56  
Unread December 20th, 2009, 02:35 AM
Jemzx's Avatar
Jemzx
Guardian Trainer
 
Join Date: Nov 2009
Gender: Male
Nature: Relaxed
thank you score under. n_n
Reply With Quote
  #57  
Unread December 23rd, 2009, 08:58 PM
Razer Rage
Beginning Hacker
 
Join Date: Apr 2008
Gender:
I don't get it. I made a script, compiled it, and now I'm not sure how to decompile it so I can edit it. With XSE, I simply enter the offset and click the button. PKSV has this popup that has no meaning to me.

__________________
Click here if you are a fan of The Legend of Zelda: Ocarina of Time.
Reply With Quote
  #58  
Unread December 23rd, 2009, 09:21 PM
sir.euge's Avatar
sir.euge
Bunchies Back!
 
Join Date: Jun 2009
Gender: Male
Nature: Naughty
Send a message via Yahoo to sir.euge
nice tutorial! ihope you post more tutorials especially on movements!
__________________
Reply With Quote
  #59  
Unread December 23rd, 2009, 09:54 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
hm....movement help? Otay.
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #60  
Unread December 24th, 2009, 02:26 AM
interdpth
Will ASM hack for cash.
 
Join Date: Jul 2004
Anyone know how to set lastresult to a byte in memory?

like
get bytefrompointer
set lastresult etc

I'm probably being stupid so I imagine someone knows.
__________________
Check my blog!

http://interdpths.blogspot.com

I have GBA hacking info up and stuff and will answer any comments!
Reply With Quote
  #61  
Unread December 24th, 2009, 03:04 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
try writebytetooffset
i'm not really sure how that works, but feel free to try
also, just check the drop down menu, then go to hackmew's xse and look for a similar command in the command help, that should get you the right "arguments" (arguments are just information a command needs to know in order to do what it needs to)
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #62  
Unread December 24th, 2009, 03:11 AM
interdpth
Will ASM hack for cash.
 
Join Date: Jul 2004
Yeah, i've looked through the whole command list, I really don't want to have to track down the actual memory address for LAST RESULT

urgh this nasty
__________________
Check my blog!

http://interdpths.blogspot.com

I have GBA hacking info up and stuff and will answer any comments!
Reply With Quote
  #63  
Unread December 24th, 2009, 11:47 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
lolz
check hackmew's knowledge thread, the asm thing has yet to work for me, (because it always gets the wrong address somehow or the other) but yea...he tells ya how to find the address of some variables.
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #64  
Unread December 25th, 2009, 03:40 AM
Hedgehogger's Avatar
Hedgehogger
Learning ASM, but struggling
 
Join Date: Feb 2007
Location: Somewhere near a box.
Gender: Male
Nature: Quiet
PKSV's an excellent program--I've been using it to compile my scripts for a while since I used to own Windows 98, which was non-XSE compatible. I've got Windows 7 now, but before I give you my life's story, I noticed Advance-Text doesn't work...Now I learned that in PKSV you could decompile a script, edit it, and re-compile it to the same offset.

I used this method a couple of times to change text, but I just need to know...If the text is shorter than the original, what happens to the leftover data? (I tried to look into it with a Hex Editor and the decompiled offsets, but I just got random Raw's out of it) And if the text is longer than the original, will anything be overwritten?
__________________


Pokeymenz Am-nee-shaaah Beta 4 Released!
Reply With Quote
  #65  
Unread December 27th, 2009, 01:34 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
if the text is longer, then yes absolutely, things will be overwritten (unless you repoint the data...)
if the text is shorter, then the bytes will be left alone and you'll just have two different strings (pieces of text).
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #66  
Unread January 2nd, 2010, 02:43 AM
Camshaft
Beginning Trainer
 
Join Date: Dec 2009
Gender: Male
So I am new at this and i have been trying to write movement scripts with no success, this is how I write it.

Spoiler:
#org 0x816582F
'-----------------------------------
lock
faceplayer
message 0x87400BD ' Do you like adventur...
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT YES
if == jump 0x87400D4 ' Equal To
jump 0x87400E0

#org 0x87400D4
'-----------------------------------
message 0x87400E9 ' Thats awesome!!\nMe ...
callstd MSG_LOCK ' Built-in lock command
applymovement 0x4 0x26704CC
pauseevent 0x0
release
end

#org 0x87400E0
'-----------------------------------
message 0x8740102 ' Aw . . .\nYou are re...
callstd MSG_LOCK ' Built-in lock command
release
end


#org 0x87400BD
= Do you like adventure?

#org 0x87400E9
= Thats awesome!!\nMe Too!!

#org 0x8740102
= Aw . . .\nYou are really missing out

#org 0x26704CC
M walk_down walk_down end


but when i compile it, it comes out like
Spoiler:
#org 0x816582F
'-----------------------------------
lock
faceplayer
message 0x87400BD ' Do you like adventur...
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT YES
if == jump 0x87400D4 ' Equal To
jump 0x87400E0

#org 0x87400D4
'-----------------------------------
message 0x87400E9 ' Thats awesome!!\nMe ...
callstd MSG_LOCK ' Built-in lock command
applymovement 0x4 0x26704CC ' Not in ROM area
nop1 ' #raw 0x1
#raw 0x74
jumpstd 0x9

#org 0x87400E0
'-----------------------------------
message 0x8740102 ' Aw . . .\nYou are re...
callstd MSG_LOCK ' Built-in lock command
release
end


#org 0x87400BD
= Do you like adventure?

#org 0x87400E9
= Thats awesome!!\nMe Too!!

#org 0x8740102
= Aw . . .\nYou are really missing out


I was wondering what I'm doing wrong
Reply With Quote
  #67  
Unread January 2nd, 2010, 02:56 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
trying redoing this in dynamics.
Spoiler:

#org @main
'-----------------------------------
lock
faceplayer
message @q
callstd MSG_YESNO
compare LASTRESULT YES
if == jump @yush
jump @neo
#org @yush
'-----------------------------------
message @msg2
callstd MSG_LOCK
applymovement 0x4 @m1
pauseevent 0x0
release
end
#org @neo
'-----------------------------------
message @msg3
callstd MSG_LOCK
release
end

#org @q
= Do you like adventure?
#org @msg2
= Thats awesome!!\nMe Too!!
#@msg3
= Aw . . .\nYou are really missing out
#@m1
M walk_down walk_down end

also, since the script u compiled wasn't in dynamics, I'll assume that you compiled the script, then decompiled and tried to edit it.
If you intend to do this decompile the script using the "dynamic offsets" option in pksv's decompile box. this will avoid any errors like this.
If i'm not wrong, what happened was when you added to the script, the scripts overwrote eachother.
I could not see any problems in ur script, but the above should work (assuming the event number of the ow is 0x4. . .)
*edit*
welcome to pokecommunity ^.^
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #68  
Unread January 2nd, 2010, 05:25 AM
Camshaft
Beginning Trainer
 
Join Date: Dec 2009
Gender: Male
awesome thanks for the warm welcome, that worked perfectly. Great tutorial too by the way
Reply With Quote
  #69  
Unread January 2nd, 2010, 05:57 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
thank ya thank ya :D
again may i make it known
ToDo
Level Script Update
Check Gender Script
and perhaps (still considering it) some tuts on how to use some features on jpans patch as i already have quite the lengthy script using the run-time multichoice. ... i'll add it to the collection nao.
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #70  
Unread January 8th, 2010, 10:15 PM
ThePoketrix's Avatar
ThePoketrix
real-life pikachu
 
Join Date: Jan 2010
Gender: Male
Nature: Calm
One prob.
HOW IN THE WORLD DO YOU SAVE CHANGES TO EXISTING SCRIPTS?!?!?
__________________
The Poketrix

Who's the Chu?



Reply With Quote
  #71  
Unread January 9th, 2010, 04:59 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
how many times have i answered this?
1) If its a file then either File->Save or ctrl+s
2) If it is supposed to be *inside* the ROM then push F9 or ROM->Compile
srsly though...i might have to add an entire new tutorial for all these nubs asking me how to put a script in a rom or save it...heck, i could probably write a book!
FOR THE LAST FREAKING TIME
IF YOU WANT TO STORE A FILE IN THE GBA ROM, PUSH F FREAKING 9. IF YOU WANT TO SAVE IT AS A FILE TO EDIT LATER, PUSH CTRL + S
maybe the uggested screaming got it through your heads. >.>
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #72  
Unread January 10th, 2010, 06:12 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
those are there for EMFASISS, and yes, that would be considered off topic
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #73  
Unread January 10th, 2010, 09:51 PM
Mr.Silver's Avatar
Mr.Silver
Say Hello To Nurse Barbra
 
Join Date: Jun 2009
Location: The Ushimi region.
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Mr.Silver
Hey metal,Do you mind putting in a "Script showcase" Section?
If so heres the first:
Spoiler:
Reply With Quote
  #74  
Unread January 11th, 2010, 12:23 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 17
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
i spose.... but its not going inside the *tut* itself, but in another css-div
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

Reply With Quote
  #75  
Unread January 11th, 2010, 12:30 AM
Mr.Silver's Avatar
Mr.Silver
Say Hello To Nurse Barbra
 
Join Date: Jun 2009
Location: The Ushimi region.
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Mr.Silver
'kay.
(im breaking the character count :D)
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

Forum Jump


All times are UTC. The time now is 05:13 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.