Drizzle problems

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Drizzle problems

Postby Justintime9 » Mon Jun 16, 2008 10:01 am

Shorah, I was just working on the MOUL Drizzle tutorial on the wiki, and I got almost to the end of part 2... but I had an annoying problem: When I got to here: (note, this is the tutorial screenshot, not a screenshot of how my screen looks) Image I copied the name of the folders just as the tutorial told me, however, on the tutorial, it shows "/" instead of "\" dividing the the folders... I kept it at "\" since that was the file path, and assumed the the writer of the tutorial just had something different about their computer... but... when I typed in the exact file path, it underlines it in red, and a red exclaimation mark appears in the margin, saying "illegal escape character". Now, I at first disregarded that, and hit F6 to open Drizzle, but down below, it gave me this error:
Code: Select all
init:
deps-jar:
Compiling 3 source files to C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\build\classes
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:72: illegal escape character
        pots = "C:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles";
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:72: illegal escape character
        pots = "C:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles";
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:72: illegal escape character
        pots = "C:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles";
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:72: illegal escape character
        pots = "C:\Program Files\Ubi Soft\Cyan Worlds\Myst Uru Complete Chronicles";
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:73: illegal escape character
        moul = "C:\MOUL Files";
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:74: illegal escape character
        out = "C:\MOUL Converted\Output";
C:\Documents and Settings\Dan Grajek\Desktop\MOUL Ages programs\Drizzle\Drizzleprp\src\gui\Gui.java:74: illegal escape character
        out = "C:\MOUL Converted\Output";
7 errors
BUILD FAILED (total time: 0 seconds)

...and didn't open Drizzle. I then tried changing all the "\" to "/", and that opened Drizzle just fine... but when I selected a prp file, it gave me this error!:

"Error reading file:C:\MOUL FilesJalak_District_BuiltIn.prp:C:\MOUL FilesJalak_District_BuiltIn.prp (The system cannot find the file specified)"

As you can see, I'm in quite a dilema, if I change the slashes, I can open Drizzle, but it will give me an error, if I don't change the slashes, I can't open drizzle, but the slashes are going the right way!

If I'm not being clear enough, please say so :D
User avatar
Justintime9
 
Posts: 1188
Joined: Sat Sep 29, 2007 5:37 am

Re: Drizzle problems

Postby Christian Walther » Mon Jun 16, 2008 10:27 am

What happens when you double the backslashes, i.e.
Code: Select all
moul = "C:\\MOUL Files\\dat\\";
etc.? I would assume the same as when you used forward slashes (unless Drizzle treats them differenty - Windows should treat them the same), but it might be worth a try.

To get a backslash in a string literal in Java (and C and many other languages), you need to double it, because two-character sequences starting with a backslash are used to indicate special characters. e.g. \n stands for a line feed, or \" for a quotation mark, and \\ stands for a single backslash. When you write
Code: Select all
pots = "C:\Progra...";
that gets you a compiler error because \P is not one of these recognized two-character sequences.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Drizzle problems

Postby Justintime9 » Mon Jun 16, 2008 10:37 am

Ah, thx :D well, replacing / with \\ did get it to work :) However, I still get the error in Drizzle... Btw, what did you mean about the /P? are you saying I should not put the P there?
User avatar
Justintime9
 
Posts: 1188
Joined: Sat Sep 29, 2007 5:37 am

Re: Drizzle problems

Postby Christian Walther » Mon Jun 16, 2008 11:05 am

I'm just explaining why
Code: Select all
"C:\Progra..."
is incorrect Java syntax. The compiler reads the "C" and the ":" and adds these characters to the string it's building, then it sees "ah, here's a backslash, that means I shouldn't add a backslash to the string, but read the next character, and depending on what it is, add some special character to the string". Then it reads the P and is confused because it didn't expect a P, but an n or a " or a \ (or one of a few other characters).

