-
Notifications
You must be signed in to change notification settings - Fork 6
behaviorNames.json missing #1
Comments
The file itself exist, but I guess there is a problem with ./ on Windows cmd. |
Thank you so much for trying out the project. This might be a case sensitivity issue, is the folder/filename maybe a different case? if so, rename it. I’ll fix it in the repo as soon as possible. Same with the dependencies! Again, thank you! Just a hint to get you up and running quicker: Check the releases for prebuilt CLI/GUI Applications. |
@Frittenfett Did you manage to solve it? :) |
Well, it's seems that this problem also exists on Linux. You only have to call main.py not on the same folder. pyhton3 main.py WORKS I hate windows, I hate python and pip on Windows. I just started a Ubuntu VM on Windows and it worked. But there are still some small errors: I try to make it work with a Dockerfile. Maybe I will make a pull request to add this to this repository. If I am able to make this work xD |
Guess I still make some mistakes. The generaded Rom is always like the original NotLikeThis |
Great points! I'll try to fix those in errors in an upcoming version. Can you elaborate on your last comment? Did it not create the right ROM for you? |
Okay, the latest commits should all solve the Let's figure out the other issues too:
Hmm, python tkinter is included by default all python versions I thought. I will change that in the next days.
Can you elaborate on this? It should work without an extended ROM too, it will simply use less options. The newest version now includes auto-extending the ROM on Mac and Windows. Hopefully that works nicely 😬
I added that to the requirements.txt, you should be able to add those with |
Still get the same Error on Windows. But I don't have all pip requirements on Windows. I'm just to stupid for pip and windows. `C:\Users\Fritte>C:\Users\Fritte\AppData\Local\Programs\Python\Python37-32\python.exe D:\git\sm64-randomizer\main.py D:\git\sm64-randomizer\Super_Mario_64_(U)_[!].z64 --shuffle-levels --shuffle-mario-color --shuffle-paintings match --shuffle-dialog --shuffle-colors --shuffle-objects --shuffle-music Traceback (most recent call last): I will try making a new rom on my VM. If I get the same error on the rom, I may PM you. |
Okey, the Exceptions which you can see in the main.py will not been shown in the gui. So as user, you though everything was ok. But nope xD It seems that I was stupid. My Ext Rom was not an Ext Rom xD `python3 main.py 'Super_Mario_64_(U)_[!].ext.z64' --shuffle-mario-color --shuffle-paintings match --shuffle-music --shuffle-objects --shuffle-entries --shuffle-colors --shuffle-dialog ------------------------------Your Settings------------------------------
|
Yeah, I did remove that! :( The name was confusing between Damn, I'm sorry you're having that many problems with it. I'll investigate if the error reporting can be improved for the GUI, I thought it output a message when the statuscode of the CLI returned a non-zero exit code. Guess that didn't work out |
Please check the newest release. It should include all fixes, as well as a new README and the Data/ thing should always be included. |
Hey,
when I'm trying to generate a ROM via CLI or GUI, I get the following exception.
Command:
C:\Users\[...]\python.exe.lnk D:\git\sm64-randomizer\main.py D:\git\sm64-randomizer\Super_Mario_64_(U)_[!].z64 --shuffle-levels --shuffle-mario-color --shuffle-paintings match --shuffle-dialog --shuffle-colors --shuffle-objects --shuffle-music
Output:
Super Mario 64 Randomizer (Version: 0.2.0)
Traceback (most recent call last):
File "D:\git\sm64-randomizer\main.py", line 25, in
import CLI
File "D:\git\sm64-randomizer\CLI.py", line 9, in
from Rom import ROM
File "D:\git\sm64-randomizer\Rom.py", line 9, in
from Parsers.LevelScript import LevelScriptParser
File "D:\git\sm64-randomizer\Parsers\LevelScript.py", line 5, in
from Constants import LVL_MAIN
File "D:\git\sm64-randomizer\Constants.py", line 227, in
with open("./Data/behaviorNames.json", "r") as behavior_file:
FileNotFoundError: [Errno 2] No such file or directory: './Data/behaviorNames.json'
In addition, python module pyperclip is required. Please write it in the README.md for noobs like me :D
Thank you <3
The text was updated successfully, but these errors were encountered: