Qwerty-117
Is looking for a VBScripter
- 66
- Posts
- 17
- Years
- I forgot
- Seen Jan 14, 2009
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>
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>
Last edited by a moderator: