Skip to content

physics1514/MacOS-FFlag-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Waddotrons FFlag dumper

Simplified Static MacOS Roblox FFlag dumper, for usage with Intel roblox builds.

>> supports both intel and arm64 macs <<

If you are on an ARM64 / Silicon device scroll to the bottom to install Intel Roblox first.

Prerequisites

1. Install Command Line Tools:

xcode-select --install

2. Set up x86_64 Homebrew: If you are on Apple Silicon (M1/M2/M3), you likely only have the arm64 Homebrew. You must install the x86_64 version separately to compile this dumper.

ARM64 / Silicon: Install Rosetta if you dont have it:

softwareupdate --install-rosetta

Then install x86 Homebrew:

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Intel: (Skip this if you already have Homebrew)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

3. Install Dependencies: ARM64 / Silicon:

arch -x86_64 /usr/local/bin/brew install capstone curl

Intel:

brew install capstone curl

Building

ARM64 / Silicon:

arch -x86_64 clang++ -O3 -std=c++17 -target x86_64-apple-darwin main.cpp -o dumpfflags -I/usr/local/include -L/usr/local/lib -lcapstone -lcurl

Intel:

clang++ -O3 -std=c++17 -target x86_64-apple-darwin main.cpp -o dumpfflags -I/usr/local/include -L/usr/local/lib -lcapstone -lcurl

Usage

Universal run: Args: roblox_binary_path > output_file

./dumpfflags /Applications/Roblox.app/Contents/MacOS/RobloxPlayer > fflags.hpp

The output file is created automatically.

Installing Intel Roblox for ARM (M1/2/3/4/..)

Credits to norbyv1 for the original bash install script.

Paste this into terminal:

/bin/bash -c "ver=\$(curl -s 'https://clientsettingscdn.roblox.com/v2/client-version/MacPlayer' | grep -o '\"clientVersionUpload\":\"[^\"]*' | grep -o '[^\"]*$'); echo \"Found version: \$ver\"; echo 'Downloading...'; curl -L \"http://setup.rbxcdn.com/mac/\$ver-RobloxPlayer.zip\" -o /tmp/RobloxPlayer.zip; echo 'Installing to Applications...'; [ -d \"/Applications/Roblox.app\" ] && rm -rf \"/Applications/Roblox.app\"; unzip -o -q /tmp/RobloxPlayer.zip -d /tmp; mv /tmp/RobloxPlayer.app /Applications/Roblox.app; rm /tmp/RobloxPlayer.zip; echo 'Stripping codesign...'; xattr -c /Applications/Roblox.app; codesign --remove-signature /Applications/Roblox.app/Contents/MacOS/RobloxPlayer; echo 'Intel Roblox installed.'"

Intel roblox will now be installed, continue from the top.


Any problems / errors lmk on discord physics1514_

About

Simplified MacOS FFlag dumper.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages