wwylele / mhrice

Monster Hunter Rise information website
http://mhrice.info
Apache License 2.0
106 stars 8 forks source link

Get the error with gen-json command. #6

Closed chetuna closed 2 years ago

chetuna commented 3 years ago

I got an error with gen-json. (Title ver.1.0.0)

Error: Generating large monsters

Caused by:
    0: enemy/em001/00/user_data/em001_00_datatune.user
    1: Left over data
wwylele commented 3 years ago

Thanks for the report. I already have some fix locally, but I want to give myself a spoiler-free week, I am not testing and pushing it until this weekend. If you are interested in fixing it yourself, You can generate new TDB and look up the DataTune structure, and update the code accordingly.

wwylele commented 3 years ago

Pushed the updated code

chetuna commented 3 years ago
Error: Generating large monsters

Caused by:
    0: enemy/em002/00/collision/em002_00_colliders.rcol
    1: Unsupported type 732706C9

I continue to get errors and no results are being output. Is this a known issue? Should I not report it for a while?

wwylele commented 3 years ago

That's interesting. I didn't encounter this problem when generating with the 1.1.1 patch (and as you can see I updated the website with it). I retried it with the vanilla game data and got this error. Maybe the original version used an old format for this file. Since 1.1.1 is a day 1 patch and I wanted to regard it as the effective 1.0, I am not super interested in fixing this. I'll leave this open if anyone is interested in looking into it.

Tip: to generate with patch, dump the patch RomFS as well, and supply all .pak file to the --pak parameter, ordered from the oldest to the newest.

chetuna commented 3 years ago

Worked well with 1.1.1. I overlooked that there is a cool command to merge patches.

wwylele commented 2 years ago

Closing this as I am not going to maintain anything before the first pc version (3.6.1.0)