Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Reload this Page New Script Editor Ideas Thread

Notices
For all updates, view the main page.

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.



Closed Thread
 
Thread Tools
  #51    
Old January 19th, 2012 (03:51 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by droomph:
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:
(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:
Wait, you said you were doing a plugin system, right?
Maybe. Why?
__________________
あなた は しきしゃ です
わたし は ばか です
  #52    
Old January 19th, 2012 (08:05 AM).
droomph's Avatar
droomph droomph is offline
mmm gurl that 90s
Crystal Tier
 
Join Date: Sep 2011
Location: bar'jách
Age: 18
Gender: Male
Nature: Impish
Posts: 4,289
Quote originally posted by Darthatron:
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 Full Metal is offline
C(++) Developer.
Silver Tier
 
Join Date: Jan 2008
Location: In my mind.
Age: 19
Gender: Male
Nature: Timid
Posts: 805
Send a message via Windows Live Messenger to Full Metal
Quote originally posted by droomph:
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 war rock exe is offline
Pokemon Colosseum Remaker!!
 
Join Date: Dec 2009
Location: wouldn't you like to know?
Age: 17
Gender: Male
Nature: Hardy
Posts: 801
Quote originally posted by Darthatron:
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 tinix is offline
PearlShipper & C Programmer
 
Join Date: Feb 2010
Location: Bratislava, Slovakia
Age: 17
Gender: Male
Posts: 86
Quote originally posted by Full Metal:


> 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 Full Metal is offline
C(++) Developer.
Silver Tier
 
Join Date: Jan 2008
Location: In my mind.
Age: 19
Gender: Male
Nature: Timid
Posts: 805
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 TheOrangePichu is offline
Currently working on new hack
 
Join Date: Jun 2011
Location: Earth
Gender: Male
Nature: Jolly
Posts: 49
I think someone already said it, but a flag finder would be cool.
  #58    
Old January 20th, 2012 (05:58 PM).
Hopeless Masquerade's Avatar
Hopeless Masquerade Hopeless Masquerade is offline
カミツレ
Silver Tier
 
Join Date: Mar 2010
Location: Nimbasa City
Age: 18
Gender: Female
Nature: Lax
Posts: 1,127
Not sure if you already have this planned or not, but support for expanded ROMs.
  #59    
Old January 20th, 2012 (07:23 PM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by droomph:
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:


> 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:
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:
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:
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:
I think someone already said it, but a flag finder would be cool.
No. Just no. No.
Quote originally posted by agentgeo:
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 Darkdata is offline
15 year old me was an idiot.
 
Join Date: Aug 2005
Nature: Calm
Posts: 137
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 Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by Darkdata:
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 chrunch is offline
Silver Tier
 
Join Date: Oct 2009
Gender: Male
Posts: 1,052
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 droomph is offline
mmm gurl that 90s
Crystal Tier
 
Join Date: Sep 2011
Location: bar'jách
Age: 18
Gender: Male
Nature: Impish
Posts: 4,289
Quote originally posted by 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?
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). Edited January 22nd, 2012 by Darthatron.
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by 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?
I probably will end up having both.
Quote originally posted by droomph:
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
__________________
あなた は しきしゃ です
わたし は ばか です
  #65    
Old February 1st, 2012 (02:54 PM).
war rock exe's Avatar
war rock exe war rock exe is offline
Pokemon Colosseum Remaker!!
 
Join Date: Dec 2009
Location: wouldn't you like to know?
Age: 17
Gender: Male
Nature: Hardy
Posts: 801
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). Edited February 1st, 2012 by droomph.
droomph's Avatar
droomph droomph is offline
mmm gurl that 90s
Crystal Tier
 
Join Date: Sep 2011
Location: bar'jách
Age: 18
Gender: Male
Nature: Impish
Posts: 4,289
Quote originally posted by Darthatron:
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


  #67    
Old February 4th, 2012 (06:30 PM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by droomph:
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 droomph is offline
mmm gurl that 90s
Crystal Tier
 
Join Date: Sep 2011
Location: bar'jách
Age: 18
Gender: Male
Nature: Impish
Posts: 4,289
Quote originally posted by Darthatron:
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 Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by droomph:
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 Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 12,950
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 droomph is offline
mmm gurl that 90s
Crystal Tier
 
Join Date: Sep 2011
Location: bar'jách
Age: 18
Gender: Male
Nature: Impish
Posts: 4,289
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 Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
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 BattleChan is offline
 
Join Date: Feb 2012
Location: Germany
Posts: 2
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 Speedster is offline
The Unknown
 
Join Date: Dec 2011
Location: In the depths of space...
Gender: Male
Nature: Jolly
Posts: 134
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 Chaos Rush is offline
im sexy and i know it
 
Join Date: May 2007
Location: Taylor Swift
Gender: Male
Nature: Adamant
Posts: 1,282
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.
__________________
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 -8. The time now is 08:47 PM.