The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources 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.


Advertise here

Reply
 
Thread Tools
  #1    
Old May 27th, 2008, 01:10 AM
Qwerty-117's Avatar
Qwerty-117
Is looking for a VBScripter
 
Join Date: Feb 2008
Location: I forgot
Age: 20
Gender:
Nature: Naughty

Advertise here
Compiling scripted scripts
I decided to make this because I noticed in the other tutorials people were asking about the “empty command database” and “file not found” errors a lot, I was having those same problems and I figured out how to get past them efficiently
What you need;
·ScriptEd
·The attached files (explained later)
·Diamond Cutter
·Advance Map
-Because this is a compiling tutorial, I won’t say how to make scripts, but here’s one for my examples, it makes the person say “hello, <your name>!”
#org 0x800000
Lock
FacePlayer
MsgBox 0x800050
BoxSet 0x6
Release
End

#org 0x800050
= hello, \v\h01!
End

Step 1: Download and unzip the attached files. Place them in the same folder as ScriptEd. Place DiamondCutter in the ScriptEd folder. (if you don’t do this you can get a lot of errors)

Step 2: Open Scripted and put in your script (make sure there are no errors in it)

Step 3: Click “Compile”

And choose your rom in the save box. (your ROM MUST be in the same folder as ScriptED)

This is where most people have problems. If you get "Run-time error '53' File Not Found”, It means your ROM isn’t in the same folder as ScriptEd or the name of your ROM has symbols in it. (your ROM name can only have letters/numbers, no spaces or symbols)
If you get
"Loading command database...
Empty command database detected. Program halted."
You are missing a file(s). If that’s the case, download the attachment and put the files in your ScriptEd Folder.

Step 4: You should see a window with a heap of text and symbols.

And at the bottom of the window it should say: [/font]
Cleaning up...
Closing file...
Finished processing rubide.rbc.

Now, in the SciptEd folder there should be a file called “rubide.rbc”, that has your script in it (with some extra stuff as well).

Step 5: Open DiamondCutter (which should also be put in the ScriptEd folder), and type your ROM name in the ROM Name section. (it has no selection so you have to type it.)

Un-tick the bottom two things in the options box and In the Code Files box highlight “rubide.rbc” then click ok. A window should come up with the same sort of stuff that ScriptEd had. Now open advance map, choose the person and in the “script offset” box on the right-hand side put the script offset in.
#org 0x800000 <-- offset
FacePlayer.......
Now save the ROM, and test it. (if you have A-map 1.9+ you can check it by clicking “open script” (if ScriptEd is set as your editor)). <to set ScriptEd as your editor go to;
>SETTINGS
>CHOOSE SCRIPT EDITOR>
Attached Files
File Type: zip missing files.zip‎ (7.3 KB, 84 views) (Save to Dropbox)
__________________





Never fear death, fear the unlived life

π = 3.14159265358979323846264338327950288419716939937510

What else can i put here?

Last edited by Spherical Ice; April 15th, 2010 at 08:13 AM.
Reply With Quote
  #2    
Old May 27th, 2008, 05:15 AM
Corrosion's Avatar
Corrosion
Support Pokemon Amber!
 
Join Date: Dec 2006
Location: Guess
Age: 21
Gender:
Nature: Brave
Qwerty, the topic is almost unreadable. Otherwise, looks like an alright tutorial, though you might want to broaden a bit.
__________________
Reply With Quote
  #3    
Old May 27th, 2008, 05:25 AM
dragonarche's Avatar
dragonarche
Is back :D
 
Join Date: Apr 2008
Location: New bark town
Gender: Male
Nature: Brave
Send a message via Windows Live Messenger to dragonarche
"wah"...............
i can barly read the topic
anyway i my scriping thing works fine now
__________________

Experienced Vb.net and C# Dev
Reply With Quote
  #4    