What you should and shouldn't do depends on what you want to achieve. If you want to achieve a string saying C:\Progra..., then you should write
Code: Select all
"C:\\Progra..."
I wouldn't call it "you shouldn't put the P there". The P is in the wrong place after a single backslash because only a few specific characters are accepted there, but for what you want to achieve it's the single backslash that is wrong, it should be doubled.

Completely confused now? :)

I'm sorry I can't help you with the Drizzle error as I haven't used Drizzle lately.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland

Re: Drizzle problems

Postby Justintime9 » Mon Jun 16, 2008 11:07 am

...I think I get it, now my only problem is the Drizzle error :P thx for your help :D
User avatar
Justintime9
 
Posts: 1188
Joined: Sat Sep 29, 2007 5:37 am

Re: Drizzle problems

Postby Justintime9 » Mon Jun 16, 2008 11:14 am

Doh! I found my problem! I had written under moul = "C:\\MOUL Files" which, when looking for the PRP file in Drizzle, showed it as "C:\MOUL FilesJalak_builtin_.prp, rather than "C:\MOUL Files\Jalak_builtin_.prp", so all I had to do was change "C:\\MOUL Files" to "C:\\MOUL Files\\"
User avatar
Justintime9
 
Posts: 1188
Joined: Sat Sep 29, 2007 5:37 am

Re: Drizzle problems

Postby Justintime9 » Mon Jun 16, 2008 11:34 am

...grrrr... I got to the very bottom of part 2, thinking I was done with it... but when I tried to copy the Jalak .age, .fni, and .sum file, to URU:CC, I found the .age, and .fni file just fine, but there is no .sum file! anywhere! I did a search for .sum, and nothing came up... the same goes for the actual MOUL directory! where're all the .sum files! : :cry: :cry: :cry:

edit: nvrmind, I found it, I was using my beta directory for the dat files, and for some reason, that doesn't have the .sum files :P I found them all in the gametap folder.
Last edited by Justintime9 on Mon Jun 16, 2008 11:38 am, edited 1 time in total.
User avatar
Justintime9
 
Posts: 1188
Joined: Sat Sep 29, 2007 5:37 am

Re: Drizzle problems

Postby teedyo » Mon Jun 16, 2008 11:34 am

Soo... In order to make a clean escape, you must double your (back)slash when hacking in the path coming from windows.
teedyo
 
Posts: 212
Joined: Tue Oct 09, 2007 5:47 pm

Re: Drizzle problems

Postby andylegate » Mon Jun 16, 2008 1:26 pm

Ahem.

As the author of the tutorial: you are suppose to use the "/" in the Java script, as that is the way it is suppose to be. Why do you think it put the line in red and gave you an error when you typed the "\" instead? Because that is the wrong way to put in the script.

This is why I included a screen shot, so that you could see what was used.

In the future, don't assume that the author is wrong right away and change it to something else you think is right. Do it the way the tutorial shows first. THEN if you have a error or issue come ask about it. Could save you hours of grief.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Drizzle problems

Postby Justintime9 » Mon Jun 16, 2008 4:15 pm

ya... I guess I should've thought of that...
anyway, I finally finished it!!! and I tried Delin, Minkata, Tetsonot, Negilgahn, and Jalak...
However, I've run into the following problems: Minkata is horrible, it's completely black, with a strange white spot when I link in, Eder delin is perfect, except there is no sound (including footstep sounds) except for an occasional Goose, and the fountain sound. I can't turn on the lights in Tetsonot (rendering it completely useless), in negilgahn, I can't turn on the light, and the sound is... weird, and Jalak is perfect, except the fact that I can't add Jalablocks (which I suspected) or raise the platforms. Are these known problems? or did I mess up along the way?

Also, how do I use key strokes to link to the ages?
User avatar
Justintime9
 
Posts: 1188
Joined: Sat Sep 29, 2007 5:37 am

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 3 guests