• Welcome to the Speedsolving.com, home of the web's largest puzzle community!
    You are currently viewing our forum as a guest which gives you limited access to join discussions and access our other features.

    Registration is fast, simple and absolutely free so please, join our community of 40,000+ people from around the world today!

    If you are already a member, simply login to hide this message and begin participating in the community!

ACube4 alpha testers needed!

StachuK1992

statue
Joined
Jul 24, 2008
Messages
3,812
Location
West Chester, PA
WCA
2008KORI02
YouTube
Visit Channel
Josef and I have been talking for the past month or two, both for the GUI of aCube3 (released in another thread) and the pushing of aCube4.

Download. (like100k or less, still) Next update, the .jar will just be pushed with the source rather than hosted here.
Usage.
Source.
Report bugs both here and on this thread. Make sure it's an actual bug before you report it.

Josef did the code. (apart from some old cycle notation code stuff from Stefan)
I've just been the channel for communication and recommendations up until this point.

What's been done since aCube3
-code is nicer
-finding algs will eventually be significantly faster
-new input (cyclic notation and more)
---will eventually re-support aCube3 input
-wide turns
-rotations
-more move restrictions (M' vs M moves ;) )
-opensource. Feel free to help! Everything's on github. :)

Help us have aCube4 totally done within the next few weeks.

Have fun,
Stachu
 
Last edited:

asportking

Member
Joined
Jul 10, 2010
Messages
892
Location
Michigan
YouTube
Visit Channel
Won't open for me. Sorry if I'm asking a stupid question (I'm no computer expert), but shouldn't you just be able to click on the jar file and open it?

"The system cannot find the path specified" when it try to type in cd Desktop. Not sure why it isn't working, I did something like this a few times a while ago and it worked fine then.
 
Last edited by a moderator:

StachuK1992

statue
Joined
Jul 24, 2008
Messages
3,812
Location
West Chester, PA
WCA
2008KORI02
YouTube
Visit Channel
Nope!
Open command prompt. (you can find this.)
once on command prompt type:
"cd Desktop" assuming you saved it on desktop on windows. If it's in a different place, do "cd .." then do "cd [other place]"
then type
"java -jar acube-blahblah.jar"

cd ..
cd C:/Users/asportking/acube-lalala.jar

Try something like that. Otherwise, google about to figure out how to cd.


Edit: I found out that you're on ubuntu

Just download to Downloads
cd Downloads
 
Last edited:

Cubenovice

Forever Slow
Joined
Feb 6, 2010
Messages
2,291
Location
Vlaams-Brabant (Belgium)
OK, I'm a complete noob at this.

I can run the program but now what? I read the readme but still confused.
Say I want to find the antisune alg with R R' U U' U2 moves only...

What do I enter?
Following the readme I should enter someting like:

2: UFL- UFR- URB-
3: R R' U U' U2

But I cannot even enter 2 lines
Should I write 2: UFL- UFR- URB- 3: R R' U U' U2 or something?

An example orf what exactly to enter for sune or antisune would be much appreciated.
 

StachuK1992

statue
Joined
Jul 24, 2008
Messages
3,812
Location
West Chester, PA
WCA
2008KORI02
YouTube
Visit Channel
Okay, some input to output R U R' U R U2 R'
9
to reset

3: R* U*
to set moves in <R*,U*>

2: 2: [UF UL UR UB] UFR- URB- UBL-
to say "flip those 3 corners" and "don't care about the permutation of the U-layer edges.

6
Gimme everything

5: 12
12 moves or less!

4: qtm
QTM blah blah

then just enter again and you should get
Code:
|i| depth 6
|i| depth 7
|i| depth 8
|S| R U R' U R U2 R . R2 U2 (12q, 9f, 9s, 12sq)
|S| R U R' U R U2 R' . U2 (10q, 8f, 8s, 10sq)
|i| depth 9
|S| U' R' U2 R U R' U R . U' (10q, 9f, 9s, 10sq)
|S| R U R' U R U2 R' U . U (10q, 9f, 9s, 10sq)
|S| R U R' U R U2 R' U' . U' (10q, 9f, 9s, 10sq)
|i| depth 10
|S| U' R' U2 R U R' U R U' (10q, 9f, 9s, 10sq)
|S| R U R' U R U2 R' U2 (10q, 8f, 8s, 10sq)
 

masterofthebass

Premium Member
Joined
May 13, 2007
Messages
3,923
Location
Denver, CO
WCA
2007COHE01
YouTube
Visit Channel
OK, I'm a complete noob at this.

I can run the program but now what? I read the readme but still confused.
Say I want to find the antisune alg with R R' U U' U2 moves only...

What do I enter?
Following the readme I should enter someting like:

2: UFL- UFR- URB-
3: R R' U U' U2

But I cannot even enter 2 lines
Should I write 2: UFL- UFR- URB- 3: R R' U U' U2 or something?

An example orf what exactly to enter for sune or antisune would be much appreciated.

Enter the number to choose the option. Keystrokes would be:

2 <enter> UFL- UFR- URB- <enter> 3 <enter> R R' U* <enter> <enter>
 

josef.jelinek

Member
Joined
Mar 13, 2009
Messages
6
WCA
2004JELI01
There are two ways to input the parameters
a) type an option number, hit enter, type parameters, hit enter
b) type an option number followed by ":" and parameters and hit enter
the second one is better for keeping command history in the console window
 

