Advertiser Content

Tool PKSV - Pokémon Script Editor + GUI Page 4

Started by score_under November 19th, 2007 2:13 PM
  • 389202 views
  • 821 replies

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
It's okay, I five'd it for ya :D
(Current thread ratings [averages]: 5 [5], 1 [3], 5 [4]).
Thanks... I take it that means you like the program :) ?
Spoiler:
To tell the sincere truth, I use XSE as well, but only for testing.
Plz not to PM me, I don't come here often enough. Email if you need me

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
I already have - it's under the name "Battle Pokémon".
It generates a fully-fledged (with all usual features, "Pokémon fled" message in a standard offset, etc) FireRed wild battle script. The item ID, in case you aren't sure, is the item it holds (e.g. SACREDASH)
If you don't have version 1.4.9 (check the "about" screen) then re-download, as so many bugs have been fixed and upgrades have been done since previous versions.
Plz not to PM me, I don't come here often enough. Email if you need me

*Shiny Umbreon*

is not the former mod

i live in Australia
Seen October 17th, 2008
Posted September 12th, 2008
17 posts
10.9 Years
um hate to ask but... how much is it in download???
This signature has been disabled.
135 pixels too tall.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
um hate to ask but... how much is it in download???
If you go to the "Browse all files" link, then you can have a look at the size for each version.
The pkg (package) file, containing everything a normal end user needs, is 237.7 KB. (Less than 1/64 of the size of your Fire Red ROM.)
The sourcecode file, containing everything in the package file but with accompanying source code (except for the backend source code, an old version is on the site but if you PM me I can give you an intermediary version). The size of the source code package, which I doubt anyone wants seeing as C programmers are rare nowadays (except in Linux communities), is 304.5 KB at the moment, just over 1/64 of the size of your Fire Red ROM.

