PDA

View Full Version : Pokemon Script Generator


Full Metal
April 24th, 2009, 02:22 AM
[css-div="border-color: #444;border-style:solid;border-width: 3px;padding:0px;"]Script Gen[css-div="padding:10px 5px 3px 5px;border-width: 2px 0px 0px 0px;border-style: solid;border-color: #444;font-family: Verdana;font-size: 11px;"]
This is a script generator. There are a few bugs I'm sure I mean come on this is only the first version.
It also dual functions as a script compiler...thanks to PKSV and Score_Under.
So all credit goes completely to Score_Under for anything under the PKSV Possibilities menu.
However seeing as this is an optional feature ( and requires a .dll aquired from PKSV).
It is not my file and therefore isn't right for me to distribute.
The program features a few of the built in scripts from PKSV's script generator.
It makes it easy to edit scripts and such.
Just click edit-->commands then click your command to add after that the proper syntax appears and you edit the contents inside the "[" and "]" with what they tell you to. Also...be sure to remove the [ and ] because if you don't your script won't work!
The best part is...This works for XSE as well! just save the script is all ya gotta do.
available contact methods for all three of us (Hackmew, Score_Under, and me (the blob of blobs) ) are provided in the program for comments and suggestions.
Hackmew, if you have a problem with available contacts please tell me and I will remove them within a blink of an eye.
The program also features some nice syntax highlighting known as Scintilla. This as well is thanks to Score_Under.
Which by the way increased the lines of code by around 800 if i was guessing. Just a nice little feature for those of you who get very bored and can see yourself going "oohhhh shiny...."
the programs' text boxes can zoom in and out! :D just push ctrl+scroll mouse wheel!
Or you can alternately download the program that doesn't rely on any external files, unless you don't want it to look ugly and the file is included in the .rar
There is also another version. This version is written in Visual Basic.NET. This program does not have the problems you would expect after reading the posts on page two. That is just bad timing on my part (as in bad timing to release the vb.net version). In other words the Visual Basic Program Does Not Crash. However, please be aware that the vb.net can not compile or decompile scripts, nor does it have scintillia, this is because i'm not really sure how to go about calling a function from a dll in vb.net yet...as i'm just learning. However, it does have some nice features like an update engine (ignore that it tells you that there are updates until otherwise stated on here) and it also has the ability to change the colors of textboxes backgrounds and their text, on-top of that, the program can edit upto 30 scripts at a time.
Please enjoy and post any comments you have in this thread. This is a way everyone will learn![/css-div]
Downloads
Normal Versionhttp://solidfiles.com/info_imgs/vyBr.jpg (http://solidfiles.com/d/vyBr)
.NET Versionhttp://solidfiles.com/info_imgs/vdeN.jpg (http://solidfiles.com/d/vdeN)
Source Code (Normal Version)http://solidfiles.com/info_imgs/Qupb.jpg (http://solidfiles.com/d/Qupb)

[css-div="padding:10px 0px 3px 0px;font-family: Verdana;font-size: 11px;"]Full Metal Palettes[css-div="padding:10px 5px 3px 5px;border-width: 2px 0px 0px 0px;border-style: solid;border-color: #444;font-family: Verdana;font-size: 11px;"]
About Full Metal Palettes
Full Metal Palettes is a fully functional palette editor that is written in C++. The program was written with GTK+, which means it can work on ANY platform.
However, for windows users, this also means you need the GTK+ runtime files. You can find the files Here (http://www.gtk.org/download.html) for your respective platform. (Mac and Linux users)
FOR WINDOWS USERS See the spoiler.

How to get GTK+ up and running in Windows
1) Download the file found here (http://gtk.alkia.org/index.php) (translate to english, and download the runtime for windows under the "download" section) i would give a direct link, but there isn't really a URL for the downloads page...
2) Ensure that the installation path is in your PATH variable

