Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Getting into Alice 3
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default Getting into Alice 3 - 02-11-2012, 05:00 PM

I am Arty-fishL, master of the Alice hacks.
Alice 3, feel my wrath.

I've been using Java recently and getting into its groove. So I decided that Alice 3 was too hack free (there isn't even a Jython scripting interface hidden within it).

I decided I'm going to give it a very toned down version of Addons (that I've been developing for Alice 2). It will have only one addon so far, a Jython console.

Alice 3 has been built in such a way that they make it hard to hack, there's no Jython scripting interface and no simple text files in the Alice directory that are run.

Anyway, I found a nice way in; I decompiled the Alice 3 Jar with JD-GUI and extracted the About Alice class (that is executed when you click the About option in the help menu) via 7zip, then I opened it in Notepad ++ and replaced it with custom code. I used the command line java compiler to recompile and I crammed it back into the Alice Jar.

This was just to test it, so it was just a simple dialog. Result:


Next I got to work on a custom Jar that I can drop in the Alice Directory and have executed. In this I packaged Jython. I can use this to run Addons from external Jython files like I do in Alice 2. For this I used Eclipse.

Now I've just got to make Alice execute my custom Jar, and then I've got to modify Addons to work with Alice 3.

After that I should be fully in and the fun can begin.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [¬º-°]¬
   
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-11-2012, 10:07 PM

YAAAAAAAAAAAAAAAAAAAAAY!!!!!!!

You are indeed the master of the hacks. All hail arty-fishl, wizard of Alice!

Any way you can make a model importer for Alice 3? Right now, that's its biggest disadvantage compared to Alice 2.2.


(')>
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 02-11-2012, 10:22 PM

I did that a long time ago with the Alice 2.2 alice.jar for the about screen. Though I still can't recompile a working alice.jar. If you ever figure it out for 2.2 do tell Mr. Kidnapper.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-11-2012, 10:24 PM

Dang...








This is beyond my comprehension. Amazing work once again Arty. I couldn't even figure out Alice 3. I might just stick with pushing Alice 2.2 animations and graphics. All the most experienced Alice users should come together and build the most epic Alice game in the history of Alice...with multiplayer(zonedabone).


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,188
Join Date: May 2010
Location: e4eaf2
Default 02-12-2012, 11:14 AM

Quote:
Originally Posted by arty-fishL View Post
Alice 3 has been built in such a way that they make it hard to hack, there's no Jython scripting interface and no simple text files in the Alice directory that are run.
I think I'll stick with Alice 2.2, thank you very much.


Thank you for taking the time to read this signature. This signature loves you.
   
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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.