Jump to content

Recommended Posts

Posted

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.

  • Moderators
Posted

I can't help you, I'm not a wiz on computers.

But I can tell you that this thread is misplaced, Cafe Lame would fit better.

Also, don't sign your posts. Rules

I hope me bumping this will attract some people to help you.

Posted

the technic launcher is open source, feel free to check out the github for it and take a look at how it is handled. I will tell you this though, it is not anywhere close to that straightforward.

Posted

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.

Posted

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

Posted

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...

Posted

If it's the order, add a z to the start of the name of th mod you don't want it to load before Redpower.

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...