Download the (Windows users)program here (https://sourceforge.net/projects/fmpalettes/files/Releases/Full%20Metal%20Palettes.rar/download)
Download the source code here (https://sourceforge.net/projects/fmpalettes/files/Source%20Code/)
Browse all files here (https://sourceforge.net/projects/fmpalettes/files/)
Features
Load palettes from any of the four formats...
APE, Advance Map, 4BPP bitmaps, and decompile palettes from gba ROMS
Save palettes in any of the formats you load them, and the option of either dynamic, or manual palette storing (like #dynamic 0x74000000 for palettes...)
Edit the palette run-time with a nice convenient Color Editor (thanks to GTK) swap colors manually (useful for getting transparency correct with sprites)
A nice little (really, it's pretty small) is that if you load a 4BPP bitmap, the program takes the bottom left pixel, and makes *that* the first color. again useful for sprites transparency.
Soon to come
A pre-compiled package for linux users-- I tried last night and ironically, compiling GTK apps on LINUX (specifically xubuntu) is quite the challenge....
Different formats
--Indexed PNG files
--PAL files
choose the transparent color manually.
a version for macs?-- While this is possible to compile and run on macs, i have no clue how, if somebody with a mac figures out how to compile and run gtk+, please post it up here, and maybe i can find a way to compile a version for macs
[/css-div][/css-div][/css-div]

machomuu
April 24th, 2009, 08:11 PM
Well, what types of scripts does it make?

Full Metal
April 24th, 2009, 08:16 PM
talking scripts
movement scripts
whatever it is a script generator it makes scripts based on user input
it makes scripts for GBA games(Ruby,Sapphire,Emerald,FireRed,LeafGreen etc...)

machomuu
April 28th, 2009, 08:20 PM
talking scripts
movement scripts
whatever it is a script generator it makes scripts based on user input
it makes scripts for GBA games(Ruby,Sapphire,Emerald,FireRed,LeafGreen etc...)
Well there aren't very many script generators, other than this, I've only seen one other one, but this doesn't really do much...

Full Metal
April 29th, 2009, 12:12 AM
if you have any suggestions for commands to add I'm more than open. I kinda ran short on ideas and knew i wouldn't get a thread open w/o having a release tool. So honestly, please give me any suggestions you might have for it, I'm bone dry.

Maroy
April 29th, 2009, 12:57 PM
One word: Pokemarts. (if you need any help with them i know where to get all the raw offsets for the items.

Full Metal
April 29th, 2009, 04:47 PM
hmm...
i will look into this
thank you for your idea a new release with syntax bug fixes will be released when pokemarts are implemented

ThePokeHacker
May 2nd, 2009, 04:18 AM
Thanks a million,
First post and greatly appreciated.

Full Metal
May 2nd, 2009, 05:08 AM
well i updated SG and tried to add a failsafe incase you exited the program and you hadn't saved your script,but now,when you exit the program crashes, not really considered a problem though...seeing as you are exiting. Although it bugs me... i should fix it soon :11:
i have some syntax errors of amounts of 0x0's so that should be easily fixeable. Then i'll upload a new download link.
and uhh....
Thanks a million,
First post and greatly appreciated.
Did i do something in peticular to help you? I'm curious, thankful, but curious.
One word: Pokemarts. (if you need any help with them i know where to get all the raw offsets for the items.
Consider pokemarts added (It is a built in script btw)

infernoflash
May 2nd, 2009, 11:39 AM
Thanks this can really help me with scripting! Can you make a tutorial or something?

jamiemoore2
May 2nd, 2009, 06:13 PM
How do you download this? Can't seem to find a link...

SwiftSign
May 2nd, 2009, 06:16 PM
Open the first spoiler, then click the green writing for the Script generator.

And I second a Tutorial! :D

score_under
May 2nd, 2009, 10:19 PM
Since no one rarely comes to this thread,I now pronounce this thread...

Closed
For a start, you're not a mod. And "no one rarely comes to this thread" sounds a little uneducated, as it's definitely not what you mean.

Next off, this thread is pretty new; read the date on the first post.

By announcing it closed and not actually closing it or alerting a mod, you're effectively bumping the topic again. Which is probably not what you wanted... but I have no objections to that ;)

mewthree w/armor
May 3rd, 2009, 12:20 AM
Since no one rarely comes to this thread,I now pronounce this thread...

Closed

You get your warning, next time is an infraction.

pokerus34
May 6th, 2009, 07:12 AM
This is actually the tool to start my hack! I don't know how to make scripts, so maybe this will help! :)

Thanks! :)

P.S. = Functional and Reliable! :)

pspdude
May 8th, 2009, 09:12 PM
link is dead D: make a new link? :P

Full Metal
May 11th, 2009, 11:24 PM
new link (http://solidfiles.com/d/tp2Y) also, i don't know if exiting the program has any sideffects, it shouldn't, but i don't know (The program crashes when you exit for an unknown reason)

Full Metal
June 5th, 2009, 09:15 PM
Fixed a bug!
The program no longer crashes upon exit (i think i forgot to break or something)
also it has some functions for variables (eg... addvar subvar checkvar)
and it has some syntax fixes
i believe they are as follows

message @msg# ~> message @msg# [newline] callstd MSG_NORMALapplymovement 0xpersonnumber 0xmessage# ~> applymovement 0xpersonnumber @movement# [newline] pauseevent 0x0
*edit* I think there is a memory shortage which will cause you to crash the program
just if you plan to add a movement start with XSE for compiler
then copy the main script part
switch to PKSV (if that's what u want to use...)
and then simply paste it
and declare ur movement in the lower box
*last edit*
I am uploading now....
linky linky... (http://solidfiles.com/d/v2Ru)

sab
June 7th, 2009, 01:51 AM
The fourth script generator I have ever seen!!!! I love this but you need to make it able to do more things.

althir
June 7th, 2009, 06:50 PM
couldnt found scintilla.dll <--error

Full Metal
June 7th, 2009, 08:56 PM
lol
of course not
download the new .exe
place it in the folder of your old Script Generator
Then you will "find scintilla.dll"
But i've removed the link to old download....
So i'll upload it again. ^_^
just gonna take a sec


and @sab
I don't really know what to add right now....
Score_Under showed me how to do a loop in pokemon scripting
which is why i added variables.
Aotm i'm trying to figure out how to make a pole
until the poll is up (LOL XD until the "pole" is up i misspelled pole b4 i edited this) just post ideas here and specify if they should be commands or if they should be a built in script that isn't dependant upon PKSV.dll or if it should need PKSV.dll I'm not exactly a 'master' scripter,or a scripter. I'm simply able to script basic things aotm, which is another reason why there aren't tons of things my SG can do.

*edit*
the poll is now up so yea
you can vote for more than one thing
but i'll be adding commands in order of amounts of votes (more votes for one item will make it added first)

Dark0rock
June 11th, 2009, 10:51 AM
can someone tell me how do download the scrip gen ty.

Full Metal
June 11th, 2009, 01:40 PM
ok
step one,
open the first spoiler (click on the button saying "spoiler")
inside you'll see a image that says "download now"
click on it. you should now be downloading script generator.
*edit*
or alternately, if you can't open the spoiler like i sometimes can't
http://solidfiles.com/info_imgs/v2Ru.jpg (http://solidfiles.com/d/v2Ru)
Click on that!

Skara
June 17th, 2009, 11:08 AM
Ive tried this but I cant actually put the scripts into the game haha

Full Metal
June 17th, 2009, 08:52 PM
to do that within the program (sg.exe) all you need to do is download PKSV by Score_Under
then put SG.exe in the same folder as PKSV, then in order to put it in your ROM,drag your ROM into the main window (next version may include a dialogbox for opening ROMs and not just to open scripts) then you click 'compile' under the PKSV possibilities menu and your script is now placed in the game and u just have to 1) copy the offsets and 2) insert them into a map somewhere for useage!
OR....
1)Download PKSV
2)Open your script
3)Open your ROM
4)Push 'F9' (or ROM tools-->compile)
5)Copy and insert your script offsets into a map with AdvanceMap
OR....
1)Download XSE by hackmew...
2)make your script with the 'xse' radiobutton checked
3)open your script from XSE
4)compile your script with the 'compile' button
5)Copy and insert offsets

