Jump to content

FORGE JSON HASH


killpowa

Recommended Posts

I'm working on a launcher and i need to check hashes. For vanilla minecraft there is no problem since they use sha1.

If i look to your JSON https://github.com/MinecraftForge/FML/blob/master/jsons/1.7.10-rel.json i see for some files a checksums field.

I have a few questions:

-Why is it present just for some files?

-Is there a direct link to this JSON file?

-What are those checksums fields and why are there 2 values?

Thank you for your patience

Link to comment
Share on other sites

I'm making one because i'm learning C# and this is a great way of doing it. I don't like any launcher that is present on the internet and i would like to implement the features i like such as modpacks and things like that. I've been working on it for 5 months now, i think just a few weeks and i'll publish it on minecraftforum.net to see what the community thinks about it.

What can you say about the other questions?

Link to comment
Share on other sites

I'm here to follow as much as possible the standards of forge. If i just wanted to publish a non working launcher, it would be on the internet already. I've been working really hard for 5 month and i tested it a hundred times. Anyway it is written clearly in the launcher that has nothing to do with Mojang and you. It is made by me with no warranty.

EDIT: Anyway i will publish it first in some forums. If it doesn't work at all there is no need to worry since no one will use it, right?

Link to comment
Share on other sites

Anyway it is written clearly in the launcher that has nothing to do with Mojang and you. It is made by me with no warranty.

 

you can put that in your launcher in letter size 10000000 and pp will still come here and complain

 

ask diesieben07 how many pp he has banned for using cracked if his ban hammer had durability, diesieben07  had to repair it more then 4 times :P

and we dont support cracked

 

  • Haha 1
Link to comment
Share on other sites

So this is your help? Minecraft's team is helping me more than you do? i can't believe this... My launcher strictly respects minecraft's eula and, i would quote a precise part of it: "Otherwise we are quite relaxed about what you do - in fact we really encourage you to do cool stuff - but just don't do those things that we say you can't.".

I just asked what those checksums mean, i don't want to give a cracked version of anything, i don't want anyone to come here to complain, i'm just making a launcher on my own.

I really hope you are not that close minded

Link to comment
Share on other sites

I already have an authentication system and i use Minecraft's API for that. Anyway i don't want you to judge my launcher as BAD just because there are a lot out there... It doesn't absolutely mean that. So just because there a lot of bad made Mods out there no one should make one?

Link to comment
Share on other sites

Guys, stop being argumentative twats.

@Kill: Its strictly against Mojang's wishes to have you enter your auth info into ANYTHING that isn't Mojang so yes, launchers are bad and against the EULA. There is a reason why Curse is a downloader and they launch the official launcher.

As for the checksums, you'd know what they are if you would do your research. The file you linked is whats called a template, those values get filled in later. You can check out INSTALLER for how they are used. Two are needed because the compression system we use is lossy.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.