The insanely simple blender tutorial for Lugaru modders

The place to discuss all things Lugaru.

Do you want a YouTube video tutorial with voice over?

Yes
44
96%
No
2
4%
 
Total votes: 46

User avatar
Dudeman
Posts: 516
Joined: Mon Mar 12, 2007 6:42 pm
Location: Mountain View, CA

Re: The insanely simple blender tutorial for Lugaru modders

Post by Dudeman » Sun Oct 19, 2008 2:16 pm

sorry to resurrect a dead thread, but can you maybe work on making a mac version of the converter? Although if I was able to make the model on windows, convert to .solid, and then email the .solid to my mac that would be fine. Does anyone know if that works? I'm kinda busy right now with other things so I cant test it myself.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Sun Oct 19, 2008 4:09 pm

It is a Mac version. It's written in pure Java. You need to install Java.
http://java.com/

Once Java is installed, you need to start the converter from the terminal.

First, copy your .x model to where the file X2Solid.class is.

Then, open a terminal and cd to the directory where X2Solid.class is.

Then, invoke X2Solid.class.

If your model is named sausagefest.x, for example, once you're in the folder on your terminal, enter

Code: Select all

java X2Solid sausagefest.x
If that doesn't do the trick, try it with

Code: Select all

java -cp . X2Solid sausagefest.x

kakashi1000
Posts: 21
Joined: Thu Oct 30, 2008 3:11 pm

Re: The insanely simple blender tutorial for Lugaru modders

Post by kakashi1000 » Sun Nov 16, 2008 5:34 pm

Hello.

I was trying to convert a model to .solid using rudel's converter and I got this:

Code: Select all

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
I have tried both in Windows and Mac and all i get is that...

Does anybody know what have I made wrong?

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Sun Nov 16, 2008 5:44 pm

Please update your Java RE. http://java.com/

kakashi1000
Posts: 21
Joined: Thu Oct 30, 2008 3:11 pm

Re: The insanely simple blender tutorial for Lugaru modders

Post by kakashi1000 » Sun Nov 16, 2008 6:14 pm

rudel_ic wrote:Please update your Java RE. http://java.com/
I have latest JRE version, but it doesn't work.

Anyway, thanks for the fast answer :)

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Sun Nov 16, 2008 6:59 pm

If you open a command line (Windows-Key+R, type: CMD , hit enter) and there type
java -version , what does it show then?
(You can copy text from the command line by right-clicking somewhere, go into Mark mode, marking with the left mouse button and then pressing enter)

I'll look into this now on WinXP, give me a few minutes.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Sun Nov 16, 2008 7:10 pm

I just re-installed the newest Java RE, checked that it actually was installed via java -version on command line, then converted a .x file and it worked.
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
It appears your Java installation is in some way broken or your X2Solid download is corrupt.

This exception is thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.

That only happens if you're running an outdated JRE, meaning pre-1.6.

This can happen if your PATH variable contains another JRE, for example the Microsoft one, the GNU one or the Borland one. This app has been compiled for Sun Java and only runs on that.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Sun Nov 16, 2008 8:44 pm

kakashi1000, please post whether or not your java -version output results in something starting with 1.6.0. If it does, there's something else that's broken, and I'd like to get to the bottom of this.

--

17 people wanting a tutorial is good enough. So I'll make a tutorial in the next few days.

It'll be two parts - making an immobile and making a weapon. Both parts should be at least 7 minutes long.

I'll upload that to YouTube as 800x600 and then post the links here in this thread.

I've made a few test runs already, so the filming part works perfectly. I'll just have to write a proper script (improv can only take you that far) and then get through it all without messing it up :P

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Tue Nov 18, 2008 2:41 am

Change of plans - there will be a new version of the converter soon (if you're following that topic closely, you might already know that). The video tutorials thus will be based on that new version. Some stuff is different from the initial prototype converter, it'll be generally way easier to make models.

But before that beast gets released, there's some stuff I have to make ready for release (deactivating debug output, fixing weird default stuff, writing help text etc). In a nutshell, I have to polish the thing. After that's done, I'll release the program, make the video tutorials, post about all that, and that's that.

I guess this thread right here will be obsolete then.

So let me warn you: Don't get too attached to the prototypical converter, things are about to change.

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: The insanely simple blender tutorial for Lugaru modders

Post by Lotus Wolf » Tue Nov 18, 2008 3:21 am

way cool! i've been looking at it, and there are few things i see wrong with it, i haven't actually used the converter though, but the interface seems to work very well. fixing the weird green/yellow lighting would be nice though...

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Tue Nov 18, 2008 5:19 am

haha that's a leftover from testing normals generation code, I'll be sure to adjust colors and stuff

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: The insanely simple blender tutorial for Lugaru modders

Post by Lotus Wolf » Tue Nov 18, 2008 12:36 pm

oh, lol... :lol:

kakashi1000
Posts: 21
Joined: Thu Oct 30, 2008 3:11 pm

Re: The insanely simple blender tutorial for Lugaru modders

Post by kakashi1000 » Thu Nov 20, 2008 11:01 am

rudel_ic wrote:kakashi1000, please post whether or not your java -version output results in something starting with 1.6.0. If it does, there's something else that's broken, and I'd like to get to the bottom of this. 
Sorry, but I don't know what you mean, my english is not very good.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: The insanely simple blender tutorial for Lugaru modders

Post by rudel_ic » Fri Nov 21, 2008 1:15 am

Do this in Windows XP:

1. Press Image+R
2. Enter this in the dialogue that comes up:

Code: Select all

cmd
3. Press "ENTER"
4. A terminal appears!
5. Type this in the terminal:

Code: Select all

java -version
6. Press "ENTER"
7. Stuff like this should come up:

Code: Select all

java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
I need to know what comes up when you do this. Thanks.

kakashi1000
Posts: 21
Joined: Thu Oct 30, 2008 3:11 pm

Re: The insanely simple blender tutorial for Lugaru modders

Post by kakashi1000 » Fri Nov 21, 2008 10:59 am

Thank you very much for your help.

I have just solved it, it was just a silly basic error.

I'm very sorry for the problems I've caused.

Post Reply