Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Thank you! It works...
Old
Gershon Ballas
Guest
 
Status:
Posts: n/a
Default Thank you! It works... - 03-18-2010, 03:22 PM

Just one question... Is there a way to add a restart button to it? I really need to have the restart button.

Thank you.
   
Reply With Quote
Can't get this to work
Old
mr.lewis.whs
Guest
 
Status:
Posts: n/a
Unhappy Can't get this to work - 04-08-2010, 01:04 PM

Quote:
Originally Posted by gabe View Post
OK. Dennis is ahead of us, as usual. This functionality is built into Alice. Here's how to run your world without having to start up Alice:

1. Download the attached zip file
2. Extract "player.bat" into the "required" directory of Alice
3. Double-click player.bat. An open world dialog box will appear
4. Navigate to your world and select it

Please let me know if this works/doesn't work for you.
I can't get this to work on my school issued PC. I have administrative rights, but I didn't set everything up on this computer, so sometimes I have weird issues. When I double click the .bat file a dos window appears for half a second with some text then disappears.

I ran it from an already open cmd window and got this output (paths are shortened for readability):

*********
\Alice 2.2\Required>player.bat

\Alice 2.2\Required>PATH=.\jre1.3.1_10_win32\bin;.\jre1.3 .1_10_win32\bin\hotspot

\Alice 2.2\Required>java -hotspot -Xincgc -Xmx512m -XX:+ForceTimeHighResolution -classpath lib/alice.jar;externalLib\jython.jar;optionalPackagesL ib\customizer.jar;optionalPackagesLib\jmf.jar;opti onalPackagesLib\mediaplayer.jar;optionalPackagesLi b\multiplayer.jar;optionalPackagesLib\sound.jar;op tionalPackagesLib\resolver.jar;optionalPackagesLib \xercesImpl.jar;optionalPackagesLib\xml-apis.jar;optionalPackagesLib\xmlParserAPIs.jar;opt ionalPackagesLib\vecmath.jar -Dpython.home=jython-
2.1 -Djava.library.path=lib/win32;externalLib/win32;optionalPackagesLib/win32 edu.cmu.cs.stage3.alice.player.DefaultPlayer
'java' is not recognized as an internal or external command,
operable program or batch file.

\Alice 2.2\Required>
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 04-08-2010, 01:46 PM

Quote:
Originally Posted by gabe View Post
OK. Dennis is ahead of us, as usual. This functionality is built into Alice. Here's how to run your world without having to start up Alice:

1. Download the attached zip file
2. Extract "player.bat" into the "required" directory of Alice
3. Double-click player.bat. An open world dialog box will appear
4. Navigate to your world and select it

Please let me know if this works/doesn't work for you.
Didnt work for me, it opened and closed before anything happened


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
bjia56
Guest
 
Status:
Posts: n/a
Default 04-13-2010, 02:02 PM

Quote:
Originally Posted by jediaction View Post
Didnt work for me, it opened and closed before anything happened
Same here
   
Reply With Quote
Old
the gaate
Guest
 
Status:
Posts: n/a
Default 11-09-2010, 08:52 PM

I am disapointed this thread ended. I would really love to be able to use this program but it just flashes for me. Maybe this bump will help things?
   
Reply With Quote
Problem?
Old
haven812
Guest
 
Status:
Posts: n/a
Lightbulb Problem? - 11-16-2010, 07:13 PM

I found that the player.bat runs fine on Alice 2.0, but on Alice 2.2 the window just flashes like these previous complaints have mentioned. I am not sure if this is an easy fix or not, but it would be worth looking into.
   
Reply With Quote
Success on 2.2!
Old
mr.lewis.whs
Guest
 
Status:
Posts: n/a
Default Success on 2.2! - 02-17-2011, 11:07 AM

Maybe this thread is just deader than dead, but if not I've solved user player.bat on Alice 2.2. Apparently they changed a directory name for Alice 2.2 and it messed up the .bat. I just opened the batch file and changed the 2 spots in the file that reference "jre1.3.1_10_win32" to "jre" to match a likely directory in the Required folder. Now the batch file works as advertised previously in this thread.

I've attached the updated file. This player will work only for Alice 2.2 as far as I can tell.

Attached Files
File Type: zip player.zip (395 Bytes, 16 views)
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 02-17-2011, 11:17 AM

Thank you very much.
   
Reply With Quote
player error
Old
jnawrocki
Member
 
Status: Offline
Posts: 32
Join Date: Jan 2010
Location: Toledo, OH
Default player error - 02-17-2011, 05:46 PM

I used the new player file created by Mr. Lewis.; exracted it; and put it in the Required folder, but the following messages appear (see below) and no open file dialog box appears. The only hotspot files I can find are in the Client and Server folders (inside the bin folder) Thanks

C:\Alice 2_2Sept\Alice 2.2\Required>PATH=.\jre\bin;.\jre\bin\hotspot

C:\Alice2_2Sept\Alice 2.2\Required>java -hotspot -Xincgc -Xmx512n -XX:+ForceTimeHighResolution -classpath lib/alice.jar;externalLib\jython.jar;optionalPackagesL ib\customizer.jar;optionalPackagesLib\jmf.jar;opti onalPackagesLib\mediaplayer.jar;optionalPackagesLi b\multiplayer.jar;optionalPackagesLib\sound.jar;op tionalPackagesLib\resolver.jar;optionalPackagesLib \xercesImpl.jar;optionalPackagesLib\xmlapis.jar;op tionalPackagesLib\xmlParserAPIs.jar;optionalPackag esLib\vecmath.jar -Dpython.home=jython-2.1 -Djava.library.path=lib/win32;externalLib/win32;optionalPackagesLib/win32 edu.cmu.cs.stage3.alice.player.DefaultPlayer
   
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.