Regigiygas
June 22nd, 2009, 11:20 PM
You said to put scintilla.dll into the folder of the Script Generator, but the SG has no folder, and I can't run the program without scintilla.dll. What do I do?

Full Metal
June 23rd, 2009, 01:32 AM
O.0
that's not possible.
The scriptgen program has to be in a folder, somewhere.
is it on your desktop?
if so then just put scintilla dll on your desktop and it will work.
...
I'll work on putting this into win32 without scintilla....

Regigiygas
June 23rd, 2009, 03:22 AM
O.0
that's not possible.
The scriptgen program has to be in a folder, somewhere.
is it on your desktop?
if so then just put scintilla dll on your desktop and it will work.
...
I'll work on putting this into win32 without scintilla....
Apparently, scintilla can't be moved either. "Access is denied" or something.

Full Metal
June 23rd, 2009, 11:28 PM
check the first post for the program that doesn't need any dll's from external sources

Kaikai
December 19th, 2009, 05:46 PM
Why does 'Open' redirect to "Help with ur moves"? I dont really need them. :/


THIS CANT DO A THING!! REMOVE "HELP WITH UR MOVES!!"

Full Metal
December 20th, 2009, 10:19 PM
oooo yea...i prob need to update this...
i've had an updated version for a long time...
just never uploaded it ^_^;
wielll...
i'll upload nao

Full Metal
December 22nd, 2009, 08:56 PM
*bump*
Alrighty everyone ^^ The script generator has been updated :D
Check it the cool css ;)
*edit*
sorry for the double post.

Rank1
December 22nd, 2009, 09:53 PM
For some reason it doesn't work at all with me. It tells me to "This file's composition is incorrect so we were unable to execute this file. If you want to fix this problem then reinstall it" or somewhere along those lines (my computer uses foreign language as a default, so I'm roughly translating it...) HELP!!! Sorry if this is spam cuz if it is I'll never do it again... ㅠ_ㅠ...

