Skip to content

Commit

Permalink
Rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
trumank committed Dec 16, 2023
1 parent bc5f237 commit 3c4e35f
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 128 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@

- Many small improvements to the GUI
- Add simple in game UI to show local and remote integration version and active mods
- Add experimental mod linting to assist with common mod issues such as conflicts ([#55](https://github.com/trumank/drg-mod-integration/pull/55))
- Microsoft Store: Fix mods being unable to write custom save files ([#58](https://github.com/trumank/drg-mod-integration/issues/58))
- Add experimental mod linting to assist with common mod issues such as conflicts ([#55](https://github.com/trumank/mint/pull/55))
- Microsoft Store: Fix mods being unable to write custom save files ([#58](https://github.com/trumank/mint/issues/58))
- Fix `profile` CLI command not respecting mod's `enable` flag

## [0.2.9] - 2023-08-11

- Update `egui_dnd` which makes dragging and re-ordering mods significantly smoother
- Restore modding subsystem config upon uninstalling to prevent all mods getting enabled and kicking the user to sandbox
- Fix regression introduced by case sensitive path fix ([#36](https://github.com/trumank/drg-mod-integration/issues/36))
- Fix regression introduced by case sensitive path fix ([#36](https://github.com/trumank/mint/issues/36))

## [0.2.8] - 2023-08-05

- Fix `*.ushaderbytecode` files not being filtered out and causing crash on load
- Fix including same asset paths with different casings causing Unreal Engine to load neither ([#29](https://github.com/trumank/drg-mod-integration/issues/29))
- Fix including same asset paths with different casings causing Unreal Engine to load neither ([#29](https://github.com/trumank/mint/issues/29))

<!-- next-url -->
[Unreleased]: https://github.com/trumank/drg-mod-integration/compare/v0.2.10...HEAD
[0.2.10]: https://github.com/trumank/drg-mod-integration/compare/v0.2.9...v0.2.10
[0.2.9]: https://github.com/trumank/drg-mod-integration/compare/v0.2.8...v0.2.9
[0.2.8]: https://github.com/trumank/drg-mod-integration/compare/v0.2.7...v0.2.8
[Unreleased]: https://github.com/trumank/mint/compare/v0.2.10...HEAD
[0.2.10]: https://github.com/trumank/mint/compare/v0.2.9...v0.2.10
[0.2.9]: https://github.com/trumank/mint/compare/v0.2.8...v0.2.9
[0.2.8]: https://github.com/trumank/mint/compare/v0.2.7...v0.2.8
106 changes: 53 additions & 53 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = [
]

[workspace.package]
repository = "https://github.com/trumank/drg-mod-integration"
repository = "https://github.com/trumank/mint"
authors = ["trumank", "jieyouxu"]
license = "MIT OR Apache-2.0"
version = "0.2.10"
Expand All @@ -16,7 +16,7 @@ anyhow = { version = "1.0.75", features = ["backtrace"] }
patternsleuth = { git = "https://github.com/trumank/patternsleuth" }

[package]
name = "drg_mod_integration"
name = "mint"
repository.workspace = true
authors.workspace = true
license.workspace = true
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# drg-mod-integration
# mint

3rd party mod integration tool for Deep Rock Galactic to download and integrate mods completely
externally of the game. This enables more stable mod usage as well as offline mod usage. Works for
Expand All @@ -19,16 +19,16 @@ when prompted.
Most mods work just as if they were loaded via the official integration, but there are still some
behavioural differences. If a mod is crashing or otherwise behaving differently than when using the
official integration, *please* create an
[issue](https://github.com/trumank/drg-mod-integration/issues/new) so it can be addressed.
[issue](https://github.com/trumank/mint/issues/new) so it can be addressed.

## Usage

This section assumes that you are on Windows and is using the steam version of DRG, working with
either local `.pak`s or mod.io mods.

First, download the [latest release](https://github.com/trumank/drg-mod-integration/releases/latest)
First, download the [latest release](https://github.com/trumank/mint/releases/latest)
compatible with your architecture. For windows, this will be the
`drg_mod_integration-x86_64-pc-windows-msvc.zip`. Extract this to anywhere you'd like to keep the
`mint-x86_64-pc-windows-msvc.zip`. Extract this to anywhere you'd like to keep the
executable.

Then, we'll need to perform some first-time setup.
Expand Down Expand Up @@ -79,7 +79,7 @@ You can obtain a list of your subscribed mods list using the "Copy Mod URLs"
button via [A Better Modding Menu](https://mod.io/g/drg/m/a-better-modding-menu)
in game:

![Copy Mod URLs](https://github.com/trumank/drg-mod-integration/assets/1144160/375f441f-4762-4549-a241-1b54ed391b2f)
![Copy Mod URLs](https://github.com/trumank/mint/assets/1144160/375f441f-4762-4549-a241-1b54ed391b2f)

#### Adding a local mod

Expand All @@ -100,4 +100,4 @@ closed.**
## Using integrated mod support again

If you want to go back to the integrated mod support again, you must uninstall the mods installed by
the integration tool. Then, launch the game normally.
mint. Then, launch the game normally.
2 changes: 1 addition & 1 deletion release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ pre-release-replacements = [
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/trumank/drg-mod-integration/compare/{{tag_name}}...HEAD", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/trumank/mint/compare/{{tag_name}}...HEAD", exactly=1},
]
14 changes: 7 additions & 7 deletions src/gui/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ impl CheckUpdates {

async fn req() -> Result<GitHubRelease> {
Ok(reqwest::Client::builder()
.user_agent("trumank/drg-mod-integration")
.user_agent("trumank/mint")
.build()?
.get("https://api.github.com/repos/trumank/drg-mod-integration/releases/latest")
.get("https://api.github.com/repos/trumank/mint/releases/latest")
.send()
.await?
.json::<GitHubRelease>()
Expand Down Expand Up @@ -661,9 +661,9 @@ async fn self_update_async(
let client = reqwest::Client::new();

let asset_name = if cfg!(target_os = "windows") {
"drg_mod_integration-x86_64-pc-windows-msvc.zip"
"mint-x86_64-pc-windows-msvc.zip"
} else if cfg!(target_os = "linux") {
"drg_mod_integration-x86_64-unknown-linux-gnu.zip"
"mint-x86_64-unknown-linux-gnu.zip"
} else {
unimplemented!("unsupported platform");
};
Expand All @@ -672,7 +672,7 @@ async fn self_update_async(

let response = client
.get(format!(
"https://github.com/trumank/drg-mod-integration/releases/latest/download/{asset_name}"
"https://github.com/trumank/mint/releases/latest/download/{asset_name}"
))
.send()
.await?
Expand Down Expand Up @@ -708,9 +708,9 @@ async fn self_update_async(

let original_exe_path = tokio::task::spawn_blocking(move || -> Result<PathBuf> {
let bin_name = if cfg!(target_os = "windows") {
"drg_mod_integration.exe"
"mint.exe"
} else if cfg!(target_os = "linux") {
"drg_mod_integration"
"mint"
} else {
unimplemented!("unsupported platform");
};
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ pub struct Dirs {

impl Dirs {
pub fn defauld_xdg() -> Result<Self> {
let project_dirs = ProjectDirs::from("", "", "drg-mod-integration")
.context("constructing project dirs")?;
let project_dirs =
ProjectDirs::from("", "", "mint").context("constructing project dirs")?;

Self::from_paths(
project_dirs.config_dir(),
Expand Down
12 changes: 6 additions & 6 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use tracing::{debug, info};
use tracing_appender::non_blocking::WorkerGuard;
use tracing_subscriber::filter;

use drg_mod_integration::mod_lints::{run_lints, LintId};
use drg_mod_integration::providers::ProviderFactory;
use drg_mod_integration::{gui::gui, providers::ModSpecification, state::State, DRGInstallation};
use drg_mod_integration::{
use mint::mod_lints::{run_lints, LintId};
use mint::providers::ProviderFactory;
use mint::{gui::gui, providers::ModSpecification, state::State, DRGInstallation};
use mint::{
resolve_ordered_with_provider_init, resolve_unordered_and_integrate_with_provider_init, Dirs,
};

Expand Down Expand Up @@ -180,15 +180,15 @@ fn setup_logging(dirs: &Dirs) -> Result<WorkerGuard> {
}
}

let log_path = dirs.data_dir.join("drg-mod-integration.log");
let log_path = dirs.data_dir.join("mint.log");
let f = File::create(&log_path)?;
let writer = BufWriter::new(f);
let (log_file_appender, guard) = tracing_appender::non_blocking(writer);
let debug_file_log = fmt::layer()
.with_writer(log_file_appender)
.fmt_fields(NewType(Pretty::default()))
.with_ansi(false)
.with_filter(filter::Targets::new().with_target("drg_mod_integration", Level::DEBUG));
.with_filter(filter::Targets::new().with_target("mint", Level::DEBUG));
let stderr_log = fmt::layer()
.with_writer(std::io::stderr)
.compact()
Expand Down
Loading

0 comments on commit 3c4e35f

Please sign in to comment.