Lucas Garron

Administrator
Joined
Jul 6, 2007
Messages
3,718
Location
California
WCA
2006GARR01
YouTube
Visit Channel
Awesome. This didn't use to work in ACube 3 vertically:

Code:
----------------------------
#Template:
UF UR UB UL DF DR DB DL FR FL BR BL UFR URB UBL ULF DRF DFL DLB DBR
#Current:
? ? ? ? ? DR ? DL FR FL BR BL FUL URB UBL FRU DRF DFL DLB DBR
#Ignored positions: UF UR UB UL DF DB
#Ignored orientations: 
#Turns:
U2 L L2 L' R R2 R'

[1] Enter cube - standard notation
[2] Enter cube - cycle notation
[3] Enter allowed turns
[4] Set metric to qtm, ftm, stm, sqtm (ftm)
[5] Maximum length (20)
[6] Find all sequences (yes)
[ ] Solve
[9] Reset
[0] Exit

|i| solving ? ? ? ? ? DR ? DL FR FL BR BL FUL URB UBL FRU DRF DFL DLB DBR
|i| creating transformation table (corner orientation)
|i| creating transformation table (edge orientation)
|i| creating transformation table (corner position)
|i| creating transformation table (middle edge position)
|i| creating transformation table (U edge position)
|i| creating transformation table (D edge position)
|i| creating transformation table (middle edge position set)
|i| creating conversion table (middle edge position - middle edge position set)
|i| creating pruning table (corner twist + edge flip)
|i| creating pruning table (corner twist + middle edge position set)
|i| creating pruning table (edge flip + middle edge position set)
|i| creating turn transformation and pruning table
|i| creating transformation table (middle edge position B)
|i| creating transformation table (U/D edge position B)
|i| creating transformation table (corner position B)
|i| creating conversion tables from phase A to phase B
|i| creating pruning table (middle edge position + corner position)
|i| creating pruning table (middle edge position + U/D edge position)
|i| depth 6
|i| depth 7
|i| depth 8
|i| depth 9
|i| depth 10
|i| depth 11
|i| depth 12
|i| depth 13
|i| depth 14
|i| depth 15
|i| depth 16
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 L R . R2 U2 L2 U2 (31q, 20f, 20s, 31sq)
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 L R' . U2 L2 U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 R' L . U2 L2 U2 (29q, 19f, 19s, 29sq)
|S| R U2 R' U2 R U2 R U2 L' U2 R U2 R' U2 L R' . U2 R2 U2 (29q, 19f, 19s, 29sq)
|S| R U2 R' U2 R U2 R U2 L' U2 R U2 R' U2 R' L . U2 R2 U2 (29q, 19f, 19s, 29sq)
|i| depth 17
|S| U2 L U2 L' U2 L U2 L U2 R' U2 L U2 L' U2 L' R . U2 L2 (29q, 19f, 19s, 29sq)
|S| U2 L U2 L' U2 L U2 L U2 R' U2 L U2 L' U2 R L' . U2 L2 (29q, 19f, 19s, 29sq)
|S| U2 R' U2 R U2 R' U2 R' U2 L U2 R' U2 R U2 L' R . U2 R2 (29q, 19f, 19s, 29sq)
|S| U2 R' U2 R U2 R' U2 R' U2 L U2 R' U2 R U2 R L' . U2 R2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 L R' U2 . L2 U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 R' L U2 . L2 U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L R U2 R U2 L' R2 U2 R' U2 R U2 R' U2 L . U2 R2 (29q, 19f, 19s, 29sq)
|S| L' U2 L R U2 R U2 R2 L' U2 R' U2 R U2 R' U2 L . U2 R2 (29q, 19f, 19s, 29sq)
|S| L' U2 R L U2 R U2 L' R2 U2 R' U2 R U2 R' U2 L . U2 R2 (29q, 19f, 19s, 29sq)
|S| L' U2 R L U2 R U2 R2 L' U2 R' U2 R U2 R' U2 L . U2 R2 (29q, 19f, 19s, 29sq)
|S| R U2 L' R' U2 L' U2 L2 R U2 L U2 L' U2 L U2 R' . U2 L2 (29q, 19f, 19s, 29sq)
|S| R U2 L' R' U2 L' U2 R L2 U2 L U2 L' U2 L U2 R' . U2 L2 (29q, 19f, 19s, 29sq)
|S| R U2 R' U2 R U2 R U2 L' U2 R U2 R' U2 L R' U2 . R2 U2 (29q, 19f, 19s, 29sq)
|S| R U2 R' U2 R U2 R U2 L' U2 R U2 R' U2 R' L U2 . R2 U2 (29q, 19f, 19s, 29sq)
|S| R U2 R' L' U2 L' U2 L2 R U2 L U2 L' U2 L U2 R' . U2 L2 (29q, 19f, 19s, 29sq)
|S| R U2 R' L' U2 L' U2 R L2 U2 L U2 L' U2 L U2 R' . U2 L2 (29q, 19f, 19s, 29sq)
|i| depth 18
|S| U2 L U2 L' U2 L U2 L U2 R' U2 L U2 L' U2 L' R U2 . L2 (29q, 19f, 19s, 29sq)
|S| U2 L U2 L' U2 L U2 L U2 R' U2 L U2 L' U2 R L' U2 . L2 (29q, 19f, 19s, 29sq)
|S| U2 R' U2 R U2 R' U2 R' U2 L U2 R' U2 R U2 L' R U2 . R2 (29q, 19f, 19s, 29sq)
|S| U2 R' U2 R U2 R' U2 R' U2 L U2 R' U2 R U2 R L' U2 . R2 (29q, 19f, 19s, 29sq)
|S| L U2 L U2 R' U2 L U2 L' U2 L' R U2 L2 U2 L U2 L' . U2 (29q, 19f, 19s, 29sq)
|S| L U2 L U2 R' U2 L U2 L' U2 R L' U2 L2 U2 L U2 L' . U2 (29q, 19f, 19s, 29sq)
|S| L2 U2 L R' U2 L U2 L' U2 R U2 L' U2 L' U2 L U2 L' . U2 (29q, 19f, 19s, 29sq)
|S| L2 U2 R' L U2 L U2 L' U2 R U2 L' U2 L' U2 L U2 L' . U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L2 U2 L' R U2 L' U2 L U2 R' U2 L U2 L . U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L2 U2 R L' U2 L' U2 L U2 R' U2 L U2 L . U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 L R' U2 L2 . U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L U2 L' U2 L' U2 R U2 L' U2 L U2 R' L U2 L2 . U2 (29q, 19f, 19s, 29sq)
|S| L' U2 L R U2 R U2 L' R2 U2 R' U2 R U2 R' U2 L U2 . R2 (29q, 19f, 19s, 29sq)
|S| L' U2 L R U2 R U2 R2 L' U2 R' U2 R U2 R' U2 L U2 . R2 (29q, 19f, 19s, 29sq)
|S| L' U2 L2 R U2 L' U2 L U2 R' U2 L U2 L' U2 L U2 L (27q, 18f, 18s, 27sq)
|S| L' U2 L' U2 L U2 L' U2 R U2 L' U2 L U2 L2 R' U2 L (27q, 18f, 18s, 27sq)
|S| L' U2 L' U2 L U2 L' U2 R U2 L' U2 L U2 R' L2 U2 L (27q, 18f, 18s, 27sq)
|S| L' U2 R L2 U2 L' U2 L U2 R' U2 L U2 L' U2 L U2 L (27q, 18f, 18s, 27sq)
[B]|S| R U2 L' R2 U2 R U2 R' U2 L U2 R' U2 R U2 R' U2 R' (27q, 18f, 18s, 27sq)[/B]
|S| R U2 R U2 R' U2 R U2 L' U2 R U2 R' U2 L R2 U2 R' (27q, 18f, 18s, 27sq)
|S| R U2 R U2 R' U2 R U2 L' U2 R U2 R' U2 R2 L U2 R' (27q, 18f, 18s, 27sq)
|S| R U2 R2 L' U2 R U2 R' U2 L U2 R' U2 R U2 R' U2 R' (27q, 18f, 18s, 27sq)
|i| 68.40% save in phase A, pruned 72898449 of 106579697 entries
|i| 99.13% save in phase B, pruned 2091281 of 2109597 entries

