Skip to content

subvod/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.MD

This is just a bunch of links I've compiled over the years, (mostly) useful stuff.

INTRODUCTION
TOOLS/UTILITIES
System Utilities
Audio/Video Utilities
Imaging Utilities
3D Utilities
Document Utilities
Web Browsing, Security, and Utilities
PROGRAMMING
C/C++
Python
Assembly (ASM)
PowerShell
Batch, VBScript, JScript
HTML5
CSS
JavaScript
Regex
Markdown
GAMING
Homeworld Remastered
Phantom Forces
Red Dead Redemption 2
Grand Theft Auto
Minecraft
Tom Clancy's Ghost Recon Wildlands
Emulation
  Nintendo DS
  SNES
  GameBoy
Minetest
Forza
QUOTES
BAT2EXE

INTRODUCTION

This document is just some notes I've taken of programs/techniques I've used over the years. Mostly programming and gaming related, but some system utilities are linked as well. [bazinga]

ASUS ROG Zephyrus GA401QM (2021 G14) Review — A not-so-in-depth review of the 2021 ASUS G14 because I'm a fucking normie piece of shit.

If you, by chance, are curious about the "best" AA battery, take a quick ten minute glance at Project Farm's AA battery comparison.

TOOLS/UTILITIES

These are tools and references I've used in the past, distant and recent. I do not link to things I've not used/tried myself for credibility reasons.

System Utilities

Tools:

  • BleachBit — Alternative to CCleaner because Avast fucked it up.
  • 7-Zip — File compression and archiving. I was a WinRAR fanboy for over a decade. Why? No clue. [Source Code] ; use LZMA2 for binary/images, PPMd for plaintext.
  • PowerISO — Powerful CD / DVD / BD image file processing tool, which allows you to open, extract, burn, create, edit, compress, encrypt, split and convert ISO files, and mount ISO files with internal virtual drive. It can process almost all CD / DVD / BD image files including ISO and BIN files. PowerISO provides an all-in-one solution. You can do every thing with your ISO files and disc image files.
  • Rufus — Create bootable USB drives the easy way.
  • balena Etcher — Flash OS images to SD cards & USB drives, safely and easily.
  • CheatEngine — memory editor and process hook module; RAR archive isn't bundled with "optional" bloatware/adware. [Source Code]
  • IconsExtract — extract icon resources from WinPE/DLL
  • ResourceHacker — extract, edit, and repack WinPE/DLL resources
  • WSL — universal CLI.

Distros:

  • Linux Mint — Designed to work 'out of the box' and comes fully equipped with the apps most people need.

Articles:

Audio/Video Utilities

Tools:

Articles:

Imaging Utilities

Tools:

References:

3D Utilities

  • Blender — 3D Editor. [Docs] [Tutorials] [Source Code]
  • Wings3D — 3D Editor. Considerably less-demanding than larger editors like Blender/3DSMax. I used Wings for modeling/texturing until I got a system powerful enough to run Blender without it freezing up every five minutes. [Source Code]

Document Utilities

Word Processors:

Text/Code Editors:

Other:

References:

Web Browsing, Security, and Utilities

Browsers:

Plugins/Addons/Extensions:

References:

  • DuckDuckGo — Regardless of whether or not you're using a VPN, utilize this alternate search engine.
  • imgBB — Image hosting.
  • unshorten.me — Unshorten any URL.
  • MEGA — file upload and cloud storage.
  • MediaFire — file upload and cloud storage.
  • DropBox — file upload and cloud storage.
  • OneDrive — file upload and cloud storage.
  • Windscribe — VPN with a free plan offering 10GB per month. No, I am not sponsored by these folks.
  • ProtonVPN — Brought to you by ProtonMail.
  • How to link short URLs on Reddit.

PROGRAMMING

C/C++

