Jump to content

Tekkit's Custom Launch Folder


Fabian95qw

Recommended Posts

Hi.

I'm currently working on a Customiced ModPack (62 Mods all Permissions Granted)

And because the Mod works outside Tekkit , but not with Tekkit Custom because it loads the mods it in the series that causes Redpower to crash.

So i made my own Custom Launcher.

It does all the Security Settings. It Checks if the Account is Premioum and Logs into minecraft.net with it to validate.

But now after downloading and installing the Mod into a custom folder %appdata%\.blockcraft i've one problem.

Everbody knows the Trick to launch Minecraft from a Customdir\.minecraft.

Like C:\minecraft\.minecraft

But now what i'm looking for is that what TekkitLauncher uses.

Becuase Tekkitlauncher has %appdata%\.techniclauncher\tekkit for Tekkit

I wan't to know how i can modify the Path for example that it uses C:\minecraft\.custompack

So minecraft runs from C:\minecraft\.custompack\bin\minecraft.jar

Becuase i found a solution which starts it with your Username but no Password. That causes me to have Offline-Mode enabled and i don't want that.

At the moment I just start the minecraft.jar directly with

cd C:\Windows\system32

javaw.exe -XmsRAMm -XmxRAMm -cp "C:\Users\YourName\AppData\Roaming\.custom\bin\minecraft.jar;C:\Users\YourName\AppData\Roaming\.custom\bin\jinput.jar;C:\Users\YourName\AppData\Roaming\.custom\bin\lwjgl.jar;C:\Users\YourName\AppData\Roaming\.custom\bin\lwjgl_util.jar" -Djava.library.path="C:\Users\YourName\AppData\Roaming\.custom\bin\natives" net.minecraft.client.Minecraft YourName

But thats how i said very unsecure because someone just can add my Name to the End and join the Server and he'd have full OP rights...

I want use the Minecraft.exe with the Custom Folder and the -u=Username and -p=Password

if possible

Or the minecraft.jar (Launcher not Game) with the Custom Folder and the Username + Password

I tried the same way as Replacing appdata with custom folder replacing \.minecraft with \.custom in a .bat file. But that didn't work.

I hope someone can Explain me how Techniclauncher handles this.

Link to comment
Share on other sites

I downloaded the Open Source Technic-Launcher from Github but all i can find is the Launcher/Updater but not anything about Starting Minecraft.

So i figured out there is the technic-launcher.jar which does that.

But i can't find a Source for That. And i don't want to decompile it.

Link to comment
Share on other sites

I tried find the Needed Code Pieces in the Source, but i didn't find them.

I don't know much about Java, so i'm basically a beginner in Java itself.

I think i'll have to sit on the %appdata%.custom.minecraft for now.

At least now i can authenticate useres before they log-in

Link to comment
Share on other sites

As i Said if i do the ModPack in the Techniclauncher Redpower does crash mc

And because the Mod works outside Tekkit , but not with Tekkit Custom because it loads the mods it in the series that causes Redpower to crash.

Or thats what i figure does cause it.

But i'll make a own thread for that later on if i can't fix it myself...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...