The PokéCommunity Forums  

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

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #51    
Old January 19th, 2012, 03:51 AM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest

Advertise here
Quote:
Originally Posted by droomph View Post
On the idea of "templates", you should definitely do something like this:



I know for a fact that I could use something like
trainerbattle battle type trainer id reserved 0 seen msg ptr win msg ptr after msg ptr
most of the time...
That's not what I meant by templates at all. :\
Quote:
Originally Posted by droomph View Post
(And for the ASM...if you're going to do that, PLEASE make the bl instructions accurate...I cannot tell you how annoying PKSV is with that.)
What do you mean? How could it be inaccurate?
Quote:
Originally Posted by droomph View Post
Wait, you said you were doing a plugin system, right?
Maybe. Why?
__________________
あなた は しきしゃ です
わたし は ばか です
  #52    
Old January 19th, 2012, 08:05 AM
droomph's Avatar
droomph
mmm gurl that 90s
Community Supporter
 
Join Date: Sep 2011
Location: bar'jách
Age: 17
Gender: Male
Nature: Impish
Quote:
Originally Posted by Darthatron View Post
That's not what I meant by templates at all. :\
Well...I couldn't tell you the many times I had to pull up a certain guy's scripting reference and scroll through to find trainerbattle. It gets annoying after a while.

Oh well, I'll just get of mah BUTT and learn VB so I can make a plugin.
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


  #53    
Old January 19th, 2012, 02:50 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
Community Supporter
 
Join Date: Jan 2008
Location: In my mind.
Age: 19
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
Quote:
Originally Posted by droomph View Post
Well...I couldn't tell you the many times I had to pull up a certain guy's scripting reference and scroll through to find trainerbattle. It gets annoying after a while.

Oh well, I'll just get of mah BUTT and learn VB so I can make a plugin.
> VisualBasic
Don't waste your time. It's definitely considered out-dated. ( I'm sure most people can agree on this. ) If you're going to learn anything, learn C#, Python, and or SQL. I myself use C++, as well.

And call me crazy, but I'm fairly certain this is what he was meaning as far as templates are concerned.
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.
  #54    
Old January 19th, 2012, 03:11 PM
war rock exe's Avatar
war rock exe
Pokemon Colosseum Remaker!!
 
Join Date: Dec 2009
Location: wouldn't you like to know?
Age: 17
Gender: Male
Nature: Hardy
Quote:
Originally Posted by Darthatron View Post
No to the built in scripts. People won't learn with those. Perhaps some kind of templates, but not a generator.

It will be very difficult to parse strings just using quotation marks. Either quotations in the script will need to be changed from " and ["], or strings will need to be contained within something else. So please. Give me an idea.
Templates would also work to , but i do have a question: how is your script editor\creator going to be different from the others?
__________________
POKÈMON COLOSSEUM TRILOGY FOR RMXP!! COMING THIS SUMMER!
STATUS; BETA 1 70%
  #55    
Old January 19th, 2012, 09:45 PM
tinix's Avatar
tinix
PearlShipper & C Programmer
 
Join Date: Feb 2010
Location: Bratislava, Slovakia
Age: 17
Gender: Male
Quote:
Originally Posted by Full Metal View Post


> VisualBasic
Don't waste your time. It's definitely considered out-dated. ( I'm sure most people can agree on this. ) If you're going to learn anything, learn C#, Python, and or SQL. I myself use C++, as well.

And call me crazy, but I'm fairly certain this is what he was meaning as far as templates are concerned.
Actually you are not 100% right when stating that VB is outdated. VB6 is outdated but VB.NET(2005+) isnt and runs on .NET just like C#. As for the templates I think he means Visual Studio like ones, because C++ templates are really unneeded in scripting.
__________________
Pokémon games i own:
Pokémon Diamond
Pokémon Platinum
Pokémon Ranger: Shadows of Almia
Pokémon HeartGold Version

75% of Pokemon gamers use cheats and specially made codes to make their pokemon battle-worthy. If you are one of the 25% percent that level their Pokemon up legally, put this in your signature.
-Started by SkittyLover77


  #56    
Old January 20th, 2012, 04:56 AM
Full Metal's Avatar
Full Metal
C(++) Developer.
Community Supporter
 
Join Date: Jan 2008
Location: In my mind.
Age: 19
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
Well, that is what I meant about VB... xD
Obviously VB.NET isn't outdated, considering there are still new versions of it being released.
And you could be right, but it was just a guess. :o
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.
  #57    
Old January 20th, 2012, 03:41 PM
TheOrangePichu's Avatar
TheOrangePichu
Currently working on new hack
 
Join Date: Jun 2011
Location: Earth
Gender: Male
Nature: Jolly
I think someone already said it, but a flag finder would be cool.
  #58    
Old January 20th, 2012, 05:58 PM
itari's Avatar
itari
Community Supporter
 
Join Date: Mar 2010
Location: 渦潮隠れの里
Age: 17
Gender: Female
Nature: Relaxed
Not sure if you already have this planned or not, but support for expanded ROMs.
__________________
Touhou Puppet Play: Sapphire

SubscriptAdvanced SongType Effectiveness EditorTilemap CreatorPython IPS Patcher
  #59    
Old January 20th, 2012, 07:23 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Quote:
Originally Posted by droomph View Post
Well...I couldn't tell you the many times I had to pull up a certain guy's scripting reference and scroll through to find trainerbattle. It gets annoying after a while.

Oh well, I'll just get of mah BUTT and learn VB so I can make a plugin.
I dunno why would PM'd me the BL bit, but yeah, this will read that properly.
Quote:
Originally Posted by Full Metal View Post


> VisualBasic
Don't waste your time. It's definitely considered out-dated. ( I'm sure most people can agree on this. ) If you're going to learn anything, learn C#, Python, and or SQL. I myself use C++, as well.

And call me crazy, but I'm fairly certain this is what he was meaning as far as templates are concerned.
Not what I meant by templates either.
Quote:
Originally Posted by war rock exe View Post
Templates would also work to , but i do have a question: how is your script editor\creator going to be different from the others?
It will have my name all over it. And it will probably be faster. And hopefully easier to use.
Quote:
Originally Posted by tinix View Post
Actually you are not 100% right when stating that VB is outdated. VB6 is outdated but VB.NET(2005+) isnt and runs on .NET just like C#. As for the templates I think he means Visual Studio like ones, because C++ templates are really unneeded in scripting.
Yep.
Quote:
Originally Posted by Full Metal View Post
Well, that is what I meant about VB... xD
Obviously VB.NET isn't outdated, considering there are still new versions of it being released.
And you could be right, but it was just a guess. :o
Yep.
Quote:
Originally Posted by TheOrangePichu View Post
I think someone already said it, but a flag finder would be cool.
No. Just no. No.
Quote:
Originally Posted by agentgeo View Post
Not sure if you already have this planned or not, but support for expanded ROMs.
Of course. All GBA hacking tools released nowadays should support 32MB ROMs.
__________________
あなた は しきしゃ です
わたし は ばか です
  #60    
Old January 21st, 2012, 10:39 AM
Darkdata's Avatar
Darkdata
15 year old me was an idiot.
 
Join Date: Aug 2005
Nature: Calm
We may be on the wrong foot from an earlier conversation, but my only bit of advice would be to keep the syntax as simple as possible. XSE does a fine job of making sure that things are easy to read at a glance. There really is no need for syntax from languages like java or c++.
__________________
Jul | Homepage
  #61    
Old January 21st, 2012, 07:55 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Quote:
Originally Posted by Darkdata View Post
We may be on the wrong foot from an earlier conversation, but my only bit of advice would be to keep the syntax as simple as possible. XSE does a fine job of making sure that things are easy to read at a glance. There really is no need for syntax from languages like java or c++.
I don't think we're on the wrong foot?

Anyway, some people find C++ easier than things like XSE. I'll post a poll some time soon to see what the community wants.
__________________
あなた は しきしゃ です
わたし は ばか です
  #62    
Old January 21st, 2012, 09:43 PM
chrunch's Avatar
chrunch
 
 
Join Date: Oct 2009
Gender: Male
Send a message via Windows Live Messenger to chrunch
Yes, but a lot of people at PC wouldn't know C++ syntax, and it'd be easier for everyone to have a familiar scripting language. Why don't you go with the option to use either C++ or XSE/Pokescript style, like I mentioned earlier, though?
__________________
  #63    
Old January 21st, 2012, 10:00 PM
droomph's Avatar
droomph
mmm gurl that 90s
Community Supporter
 
Join Date: Sep 2011
Location: bar'jách
Age: 17
Gender: Male
Nature: Impish
Quote:
Originally Posted by chrunch View Post
Yes, but a lot of people at PC wouldn't know C++ syntax, and it'd be easier for everyone to have a familiar scripting language. Why don't you go with the option to use either C++ or XSE/Pokescript style, like I mentioned earlier, though?
BASIC, however, is C/C++ syntax but with more easy-to-understand terms.

Well, wouldn't you think
Code:
#org @main
if variable condition number
     then statement
is easier to read than
Code:
#org @main
compare variable number
if2 condition @statement

blahbitty blahbitty blah

#org @statement
statement
?
I get lost so much when reading scripts from the actual game...
C syntax is just more logical sometimes.
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


  #64    
Old January 21st, 2012, 10:58 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Quote:
Originally Posted by chrunch View Post
Yes, but a lot of people at PC wouldn't know C++ syntax, and it'd be easier for everyone to have a familiar scripting language. Why don't you go with the option to use either C++ or XSE/Pokescript style, like I mentioned earlier, though?
I probably will end up having both.
Quote:
Originally Posted by droomph View Post
Well, wouldn't you think
Code:
#org @main
if variable condition number
     then statement
is easier to read than
Code:
#org @main
compare variable number
if2 condition @statement

blahbitty blahbitty blah

#org @statement
statement
?
I get lost so much when reading scripts from the actual game...
C syntax is just more logical sometimes.
Agreed.

EDIT:
Spoiler:
Main:
____lockf
____iif (flag.pokedex == true) goto EndNow
____msgbox "Here, have a\nPokéDex." msgNormal
____setflag flag.pokedex
EndNow:

____release
____end
__________________
あなた は しきしゃ です
わたし は ばか です

Last edited by Darthatron; January 22nd, 2012 at 12:37 AM.
  #65    
Old February 1st, 2012, 02:54 PM
war rock exe's Avatar
war rock exe
Pokemon Colosseum Remaker!!
 
Join Date: Dec 2009
Location: wouldn't you like to know?
Age: 17
Gender: Male
Nature: Hardy
Sorry for the stupid question but could you please elaborate what you mean by "Templates"?
__________________
POKÈMON COLOSSEUM TRILOGY FOR RMXP!! COMING THIS SUMMER!
STATUS; BETA 1 70%
  #66    
Old February 1st, 2012, 05:23 PM
droomph's Avatar
droomph
mmm gurl that 90s
Community Supporter
 
Join Date: Sep 2011
Location: bar'jách
Age: 17
Gender: Male
Nature: Impish
Quote:
Originally Posted by Darthatron View Post
EDIT:
Spoiler:
Main:
____lockf
____iif (flag.pokedex == true) goto EndNow
____msgbox "Here, have a\nPokéDex." msgNormal
____setflag flag.pokedex
EndNow:

____release
____end
It's not that big of a deal, but was the "iif" part intentional?
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt



Last edited by droomph; February 1st, 2012 at 08:08 PM.
  #67    
Old February 4th, 2012, 06:30 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Quote:
Originally Posted by droomph View Post
It's not that big of a deal, but was the "iif" part intentional?
Yeah, iif stands for inline if. I figured this would allow people to keep using the current if, if they wanted.
__________________
あなた は しきしゃ です
わたし は ばか です
  #68    
Old February 4th, 2012, 09:02 PM
droomph's Avatar
droomph
mmm gurl that 90s
Community Supporter
 
Join Date: Sep 2011
Location: bar'jách
Age: 17
Gender: Male
Nature: Impish
Quote:
Originally Posted by Darthatron View Post
Yeah, iif stands for inline if. I figured this would allow people to keep using the current if, if they wanted.
Well iif just looks like a typo.

And plus, why would you use compare when you have an inline if?

Ah, I don't know. Do whatever you want.
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


  #69    
Old February 4th, 2012, 10:13 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Quote:
Originally Posted by droomph View Post
Well iif just looks like a typo.

And plus, why would you use compare when you have an inline if?

Ah, I don't know. Do whatever you want.
Right now it's all just concepts. I'm here to get ideas from users. So thanks for your feedback. You made good points.
__________________
あなた は しきしゃ です
わたし は ばか です
  #70    
Old February 5th, 2012, 01:12 AM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
I agree with droomph, iif really does not look very nice...
We should think of better command :D
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
  #71    
Old February 5th, 2012, 02:15 PM
droomph's Avatar
droomph
mmm gurl that 90s
Community Supporter
 
Join Date: Sep 2011
Location: bar'jách
Age: 17
Gender: Male
Nature: Impish
Also, instead of if condition goto statement you should have the destination code included right after, but indented (by default).

Like so:
if condition call {
statement
return
}
or:
if condition goto {
statement
end
That way we won't have to scroll and match up numbers, or deal with seperating out brackets.
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt


  #72    
Old February 5th, 2012, 05:28 PM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Taking what you guys said... What do you think looks better? Or perhaps some other way you have in mind? Please make suggestions.
Spoiler:
____LockF___//Shorthand for lock; faceplayer
____If Flag.Pokedex != True
____{
________MsgBox "Here, have a\nPokéDex." MsgNormal
________SetFlag Flag.Pokedex
____}
____REnd____//Shorthand for release; end

Spoiler:
____lockf___//Shorthand for lock; faceplayer
____if flag.pokedex != true
____{
________msgbox "Here, have a\nPokéDex." msgNormal
________setflag flag.pokedex
____}
____rend____//Shorthand for release; end

Spoiler:
____lockf;___//Shorthand for lock; faceplayer
____if (flag.pokedex != true)
____{
________msgbox("Here, have a\nPokéDex.", msgNormal);
________setflag(flag.pokedex);
____}
____rend;____//Shorthand for release; end


At the moment my idea is to let all of these syntaxes work, rather than having a specific one. But this could make tutorials very confusing since they could all be using different syntax.
__________________
あなた は しきしゃ です
わたし は ばか です
  #73    
Old February 5th, 2012, 05:47 PM
BattleChan
Beginning Trainer
 
Join Date: Feb 2012
Location: Germany
Actually, I'd prefer version 3. It looks clear and has the best structure.
  #74    
Old February 5th, 2012, 06:17 PM
Speedster's Avatar
Speedster
The Unknown
 
Join Date: Dec 2011
Location: In the depths of space...
Gender: Male
Nature: Jolly
I also prefer version 3. Reminds me the most of C# and seems very organized and simple to learn.
__________________

.:Aegis:.
~coming soon~
  #75    
Old February 5th, 2012, 06:43 PM
Chaos Rush's Avatar
Chaos Rush
im sexy and i know it
 
Join Date: May 2007
Location: Taylor Swift
Gender: Male
Nature: Adamant
Definitely 3. It's most similar to GML (a language used in Game Maker that I'm familiar with), which in turn is similar to C++. And it looks the most sensible anyway.
__________________

The Chaos Emerald ROM Base (it's gonna take awhile)

DS-style 64x64 Pokémon Sprite Resource NOW COMPLETED
Custom Sugimori-style Pokémon Sprite Resource IN PROGRESS


Non-Pokémon hacks I support:
Sonic Classic Heroes
Sonic 3 Complete
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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:30 AM.


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.