Old May 27th, 2008, 05:26 AM
Platinum Lucario's Avatar
Platinum Lucario
The Legendary Master of Light!
Community Supporter
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 21
Gender: Male
Nature: Calm
Quote:
Originally Posted by Qwerty-117 View Post
[FONT='Tahoma','sans-serif']Compiling scripted scripts[/font]
[FONT='Tahoma','sans-serif']I decided to make this because I noticed in the other tutorials people were asking about the “empty command database” and “file not found” errors a lot, I was having those same problems and I figured out how to get past them efficiently.[/font]
[FONT='Tahoma','sans-serif']What you need;[/font]
·[FONT='Tahoma','sans-serif']ScriptEd[/font]
·[FONT='Tahoma','sans-serif']The attached files (explained later)[/font]
·[FONT='Tahoma','sans-serif']Diamond Cutter[/font]
·[FONT='Tahoma','sans-serif']Advance Map[/font]
[FONT='Tahoma','sans-serif']-Because this is a compiling tutorial, I won’t say how to make scripts, but here’s one for my examples, it makes the person say “hello, <your name>!”[/font]
[FONT='Tahoma','sans-serif']#org 0x800000[/font]
[FONT='Tahoma','sans-serif']Lock[/font]
[FONT='Tahoma','sans-serif']FacePlayer[/font]
[FONT='Tahoma','sans-serif']MsgBox 0x800050[/font]
[FONT='Tahoma','sans-serif']BoxSet 0x6[/font]
[FONT='Tahoma','sans-serif']Release[/font]
[FONT='Tahoma','sans-serif']End[/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']#org 0x800050[/font]
[FONT='Tahoma','sans-serif']= hello, \v\h01![/font]
[FONT='Tahoma','sans-serif']End[/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']Step 0: Download and unzip the attached files. Place them in the same folder as ScriptEd. Place DiamondCutter in the ScriptEd folder. (if you don’t do this you can get a lot of errors)[/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']Step 1: Open Scripted and put in your script (make sure there are no errors in it)[/font][FONT='Tahoma','sans-serif'] [/font][FONT='Tahoma','sans-serif'][/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']Step 2: Click “Compile” [/font]
[FONT='Tahoma','sans-serif'][/font]
[FONT='Tahoma','sans-serif']And choose your rom in the save box. (your ROM MUST be in the same folder as ScriptED)[/font]
[FONT='Tahoma','sans-serif'][/font]
[FONT='Tahoma','sans-serif'][/font][FONT='Tahoma','sans-serif']This is where most people have problems. If you get “Run-time error '53' File Not Found”, [/font][FONT='Tahoma','sans-serif']It means your ROM isn’t in the same folder as ScriptEd or the name of your ROM has symbols in it. (your ROM name can only have letters/numbers, no spaces or symbols)[/font]
[FONT='Tahoma','sans-serif']If you get [/font]
[FONT='Tahoma','sans-serif']“Loading command database...[/font]
[FONT='Tahoma','sans-serif']Empty command database detected. Program halted.”[/font]
[FONT='Tahoma','sans-serif']You are missing a file(s). If that’s the case, download the attachment and put the files in your ScriptEd Folder.[/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']Step 3: You should see a window with a heap of text and symbols.[/font]
[FONT='Tahoma','sans-serif'] [/font][FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']And at the bottom of the window it should say: [/font]
[FONT='Tahoma','sans-serif']Cleaning up...[/font]
[FONT='Tahoma','sans-serif']Closing file...[/font]
[FONT='Tahoma','sans-serif']Finished processing rubide.rbc.[/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']Now, in the SciptEd folder there should be a file called “rubide.rbc”, that has your script in it (with some extra stuff as well). [/font]
[FONT='Tahoma','sans-serif'] [/font]
[FONT='Tahoma','sans-serif']Step 4: Open DiamondCutter (which should also be put in the ScriptEd folder), and type your ROM name in the ROM Name section. (it has no selection so you have to type it.)[/font]
[FONT='Tahoma','sans-serif'][/font]
[FONT='Tahoma','sans-serif']Un-tick the bottom two things in the options box[/font][FONT='Tahoma','sans-serif'][/font][FONT='Tahoma','sans-serif']and In the Code Files box highlight “rubide.rbc” then click ok. A window should come up with the same sort of stuff that ScriptEd had. Now open advance map, choose the person and in the “script offset” box on the right-hand side put the script offset in. [/font]
[FONT='Tahoma','sans-serif']#org 0x800000 [/font]ß[FONT='Tahoma','sans-serif']offset[/font][FONT='Tahoma','sans-serif'][/font]
[FONT='Tahoma','sans-serif']Lock[/font]
[FONT='Tahoma','sans-serif']FacePlayer......[/font]
[FONT='Tahoma','sans-serif']Now save the ROM, and test it. (if you have A-map 1.9+ you can check it by clicking “open script” (if ScriptEd is set as your editor)). <to set ScriptEd as your editor go to;[/font]
[FONT='Tahoma','sans-serif'] >SETTINGS[/font]
[FONT='Tahoma','sans-serif'] >CHOOSE SCRIPT EDITOR>[/font]
[FONT='Tahoma','sans-serif'] [/font]
You might want to fix the BB code a bit because it's incorrect.
But anyway it's a good tutorial. I already know how to compile scripts and it's still working.
__________________
[Platinum Lucario's Signature]
Researching the NDS ROMs...

sure does feel like a brand new adventure!

I'm really looking forward to learning how to understand what the hex values mean and how to create programs using Microsoft Visual Studio!

Always focus on the present, best thing to do! Never look back into the past and never worry about anything bad of the future!
Reply With Quote
  #5    
Old May 27th, 2008, 05:53 AM
Darthatron's Avatar
Darthatron
巨大なトロール。
Community Supporter Tier 2
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 22
Gender: Male
Nature: Modest
Thanks for posting, I guess. But it will be totally pointless in a few day's when HackMew's new scripting tool is released.
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote
  #6    
Old May 27th, 2008, 08:15 PM
ZodiacDaGreat's Avatar
ZodiacDaGreat
Working on a Mobile System
 
Join Date: Feb 2007
Location: South Pacific
Age: 22
Gender: Male
Nature: Relaxed
Send a message via ICQ to ZodiacDaGreat
Quote:
Thanks for posting, I guess. But it will be totally pointless in a few day's when HackMew's new scripting tool is released.
Yeah true, compilation is done which a click of a button, no messy "File not found" errors
__________________
Reply With Quote
  #7    
Old May 28th, 2008, 01:55 PM
cooley's Avatar
cooley
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 19
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote:
Originally Posted by Darthatron View Post
Thanks for posting, I guess. But it will be totally pointless in a few day's when HackMew's new scripting tool is released. :P
Few days??? I've got to talk to him.

Who uses pokescript? Pokescript has so many flaws and errors in coding, etc. ScriptED is even worse. XSE is the real deal, though I can't say much about it.

See yah.

P.S. Fix up the Code for the first post, it is easily fixable. Just do a "Find and Replace" and search for " ' " and replace it with a "
__________________

Reply With Quote
  #8    
Old May 28th, 2008, 08:25 PM
Qwerty-117's Avatar
Qwerty-117
Is looking for a VBScripter
 
Join Date: Feb 2008
Location: I forgot
Age: 20
Gender:
Nature: Naughty
ok... i fixed all of the font stuff.
it will be heaps easier to read!
__________________





Never fear death, fear the unlived life

π = 3.14159265358979323846264338327950288419716939937510

What else can i put here?

Last edited by Qwerty-117; May 28th, 2008 at 10:19 PM.
Reply With Quote
  #9    
Old May 29th, 2008, 07:13 AM
master morty's Avatar
master morty
Master Spriter
 
Join Date: May 2008
Location: The world I created yesterday
Gender:
Nature: Mild
omg thanks so much I have been wondering how to do this for 5 years!
Reply With Quote
  #10    
Old May 31st, 2008, 09:46 PM
Qwerty-117's Avatar
Qwerty-117
Is looking for a VBScripter
 
Join Date: Feb 2008
Location: I forgot
Age: 20
Gender:
Nature: Naughty
Quote:
Originally Posted by mattsna View Post
omg thanks so much I have been wondering how to do this for 5 years!
Glad to have helped!
I was hoping this would be useful, it's my first tut, so I thought it might not be very good.
__________________





Never fear death, fear the unlived life

π = 3.14159265358979323846264338327950288419716939937510

What else can i put here?
Reply With Quote
  #11    
Old June 2nd, 2008, 07:24 PM
wisemaker
Beginning Trainer
 
Join Date: May 2008
Gender:
Thanks very much i can't find any tutorial in compiling script in youTube Thx..
__________________

5.0 beta of Ruby Destiny make by DestinedJagold!!
remake by me John Joseph
X are incompletes.
Reply With Quote
Reply
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 01:42 PM.


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.