I spent a lot of time doing things sideways back in the day.
 

Forte

Member
Joined
Jul 12, 2009
Messages
1,151
Location
Waterloo, Ontario
WCA
2009SHIN02
YouTube
Visit Channel
Does anyone know what "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file" means?
That's from me doing "java -jar ACube4.jar" in Terminal on my Mac (I was in the right directory, and I renamed it ACube4.jar).
 

asportking

Member
Joined
Jul 10, 2010
Messages
892
Location
Michigan
YouTube
Visit Channel
Nope!
Open command prompt. (you can find this.)
once on command prompt type:
"cd Desktop" assuming you saved it on desktop on windows. If it's in a different place, do "cd .." then do "cd [other place]"
then type
"java -jar acube-blahblah.jar"

cd ..
cd C:/Users/asportking/acube-lalala.jar

Try something like that. Otherwise, google about to figure out how to cd.


Edit: I found out that you're on ubuntu

Just download to Downloads
cd Downloads
Just figured it out, apparently capitalization is much more important than I thought :p
 

josef.jelinek

Member
Joined
Mar 13, 2009
Messages
6
WCA
2004JELI01
Does anyone know what "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file" means?
That's from me doing "java -jar ACube4.jar" in Terminal on my Mac (I was in the right directory, and I renamed it ACube4.jar).

