sardonyx-sard / dar-to-oar Goto Github PK
View Code? Open in Web Editor NEWDAR to OAR Converter for SkyrimSE(dar2oar)
Home Page: https://www.nexusmods.com/skyrimspecialedition/mods/101822
License: Apache License 2.0
DAR to OAR Converter for SkyrimSE(dar2oar)
Home Page: https://www.nexusmods.com/skyrimspecialedition/mods/101822
License: Apache License 2.0
0.1.0
unseparate for 1st person and 3rd person arg
separate for 1st person and 3rd person arg
No response
0.8.1
Windows 11 Home 23H2
I assume it is a bug in the OS Webview itself, as it has been the same in past versions.
.
No response
0.1.5
It does not return an error even if it never performs a conversion.
Returns an error if the conversion was never performed.
But I don't know how to construct that flag (should I just use an AtomicBool?).
static IS_CONVERTE_EXECUTED_ONCE: AtomicBool = AtomicBool(false);
if !IS_CONVERTE_EXECUTED_ONCE.load(Ordering::Acquire) {
bail!("DynamicAnimationReplacer dir was never found")
}
No response
Change actions-rs/cargo@v1
No longer maintained and still using Node.js12.
No response
0.6.0
This code is not really designed with anything but the charactor in mind.
Other creatures should be supported. (It can work side-effectively if you don't specify the output destination of OAR.)
https://github.com/SARDONYX-sard/dar-to-oar/blob/main/dar2oar_core/src/fs/converter/common.rs#L56
If you present the output destination of the OAR, you should easily be able to get it with the index element of the next array in the actors.
But if this inference fails, we will have no choice but to error.
No response
I'd like to set up a CSP but couldn't do it as I wanted.
"security": {
"dangerousDisableAssetCspModification": ["style-src"],
"csp": "default-src 'self';script-src 'self' 'strict-dynamic' 'unsafe-inline';worker-src 'self' 'strict-dynamic' 'blob:https://tauri.localhost/*';style-src 'self' 'unsafe-inline'; img-src 'self' https: asset: data:"
}
Set CSP and restrict content.
No response
0.2.3
aysc multithreading is not really working.
tokio::spawn is necessary, but currently it is not possible to do efficient File I/O with multi-threading because the 'static lifetime could not be resolved.
https://earthly.dev/blog/rust-concurrency-patterns-parallel-programming/
aysc multithreading.
No response
I wanted to put the conversion option progress report function in a field, but I couldn't.
use core::future::Future;
use core::marker::PhantomData;
#[derive(Default, Debug)]
pub struct AsyncClosure<I, F, Fut, T>
where
F: FnMut(I) -> Fut,
Fut: Future<Output = T> + Send + 'static,
T: Send + 'static,
{
async_fn: Option<F>,
_p: PhantomData<fn(I) -> Fut>,
}
impl<I, F, Fut, T> AsyncClosure<I, F, Fut, T>
where
F: FnMut(I) -> Fut,
Fut: Future<Output = T> + Send + 'static,
T: Send + 'static,
{
pub const fn new(async_fn: F) -> Self {
Self {
async_fn: Some(async_fn),
_p: std::marker::PhantomData,
}
}
pub fn apply(&mut self, x: I) -> Fut {
match self.async_fn.as_mut() {
Some(f) => f(x),
None => async {},
}
}
}
use std::future::Future;
use std::path::{Path, PathBuf};
use tokio::fs;
use tokio::io::{self, AsyncReadExt, AsyncWriteExt};
use tokio_stream::StreamExt;
use tracing::trace;
pub use mapping_table::read_mapping_table;
pub use sequential::convert_dar_to_oar;
#[derive(Debug, Default)]
pub struct ConvertOptions<'a, P: AsRef<Path>, I, F, Fut, T>
where
F: FnMut(I) -> Fut,
Fut: Future<Output = T> + Send + 'static,
T: Send + 'static,
{
/// DAR source dir path
pub dar_dir: P,
/// OAR destination dir path(If not, it is inferred from src)
pub oar_dir: Option<PathBuf>,
/// mod name in config.json & directory name(If not, it is inferred from src)
pub mod_name: Option<&'a str>,
/// mod author in config.json
pub author: Option<&'a str>,
/// path to section name table
pub section_table: Option<HashMap<String, String>>,
/// path to section name table(For _1st_person)
pub section_1person_table: Option<HashMap<String, String>>,
/// After converting to OAR, add mohidden to the DAR directory before conversion to treat it as a hidden directory. (for MO2 users)
pub hide_dar: bool,
pub async_fn: AsyncClosure< I, F, Fut, T>,
}
No response
0.4.0
I ran into a problem with main not showing up in the first place even after doing the following in Next.js and don't know how to fix it.
Waiting for implementation of tauri settings.
Black launch screen
No response
Might be faster with asynchronous I/O
No response
0.1.6
For some reason, cargo dist uses the repository name as URL with the same name as the binary name, and the resulting URL causes a not found.
Now the URL is dar2oar
which is the same as the binary name.
Wrong
https://github.com/SARDONYX-sard/dar2oar/releases/download/0.2.2/dar2oar_cli-aarch64-apple-darwin.tar.xz
Currect
https://github.com/SARDONYX-sard/dar-to-oar/releases/download/0.2.2/dar2oar_cli-aarch64-apple-darwin.tar.xz
The correct repository name is dar-to-oar
.
If you can specify the URL yourself, this problem will be solved.
See: axodotdev/cargo-dist#236
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.