Code Monkey home page Code Monkey logo

fnf2osumania's People

Contributors

corne2plum3 avatar zzahkaboom24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fnf2osumania's Issues

File not found, could you help me?

When I was porting Triple Trouble (4k Version) to osu!mania, an error appeared.

Traceback (most recent call last) :
File "fnf_converter.py", line 529, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] Не удается найти указанный файл

I used 1.1.4.

Windows 7 (Yes I know, I'm using a potato pc for osu and fnf, it still works tho.)

I used the .exe file, Idk if I used Python or not, but I think I have it installed.

Additional context:
So, I need to fix this bug ASAP, I'm working on a new beatmap pack and I shall finish it in 6 days.

Error while converting

Describe the bug
When i try to convert a song, i get this error everytime. I have ffmpeg installed and python 3.7.0

Error message
Traceback (most recent call last):
File "fnf_converter.py", line 513, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Screenshots:
If applicable, add screenshots to help explain your problem.

Program version:
Which version of the program did you used when you encountered this bug? (example: 1.0, 1.1.2, ...)
1.1.3

Plateform:
What OS did you used? (Windows 7/8/10, Linux, ...)
Windows 10

Also, please specify what did you used exactly (the .exe file or the source code?). If you used Python, please specify the version of your Python (example: Python 3.7.6)
I used the exe

'The handle is invalid' error when importing audio with the .exe file

 **Describe the bug**

Not too sure what happened here but after plugging in all of the files, it just didn't want to export the .osz

 **Error message**

Traceback (most recent call last):
File "fnf_converter.py", line 505, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 753, in init
File "subprocess.py", line 1054, in _get_handles
OSError: [WinError 6] The handle is invalid

**Screenshots**

thingy

**OS and version:**

Windows 10
v1.1 (Latest)

Some keys get doubled.

Describe the bug
On some songs i converted, some keys got duplicated at the same place making it that even if i hit them, i miss.

Program version:
1.1.6

Plateform:
Windows 7, exe with python 3.8.10

Also, please specify what did you used exactly (the .exe file or the source code?). If you used Python, please specify the version of your Python (example: Python 3.7.6)

Additional context:
I haven't had this issue with 1.1.5 but that may be because i haven't used it a lot. Might also be a problem with the chart.

Buttons Getting Cut Off

**Describe the bug**

After installing all the prerequisites, the program opens and functions fine but I'm unable to export anything due to the right side getting chopped off. It might be important to note I am using a 2k monitor, although after changing my resolution to 1080p, it didn't seem to fix the issue. It could also be that I have a custom scale set on windows (135%) that might be the cause. If it turns out to be the windows global scaling to be that issue I'd like to not have to change that back to the default.

**Screenshots**

Window
Can't set the background image so It gives me an error when I try to export

**OS and version:**

Windows 10
Vers. 1.1 (Latest)

**ty for taking the time to read**

<3

TypeError: list indices must be integers or slices, not float @ line 442

Describe the bug
From the map in #9, got the following error message. There was a regression somewhere for sure.

Error message

Traceback (most recent call last):
  File "c:\Users\corne\Documents\Mes_programmes\fnf2osumania\fnf_converter.py", line 678, in exportAsOsz
    osu_map.fnf_charts[k].exportOsuFile(self.folder_path, k, osu_map.creator, osu_map.tags)
  File "c:\Users\corne\Documents\Mes_programmes\fnf2osumania\fnf_converter.py", line 215, in exportOsuFile
    notes_list = self.removeOverlaps(notes_list, keys_count)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\corne\Documents\Mes_programmes\fnf2osumania\fnf_converter.py", line 442, in removeOverlaps
    notes_list_c[note[1]].append(note)
    ~~~~~~~~~~~~^^^^^^^^^
TypeError: list indices must be integers or slices, not float

Program version:
1.3.1

Plateform:
Windows 11

Also, please specify what did you used exactly (the .exe file or the source code?). If you used Python, please specify the version of your Python (example: Python 3.7.6)

Used files:
See #9

error on export

Describe the bug
when i complete every thing and i export the osz it causes an errror when it reaches 55%.

Error message
Traceback (most recent call last):
File "fnf_converter.py", line 559, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 809, in export
File "site-packages\pydub\utils.py", line 60, in _fd_or_path_or_tempfile
PermissionError: [Errno 13] Permission denied: 'output/me - MILF/audio.mp3'

Screenshots:
image
.

Program version:
1.1.6*

Plateform:
windows 10*

i have phyton and the version is 3.10*

Used files:
If you input files in this program, post them here (just drag the files in this box), it would be useful to understand how the bug happened.

Additional context:
Something to add?

No .osu files being created

Describe the bug
When the .osv was created. there were no .osu files

Error message
N/A

Screenshots:
N/A

Program version:
1.1.4 (Stable version)

Platform:
Windows 10

Also, please specify what did you used exactly (the .exe file or the source code?). If you used Python, please specify the version of your Python (example: Python 3.7.6)
Python 3.10 through the .exe file

Used files:
I just input .ogg files and 6 .json difficulties.

Additional context:
N/A

Can't export .osz file on a (specific) mod song

Describe the bug
The .osz file couldn't be created because it couldn't find the files

Error message
Traceback (most recent call last):
File "fnf_converter.py", line 506, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Screenshots
image

OS and version:
Windows 10 21H1 (OS Build 19043.1266)

Used files:

Audio file 1:
Inst.ogg (Can't add .ogg because of github)

Audio file 2:
Voices.ogg (Can't add .ogg because of github)

Difficulty Easy file ([4k] Player 1 (Boyfriend), [4k] Players 1 and 2, [8k] 2 Players):
megalo strike back-easy.json (Can't add .json because of github)

Difficulty Normal file ([4k] Player 1 (Boyfriend), [4k] Players 1 and 2, [8k] 2 Players):
megalo strike back.json (Can't add .json because of github)

Difficulty Hard file ([4k] Player 1 (Boyfriend), [4k] Players 1 and 2, [8k] 2 Players):
megalo strike back-hard.json (Can't add .json because of github)

Background:
chara-menu

Additional context
I like that something like this exists and I hope this gets more popular!

.osz Process Crashes Mid Download

I did everything correctly, filled everything as needed, and the .osz crashes saying I did something wrong.

Error Message:
Traceback (most recent call last):
File "fnf_converter.py", line 553, in exportAsOsz
File "fnf_converter.py", line 172, in exportOsuFile
File "fnf_converter.py", line 305, in getNotesPlayer
ValueError: invalid literal for int() with base 10: 'Add Camera Zoom'

Screenshot:
Screenshot (236)

Program version:
1.1.5

Platform:
Windows 11

I opened the "main.exe" file, so I assume .exe

Used files:
N/A

Additional context:
Help I'm not smart enough

FileNotFoundError: [WinError 2] The system cannot find the file specified

i cant export the beatmap help

Traceback (most recent call last):
File "fnf_converter.py", line 506, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

image

windows 10

Invalid characters for Title and Artists crashes the program

Describe the bug
Just randomly typed '????' as song artist and it's happened lol

Error message
image

Screenshots
If applicable, add screenshots to help explain your problem.

OS and version:
Windows 10
Using the source code using Python 3.7.6
Program version 1.1.1.

Used files:
I'm sure it happens with anything since it happens when creating the folder.

Additional context
It happens mostly because the program doesn't check forbidden characters when making the folder (such as the '?' here).

I think I'll not block the user from using these characters, since they're allowed in osu! I think when creating a file, invalid characters will be replaced by something else, such an underscore (I should check how osu! handle that...)

Cropped FFMPEG window + typo

Describe the bug
See screenshot below

Error message
None

Screenshots:
image

Program version:
1.1.5

Plateform:
Debian 11 with KDE Plasma

Run from source code with Python 3.9.2

Used files:
None

Additional context:
Maybe should I make this window resizable, in addition to work on this project again...

Error when creating osz

I get this error when exporting:
Traceback (most recent call last):
File "fnf_converter.py", line 672, in exportAsOsz
File "fnf_converter.py", line 200, in exportOsuFile
File "fnf_converter.py", line 345, in getNotesFromPlayer
ValueError: invalid literal for int() with base 10: 'Show Song'
Any solutions?

When clicking on the link to find the download for the converter it leads to a 404.

Bug description
When clicking on the link to download the latest version "https://github.com/Corne2Plum3/fnf2osumania/blob/main/here" it leads to a 404 page. Where do I download the converter?

Error message
404 - page not found
The main branch of fnf2osumania does not contain the path here.

Screenshots:
image

Program version:
N/A

_Plate_form:
Windows 10

Also, please specify what did you used exactly (the .exe file or the source code?). If you used Python, please specify the version of your Python (example: Python 3.7.6)
The thing is I can't find the .exe file.

Used files:
If you input files in this program, post them here (just drag the files in this box), it would be useful to reproduce the bug.
If it's a mod, say what mod is it and please provide a download link.
N/A

Additional context:
Any additional comments?
Yes, what Python version is recommended?

ValueError: invalid literal for int() with base 10: 'Alt Idle Animation'

Converter stops at 70% and throws an error

Traceback (most recent call last):
  File "fnf_converter.py", line 551, in exportAsOsz
  File "fnf_converter.py", line 176, in exportOsuFile
  File "fnf_converter.py", line 272, in getNotesAll8K
  File "fnf_converter.py", line 303, in getNotesPlayer
ValueError: invalid literal for int() with base 10: 'Alt Idle Animation'

Screenshot_1665

FFmpeg is installed, and the python version is 3.9

How do you fix this?

Each time i try to export it i get this

Traceback (most recent call last):
File "fnf_converter.py", line 505, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 753, in init
File "subprocess.py", line 1054, in _get_handles
OSError: [WinError 6] The handle is invalid

Unable to export

tried to export, got this.

Traceback (most recent call last):
File "fnf_converter.py", line 529, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

fnf_converter.py exportAsOsz, exportOsuFile, getScrollSpeed, and others

So. When i was gonna export my .osz file, when its somewhere at like, 70% or so, i get an error like this

Traceback (most recent call last):
File "fnf_converter.py", line 569, in exportAsOsz
File "fnf_converter.py", line 79, in exportOsuFile
File "fnf_converter.py", line 345, in getScrollSpeed
File "json_init_.py", line 348, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value:
i'd be really happy if you helped me with this issue! would make my day honestly.

eb92f8c9515521c74c886807f898333e
9562
eb92f8c9515521c74c886807f898333e

and yes, i used 1.1.6

i used Windows 10

i used the python file

I used basically all the files that you told me and the other people to use

Oh. right, if you'd wanna reach out to me, i'll always be on discord.
Username/Tag: MikeMania (Insert Tag Here)

Thats about all. hope you'll reach out to me on discord or just on github

weird bug

Describe the bug
pressed export error i got is below

Error message
Traceback (most recent call last):
File "fnf_converter.py", line 529, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Screenshots:
none

Program version:
1.1.2

Plateform:
Windows 10

When a note has more than 3 arguments, the program crashes.

Describe the bug
Describe what happened.
When i was waiting for it to convert, when it got to 42%... It crashed.

Error message
If you got an error message, post it here.
Traceback (most recent call last):
File "fnf_converter.py", line 528, in exportAsOsz
File "fnf_converter.py", line 153, in exportOsuFile
File "fnf_converter.py", line 249, in getBPMList
File "fnf_converter.py", line 269, in getNotesAll8K
File "fnf_converter.py", line 306, in getNotesPlayer
TypeError: '<' not supported between instances of 'str' and 'int'

Screenshots
If applicable, add screenshots to help explain your problem.
(this screenshot was taken recently)
image

OS and version:
Tell us on what you ran the program (Window, Linux, ...) and which version you used.
Windows 10 Insider Preview Pro 21h1
Python version: 3.10
(oh wait i get what version means now) 1.1.1 (latest)

Used files:
If you input files in this program, post them here (just drag the files in this box), it would be useful to understand how the bug happened.
they're here since i can't really attach jsons
screwed.zip

Additional context
Something to add?
no

Error window displayed for SystemExit exceptions

Describe the bug
When you press cancel while exporting, an error window spawns to show an SystemExit exception.

It shouldn't be visible because it may be confuse for some users.

Traceback (most recent call last):
  File "d:\Corne2Plum3\osu! related\fnf2osumania\fnf_converter.py", line 505, in exportAsOsz
    ogg_1 = AudioSegment.from_file(osu_map.audio1_path, format="ogg")  # create AudioSegment object from pydub library
  File "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pydub\audio_segment.py", line 718, in from_file
    p_out, p_err = p.communicate(input=stdin_data)
  File "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 964, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python37-32\lib\subprocess.py", line 1296, in _communicate
    self.stdout_thread.join(self._remaining_time(endtime))
  File "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 1044, in join
    self._wait_for_tstate_lock()
  File "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 1061, in _wait_for_tstate_lock
    lock.release()
  File "C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 1061, in _wait_for_tstate_lock
    lock.release()
  File "d:\Corne2Plum3\osu! related\fnf2osumania\thread_with_trace.py", line 42, in localtrace
    raise SystemExit()
SystemExit

(replaced my username by %USERNAME% btw)

Error message
If you got an error message, post it here.

OS and version:
Windows 10
Version 1.1 using the source code

Used files:
Not needed.

I can't hit the notes of a song

Describe the bug
When playing a song that I converted (Blocked by the Vs Dave mod) only the first notes are hittable for a strange reason..

Error message
No error message

Screenshots:
I will attach a video if I can
Update: no, I can't sorry, my pc lags af when trying to record

Program version:
v1.1.2

Platform:
Windows 11

.exe file

Used files:
Files.zip

Additional context:

Error While Exporting as a .osz

Traceback (most recent call last):
File "fnf_converter.py", line 529, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] The specified file can not be found

BPM = 0 makes division by 0... (yes, there're charts with 0 as bpm...)

Describe the bug
The app gives me an error while converting Defeat Hard from Vs Impostor V3

Error message
Traceback (most recent call last):
File "fnf_converter.py", line 535, in exportAsOsz
File "fnf_converter.py", line 154, in exportOsuFile
File "fnf_converter.py", line 342, in optimizeBPMList
File "fnf_converter.py", line 599, in bpmToMs
ZeroDivisionError: division by zero

Screenshots:
image

Program version:
1.1.3

Plateform:
Windows 11, .exe version

Used files:
Files.zip

Additional context:
Nothing else, btw thanks for fixing #9

FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado

Describe the bug
Describe what happened.
i cant convert

Error message
If you got an error message, post it here.
Traceback (most recent call last):
File "fnf_converter.py", line 529, in exportAsOsz
File "site-packages\pydub\audio_segment.py", line 685, in from_file
File "site-packages\pydub\utils.py", line 274, in mediainfo_json
File "subprocess.py", line 800, in init
File "subprocess.py", line 1207, in _execute_child
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado

Screenshots:
If applicable, add screenshots to help explain your problem.
image

Program version:
Which version of the program did you used when you encountered this bug? (example: 1.0, 1.1.2, ...)
1.1.4

Plateform:
What OS did you used? (Windows 7/8/10, Linux, ...)
windows 10

Also, please specify what did you used exactly (the .exe file or the source code?). If you used Python, please specify the version of your Python (example: Python 3.7.6)
python 3.9

Used files:
If you input files in this program, post them here (just drag the files in this box), it would be useful to understand how the bug happened.
correct

Additional context:
Something to add?

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.