SpacialCircumstances / igx_original

IGX (Intergalactics) source code
0 stars 0 forks source link

Hey Felix #1

Open rons2112 opened 6 months ago

rons2112 commented 6 months ago

@SpacialCircumstances I loved this game. I have been thinking about trying to get it running again somewhere, then came across your project. However, I suck at shit like gradle and newer tech. How do I actually need to set up my computer to build and run this?

I tried downloading the latest JDK and Gradle, then tried to build, but got some weird message when I ran Gradle, "Unsupported class file major version 61". My suspicion is that I am using the wrong version of Gradle and JDK.

Thoughts?

SpacialCircumstances commented 6 months ago

@rons2112 nice to hear that you enjoyed IGX! We have someone on the Solaris discord who was very enthusiastic about Intergalactics, which is the reason why I searched for the original source code, and I wanted to at least preserve it.

As for getting it running:

I only made small changes, just enough to get it basically running, it's (sadly) not a fully restored version. IGX uses some very deprecated APIs that are not included at all after Java 8, and even then, the images don't seem to load correctly.

To run it nowadays, you'll need JDK 8 (not newer, that definitely won't work). You don't need to separately install gradle, in fact, that's probably causing the trouble you're having. With Java 8 installed and in your path, you do ./gradlew installDist (which uses the gradle version included with the repository). After that, you can run it with the instructions in the Readme (just ignore that first line with the gradle command since that won't work with modern gradle versions, use ./gradlew installDist instead).

I think the 50 parameter for game speed is a bit too high, you can experiment with that a bit until you find something that works well.

Overall, the following caveats apply to the current state:

Sorry that it's not a complete, easy-to-use modern version, but I hope you can get it running and enjoy IGX again 🙂

If you have any further questions or I can help you with anything, contact me of course! (Easiest here or on Discord)