Compilers:

  • TDM-GCC — GNU Compiler Collection fit for Windows; available in both 32 and 64-bit configurations. I highly recommend using this over MSVC when installing offline is a concern because Microsoft has made the process of installing Visual Studio Build Tools the biggest pain in the ass possible. [Docs]
  • MinGW-w64 — Advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. [Docs] [Builds by niXman]
  • Visual Studio Build Tools — command-line build tools without the Visual Studio IDE or integration with it. [Docs]

IDEs:

Libraries:

  • SDL — Cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. [Docs] [Source Code]
  • OpenGL — Cross-language, cross-platform API for rendering 2D and 3D vector graphics. [Wiki]
  • EasyHook — The reinvention of Windows API hooking.
  • wxWidgets — Cross-platform GUI library. Pairs well with wxFormBuilder, a GUI creator which can export wxWidgets-compatible code in both C++ and Python. [Docs] [Tutorials] [Source Code]
  • Boost C++ Libraries — Set of libraries that provides support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. [Docs]
  • OpenSSL — Crypto library. [GitHub Repo] [SHA-256 Example]
  • SFML — Multi-platform, multi-language library which provides a simple interface to the various components of your PC to ease the development of games and multimedia applications. [Docs] available on downloads page. [Source Code]
  • MD5 Message Digest Algorithm — Message Digest algorithm derived from RSA Data Security, Inc. [Original Source]
  • md5-c — A simple, commented reference implementation of the MD5 hash algorithm.
  • sha256-in-c — An implementation of the SHA256 Hashing Algorithm in C.

References:

Articles:

Python

Tools:

Libraries:

References:

Articles:

Assembly (ASM)

Tools:

Articles:

References:

Implementations of Interest:

PowerShell

Tools:

References:

  • SS64 — PowerShell command reference.

Batch, VBScript, and JScript

Tools:

  • JREPL — Regex text processor script (Batch and JScript hybrid). [Backup]

References:

HTML5

References:

  • HTML5 — MDN reference.

CSS

References:

  • CSS — MDN reference.

JavaScript

References:

Regex

References:

Markdown

Tools:

  • Turndown — HTML to Markdown converter written in HTML and JavaScript.

References:

Articles:

GAMING

Homeworld Remastered

Tools:

  • bigDecrypter — Decrypts HWR BIG files. for use with ModPackager/HW2ICArchive.
  • Mod Tools — Based on the Homeworld Universe Mod Tools which has pretty much every tool known to the Homeworld modding community, though I've added some others I've found along the way. Including fda2aifc, No-CD Patches, skunk's Map Editor, the RDN Toolkit (with update), CFLuaDC, HWCDRP (decompiled data), all archival versions of CFHodEd, and even .chm backups of the old Karos Graveyard modding resources. Since the removal of the RelicNews forums I imagine a lot of what could be done with these has been lost, but the tools are here and if all else fails we have the Wayback Machine.
  • CFHodEd — Universal .hod Editor for both classic and remastered Homeworld games.
  • Hw2 Official v1.1 Patch — The only official HW2 game update from Relic. This is also included in the Mod Tools listed above.
  • HomeworldSDL — source code for HW1's game engine.

Mods:

References:

Phantom Forces

  • PHANTOMFORCES.MD — Notes on the game for Roblox. Random, niche stuff like what weapons have muzzle attachments that use base barrel textures/materials, some color notes on existing vanilla weapon colors/textures (yeah so you can have your Beowulf ECR the same color as the C7A2), etc.
  • Roblox FPS Unlocker — Got a decently beefy system that can run over 60 fps? Use it. Roblox announced years ago that they won't be handing out bans for those using only FPS unlockers. — Deprecated. Roblox finally added frame limits within the platform.

Red Dead Redemption 2

  • RDR2.MD — Copy of the notes file from rdr2-maps. Notes of stuff I've encountered and tested in over 8,000 hours on RDR2.
  • Animal Location Maps — Rare animal location maps. Woodpeckers, moose, panthers, etc.

