Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert.py does not produce json output nor messages/errors #4

Open
weasel-nms opened this issue Oct 8, 2021 · 4 comments
Open

convert.py does not produce json output nor messages/errors #4

weasel-nms opened this issue Oct 8, 2021 · 4 comments

Comments

@weasel-nms
Copy link

The script's only initial error was due to mapping.json not being in the same folder as the script. Since, then I've received no errors, but also get no file output.

I've simplified the locations of the files involved to ensure no problems with path names using spaces or the like.

c:\Python38\Scripts>python convert.py -i save2.hg -o output.json -m 3
libMBIN_version: 3.68.0.2

c:\Python38\Scripts>
c:\Python38\Scripts>python convert.py -i c:\Python38\Scripts\save2.hg -o c:\Python38\Scripts\output.json -m 3
libMBIN_version: 3.68.0.2

c:\Python38\Scripts>

I've also ensured it's not a file system permission problem.

@laitingsheng
Copy link
Collaborator

I guess you can try the latest version first. Your output shows that you are still using the old mapping.json, whereas I actually removed this file in the latest commit, and I replaced it by merging the mapping.json from https://github.com/monkeyman192/MBINCompiler and jsonmap.txt from https://github.com/goatfungus/NMSSaveEditor.

@weasel-nms
Copy link
Author

Well, I probably should have mentioned - tried multiple versions of mapping.json, and played with older versions of convert.py. including the latest/greatest right from monkeyman.

@weasel-nms
Copy link
Author

here's the confirmed latest download of mapping.json and convert.py:

c:\Python38\Scripts>python convert.py -i c:\Python38\Scripts\save2.hg -o c:\Python38\Scripts\output.json -m 3
libMBIN_version: 3.68.0.2

c:\Python38\Scripts>

If that version number is incorrect, it's what's in the latest json i just grabbed, which is surely plausible.
{"libMBIN_version":"3.68.0.2","Ma...

@weasel-nms
Copy link
Author

weasel-nms commented Oct 8, 2021

This is using the mapping.json included with the latest NMS-Save-Parser ZIP.

c:\Python38\Scripts>python convert.py -i c:\Python38\Scripts\save2.hg -o c:\Python38\Scripts\output.json -m 3
libMBIN_version: 3.60.0.1

c:\Python38\Scripts>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants