Users browsing this thread: 5 Guest(s)
Mario Golf Super Rush "42" file?
#16
(10-15-2021, 09:50 AM)DogToon64 Wrote: ^ Similar thing here.

I've been trying to extract the "42" file myself, and I can't seem to figure out how to use Ninji's python script or simontime's MGSR tools. :/

Okay I've worked it out.
1. Download the pack from here: https://wuffs.org/files/mgsr_unpacker_prototype.zip
2. Place the contents into the same folder as the 42 file.
3. Hold Shift and then right click and select "Open Powershell window here"
4. Type in "python" (No Quotes) and then drag and drop the "extract_42" into the window and press Enter.
5. Wait for it to finish, it will take a while so just leave it.
Reply
Thanked by: DogToon64
#17
Whenever I try to run the script, it gives me the following error:
Quote:pythonC:[FOLDER LOCATION]\extract_42.py : The term 'pythonC:[FOLDER LOCATION]\extract_42.py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python"C:[FOLDER LOCATION]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (pythonC:[FOLDER LOCATION]\extract_42.py:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Is there any way to fix this?
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#18
(10-16-2021, 09:04 AM)DogToon64 Wrote: Whenever I try to run the script, it gives me the following error:
Quote:pythonC:[FOLDER LOCATION]\extract_42.py : The term 'pythonC:[FOLDER LOCATION]\extract_42.py' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python"C:[FOLDER LOCATION]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (pythonC:[FOLDER LOCATION]\extract_42.pyUnsuretring) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Is there any way to fix this?

No idea what that is, sorry.
Reply
Thanked by:
#19
Do you happen to know what version of python you're using?
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#20
(10-16-2021, 09:28 PM)DogToon64 Wrote: Do you happen to know what version of python you're using?

I'm using 3.9
Edit: Actually, I've just tried doing it on the newest "42" file, AKA the ones with the DLC, and it's also giving me an error. Maybe the current script doesn't support that 1?

Here's the error I get

Quote:PS C:\Workspace - Files> python "C:\Workspace - Files\extract_42.py"
effect/adv/event.nptl...
Traceback (most recent call last):
  File "C:\Workspace - Files\extract_42.py", line 49, in <module>
    assert(zlib.crc32(data) == (info['crc'] ^ 0x12345678))
AssertionError
Reply
Thanked by: DogToon64
#21
that script only works with the base game, it doesn’t work with either of the two updates
not a good situation
Reply
Thanked by:
#22
I figured out how to extract the "42" file. I put the files in the same folder as the "42" file, like ninetalescommander said. But instead of opening Windows PowerShell, I simply clicked on the "extract_42" file and it extracted the contents inside the "42" file (like ninetalescommander also mentioned, it will take a while to extract).

However, the python script only supports the first version of the game, the latest version isn't compatible with said script. Hopefully there will be a way to extract the files for the latest version of Mario Golf: Super Rush.
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#23
Has any progress been made on the DLC update? I really want the Ninji Model.
Reply
Thanked by: DogToon64
#24
https://mega.nz/file/W4BBgQDS#bQfQiSwPFR...PNLQqd1t9o

I'll just leave these here.

(EDIT: New link, now includes v4.0.0!)
(EDIT 2: Guess I should've mentioned that this is an addendum to the link that ninetalescommander posted above, you'll need the "extract_42.py" from that as well to extract the files.)
Reply
#25
(11-23-2021, 03:48 PM)Random Talking Bush Wrote: https://mega.nz/file/z4BExbIK#LnuQwhg8JJ...uVNIEmFO6o

I'll just leave these here.

Oh dood, thank you so much!
Reply
Thanked by:
#26
mario golf just got its last update right now, so that will need another datamine as well
Reply
Thanked by:
#27
Sorry if I sound dumb or anything, but how do you run the script? I can't seem to figure out how to use it to extract the 42 file.

I put the script for version 3.0.0 in the same folder as the 42 file, then I tried to click on the script, use PowerShell Window, and even updated my Python, but it doesn't seem to work (unless I'm dumb and I'm not using it right, LOL).
If you can't handle the heat.
You can't handle the Neutron Style.
Reply
Thanked by:
#28
(11-23-2021, 08:51 PM)Superstarxalien Wrote: mario golf just got its last update right now, so that will need another datamine as well
Huh, that's quite the coincidence, considering I literally just set those up earlier today. I'll update the scripts with ones compatible with v4.0.0 as soon as I'm able to.

(11-23-2021, 08:52 PM)DogToon64 Wrote: Sorry if I sound dumb or anything, but how do you run the script? I can't seem to figure out how to use it to extract the 42 file.

I put the script for version 3.0.0 in the same folder as the 42 file, then I tried to click on the script, use PowerShell Window, and even updated my Python, but it doesn't seem to work (unless I'm dumb and I'm not using it right, LOL).
All you need is Python 3.6+, the "42" archive, fst.json and extract_42.py in the same folder, then just run extract_42.py as you normally would. Doesn't need any extra parameters nor PowerShell, regular command prompt / double-clicking the script should work.
Reply
Thanked by: DogToon64
#29
extract_42.py isn't in your .zip, I'm trying to run it myself with the one Ninji made for the base game version and it doesn't really work on 3.0.0 (it extracts the first 3 files before it gives up at common.ntpl)
Reply
Thanked by:
#30
(11-23-2021, 09:15 PM)Superstarxalien Wrote: extract_42.py isn't in your .zip, I'm trying to run it myself with the one Ninji made for the base game version and it doesn't really work on 3.0.0 (it extracts the first 4 files before it gives up at dnk.ntpl)
Yeah that should be the one you'd be using (I didn't re-include it as it'd be redundant), and it's the same script I used to unpack v1.1.0, v2.0.0 and v3.0.0 respectively. But I'm not sure why it's not working for you, is your "42" file correct? Should be 3.27 GB (3,518,529,616 bytes) if it is the proper v3.0.0 archive.
Reply
Thanked by: DogToon64


Forum Jump: