Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacPro2006VBox

macrumors 6502
Original poster
Oct 9, 2014
358
237
Unable to play Minecraft on lower end G4’s or G3’s? There’s a solution to that! Enter ClassiCube: a continuation of Minecraft Classic written in C. Relatively recently I had the opportunity to get it compatible with G3’s through persistence. It runs with about 20 FPS on a 500 MHz G3! https://home.macintosh.garden/~retroreviewyt/classicube-ppc.html
27e66e4c8b1d7a0c861107910d82919c.jpg
 
Hey this is pretty cool! Thanks for getting something like this working on 10.4 and the G3 systems. Although if anyone wants a Leopard specific newest version of ClassiCube, I uploaded a compiled binary in another thread on this forum. Here's the link:

Minecraft Classic for Leopard PowerPC

It does run a little worse I think, but I just though I'd mention it.
 
Oh wow this is great. I haven't played ClassiCube in ages but I was very active around the time it launched almost a decade ago.

Happy to say it works great on my 2005 PowerBook G4 12". Getting a stable 35-50 FPS on a 128x128 world.
 
It would be cool if the multiplayer worked though. It keeps complaining about CA certificates. I know you can get more up-to-date ones through MacPorts, but I don't know how to use them with ClassiCube.
 
It would be cool if the multiplayer worked though. It keeps complaining about CA certificates. I know you can get more up-to-date ones through MacPorts, but I don't know how to use them with ClassiCube.

It should work for local multiplayer games.
 
It would be cool if the multiplayer worked though. It keeps complaining about CA certificates. I know you can get more up-to-date ones through MacPorts, but I don't know how to use them with ClassiCube.

I think that’s a problem with Tiger? I’m not entirely sure though. Might be fixable by installing TenFourKit’s certificates.
 
No, multiplayer doesn't work on my Leopard build either, so its not just Tiger. I know that there are ways to "relink" some apps with newer CA certificates like in this post:


I just don't know how you would do that with ClassiCube, and you also need MacPorts to actually get those certificates so that would be inconvenient for most people.
 
No, multiplayer doesn't work on my Leopard build either, so its not just Tiger. I know that there are ways to "relink" some apps with newer CA certificates like in this post:


I just don't know how you would do that with ClassiCube, and you also need MacPorts to actually get those certificates so that would be inconvenient for most people.

Might be wise to try compiling the latest version of the source? I compiled this when the developer added the ability to compile natively under Tiger. It originally required Leopard to build for Tiger.
 
No, multiplayer doesn't work on my Leopard build either, so its not just Tiger. I know that there are ways to "relink" some apps with newer CA certificates like in this post:


I just don't know how you would do that with ClassiCube, and you also need MacPorts to actually get those certificates so that would be inconvenient for most people.

Try compiling my copy of the source located on my GitHub repository. I added a particular line to the network stack the application uses that’ll hopefully fix the problem.
 
Picture 1.png

Picture 2.png


This is awesome! Major kudos to you, my man - ClassiCube-PPC is a great alternative to Minecraft G4 Edition on PowerPC 7400 systems and lower, especially for creative usages.

I'll link to this in G4 Edition's next update. :)

PS: How viable would it be to port Minecraft 1.5.2 from Java to C? Do you think we could even get newer versions running this way, bypassing Java entirely?
 
Last edited:
  • Like
Reactions: eastone
View attachment 1849559
View attachment 1849560

This is awesome! Major kudos to you, my man - ClassiCube-PPC is a great alternative to Minecraft G4 Edition on PowerPC 7400 systems and lower, especially for creative usages.

I'll link to this in G4 Edition's next update. :)

PS: How viable would it be to port Minecraft 1.5.2 from Java to C? Do you think we could even get newer versions running this way, bypassing Java entirely?

I don’t know if that could be done but it could be a better way to experience the game on lower end systems, maybe not iMac G3’s but other PowerPC Macs.
 
There is a full clean-room implementation of Minecraft beta 1.7.3 called TrueCraft, but I don't even know where you would start with porting release 1.5.2 to C. Even working with TrueCraft's source code, it looks like it would require substantial changes for it to run on PowerPC Mac OS.

TrueCraft on GitHub
 
Unable to play Minecraft on lower end G4’s or G3’s? There’s a solution to that! Enter ClassiCube: a continuation of Minecraft Classic written in C. Relatively recently I had the opportunity to get it compatible with G3’s through persistence. It runs with about 20 FPS on a 500 MHz G3! https://home.macintosh.garden/~retroreviewyt/classicube-ppc.html
27e66e4c8b1d7a0c861107910d82919c.jpg
I’ve problem launching Classicube in Mac OS X 10.3.9, it says:
Error
Error 2 when creating font ‘Arial’
Error meaning: No such file or directory
 
I’ve problem launching Classicube in Mac OS X 10.3.9, it says:
Error
Error 2 when creating font ‘Arial’
Error meaning: No such file or directory

You need Tiger at the very least, although supposedly it is possible to compile it for Panther using `-mmacosx-version-min=10.3`

Give that a try and report back.
 
You need Tiger at the very least, although supposedly it is possible to compile it for Panther using `-mmacosx-version-min=10.3`

Give that a try and report back.
ok, so I've tried to compile it on another mac using the terminal writing:
Code:
cc *.c interop_cocoa.m -o ClassiCube -framework Cocoa -framework OpenGL -framework IOKit -lobjc -DCC_BUILD_GL11 -DCC_BUILD_GL11 -mmacosx-version-min=10.3
but I can't find the compiled file
 
ok, so I've tried to compile it on another mac using the terminal writing:
Code:
cc *.c interop_cocoa.m -o ClassiCube -framework Cocoa -framework OpenGL -framework IOKit -lobjc -DCC_BUILD_GL11 -DCC_BUILD_GL11 -mmacosx-version-min=10.3
but I can't find the compiled file

Remove one instance of
Code:
-DCC_BUILD_GL11
and try compiling again.
 
[mention]mato_Opp_ITA [/mention] try this:
Code:
 cc *.c -o ClassiCube -DCC_BUILD_GL11 -framework Carbon -framework AGL -framework OpenGL -framework IOKit
 
What’s the warning?
He says:
Warning: Building for intel with Mac OS X < 10.4 is invalid;
Error: implicit declaration of function;
Warning: sending ‘CCwindowDelegate *’ to parameter of incompatible type ‘id<NSWindowDelegate> _Nullable’;
Warning: incompatible pointer types sending ‘CFStringRef’ (aka ‘const struct __CFString *’) to parameter of type ‘NSString * _Nonnull’ [-Winconpatible-pointer-types];
Warning: incompatible pointer types sending ‘CFStringRef’ (aka ‘const struct __CFString *’) to parameter of type ‘NSString * _Nonnull’ [-Winconpatible-pointer-types]
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.