| #include <cstdio> | |
| #include <windows.h> | |
| VOID WINAPI TlsCallback(PVOID DllHandle, DWORD Reason, PVOID Reserved) | |
| { | |
| puts("[DynamicLibrary.dll]: TLS Callback"); | |
| } | |
| #ifdef _WIN64 | |
| #pragma comment (linker, "/INCLUDE:_tls_used") |
Inspired by this
More of my guides: Debloating LDPlayer - Debloating Nox (Updated)
Edit 22/8/2021: I have updated MEmu and it seems like it reinstalls the apps and re-enables the services. Repeat steps 5, 7, 8, and 9 if you update MEmu.
In my experience, Nox can be quite slow and choppy, and looks like I'm not the only person with this problem. A lot of people say that MEmu performs better than Nox, and I could agree with that. I have no chopping issues with it so far. But like Nox, there are kinda shady stuff going on.
Note: This gist may be outdated, thanks to all contributors in comments.
adb is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
| #!/usr/bin/bash | |
| # Get entry point from N64 ROM | |
| dd if=test.z64 bs=1 skip=8 count=4 of=entrypoint >& /dev/null | |
| # Convert entrypoint to little endian | |
| #mips-elf-objcopy -I binary -O binary --reverse-bytes=4 entrypoint entrypoint | |
| # Construct an ELF | |
| mips-elf-objcopy -I binary test.z64 -O elf32-bigmips -B mips --adjust-section-vma .data+0x80000000 foo.elf | |
| # Patch to MIPS III | |
| printf '\x20\x00\x00\x00' | dd bs=1 seek=36 count=4 conv=notrunc of=foo.elf >& /dev/null |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #define MH_MAGIC 0xfeedface | |
| #define MH_CIGAM 0xcefaedfe | |
| #define MH_MAGIC_64 0xfeedfacf | |
| #define MH_CIGAM_64 0xcffaedfe | |
| #define LC_SEGMENT_64 0x19 | |
| #define LC_ROUTINES_64 0x1a | |
| #define CPU_TYPE_ARM64 (12 | 0x01000000) |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
| #ifndef _MACARON_BASE64_H_ | |
| #define _MACARON_BASE64_H_ | |
| /** | |
| * The MIT License (MIT) | |
| * Copyright (c) 2016-2024 tomykaira | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining | |
| * a copy of this software and associated documentation files (the | |
| * "Software"), to deal in the Software without restriction, including |