The PokéCommunity Forums  

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

Notices

Toolbox Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
Thread Tools
  #526  
Unread August 24th, 2009, 12:41 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 ChazZeromus View Post
I looked at the source and realize how monolithic it was...you should have included a table of contents in your source XD
And maybe a reference manual, I'm pretty sure I abuse 1-letter variables and reuse wrongly-named variables because I always lose my place in the code if I scroll to the top of the function in its current state ... also, in both PKSV and PKSV-UI, I used a "goto" statement... hehe... it makes much more sense in PKSV, but in PKSVUI I could have used a function call with some local variables passed to it.

PKSV source (as opposed to PKSVUI) is only accessible through SVN, by the way.
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #527  
Unread August 25th, 2009, 01:56 PM
Daruxis
Beginning Trainer
 
Join Date: Aug 2009
Okay I know how to use the programme to edit existing scripts but making new scripts just wont work and I've tried a lot already
  #528  
Unread August 25th, 2009, 03:03 PM
SharpPoint's Avatar
SharpPoint
Suicune used Surf!
 
Join Date: Jul 2009
Location: Stalker...
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Daruxis View Post
Okay I know how to use the programme to edit existing scripts but making new scripts just wont work and I've tried a lot already
You must be doing something wrong then. D:
  #529  
Unread August 30th, 2009, 02:42 AM
BryanDX's Avatar
BryanDX
Rookie detective
 
Join Date: Oct 2008
Location: Las Vegas
Nature: Quiet
This just has unused flags and offsets for Firered.I think it should have unused flags and offsets for Ruby to.
__________________
  #530  
Unread August 30th, 2009, 01:23 PM
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 BryanDX View Post
This just has unused flags and offsets for Firered.I think it should have unused flags and offsets for Ruby to.
The list is filled with default flags, but as I said (in the "read this" message), it's not exhaustive, it's only filled in as an example - it is there for you to be able to record your usage of flags. As long as you don't use the flags for badges and menu items where you shouldn't, then pretty much every flag is free. I advise you start at 0x200 or 0x500.

It does not, however, have a list of unused offsets - the offsets presented there were of related script. To get an unused offset, you just have to compile a script using dynamic offsets.
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #531  
Unread August 30th, 2009, 08:54 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 20
Gender: Male
Nature: Gentle
Quote:
Originally Posted by score_under View Post
The list is filled with default flags, but as I said (in the "read this" message), it's not exhaustive, it's only filled in as an example - it is there for you to be able to record your usage of flags. As long as you don't use the flags for badges and menu items where you shouldn't, then pretty much every flag is free. I advise you start at 0x200 or 0x500.

It does not, however, have a list of unused offsets - the offsets presented there were of related script. To get an unused offset, you just have to compile a script using dynamic offsets.
Those flags are used by the game.
Many flags around 0x200 and 0x500 are used.
Your best bet would be to use flags starting at 0x1000, since there are NO flags after it that are used in the game.
The truly FREE flags range from 0x1000 to 0x3FFF... that is 12287 free flags, more than enough to accommodate even the largest hacks.
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #532  
Unread August 31st, 2009, 10:04 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 0m3GA ARS3NAL View Post
Those flags are used by the game.
Many flags around 0x200 and 0x500 are used.
Yes, but most hacks would not include most of the original game (same sprites, towns, and scripts), would they?
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #533  
Unread September 1st, 2009, 10:39 AM
G Deoxys's Avatar
G Deoxys
Beginner Rom Hacker
 
Join Date: Aug 2009
Location: Internet
Gender: Male
Nature: Timid
Mine says Access is Denied
  #534  
Unread September 1st, 2009, 10:42 AM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 20
Gender: Male
Nature: Gentle
Quote:
Originally Posted by score_under View Post
Yes, but most hacks would not include most of the original game (same sprites, towns, and scripts), would they?
Those flags are used by level scripts, and most people don't bother removing them.
Lots of errors can occur later in game if those flags are tampered with.
Like I said before, just use 0x1000 - 0x3FFF...
that is 12287 flags free, not even the biggest hacks use that many.
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #535  
Unread September 1st, 2009, 04:00 PM
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 G Deoxys View Post
Mine says Access is Denied
Where does it say that - on the download page, when you start, when you compile, ...?
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #536  
Unread September 4th, 2009, 09:01 PM
M4CK_M4YN3's Avatar
M4CK_M4YN3
Felix_The_Cat
 
Join Date: Aug 2009
Gender: Male
Nature: Lonely
good program i just think the script genorator could use some work it doesntr work to well for me
__________________

http://www.pokecommunity.com/showthread.php?t=287022
  #537  
Unread September 5th, 2009, 05:22 PM
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 M4CK_M4YN3 View Post
good program i just think the script genorator could use some work it doesntr work to well for me
What is wrong with it? Bear in mind it is meant for Fire Red.
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #538  
Unread September 19th, 2009, 11:31 PM
videoman's Avatar
videoman
I'm no hero. And never was.
 
Join Date: Aug 2008
Location: In my own Videogame World
Age: 22
Gender: Male
Nature: Relaxed
I HAVE AN IDEA! How about somehow making a script generator that lets you make cut scenes easier...Like the cut scene in Shiny Gold (originally from Pokemon G/S/C). I have always wondered how to make a cool cut scene like that..but never was able to do so. I think that making a script generator for that kind of thing would be AWESOME!
but that's just what i think.
__________________
I'm a shadow, one that no light will shine on. As long as you follow me, you'll never see the day.
-Old Snake from Metal Gear Solid 4: Guns of the Patriots

