Giter Site home page Giter Site logo

osu-pack-importer's Introduction

Tsuruki - (つ)るき

Discord profile (click to open in Discord)

19 year old French student learning things about computers. Started coding in 2018! Also a gamer, a weeb and a musician! Student at EPITA.

I code things for my own sake because it's fun. Turns out that my sake also matches other people's sakes. Happy accidents, I guess...



Dev stuff

Languages I use

C C# Java Python Lua CSS3 HTML5 JavaScript

What I know to use

Docker Apache Maven Gradle .Net

I code with

Neovim JetBrains Products

OSes I use1

Arch macOS Windows

Languages and technologies I'm currently learning

Kokoa Hoto and Chino Kafuu, reading The Go Programming Language Rin Shima reading The Rust Programming Language Cirno teaches C++

Other stuff

🎵 Music

spotify-github-profile

lastfm-scrobbles

spotify-recently-played

🌸 Weeb

anilist

🎮 Gaming

osu!

osu-profile osumania-profile

Footnotes

  1. Will soon wipe everything for NixOS :) Under construction at https://git.tsrk.me/tsrk/tsrk-nix-flex

osu-pack-importer's People

Contributors

itsshamed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

osu-pack-importer's Issues

Acess denied issue

I tried importing my beatmap packs with the program and everytime i'm getting hit with acess denied. Tried running cmd/program as admin and messed around with folder permissions but no success. No idea how i can fix that would u mind pointing me in the right direction even though it is user error and not program issue.

E:\Downloads\xd>OsuPackImporter.exe "E:\Downloads\xd\nomod consistency pack" -v
INFO: Importing archive E:\Downloads\xd\nomod consistency pack

Unhandled exception. System.UnauthorizedAccessException: Access to the path 'E:\Downloads\xd\nomod consistency pack' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.File.OpenRead(String path)
   at OsuPackImporter.Collections.ExtendedCollection..ctor(String path, ProgressContext context)
   at OsuPackImporter.Program.<>c__DisplayClass6_0.<Run>b__0(ProgressContext ctx)
   at Spectre.Console.Progress.<>c__DisplayClass25_0.<Start>b__0(ProgressContext ctx) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 65
   at Spectre.Console.Progress.<>c__DisplayClass27_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 98
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 133
--- End of stack trace from previous location ---
   at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40
   at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 116   at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 96
   at Spectre.Console.Progress.Start(Action`1 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 69
   at OsuPackImporter.Program.Progress(Action`1 action)
   at OsuPackImporter.Program.Run(Options options)
   at OsuPackImporter.Program.<>c.<Main>b__4_0(Options o)
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at OsuPackImporter.Program.Main(String[] args)

`MemoryStream` puts a maximum limit on the file size that can be handled

Yup, that might be it. MemoryStream doesn't seem, to support buffers more than 2 GB by default.
I might need to find an alternative to that.
I don't have access to a Windows box as of right now but it could be useful if you could attach your compressed pack (if you can, I don't know GitHub's limitations on file size), so that I could check against it later.

Originally posted by @ItsShamed in #1 (comment)

System.InvalidOperationException: Could not find color or style 'italics'.

Found related issue i think spectreconsole/spectre.console#312

E:\Downloads\xd\test>OsuPackImporter.exe "E:\Downloads\xd\test\nomodconsistencypack1.zip" -v
INFO: Importing archive E:\Downloads\xd\test\nomodconsistencypack1.zip

Unhandled exception. System.InvalidOperationException: Could not find color or style 'italics'.
   at Spectre.Console.StyleParser.Parse(String text) in /_/src/Spectre.Console/StyleParser.cs:line 10
   at Spectre.Console.MarkupParser.Parse(String text, Style style) in /_/src/Spectre.Console/Internal/Text/Markup/MarkupParser.cs:line 22
   at Spectre.Console.AnsiConsoleExtensions.MarkupLine(IAnsiConsole console, String value) in /_/src/Spectre.Console/Extensions/AnsiConsoleExtensions.Markup.cs:line 117
   at Spectre.Console.AnsiConsole.MarkupLine(String value) in /_/src/Spectre.Console/AnsiConsole.Markup.cs:line 81
   at OsuPackImporter.Logging.Log(String message, LogLevel level)
   at OsuPackImporter.Collections.ExtendedCollection..ctor(Stream stream, String name, ProgressContext context)
   at OsuPackImporter.Collections.ExtendedCollection..ctor(String path, ProgressContext context)
   at OsuPackImporter.Program.<>c__DisplayClass6_0.<Run>b__0(ProgressContext ctx)
   at Spectre.Console.Progress.<>c__DisplayClass25_0.<Start>b__0(ProgressContext ctx) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 65
   at Spectre.Console.Progress.<>c__DisplayClass27_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 98
--- End of stack trace from previous location ---
   at Spectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 133
--- End of stack trace from previous location ---
   at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:line 40
   at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 116   at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 96
   at Spectre.Console.Progress.Start(Action`1 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:line 69
   at OsuPackImporter.Program.Progress(Action`1 action)
   at OsuPackImporter.Program.Run(Options options)
   at OsuPackImporter.Program.<>c.<Main>b__4_0(Options o)
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at OsuPackImporter.Program.Main(String[] args)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.