It is compiled with Java 1.6, can you run java -version to see if you have Java 6 installed?
It would possible to support java 1.5, but not lower, as there were too many features the program depend on introduced in that release.
 

StachuK1992

statue
Joined
Jul 24, 2008
Messages
3,812
Location
West Chester, PA
WCA
2008KORI02
YouTube
Visit Channel
Java 6 doesn't work on Mac, as far as I know. :(
At least, that's what I heard from another cuber a few days ago. Citation needed.

The . is to separate phase A from phase B. Look around for info on Kociemba's 2-phase algorithm.
 

Forte

Member
Joined
Jul 12, 2009
Messages
1,151
Location
Waterloo, Ontario
WCA
2009SHIN02
YouTube
Visit Channel
It is compiled with Java 1.6, can you run java -version to see if you have Java 6 installed?
It would possible to support java 1.5, but not lower, as there were too many features the program depend on introduced in that release.

"java -version" gives
Code:
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
 

Lucas Garron

Administrator
Joined
Jul 6, 2007
Messages
3,718
Location
California
WCA
2006GARR01
YouTube
Visit Channel
Java 6 doesn't work on Mac, as far as I know. :(
At least, that's what I heard from another cuber a few days ago. Citation needed.

Huh? I've been coding in Java 6 on my Mac all summer.

