Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Alice source code overview
Old
kvillave
Guest
 
Status:
Posts: n/a
Default Alice source code overview - 12-18-2008, 08:18 PM

Does anybody know if there is a readme file or overview of the Alice source
code that is freely available from download? I would like to study this code.
   
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 12-19-2008, 08:36 AM

Source code is in the same place as the downloads, at the bottom of the page, available for PC and Mac.

URL:

http://www.alice.org/index.php?page=...download_alice


(')>
   
Reply With Quote
Written document explaning Alice source code
Old
kvillave
Guest
 
Status:
Posts: n/a
Default Written document explaning Alice source code - 12-19-2008, 03:26 PM

I already downloaded Alice source code. What I am asking is if anybody
knows if there is a written document explaining the code. I am trying to study the code and I find it very difficult to understand.
   
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 12-22-2008, 10:55 AM

Ah. Well that's because its in hex form. You should try a hex editor it makes it slightly easier and organizes the code into neat columns for you. However, you still won't be able to understand it unless you know hex code.


(')>
   
Reply With Quote
Old
hgs
Guest
 
Status:
Posts: n/a
Default 12-22-2008, 05:07 PM

Quote:
Originally Posted by x2495iiii View Post
Ah. Well that's because its in hex form.
The code is available for Alice2.0 in Java. Nobody distributes software as hex dumps these days. Unfortunately, unless it has changed in some unannounced way, the sources are all you get. No Makefile, no Ant file, no README. If I remember correctly, anyway, it's a while since I tried this.

I got so far building it, and then got completely stuck when I could not find a depenency. This is a shame for a project that is open source, but there are clearly staffing constraints on the project at the moment, and I suspect they will not be eased for some time. Then all the effort will be on Alice 3.
   
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 12-22-2008, 10:00 PM

I actually sifted through the source code recently for one of my projects and I'm very sure that it was in hex form, as I myself used the aforementioned hex editor to make it easier on myself.

There is a different way to get more readable code out of Alice, however. Simply Extract the files from any Alice world using either a File extracting program (like my good ol 7-zip), or by changing the extension from .a2c to .zip and using Windows. Then, look inside the folder it creates to find a bunch of other folders, each representing a component of the Alice world. Inside each is an XML document with simple, easy-to-read Java-ish code on it. Of course, it's read-only however. If you want to change stuff, you'll have to deal with the hex stuff.


(')>
   
Reply With Quote
Has anybody compiled the alice source code for alice 2.0?
Old
kvillave
Guest
 
Status:
Posts: n/a
Default Has anybody compiled the alice source code for alice 2.0? - 12-26-2008, 03:21 PM

I am trying to understand/compile/change the free alice source code for
alice 2.0 but I am having lots of difficulties.

I contacted the alice programmers and they will not provide help.

Has anybody compiled/changed the alice source code for alice 2.0?

Any help is appreciated.

Karen
   
Reply With Quote
Reply


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.