Jump to content




[CC1.5]ComputerCraft Emulator V0.57 (February 19th)


399 replies to this topic

#41 Xtansia

  • Members
  • 491 posts
  • LocationNew Zealand

Posted 24 July 2012 - 01:11 PM

View PostNoodle, on 24 July 2012 - 12:04 PM, said:

Need bigger screen! Its like 50x50.. grr.
Atleast add the option.

There's settings in the config file.

#42 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 24 July 2012 - 02:10 PM

View Posttomass1996, on 24 July 2012 - 01:11 PM, said:

There's settings in the config file.
Glad I didn't ask that, then. That's why I logged on. :)/>

#43 Xtansia

  • Members
  • 491 posts
  • LocationNew Zealand

Posted 24 July 2012 - 09:44 PM

View PostGamer36, on 22 July 2012 - 11:53 AM, said:

Like tiin57 and Sxw1212 said, it works fine when running the jar, but it you can't select a window or input anything. When run in terminal it does't open any windows (not sure why, never run anything from terminal before) and gives these errors:

ccemu.jar: line 1: PK: command not found
ccemu.jar: line 2:[email protected]: command not found
ccemu.jar: line [email protected]?: command not found
ccemu.jar: line 4: syntax error near unexpected token `('
ccemu.jar: line 4: `?|?META-INF/MANIFEST.MFM??? Ew??Q^(1j???M7W?ħ???<p??K7??s?1??o?9?ة?}?#???C??z^?Jᘰ?S?ݿ????~X???I??kb,??J1b??͘s??????m??=-_?)??PK'

That output is because you haven't run the jar correctly from terminal, use:
java -jar ccemu.jar

#44 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 24 July 2012 - 10:51 PM

Where does it save the ".cfg" to?
I've looked inside my AppData folder, the rar, and a lot of other places.

#45 Xtansia

  • Members
  • 491 posts
  • LocationNew Zealand

Posted 24 July 2012 - 10:55 PM

View PostNoodle, on 24 July 2012 - 10:51 PM, said:

Where does it save the ".cfg" to?
I've looked inside my AppData folder, the rar, and a lot of other places.

Should be the folder the jar is in/ the folder you run it from.

#46 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 25 July 2012 - 05:28 AM

Hmm.. Not there, I'll redownload.

#47 Doegizfruit

  • New Members
  • 3 posts

Posted 25 July 2012 - 05:14 PM

GREAT WORK
This is a very useful program and makes things way easier on me :)/>

#48 limdingwen

  • New Members
  • 36 posts

Posted 26 July 2012 - 02:32 AM

Dosen't work on Mac OSX Lion, Java 7 (1.7). When pressing start emulator the window flashes white and disappears. Normal quit can't work, must use force quit. Downloading Java 6 (1.6).

#49 Xtansia

  • Members
  • 491 posts
  • LocationNew Zealand

Posted 26 July 2012 - 03:31 AM

View Postlimdingwen, on 26 July 2012 - 02:32 AM, said:

Dosen't work on Mac OSX Lion, Java 7 (1.7). When pressing start emulator the window flashes white and disappears. Normal quit can't work, must use force quit. Downloading Java 6 (1.6).

Could you post the console output?

#50 KingMachine

  • Members
  • 122 posts

Posted 26 July 2012 - 04:56 AM