Also, Check out my Fan Fictions at:
Fan Fic #1:
http://www.pokecommunity.com/showthread.php?t=220695
Fan Fic #2:
http://www.pokecommunity.com/showthr...=1#post6420389

Enjoy!
  #539  
Unread September 20th, 2009, 11:52 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 videoman View Post
How about somehow making a script generator that lets you make cut scenes easier...
With something like that, I am pretty much clueless as to where to start - the possibilities for the cutscene are pretty much endless!
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #540  
Unread October 7th, 2009, 09:48 PM
Skara's Avatar
Skara
THIS. IS. SEMPITERNAL.
 
Join Date: Dec 2008
Location: Manchester, England
Age: 17
Gender: Male
Nature: Timid
no no no

tried it, all the scripts I make, they make my game freeze
this is a no-no
__________________
I'VE LEFT THIS ACCOUNT. Here is my new profile
  #541  
Unread October 14th, 2009, 03:24 PM
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 Skara View Post
no no no

tried it, all the scripts I make, they make my game freeze
this is a no-no
Which scripts caused this? It's not doing this for anyone else, so you're probably making a mistake somewhere.
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
  #542  
Unread October 26th, 2009, 04:06 PM
Shroom45's Avatar
Shroom45
Beginning Trainer
 
Join Date: Oct 2009
Gender: Male
This will be very useful to me. BTW I am Shroom45.
  #543  
Unread October 26th, 2009, 04:46 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
Emm i dont know if this is a glitch but i made a walking script in ruby and here is what it was:
#org @movinggrunt1
m walk_down walk_down walk_down walk_down walk_down walk_down walk_left walk_left end

But instead he walked left for 6 and down for 2
and followed some advice from the backend of the thread and did what should have worked.But then when he stopped moving the game was still in lock
__________________







  #544  
Unread October 26th, 2009, 05:00 PM
NarutoActor's Avatar
NarutoActor
The rocks cry out to me
 
Join Date: Jan 2009
Location: Brooklyn/Marlboro
Age: 19
Gender: Female
Nature: Bashful
Send a message via AIM to NarutoActor Send a message via Windows Live Messenger to NarutoActor
Quote:
Originally Posted by score_under View Post
With something like that, I am pretty much clueless as to where to start - the possibilities for the cutscene are pretty much endless!
how about a script generator that can generate a earthquake( you chose the level and size of the earthquake)
__________________
~Paired to Full Metal
  #545  
Unread October 26th, 2009, 10:13 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...an idea to add to SG
And an update for mah tut?
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

  #546  
Unread October 31st, 2009, 05:45 PM
mahamaniac3's Avatar
mahamaniac3
Owner of Pokemon Jett Version
 
Join Date: Aug 2009
Age: 16
Gender: Male
Nature: Relaxed
I use this nifty piece of software ALL the time, and I would recommend it to anyone making their first Pokemon Hack. It's great!
__________________
Mahamaniac3 ::D
Proud owner of


My Website: http://www.mahamaniac3productions.moonfruit.com/


  #547  
Unread November 19th, 2009, 01:58 AM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 25
Gender: Male
Nature: Naive
I love the program, wouldn't want to use any other, but I'm having a bit of an issue..
Spoiler:
Code:
#dyn 0x740000
#org @MOMCHECKDIALOGUE
lock
faceplayer
checkflag 0x28
if true jump = @MomHaStarter
callstd MSG_NORMAL
msgbox @MOMSPOKENA
release
end

#org @MomHaStarter
lock
faceplayer
msgbox @MOMSPOKENB
release
end

#org @MOMSPOKENA
= Oh, I'm alright dear..\p All kids leave home\nsomeday, after all. Don't forget\nyour things, dear.

#org @MOMSPOKENB
= Wow, what a cute Pokémon!\p You should treat it with\nlove an care.

I try to compile this with the newest version, and, well... The frist part of the script works right, but then, the jump part of the script goes to 0x800000... All the parts apparently compile, but it doesn't reference them like it should. I don't believe it's my fault..

Also, random question.. If I use offsets like I did above(Text pointers), it actually converts them to proper offsets when I compile? For example, if I have one script start with #org @start, and then, I have a different script that has the same text offset, will it still cause problems? I know it's a no-no with Pokéscript.

Last edited by IceGod64; November 19th, 2009 at 02:15 AM.
  #548  
Unread November 19th, 2009, 02:53 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
hm....at a glance i would guess you need to remove the "=" sign in the
"if true jump = @MomHaStarter" ?
try that
*edit*
also post the decompiled output as well if you can...
__________________
Full Metal.‎"Fearlessness in those without power is maddening to those who have it."

  #549  
Unread November 19th, 2009, 03:19 AM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 25
Gender: Male
Nature: Naive
Okay, I fixed it. I manage to compile my first few functional scripts in Pokémon Emerald. Sweet.

However, the movement code I said doesn't work.. That's a side effect of no R/S proper support that I can find... I'd really prefer it over R/S or FR/LG..

Last edited by IceGod64; November 20th, 2009 at 04:03 AM.
  #550  
Unread November 21st, 2009, 12:31 AM
score_under's Avatar
score_under
I program the *other* ASM.
 
Join Date: Aug 2005
Location: Hertfordshire, England
Age: 20
Nature: Rash
What script are you using for movement?
__________________
Plz not to PM me, I don't come here often enough. Email if you need me
Closed Thread
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 01:41 AM.


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.