Grand Theft Auto

ITEM DESCRIPTION
GTA5.MD Notes on single player GTA V. Rare vehicles, unique vehicles, NPC-modified vehicles, etc. Been playing since day one and probly have accumulated over 10k hours since 2013.
Fixing GTA IV with 4 Mods Video explanation of what to install and how they work.
FusionFix Aims to fix some issues in GTA IV: Complete Edition.
Console Visuals: The Complete Edition Compilation of console visual restoration for GTA IV: Complete Edition for PC.
Various Fixes Fixes various bugs in GTA IV. Mod is not limited only on fixes, it also includes restoration of some things, console content, various texture improvements, etc.
Downgrader Downgraders for GTA IV.
dxvk Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine.

Minecraft

  • mc-stuff — Notes on solo Minecraft, specifically Java Edition.

Tools:

  • UltimMC — Fork of MultiMC allowing use of offline accounts.
  • Prism Launcher — Fork of Prism Launcher allowing use of offline accounts.
  • Java — JDK downloads.
  • Chunk Base — Various tools and resources for Minecraft players and modders.
  • Cubiomes Viewer — An efficient graphical Minecraft seed finder and map viewer.

Mod Platforms:

  • Forge — Long-standing mod platform. Sticks and stones. Snowflakes need not apply. Grow up and use Forge.

Mods:

  • VanillaTweaks — Minimal changes sticking to as close to vanilla Minecraft as possible.
  • JEI — Just enough items.
  • Xaero's Minimap — Minimap.
  • WorldEdit — In-game map editor.
  • Advanced Finders — Adds several ore finders to make the mining process much more interesting and time-saving.
  • Large Ore Deposits — Adds very rare, but super-massive ore deposits to the world.
  • Clumps — Clumps XP orbs together.
  • Corpse — Retreive your items easier.

References:

Tom Clancy's Ghost Recon Wildlands

  • TCGRW.MD — Referential document containing weapon, vehicle, and NPC data gathered while playing Tom Clancy's Ghost Recon Wildlands. I have over 6k hours in this game.

Fate

  • Fate v1.23b (Multi5) — Full version of the Diablo clone.
  • Fate v1.21 — The original Fate version 1.21 plus the official add-ons that were started for download on the official Fate website.
  • Source Code — The source code to the game FATE and it's sequel/expansion FATE: Undiscovered Realms. These leaked when Humble Bundle accidentally distributed copies of the source code instead of the final build.
  • Ultimate Modpack — Compilation of many mods created over the years.
  • Mods on PCTalk — Archive of mods.
  • Mods on Nexus — Newer mods.

Emulation

Archives:

ROM Patchers:

Miscellaneous:

Nintendo DS

Emulators:

  • melonDSRecommended. DS & DSi emulator.
  • DeSmuMEDS emulator.

Archives:

References:

SNES

Emulators:

  • snes9xRecommended. Portable SNES emulator. Pre-built binaries availalbe on official site.
  • bsnes — SNES emulator focused on performance, features, and ease of use. Pre-built binaries available on official site.
  • ares — Cross-platform, open source, multi-system emulator, focusing on accuracy and preservation. Pre-built binaries can be downloaded from the official site.

Tools:

  • Lunar Magic — THE essential program needed to make SMW hacks. Closed source. Also available on official site.
  • LMSW — Plugin which allows the internal emulator in Lunar Magic to be used. Open source.
  • ROMclean — checks if your ROM is a clean, headered (U) [!] ROM. If it's unclean, it tries to clean it. JavaScript version for those paranoid about downloading things. Open source.
  • NPP_HexEdit — Notepad++ Hex Editor plugin. Open source.

References:

GameBoy