Java 1.5 might be set as the default default; I think that was a common CCT/PPT issue. If your system has gotten Java 1.6, It can be viewed/changed with Java Preferences ( /Applications/Utilities/Java Preferences.app/ ).
 

minime12358

Member
Joined
Oct 3, 2010
Messages
241
Location
Burke, VA
WCA
2010KAPL01
YouTube
Visit Channel
Hey! Thanks for the new version... I use acube for all of my algs, it is beast. I just wanted to point out one thing that I was noticing with the searching, let me c and p from an frU F perm: (I know, strange restrictions...)
|S| r2 U f' r' U f2 U' r f . r2 U' f2 r2 U2 r2 f2 U r2 U2 (29q, 19f, 19s, 29sq)
|i| depth 10
|S| r2 U f' r' U f2 U' r f r2 . U' f2 r2 U2 r2 f2 U r2 U2 (29q, 19f, 19s, 29sq)
|i| depth 11
|S| r2 U f' r' U f2 U' r f r2 U' . f2 r2 U2 r2 f2 U r2 U2 (29q, 19f, 19s, 29sq)
|i| depth 12
|S| f2 U' r2 f' U2 r U f2 U' r' U2 f . f2 U' r2 U f2 r2 f2 (29q, 19f, 19s, 29sq)

|S| f2 U' r2 f' U2 r U f2 U' r' U2 f' . U' r2 U f2 r2 f2 (27q, 18f, 18s, 27sq)
|i| depth 13
|S| f2 U' r2 f' U2 r U f2 U' r' U2 f' U' . r2 U f2 r2 f2 (27q, 18f, 18s, 27sq)
|i| depth 14
|S| f2 U' r2 f' U2 r U f2 U' r' U2 f' U' r2 . U f2 r2 f2 (27q, 18f, 18s, 27sq)
|i| depth 15
|S| f2 U' r2 f' U2 r U f2 U' r' U2 f' U' r2 U . f2 r2 f2 (27q, 18f, 18s, 27sq)

I know this occurs because of the two phases, and I am not bothered by it, however I was just pointing it out. The more important thing (And I know this will be a most likely very annoying thing to try to fix and I dont mind if you leave it xD) is the f . f2 instead of f' because of the cancelling between the two phases. I dont quite know how the search works (yet, I havent read the source as of now), but if it is how I think it is, then it would be a pain to mess with :p

Also, random question, why does everyone use such a slow language as Java? It runs just fine in this circumstance, but I didnt realize the huge difference until I switched xD (4 year java programmer, just switched back to C/C++/Python)



Edit:
Oh and Something else: FF'r*U* F perm:
|S| F' U F U' F F r' F' r U F r U' r' F F . U' (17q, 17f, 17s, 17sq
|i| depth 17
|S| U F F r U r' F' U' r' F r F F U F' U' F (17q, 17f, 17s, 17sq)
|S| F U' r U r' U r' F' r2 U' r' U' F' U2 F' (17q, 15f, 15s, 17sq)
|S| F U' r U r' F' r2 U' r' F r' U' F' U2 F' (17q, 15f, 15s, 17sq)
|S| F U' r F' r2 U' r' F r' F r' U' F' U2 F' (17q, 15f, 15s, 17sq)
|S| F U2 F U r U r2 F r U' r U' r' U F' (17q, 15f, 15s, 17sq)
|S| F U2 F U r F' r U r2 F r U' r' U F' (17q, 15f, 15s, 17sq)
|S| F U2 F U r F' r F' r U r2 F r' U F' (17q, 15f, 15s, 17sq)
|S| F' U F U' F F r' F' r U F r U' r' F F U' (17q, 17f, 17s, 17sq)


:p but it looks like a good F perm will finally come with this...


Edit 3!: And Yay I think this is a good F perm : R d' r U r' U r' F' r2 U' r' U' y' R' U2 R' (From F U' r U r' U r' F' r2 U' r' U' F' U2 F')
 
Last edited:
Top