wwylele / mhrice

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

read-tdb error with sunbreak demo. #21

Closed chetuna closed 2 years ago

chetuna commented 2 years ago

I got an error when running read-tdb on Sunbreak demo.

command: mhrice read-tdb -t "F:\SteamLibrary\steamapps\common\MONSTER HUNTER RISE SUNBREAK DEMO\MHRiseSunbreakDemo.exe" > tdb.cs Error: failed to fill whole buffer

Is there a solution?

wwylele commented 2 years ago

The new sunbreak demo doesn't seem to have clear text tdb in the exe file. Instead, you need to dump a full minidump from a running game, and use the read-dmp-tdb command

chetuna commented 2 years ago

I could not handle the dmp command well because I was not sure about the map option and address. I will wait for the release of sunbreak. Thanks for this great project.

wwylele commented 2 years ago

You can just leave the map and address away. They are optional. --map is an output file to generate function address mapping. --address is to provide the TDB address if you know it in advance, to skip the slow scanning.

wwylele commented 2 years ago

I am going to close this as wont-fix, as I am not interested in dis-obfuscate the exe