[If you're curious, 1/64 of the size of a Fire Red or Ruby ROM is 256 KB.]

In other words, if you can fit a GBA ROM on your computer, you can fit this software on many, many times.
Plz not to PM me, I don't come here often enough. Email if you need me

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
Hi, I've got the 1.5.0 version up & ready!
Download <-- Clicky!
Mirror

Features:
  • Now you can run the tools dialog AND the decompile dialog at the same time, WHILE STILL editing text :P Neat, eh?
  • Added much-needed tooltips to toolbar. That was hell to implement.
  • Identifies, decompiles and recompiles... Pokémon Gold, Silver and Prism!! (not tried crystal, but Prism has a silly lockout-code which I just added to PKSV. Thanks Cooley, for the idea, the resources, and the motivation!)
  • Can convert offsets to pointers and back (thanks Blazichu!), meaning you won't have to switch to Scizz's A-Point every few seconds!
  • Has G/S/C autocomplete registry (except from pokeinc, I do NOT want to have to update that autocomplete set, it would take hours!)
  • Only hybrid G/S/C/R/S/E/FR/LG script editor out there, ever!
    And...
  • It's open source! Feel free to grab the source code (link)!

[If you're wondering where the decompiler/recompiler source is, grab the source to the non-GUI package instead]

Remember, any glitches should be PM'd directly to me so I can track 'em down and iron 'em out.
Plz not to PM me, I don't come here often enough. Email if you need me

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
@ JJJ: I use minor and major versions to show people how important an update is. If I update the major version (the first number), that usually means something to totally change the program (i.e. a re-write) has occurred. The second number, the minor version, is to show whenever I update something important. The last number is used for bugfixes and tiny features.

@ Wind: I'm thinking of writing a tutorial for the scripting commands, entirely in XHTML.
Plz not to PM me, I don't come here often enough. Email if you need me
Male
Melbourne, Australia
Seen October 12th, 2010
Posted September 18th, 2010
1,104 posts
12 Years
I haven't really posted here. But I've been looking at all the little differences I can see between this, XSE and Pokescript lately. And I've found that Pokescript is the one I like the most, but only because I'm able to edit the 'command database' so that I can rename commands so that they're much easier for me to remember. That feature is missing from these new tools.
Well, what I'm saying is if you can, is it possible to add that possiblity? It would help people like me and others who are stuck in their ways, to make the change over to a more reliable tool.
Gone.

Penumbra

Do you enjoy reading this?

Male
Uranus, UP
Seen December 26th, 2010
Posted June 28th, 2010
373 posts
10.8 Years
Uh, okay sorry if i'm a total nub. but, when I save, it doesn't.. well, save. I Take a new script, attempt to edit it, close and save it, re-open, it's back to the old script.

My friend said you have to compile it or whatever, so I did and it says
"Opened file.
Premature end to #DEFINE!"

but it still doesn't save...
Could anyone help? Thanks :)

Zennerick

The Researcher

Age 26
Male
California
Seen October 21st, 2010
Posted October 20th, 2010
520 posts
12 Years
Uh, okay sorry if i'm a total nub. but, when I save, it doesn't.. well, save. I Take a new script, attempt to edit it, close and save it, re-open, it's back to the old script.

My friend said you have to compile it or whatever, so I did and it says
"Opened file.
Premature end to #DEFINE!"

but it still doesn't save...
Could anyone help? Thanks
Yeah. Samething with me... I have no idea what to do.
Seen December 20th, 2008
Posted December 20th, 2008
1 posts
10.8 Years
Uh, okay sorry if i'm a total nub. but, when I save, it doesn't.. well, save. I Take a new script, attempt to edit it, close and save it, re-open, it's back to the old script.

My friend said you have to compile it or whatever, so I did and it says
"Opened file.
Premature end to #DEFINE!"

but it still doesn't save...
Could anyone help? Thanks :)
Having the same problem with latest version. Any fixes?

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
I haven't really posted here. But I've been looking at all the little differences I can see between this, XSE and Pokescript lately. And I've found that Pokescript is the one I like the most, but only because I'm able to edit the 'command database' so that I can rename commands so that they're much easier for me to remember. That feature is missing from these new tools.
Well, what I'm saying is if you can, is it possible to add that possiblity? It would help people like me and others who are stuck in their ways, to make the change over to a more reliable tool.
If you download the backend source code (PKSV w/o GUI) then look in "pokedef.h" or "golddef.h", and "recompiler.h" and "decompiler.h", you will find all the commands and all related code.
EDIT:
Autocomplete listing is in the pksvui.c of the frontend source code.

As for the premature end to #define... What a way to start V1.5.0, eh?
Update for that coming in a few minutes

Update has come.
If you cannot get the update and are stuck with version 1.5.0, go into PokeInc.txt and do a find/replace:
Find: CH'D
Replace: CHD
Plz not to PM me, I don't come here often enough. Email if you need me

Innocence

PC Lurker: I'm watching you...

Age 24
Male
Queensland, Australia. What are you, a stalker?
Seen August 31st, 2016
Posted September 25th, 2011
1,038 posts
14.9 Years
Prism has a silly lockout-code which I just added to PKSV.
A little too evil perhaps? :P

Don't mind me, an excellent new feature to your editor, and the others, I suppose...I still haven't read the other features, XD

I cringe at things I've said here in the past years.

score_under

I program the *other* ASM.

Age 26
Hertfordshire, England
Seen December 8th, 2015
Posted August 10th, 2010
525 posts
13.8 Years
Hey, I'm trying to decompile a Pokemon Gold script and I can't find the 'event bank' for scripts anywhere. Is there something I'm missing?
If you double-click the map's name in Gold Map, then you can find the "Event data offset".
There will be a pointer, then a number in brackets. The part of the number before the colon is what you want.
A little too evil perhaps? :P

Don't mind me, an excellent new feature to your editor, and the others, I suppose...I still haven't read the other features, XD
Too evil? No such thing! Ganon is a great example of this!
Plz not to PM me, I don't come here often enough. Email if you need me
Advertiser Content