OK guys, i got a laptop for my birthday! Now, i am am making a Program to make modding Minecraft easy. I am planning on using Python 2.7 & batch to make it.
All you need to join is knowledge of python & batch!
Developers:
SSSS
What it does:
Backs up Minecraft.jar (Located in /bin folder)
Extracts Minecraft.jar
Installs mod into extracted Minecraft.jar
Compiles Minecraft.jar again![]()
So, please start helping
Offline
Oh, that's simple. I have two Mac command files that do that for me. Well, they don't install the mod into the jar, but they create a folder containing the contents of Minecraft.jar and you just drag the classes and stuff into the folder, then, once done, just click on the other command file.
Offline
Sunrise-Moon wrote:
Oh, that's simple. I have two Mac command files that do that for me. Well, they don't install the mod into the jar, but they create a folder containing the contents of Minecraft.jar and you just drag the classes and stuff into the folder, then, once done, just click on the other command file.
Yeah, but it is just meant to make it easy for other users! It is meant just to use 1 file.
(Could you show me what your code is?)
Offline
ssss wrote:
Sunrise-Moon wrote:
Oh, that's simple. I have two Mac command files that do that for me. Well, they don't install the mod into the jar, but they create a folder containing the contents of Minecraft.jar and you just drag the classes and stuff into the folder, then, once done, just click on the other command file.
Yeah, but it is just meant to make it easy for other users! It is meant just to use 1 file.
(Could you show me what your code is?)
My code only works for Mac, I think, but here you go:
Command file one:
cd ~ mkdir mctmp cd mctmp jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar
Command file two:
cd ~/mctmp rm META-INF/MOJANG_C.* jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./ cd .. rm -rf mctmp
Offline
TuffGhost wrote:
why make a program when you can just use winrar
winrar made tons of useless backups of stuff that wasn't even mine
Offline
I'll help. Not really much knowledge of python, but a little of batch
. I do have a lot of experience with modding though. And maybe you could do a thing where it gets mods from a website, then adds them into minecraft. Batch code for installing mods, doesn't work yet though. Replace NoMod with the name of the mod, and create a folder containing all of the mods .class files called the name of the mod in the same directory as this, this also only works for macs
DIR=`dirname "$0"` MOD=NoMod echo Installing $MOD echo Gbear605's mod install script, based on the mod install script in Smith_61's Gunpowder mod. cd "$DIR" mkdir Install$MOD cd "$DIR"/Install$MOD mkdir mctmp cd mctmp echo point1 jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar echo point2 cp -r "$DIR"/$MOD/* "$DIR"/Install$MOD/mctmp/ rm META-INF/MOJANG_C.* jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./ cd .. rm -rf mctmp cd .. rm -rf Install$MOD echo Appears to have installed $MOD successfully.
Offline
gbear605 wrote:
I'll help. Not really much knowledge of python, but a little of batch
. I do have a lot of experience with modding though. And maybe you could do a thing where it gets mods from a website, then adds them into minecraft. Batch code for installing mods, doesn't work yet though. Replace NoMod with the name of the mod, and create a folder containing all of the mods .class files called the name of the mod in the same directory as this, this also only works for macs
![]()
Code:
DIR=`dirname "$0"` MOD=NoMod echo Installing $MOD echo Gbear605's mod install script, based on the mod install script in Smith_61's Gunpowder mod. cd "$DIR" mkdir Install$MOD cd "$DIR"/Install$MOD mkdir mctmp cd mctmp echo point1 jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar echo point2 cp -r "$DIR"/$MOD/* "$DIR"/Install$MOD/mctmp/ rm META-INF/MOJANG_C.* jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./ cd .. rm -rf mctmp cd .. rm -rf Install$MOD echo Appears to have installed $MOD successfully.
Only works for mac?
Anyway, i could create a directory:
ww.cyberkidscountry.com/Mods/1.5_01
Offline
ssss wrote:
gbear605 wrote:
I'll help. Not really much knowledge of python, but a little of batch
. I do have a lot of experience with modding though. And maybe you could do a thing where it gets mods from a website, then adds them into minecraft. Batch code for installing mods, doesn't work yet though. Replace NoMod with the name of the mod, and create a folder containing all of the mods .class files called the name of the mod in the same directory as this, this also only works for macs
![]()
Code:
DIR=`dirname "$0"` MOD=NoMod echo Installing $MOD echo Gbear605's mod install script, based on the mod install script in Smith_61's Gunpowder mod. cd "$DIR" mkdir Install$MOD cd "$DIR"/Install$MOD mkdir mctmp cd mctmp echo point1 jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar echo point2 cp -r "$DIR"/$MOD/* "$DIR"/Install$MOD/mctmp/ rm META-INF/MOJANG_C.* jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./ cd .. rm -rf mctmp cd .. rm -rf Install$MOD echo Appears to have installed $MOD successfully.Only works for mac?
Anyway, i could create a directory:
ww.cyberkidscountry.com/Mods/1.5_01
We also could do something on escratch.org
And I have no idea if it would work on linux etc. as I have only a mac.
I just based that off of a install.command that came with a mod (gun powder mod by smith 61)
Offline
gbear605 wrote:
ssss wrote:
gbear605 wrote:
I'll help. Not really much knowledge of python, but a little of batch
. I do have a lot of experience with modding though. And maybe you could do a thing where it gets mods from a website, then adds them into minecraft. Batch code for installing mods, doesn't work yet though. Replace NoMod with the name of the mod, and create a folder containing all of the mods .class files called the name of the mod in the same directory as this, this also only works for macs
![]()
Code:
DIR=`dirname "$0"` MOD=NoMod echo Installing $MOD echo Gbear605's mod install script, based on the mod install script in Smith_61's Gunpowder mod. cd "$DIR" mkdir Install$MOD cd "$DIR"/Install$MOD mkdir mctmp cd mctmp echo point1 jar xf ~/Library/Application\ Support/minecraft/bin/minecraft.jar echo point2 cp -r "$DIR"/$MOD/* "$DIR"/Install$MOD/mctmp/ rm META-INF/MOJANG_C.* jar uf ~/Library/Application\ Support/minecraft/bin/minecraft.jar ./ cd .. rm -rf mctmp cd .. rm -rf Install$MOD echo Appears to have installed $MOD successfully.Only works for mac?
Anyway, i could create a directory:
ww.cyberkidscountry.com/Mods/1.5_01We also could do something on escratch.org
And I have no idea if it would work on linux etc. as I have only a mac.
I just based that off of a install.command that came with a mod (gun powder mod by smith 61)
Fair enough -_-
Do i create the directory?
Offline
ssss wrote:
gbear605 wrote:
ssss wrote:
Only works for mac?
Anyway, i could create a directory:
ww.cyberkidscountry.com/Mods/1.5_01We also could do something on escratch.org
And I have no idea if it would work on linux etc. as I have only a mac.
I just based that off of a install.command that came with a mod (gun powder mod by smith 61)Fair enough -_-
Do i create the directory?
I think escratch.org would be better, as it is a shorter url, and it is related to scratch, so we could name the program something to do with scratch. IDK, we can do it on yours for now at least, but I suggest if you work on code, making that a variable. I'll have to go soon though.
Offline
gbear605 wrote:
ssss wrote:
gbear605 wrote:
We also could do something on escratch.org
And I have no idea if it would work on linux etc. as I have only a mac.
I just based that off of a install.command that came with a mod (gun powder mod by smith 61)Fair enough -_-
Do i create the directory?I think escratch.org would be better, as it is a shorter url, and it is related to scratch, so we could name the program something to do with scratch. IDK, we can do it on yours for now at least, but I suggest if you work on code, making that a variable. I'll have to go soon though.
alright, seems fine -_-!
But make wgar a variable?
Offline
ssss wrote:
gbear605 wrote:
ssss wrote:
Fair enough -_-
Do i create the directory?I think escratch.org would be better, as it is a shorter url, and it is related to scratch, so we could name the program something to do with scratch. IDK, we can do it on yours for now at least, but I suggest if you work on code, making that a variable. I'll have to go soon though.
alright, seems fine -_-!
But make wgar a variable?
I mean the url that it would get mods from, so we can easily change it later. BTW, do you know of any good python tutorials?
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
Offline
gbear605 wrote:
ssss wrote:
gbear605 wrote:
I think escratch.org would be better, as it is a shorter url, and it is related to scratch, so we could name the program something to do with scratch. IDK, we can do it on yours for now at least, but I suggest if you work on code, making that a variable. I'll have to go soon though.alright, seems fine -_-!
But make wgar a variable?I mean the url that it would get mods from, so we can easily change it later. BTW, do you know of any good python tutorials?
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
I really only know how to teach it myself. I use Scratch as an easy base
Offline
ssss wrote:
gbear605 wrote:
ssss wrote:
alright, seems fine -_-!
But make wgar a variable?I mean the url that it would get mods from, so we can easily change it later. BTW, do you know of any good python tutorials?
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.I really only know how to teach it myself. I use Scratch as an easy base
![]()
Um, how did you use scratch as a base? I assume you looked at python programs, and saw what they did, and copied it?
Offline
gbear605 wrote:
ssss wrote:
gbear605 wrote:
I mean the url that it would get mods from, so we can easily change it later. BTW, do you know of any good python tutorials?
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
The following errors need to be corrected before the message can be posted:
* At least 60 seconds have to pass between posts. Please wait a little while and try posting again.I really only know how to teach it myself. I use Scratch as an easy base
![]()
Um, how did you use scratch as a base? I assume you looked at python programs, and saw what they did, and copied it?
Well, i went and asked my sister, and'd when i saw the basics, i didn't need anything else, because i knew scratch blocks
Ask block ===
raw_input('What's your name')
Comes out as
What's your name? {Type text here}
Offline
ssss wrote:
gbear605 wrote:
ssss wrote:
I really only know how to teach it myself. I use Scratch as an easy base![]()
Um, how did you use scratch as a base? I assume you looked at python programs, and saw what they did, and copied it?
Well, i went and asked my sister, and'd when i saw the basics, i didn't need anything else, because i knew scratch blocks
![]()
Ask block ===
raw_input('What's your name')
Comes out as
What's your name? {Type text here}
Ah, I see, your sis knew python. I'm looking at tuts. right now.
Offline
gbear605 wrote:
ssss wrote:
gbear605 wrote:
Um, how did you use scratch as a base? I assume you looked at python programs, and saw what they did, and copied it?Well, i went and asked my sister, and'd when i saw the basics, i didn't need anything else, because i knew scratch blocks
![]()
Ask block ===
raw_input('What's your name')
Comes out as
What's your name? {Type text here}Ah, I see, your sis knew python. I'm looking at tuts. right now.
I might make some some day, using youtube, & Scratch (as a reference)
Offline
Cool, BTW, when you make any code, release access to it for me. I'd like to look at it for reference.
Offline