Full Metal
December 22nd, 2009, 11:01 PM
O_o
i sure as heck didn't add anything like that in my program...
assuming ur using windows...did u actually extract everything?
*edit*
weird..
i think i get the same thing as you on my other comp
O______O

Rank1
December 22nd, 2009, 11:04 PM
Yeah. I extracted everything. There's Script Gen.exe, pksv.dll, and scintilla.dll, right? It still doesn't work...

sky_queen3
December 23rd, 2009, 12:09 AM
Erm, what does this error mean? (I downloaded the Dec 22 folder with nice features if that helps any.)

Rank1
December 23rd, 2009, 12:40 AM
Erm, what does this error mean? (I downloaded the Dec 22 folder with nice features if that helps any.)

I think I got the same error too

ΡλЯλđΘЖ
December 23rd, 2009, 12:55 AM
I get a similar error too, except I'm using XP.
Help. :(

Full Metal
December 23rd, 2009, 02:03 AM
okaaayyy everybody
^^ i tried using visual studio 08 for a change
this was a stupid idea.
So i went back to devcpp recompiled and now everything is better
Just redownload the link has been updated.
*edit*
just so you guys know...
It had something to do with me having the visual studio 08 pro and the express edition installed, plus the fact that i had a manifest included did not make it less confusing. I did not get this error on the machine i wrote this in because it had the right stuff installed, i could have just told everyone to install something, but that would be a bit silly in my opinion.

sky_queen3
December 23rd, 2009, 04:02 AM
Yay, looks like it's all good now. :3

RedYoshi
December 23rd, 2009, 04:25 AM
This is pretty good! It makes scripting a breeze.

Team Rocket's Raichu
January 1st, 2010, 01:59 AM
A SCRIPT GENERATOR!?!?!?!?!?! YOU ARE MY HERO!!!! I'M NOT EVEN WORTHY TO LOOK IN YOUR DIRECTION!!!!!

Thank you for this tool. It should be very helpful. :D

Full Metal
January 1st, 2010, 10:39 PM
LOLZ at the time of me posting this, you have one hundred and fifty posts, which after reading ur siggy, makes me laugh :P
*ontopic*
as always, thank you for posting ur positive feedback.
also, if anyone has some suggestions for future releases, please tell meh.
*notice*
I think i'm gonna post my source code...(for lyiuhangjerry to look at)

Pogeygothaxed
January 17th, 2010, 08:20 AM
This has helped a lot in scripting. Not only in doing things for me, but to help understand better of what the code actually does. So thanks for that.

Also, I wanted to ask if you were still going to update this tool? And if so, I have a suggest for the next release. x.x Can you add in some kind of fanfare script, or, at least a values list for it? 'cause I can't seem to find one. Thanks again. :)

Full Metal
January 17th, 2010, 01:30 PM
i think, i've not done anything with fanfare, so i'll have to see how it works (but i think its just a sound...)

Pogeygothaxed
January 17th, 2010, 08:50 PM
i think, i've not done anything with fanfare, so i'll have to see how it works (but i think its just a sound...)

It is, but I can't seem to find a value list or anything in with the tutorials I've looked into. x.x So I'm kind of stuck. Thanks anyway. By the way, does that mean you'll be releasing future updates of this? :)

Full Metal
January 17th, 2010, 09:36 PM
Yush, infact, i'm trying to make a gtk app, which will make it cross-platform. BUT there are a few problems
1) I can't even get my menus to appear correctly consistently >.>
2) I have absolutely no clue where to start on compiling while running linux
3) I don't have a mac to compile on.
The linux issue shouldn't be hard, there are tons of people who compile stuff in C on linux, i'll just do a bit of googling. But i'm not exactly going to go and buy a mac, their expensive O.O

Alpha_Spike
February 28th, 2010, 11:43 AM
With this tool can I add things like legendary events? By that I mean like how a person obtains Mewtwo etc etc. If so this will come in handy =) Also can it allow adding new gym leaders/trainers/rivals etc? I got a few ideas and need some things like that

Full Metal
March 21st, 2010, 01:33 AM
*bump*
before mods get mad, there is a legitmate reason for this bump: I have added another tool.
Full Metal Palettes.
To do list
1) Full Metal Space
2) (perhaps) A RAW file inserter
3) if 2 get's done, several tools to convert things into RAW files....(pictures, midis' etc)
4) Convert Script Gen to being cross-platform (which will take a LONG time)
anyways, i'm about to re-boot into ubuntu, compile a copy of the program for linux users, and add a download link to that in the first post.
also, could a mod rename this to "Full Metal Toolbox" ? or do i need to make a new thread?
*edit*
if somebody here has a mac, and knows how to compile things, i would like it if you would compile a copy of Full Metal Palettes for me...cuz i don got a mac.....