Giter Club home page Giter Club logo

nether_bedrock_cracker's Introduction

Nether Bedrock Cracker

Cracks nether seeds from bedrock. This works in versions 1.18 and above since bedrock became seed dependent in that release. The overworld uses a different RNG, so the calculations used here are not applicable. example screenshot of the app

Usage

To use the Nether Bedrock Cracker, follow these steps:

  1. Download the application for your system from the releases page.
  2. Open the downloaded application.
  3. Collect bedrock positions from both the nether floor and the nether roof.
    • Collect data from both the floor and the ceiling. Gathering data from only one side will result in drastically more results for the same number of data points!
    • Focus on collecting bedrock data on y-level 4 or y-level 123, as bedrock is rarer in those layers, providing more valuable information per block.

After gathering the required data, you have two options:

  1. Run the cracker and view the cracked seeds in the graphical user interface (GUI).
  2. Run the cracker and save the found seeds to a file.

Known Issues

PaperMC Servers

PaperMC had a bug in their code that caused slight differences in bedrock generation. If you encounter a situation where your bedrock is shaped in pillars, similar to the bug report, switch the crack mode in the GUI from "Normal" to "Paper < 1.19.2-213."

Old Nether

If your nether was generated in a version older than 1.18, you can use the fungus cracker of SeedcrackerX to crack the seeds.

User specified seeds

If the world-seed-search mode finishes with a false or no seed at all and the structure-seed-search mode found a structure seed then it's most likely that the servers world seed wasn't generated by the game but manually specified by the admin. Check this website to figure out how.

Building from Source

If you prefer to build the application from source instead of downloading it from the releases page, follow these steps:

Prerequisites

Windows

You will need to install Microsoft Visual C++. MSVC is bundled with Visual Studio, but if you prefer a standalone installation, you can download it from: https://visualstudio.microsoft.com/visual-cpp-build-tools/

Building

  1. Install Rust.
  2. Download the repository.
    • Click the green button above to download the repository as a zip.
    • Unzip the downloaded file on your computer. Advanced users may prefer cloning the repository instead.
  3. Open a terminal in the unzipped directory.
  4. Run the command cargo build --release.
  5. The executable should now be located at /target/release/bedrock_cracker.

nether_bedrock_cracker's People

Contributors

19misterx98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nether_bedrock_cracker's Issues

How to use the program?

Hello, is there any detailed explanation or tutorial video on how to use the program?
do i just need to go to the nether, mine till find bedrock and insert it on the app?

thanks before.

Am i supposed to check all seeds ?

When i run this program it generates tons of seeds , like this , found world seed (world_seed) . Am i supposed to check all of them whether they work or not ? It is not practical.

Doesnt open on windows

I downloaded executable from latest release, but after running it nothing happened. Then I built exe from source, but now only blank console showed up for a second.

Program doesnt find certain user-defined seeds

The program doesn't seem to find some seeds....
For example, if you use data from the seed -9098865772979074265 the program only finds the followings ones:
-3190143061868983513, 2749823371655990055, 9094800062677759692, -3411977577506818356

I am not 100% sure about this, but what I think is happening is that the nether only uses the bottom 48 bits of the seed to generate...
So every nether has 2^16 (65,536) different overworlds that lead to it.
You can check that if you compare two of the found seeds with the one I entered, they indeed have same 48 or more lower bits.

-9098865772979074265 = 1000000110111010010101011100100110001110100111110100101100100111
-3190143061868983513 = 1101001110111010010101011100100110001110100111110100101100100111
2749823371655990055 ..= 0010011000101001010101011100100110001110100111110100101100100111

the fact the program only found two of those 65 thousand-ish seeds means, it probably doesn't work for most nether seeds...
(it finds a seed that has the same nether as the entered one, but the overworld is different)

What is the idea behind used algorithm?

Hello,
I was thinking about making a mod in Java with the same functionality...
If you don't mind, I would just like to ask what is the general idea behind the algorithm to get the "main seed" of the generator for the bedrock? I have looked at the Minecraft's code, to see how it generates the bedrock in the nether and I think I have at least surface level understanding on how it works... If I understood it correctly, the only information you are given is that
(((mainSeed ^ MathHelper.hashCode(x,y,z)) * MULTIPLY + ADD & MASK) >> 24) * (1f/(1<<24)) < HEIGHT_VALUE
where HEIGHT_VALUE is calculated based on the y coordinate and the range where the bedrock generates. And mainSeed is unknown...
The naive approach I thought of was just to go trough all 2^48 possibilities and calculate if it fits the bedrock pattern for each one, but I feel like there must be some better approach to this.
I tried to look at the source code of this repository, but I don't really understand RustπŸ˜…... I ended up going through the lib.rs and layer.rs files and it almost seems like you are discarding the 12 bottom bits and just calculating with the upper 36?
I completely understand it you don't want to answer...

App not running

System: Windows 11

I've tried both downloading the release and building from source.

The release file when running, doesn't show up any GUI and I had to kill the app from task manager.

The built app runs in as a command line and also doesn't show anything.
image

Rust was installed with the installation app for Windows. But building was done within the MSYS shell, I'm not sure if it could have affected anything.

Loading configs is broken

whenever you load a config that was saved earlier, all of the blocks are set to "Bedrock", even if there were "Other"s. MacOS btw

Issue