Bigger screen options. (Scaling, stretching, whatever. I can't see things that small on a 1080p screen)

#51 limdingwen

  • New Members
  • 36 posts

Posted 26 July 2012 - 08:41 AM

View Posttomass1996, on 26 July 2012 - 03:31 AM, said:

View Postlimdingwen, on 26 July 2012 - 02:32 AM, said:

Dosen't work on Mac OSX Lion, Java 7 (1.7). When pressing start emulator the window flashes white and disappears. Normal quit can't work, must use force quit. Downloading Java 6 (1.6).

Could you post the console output?

Exception in thread "main" java.lang.NoClassDefFoundError: /Users/wen/Downloads/ccemu-V0/4/ccemu/jar
Caused by: java.lang.ClassNotFoundException: .Users.wen.Downloads.ccemu-V0.4.ccemu.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


#52 Xtansia

  • Members
  • 491 posts
  • LocationNew Zealand

Posted 26 July 2012 - 09:04 AM

View Postlimdingwen, on 26 July 2012 - 08:41 AM, said:

View Posttomass1996, on 26 July 2012 - 03:31 AM, said:

View Postlimdingwen, on 26 July 2012 - 02:32 AM, said:

Dosen't work on Mac OSX Lion, Java 7 (1.7). When pressing start emulator the window flashes white and disappears. Normal quit can't work, must use force quit. Downloading Java 6 (1.6).

Could you post the console output?

Exception in thread "main" java.lang.NoClassDefFoundError: /Users/wen/Downloads/ccemu-V0/4/ccemu/jar
Caused by: java.lang.ClassNotFoundException: .Users.wen.Downloads.ccemu-V0.4.ccemu.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Thats a really weird error to be thrown,
How are you launching the jar?

#53 limdingwen

  • New Members
  • 36 posts

Posted 26 July 2012 - 10:26 AM

View Posttomass1996, on 26 July 2012 - 09:04 AM, said:

View Postlimdingwen, on 26 July 2012 - 08:41 AM, said:

View Posttomass1996, on 26 July 2012 - 03:31 AM, said:

View Postlimdingwen, on 26 July 2012 - 02:32 AM, said:

Dosen't work on Mac OSX Lion, Java 7 (1.7). When pressing start emulator the window flashes white and disappears. Normal quit can't work, must use force quit. Downloading Java 6 (1.6).

Could you post the console output?

Exception in thread "main" java.lang.NoClassDefFoundError: /Users/wen/Downloads/ccemu-V0/4/ccemu/jar
Caused by: java.lang.ClassNotFoundException: .Users.wen.Downloads.ccemu-V0.4.ccemu.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Thats a really weird error to be thrown,
How are you launching the jar?

I'm using the terminal.
java <the path name to the .jar>
When I tried java -jar it said that it could not launch jar file.


#54 Xtansia

  • Members
  • 491 posts
  • LocationNew Zealand

Posted 26 July 2012 - 10:48 AM

View Postlimdingwen, on 26 July 2012 - 10:26 AM, said:

I'm using the terminal.
java <the path name to the .jar>
When I tried java -jar it said that it could not launch jar file.

Well that explains the class not found error,
But did it only say could not launch jar file when you used -jar?
No other error messages?

#55 limdingwen

  • New Members
  • 36 posts

Posted 26 July 2012 - 02:58 PM

View Posttomass1996, on 26 July 2012 - 10:48 AM, said:

View Postlimdingwen, on 26 July 2012 - 10:26 AM, said:

I'm using the terminal.
 java  When I tried java -jar it said that it could not launch jar file. 
Well that explains the class not found error, But did it only say could not launch jar file when you used -jar? No other error messages?
Yea. Just that. May be because of Java 7.... but I can't seem to find a way to downgrade :)/>

#56 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 27 July 2012 - 02:14 AM

I'll test on OS X tomorrow with
java -jar ccemu.jar
.

#57 max1220

  • Members
  • 24 posts
  • LocationGermany

Posted 27 July 2012 - 02:34 AM

First off all, GREAT emulator.
My OS is Windows 8(Build 8400 German Language)
I should notice, that you have to run it as Admin. Otherwise, the Java-process will stay active, but no windows will be.
Also, it willl be cool(For my Linux netbook, and for other user too :)/>) if you can run it without any GUI (Terminal only).

Greetz, max1220.

#58 limdingwen

  • New Members
  • 36 posts

Posted 27 July 2012 - 03:06 AM

View Postmax1220, on 27 July 2012 - 02:34 AM, said:

First off all, GREAT emulator.
My OS is Windows 8(Build 8400 German Language)
I should notice, that you have to run it as Admin. Otherwise, the Java-process will stay active, but no windows will be.
Also, it willl be cool(For my Linux netbook, and for other user too :)/>) if you can run it without any GUI (Terminal only).

Greetz, max1220.

Exactly the problem I'm experiencing! However I am the admin....

#59 max1220

  • Members
  • 24 posts
  • LocationGermany

Posted 27 July 2012 - 02:20 PM

You have to use Task manager/CMD to run it. Every people on a normal Windows PC CAN be admin.
But you have to run the programm as admin, not with normal permissions.
Run the task manager, select File(I think, got german version) and select new task.
Check the run as adminestrator-field, and select the .jar-File. Now click on Run or Ok or something like that.

Or run the CMD as admin(Start->Search for CMD->Right-Click->Run as admin)
then CD in the .jar's path, and type in java -jar [filename] to run the programm.

If needet, i can reboot to windows, to make some screenshots.
But the text above should have explained everything :)/>



Greetz,
max1220


View Postlimdingwen, on 27 July 2012 - 03:06 AM, said:

View Postmax1220, on 27 July 2012 - 02:34 AM, said:

First off all, GREAT emulator.
My OS is Windows 8(Build 8400 German Language)
I should notice, that you have to run it as Admin. Otherwise, the Java-process will stay active, but no windows will be.
Also, it willl be cool(For my Linux netbook, and for other user too :D/>) if you can run it without any GUI (Terminal only).

Greetz, max1220.

Exactly the problem I'm experiencing! However I am the admin....


#60 max1220

  • Members
  • 24 posts
  • LocationGermany

Posted 27 July 2012 - 02:35 PM

New kind of ... bug maybe?
Under Linux, this needs Graphic Drivers. I think, they are not needet to run this, because the only thing the graphic card has to do is, putting some test on the screen. And if X11/GTK can do this without drivers, why not this emulator?
Also, if you do it as text, not as graphic(I think you do), you can easily do command line support.
(And other cool things like Copy the screen content as text, ...)
Will be great if you could do so :)/>
System spec: See here

//Edit: Also, the folder selection is a bit annoying.
Maybe make the path-textbox editible? Under Linux, there is also a bug, that the ".minecraft"-directory isn't found right. On my system, it always locates the path at "~/./".
Just small improvements, but maybe usefull :D/>
//Edit2: Maybe you should also notice, that this was just a small trie on my server system, and this system isn't Configured for Graphic things.
Otherwise, I would install graphic card drivers.


Greetz, and sorry for 1 more post,
max1220





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users