Open Bigjango13 opened 2 years ago
Oh k thanks
On Mon, Apr 4, 2022, 8:41 AM Bigjango13 @.***> wrote:
This repo is empty so I thought you might need the source for libhackgmc.so. Here it is (slightly modified by me):
include "libmcpi-r/minecraft.h"
include "libmcpi-r/libreborn.h"
include "libmcpi-r/feature.h"
static void StartGamePacket_read_injection(unsigned char packet, unsigned char bit_stream) { (StartGamePacket_read)(packet, bit_stream); (int32_t ) (packet + StartGamePacket_game_mode_property_offset) = 1; }attribute((constructor)) static void init() { if (!(feature_has("disable libhack", 0))){ patch_address(StartGamePacket_read_vtable_addr, (void ) StartGamePacket_read_injection); } }
You will need to make a folder called libmcpi-r and place minecraft.h, libreborn.h, and feature.h in it as well as the header files they include.
— Reply to this email directly, view it on GitHub https://github.com/RetroPieBoy/MCPICreativeHack/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXBCA7YB3PFQU4YQVR3I2I3VDMEUFANCNFSM5SP6M6AQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
This repo is empty so I thought you might need the source for
libhackgmc.so
. Here it is (slightly modified by me):You will need to make a folder called
libmcpi-r
and placeminecraft.h
,libreborn.h
, andfeature.h
in it as well as the header files they include.