Emulators:

  • mGBARecommended. GB/GBC/SGB/GBA emulator. Open source. Link support. Integrated BIOS. Pre-built binaries available on official site.
  • SameBoyGB/GBC/SGB emulator. Open source.
  • BGBGB/GBC/SGB emulator. [libmobile for BGB]
  • TGB Dual LGB/GBC emulator. Link support.
  • VBA-MGB/GBC/SGB/GBA emulator. Link support. Nightly builds available on official site.

Games:

ROM Hacks:

Tools:

  • rgbdsRednex Game Boy Development System. An assembly toolchain for the Nintendo Game Boy and Game Boy Color.
  • SGB Border Injector

References:

DS

Emulators:

Tools:

Minetest

  • Minetest — an open source voxel game engine. Basically Minecraft that runs native rather than through JVM/JRE. [Wiki]

Forza

Articles:

QUOTES

BAT2EXE

tl;dr No. For your purpose, that being you just want to convert the script to an executable, you'll be moving Heaven and Earth to avoid present-day AV detection. An executable extracting a system script to some directory then (attempting to) execute it looks suspicious as shit regardless of the circumstance(s). If, by chance, that piques your interest, I've jotted down some stuff I've used/referenced over the years. Further down I've explained how to go about making your own "converter".

If you're on sort of the same path I was back when I was big into Batch scripting, as in running across something I wanted to make an executable for whatever reason, you may want to look into learning C and/or C++. They're both catch-all languages. If your system allows it, either of them can do it. Though, from my perspective C++ is superior for my needs/wants. C is just the predecessor of C++, but it works much better for applications that focus on size/speed (such as both the stub and BAT 2 EXE "converter" or "compiler" in this case).

Those references I mentioned:
https://github.com/subvod/examples#cc

The usual process of making an EXE "converter" yourself is as follows:

1. Create a very small stub that will hold the script. Assembly is the best for stubs because you can define your own data section for very large scripts. Depending on the character count of the script itself, you might be able to split it into individual strings using the appropriate termination characters as needed. (Those being \n, \t, etc.) I'd say 64-character strings, but you can use more if needed. 64x64 allows 4,096 character scripts. You can use longer strings, but I'm unfamiliar with how long strings fare against numerous smaller strings.

2. Force the stub to extract the script to a new file, usually in %USERPROFILE% (sometimes the Documents folder works fine) or %TEMP%. If it is stored in strings, concatenate all the strings utilized for storing the script, then write it to a new time, for example temp.bat in some accessible directory.
https://stackoverflow.com/q/308695
https://stackoverflow.com/q/15319859 (C++)

Alternatively, and I'd argue the less-demanding way, is to simply append each string to the file:
https://www.cprogramming.com/tutorial/cfileio.html
https://stackoverflow.com/q/19429138
https://www.cplusplus.com/doc/tutorial/files/ (C++)
https://stackoverflow.com/q/2393345 (C++)

3. For execution, you can run the script directly from the stub or run it within the stub's own CLI window.

4. As far as deleting the script after execution, Windows API's DeleteFile() can be used:
https://stackoverflow.com/a/33916912
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-deletefile

And, since you're scripting Batch I'm assuming you're primarily on Windows. As far as making the stub goes, it can be done in any language, but preferably one that compiles to native. My top picks are C, C++, and ASM. This would be a huge step if, again, you're in the same position I was many years ago. But... if you're focusing on "converting" a Batch script to executable, I say make the stub with FASM:
https://flatassembler.net/
https://docs.microsoft.com/en-us/cpp/c-language/maximum-string-length?view=msvc-170
https://board.flatassembler.net/topic.php?t=18707
https://board.flatassembler.net/topic.php?t=5900
https://board.flatassembler.net/topic.php?p=80851

As for AV avoidance, obfuscation and encryption are the best methods. However, as I mentioned earlier, a small stub writing and executing file(s) parallels a tuna boat passing by. Basically, you'll end up making a crypter, which is a whole other animal in itself:
https://hackforums.net/showthread.php?tid=6154191&pid=60762821#pid60762821