bedrock_cracker-windows.exe : The term 'bedrock_cracker-windows.exe' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1

  • bedrock_cracker-windows.exe -- coords.txt
  •   + CategoryInfo          : ObjectNotFound: (bedrock_cracker-windows.exe:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
      
    

I got this issue in powershell when I have the binary and coords.txt in the same folder

Programm not explained very well.

OK so i got some questions first... is if i can use this on non paper servers/worlds/ so also crack the major world seed?
This is important beacause im trying to crack the seed of a famous modded german minecraft youtube project called ''Minecraft Feunde''.
The only idea i have right now it to hope that the mods dont change anything about world generation. Also the project is in 1.19.4 and i wanted to know if the cracker still works in the version? Also its a little complicated i sometimes get 18 seeds and sometimes get 0 seeds
idk if its an issue on my side probably i messed up some block placements but i got a very important question! Next to the coordinates i got the option to choose between bedrock and other and i wanted to know if bedrock is for the structure seed or if it is to help crack the bedrock so rule out more seeds by knowing which blocks cant be bedrock.. if not that could be a good thing to add (idk if thats possible) but you may be able to rule out seeds that have the bedrock pattern but if they have bedrock where there shouldnt be.(i dont think it will rule these bedrock blocks out bc it might rule out the real seed because you just enter some bedrock coords and not all(actually if this is actually how the program works that should be changed)) so yeah please if the other isnt to rule out seeds please add an option to choose for a not bedrock block!
Thx in advance!

File input

Might be a good idea to have this thing take some sort of a file input. Maybe a condensed format that SeedcrackerX emits.

How to insert data into main.rs

I don't understand what's happening when i open the main.rs, it's asking for a filename, but doesn't specify the path... where do i insert the coordinates?

App not opening

i have installed latest version cracker_gui-x86_64-pc-windows-msvc.exe , when i opened it ,it opened a window with white screen and closed after 2-3 seconds

Panic at launch

thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.15.1/src/backend/direct.rs:316:9:
Error in Surface::configure: parent device is lost
stack backtrace:
   0:     0x5fb58495b6d0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf84ab6ad0b91784c
   1:     0x5fb584737fbc - core::fmt::write::ha37c23b175e921b3
   2:     0x5fb58492afed - std::io::Write::write_fmt::haa1b000741bcbbe1
   3:     0x5fb58495cf2e - std::sys_common::backtrace::print::hb982056c6f29541c
   4:     0x5fb58495cb13 - std::panicking::default_hook::{{closure}}::h11f92f82c62fbd68
   5:     0x5fb58495dad9 - std::panicking::rust_panic_with_hook::hd2f0efd2fec86cb0
   6:     0x5fb58495d60c - std::panicking::begin_panic_handler::{{closure}}::h3651b7fc4f61d784
   7:     0x5fb58495d566 - std::sys_common::backtrace::__rust_end_short_backtrace::hbc468e4b98c7ae04
   8:     0x5fb58495d551 - rust_begin_unwind
   9:     0x5fb584606e84 - core::panicking::panic_fmt::h979245e2fdb2fabd
  10:     0x5fb584a27d88 - wgpu::backend::direct::Context::handle_error_fatal::hba0075de6a16d7f4
  11:     0x5fb584abad56 - <T as wgpu::context::DynContext>::surface_configure::hc33ea2ae5323e7f1
  12:     0x5fb584b10f71 - wgpu::Surface::configure::h6e2620005985f134
  13:     0x5fb58464298a - iced_winit::application::run_instance::{{closure}}::h3d5519b56f2a623a
  14:     0x5fb584657590 - iced_winit::application::run::{{closure}}::h883e0a8c9e0a8a02
  15:     0x5fb5846ca261 - winit::platform_impl::platform::x11::EventLoop<T>::run_return::single_iteration::h8ff8cde8f4e74729
  16:     0x5fb584655492 - iced_winit::application::run::h0422ac4f6671826a
  17:     0x5fb5846edf25 - cracker_gui::main::h89c02bff015b2d19
  18:     0x5fb584694e8d - std::sys_common::backtrace::__rust_begin_short_backtrace::h72f543576d69bc47
  19:     0x5fb5846eeb4f - main
  20:     0x7b3f57496cd0 - <unknown>
  21:     0x7b3f57496d8a - __libc_start_main
  22:     0x5fb58463a605 - _start
  23:                0x0 - <unknown>

arch btw on nvidia xorg

Does Nether Bedrock Cracker work on Ubuntu?

Does Nether Bedrock Cracker work on Ubuntu? I tried to run it on another Linux distribution but when I double clicked it nothing happened. Also in the properties it said it was an executable file.

Thanks in advance,

Jeffrey.

Cant find seed

i used both coords, but it says found 0 seed, even after pressing the crack button, and if i input too much it says "naive estimated results 0 seeds"

Ingame and a big thx!

Hi MisterX,

At first i want to thank you for All your work! Your mods are the only reason that i am still playing minecraft!
Sounds a bit crazy, but its True :)

My Personal skills with mods and programming are none.

Is there any Chance that you are going to make the nether seed cracker as a ingame mod ore will you fix the Windows build?

Thanks

Meine Hochachtung

Overworld Cracking

Is there any way to use the overworld bedrock formations to find the seed of the world? In case the server blocked your SeedCrackerX with a custom generation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.