Skip to content

Commit

Permalink
Change stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AeEn123 committed Dec 23, 2024
1 parent f4e7aa3 commit ba800f3
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 62 deletions.
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,14 @@
[![Windows Build](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_win.yml/badge.svg)](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_win.yml)
[![Linux Build](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_linux.yml/badge.svg)](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_linux.yml)
[![Discord invite](https://img.shields.io/discord/470242481582243860?label=Discord)](https://discord.gg/xqNA5jt6DN)
> [!NOTE]
> Running on Windows requires Microsoft Visual C++ Redistributable. You can download that from [here](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022)

# Roblox Assets Extractor
This tool extracts cached data from your Roblox installation by looking at the headers of cached files.

![Screenshot](/assets/screenshot.png)

# FAQ
### Does this interfere with the roblox client?
No, it is opening files that your client has already created. You can see them yourself in %Temp%\Roblox

### Is this malware?
No, this is not malware, similar to other Free and Open Source Software, the code is available for everyone to see. It would be impossible for us to hide malware in here. The builds are also safe as the builds are now created by GitHub actions meaning everything is fully transparent. If you still don't trust this software, you can use the web demo at https://aeen123.github.io/Roblox-assets-extractor/ (you don't need to download anything for that)

### Windows says "Windows protected your PC" What do I do?
If Windows detects a program from an unverified publisher, this popup will appear. If this popup does appear, click "More info" and click "Run anyway".

### Can this get me banned?
No, unlike cheats, this **does not** inject into roblox. Making this an anti-cheat friendly way of extracting assets.

### My extracted assets don’t play in my media player, what can I do?
Some media players may not support the format that the file is in. If that is the case, please try another media player that supports all of the formats this supports, e.g VLC. **If the file is really broken, please [create an issue.](https://github.com/AeEn123/Roblox-assets-extractor/issues)**

### Can I switch to the light/dark theme?
Yes, the theme of the program automatically syncs to your system theme.

### Why is KTX files in a different tab? Shouldn't it be in the Textures tab?
Technically it should, but most image viewers don't support KTX files, so it is best to move this aside to a different tab to avoid compatability issues, this tab should be used for more advanced users.
See [FAQ.md](/docs/en-GB/FAQ.MD)

# Usage
## Tabs
Expand Down
23 changes: 23 additions & 0 deletions docs/en-GB/FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### The program can't run because VCRUNTIME140.dll is missing
Install [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist)

### Does this interfere with the roblox client?
No, it is opening files that your client has already created. You can see them yourself in %Temp%\Roblox

### Is this malware?
No, this is not malware, similar to other Free and Open Source Software, the code is available for everyone to see. It would be impossible for us to hide malware in here. The builds are also safe as the builds are now created by GitHub actions meaning everything is fully transparent. If you still don't trust this software, you can use the web demo at https://aeen123.github.io/Roblox-assets-extractor/ (you don't need to download anything for that)

### Windows says "Windows protected your PC" What do I do?
If Windows detects a program from an unverified publisher, this popup will appear. If this popup does appear, click "More info" and click "Run anyway".

### Can this get me banned?
No, unlike cheats, this **does not** inject into roblox. Making this an anti-cheat friendly way of extracting assets.

### My extracted assets don’t play in my media player, what can I do?
Some media players may not support the format that the file is in. If that is the case, please try another media player that supports all of the formats this supports, e.g VLC. **If the file is really broken, please [create an issue.](https://github.com/AeEn123/Roblox-assets-extractor/issues)**

### Why is KTX files in a different tab? Shouldn't it be in the Textures tab?
Technically it should, but most image viewers don't support KTX files, so it is best to move this aside to a different tab to avoid compatability issues, this tab should be used for more advanced users.

### Does this take up storage overtime?
Your Roblox cache itself does take up storage overtime, this tool itself does not add any storage use overtime unless you are extracting many files overtime, which you can delete easily.
23 changes: 1 addition & 22 deletions docs/en-GB/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,14 @@
[![Windows Build](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_win.yml/badge.svg)](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_win.yml)
[![Linux Build](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_linux.yml/badge.svg)](https://github.com/AeEn123/Roblox-assets-extractor/actions/workflows/build_linux.yml)
[![Discord invite](https://img.shields.io/discord/470242481582243860?label=Discord)](https://discord.gg/xqNA5jt6DN)
> [!NOTE]
> Running on Windows requires Microsoft Visual C++ Redistributable. You can download that from [here](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022)

# Roblox Assets Extractor
This tool extracts cached data from your Roblox installation by looking at the headers of cached files.

![Screenshot](/assets/screenshot.png)

# FAQ
### Does this interfere with the roblox client?
No, it is opening files that your client has already created. You can see them yourself in %Temp%\Roblox

### Is this malware?
No, this is not malware, similar to other Free and Open Source Software, the code is available for everyone to see. It would be impossible for us to hide malware in here. The builds are also safe as the builds are now created by GitHub actions meaning everything is fully transparent. If you still don't trust this software, you can use the web demo at https://aeen123.github.io/Roblox-assets-extractor/ (you don't need to download anything for that)

### Windows says "Windows protected your PC" What do I do?
If Windows detects a program from an unverified publisher, this popup will appear. If this popup does appear, click "More info" and click "Run anyway".

### Can this get me banned?
No, unlike cheats, this **does not** inject into roblox. Making this an anti-cheat friendly way of extracting assets.

### My extracted assets don’t play in my media player, what can I do?
Some media players may not support the format that the file is in. If that is the case, please try another media player that supports all of the formats this supports, e.g VLC. **If the file is really broken, please [create an issue.](https://github.com/AeEn123/Roblox-assets-extractor/issues)**

### Can I switch to the light/dark theme?
Yes, the theme of the program automatically syncs to your system theme.

### Why is KTX files in a different tab? Shouldn't it be in the Textures tab?
Technically it should, but most image viewers don't support KTX files, so it is best to move this aside to a different tab to avoid compatability issues, this tab should be used for more advanced users.
See [FAQ.md](/docs/en-GB/FAQ.MD)

# Usage
## Tabs
Expand Down
4 changes: 3 additions & 1 deletion locales/en-GB.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,6 @@ version = Version: v{ $version }
cache-directory = Cache directory: { $directory }
welcome = Welcome
download-update-question = Would you like to download the update?
update-changelog = Update changelog below
update-changelog = Update changelog below
support-sponsor = ♥ Sponsor
support-project-donate = ♥ Donate
57 changes: 40 additions & 17 deletions src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ const CONTRIBUTERS: [&str; 4] = [
"Vonercent",
"aaditkumar2009",
];
const DEPENDENCIES: [&str; 13] = [
"https://github.com/emilk/egui",
"https://github.com/Adanos020/egui_dock",
"https://github.com/lampsitter/egui_commonmark",
"https://github.com/native-dialog-rs/native-dialog-rs",
"https://github.com/rust-lang-nursery/lazy-static.rs",
"https://github.com/projectfluent/fluent-rs",
"https://github.com/1Password/sys-locale",
"https://github.com/zbraniecki/unic-locale",
"https://github.com/Stebalien/tempfile",
"https://github.com/clap-rs/clap",
"https://github.com/ardaku/whoami",
"https://github.com/seanmonstar/reqwest",
"https://github.com/serde-rs/json",
const DEPENDENCIES: [[&str; 2]; 13] = [
["https://github.com/emilk/egui", ""],
["https://github.com/Adanos020/egui_dock", ""],
["https://github.com/lampsitter/egui_commonmark", ""],
["https://github.com/native-dialog-rs/native-dialog-rs", ""],
["https://github.com/rust-lang-nursery/lazy-static.rs", ""],
["https://github.com/projectfluent/fluent-rs", ""],
["https://github.com/1Password/sys-locale", ""],
["https://github.com/zbraniecki/unic-locale", ""],
["https://github.com/Stebalien/tempfile", ""],
["https://github.com/clap-rs/clap", ""],
["https://github.com/ardaku/whoami", ""],
["https://github.com/seanmonstar/reqwest", ""],
["https://github.com/serde-rs/json", ""],
];

struct TabViewer<'a> {
Expand Down Expand Up @@ -69,8 +69,16 @@ fn double_click(dir: String, value: String, mode: String, swapping: &mut bool, s

}

fn add_dependency_credit(dependency: &str, ui: &mut egui::Ui) {
ui.hyperlink_to(dependency.replace("https://github.com/", ""), dependency);
fn add_dependency_credit(dependency: [&str;2], ui: &mut egui::Ui, sponsor_message: &str) {
if dependency[1] != "" {
ui.horizontal(|ui| {
ui.hyperlink_to(dependency[0].replace("https://github.com/", ""), dependency[0]);
ui.label("|");
ui.hyperlink_to(sponsor_message, dependency[1]);
});
} else {
ui.hyperlink_to(dependency[0].replace("https://github.com/", ""), dependency[0]);
}
}

impl egui_dock::TabViewer for TabViewer<'_> {
Expand Down Expand Up @@ -376,6 +384,19 @@ impl egui_dock::TabViewer for TabViewer<'_> {
args.set("version", VERSION);

ui.label(logic::get_message(self.locale, "version", Some(&args)));

ui.hyperlink_to("Discord", "https://discord.gg/xqNA5jt6DN");

ui.separator();

ui.heading(logic::get_message(self.locale, "support-project-donate", None));

ui.horizontal(|ui| {
ui.hyperlink_to(logic::get_message(self.locale, "support-sponsor", None), "https://github.com/sponsors/AeEn123");
ui.label("|");
ui.hyperlink_to("Roblox", "https://www.roblox.com/communities/10808976/Alfie-Likes-Computers#!/store")

});

ui.separator();

Expand All @@ -387,8 +408,10 @@ impl egui_dock::TabViewer for TabViewer<'_> {
ui.separator();

ui.heading(logic::get_message(self.locale, "dependencies", None));

let sponsor_message = logic::get_message(self.locale, "support-sponsor", None);
for dependency in DEPENDENCIES {
add_dependency_credit(dependency, ui);
add_dependency_credit(dependency, ui, &sponsor_message);
}

}
Expand Down

0 comments on commit ba800f3

Please sign in to comment.