ROM Hack Discussion Modding Spintires - Mudrunner on the Switch: my saga until now

Augar

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
46
Trophies
0
Age
30
XP
143
Country
Brazil
Spintires - Mudrunner is another of those "niche" simulator games from the PC. It's a sandbox physics-based off-road simulator game, where your objective is to not get stuck on mud too often. At the end of November/2018, Saber3D released their port of their game for Switch.

Also, this game on PC supports mods with the Steam Workshop and specialized websites. Why not try to install them on the Switch?

File structure:
The file and folder structure both on PC and Switch is like the image in the spoilers. They are very similar, with some files missing or not.
PC:
entb1MZ.jpg

Switch, from the .NSP using SwitchExplorer:
m4AbDBH.jpg
Notice the Media.zip file, it's where the mods should be installed by two ways: adding the mod files directly into this .zip or; extracting its content into the root folder of the game with the same files. Both method works with manual installation (Steam Workshop is automated).

First try on mods:
My Switch is running on 6.2.0 with Atmosphere 0.8.2, booted through fusèe. If my research is correct, Atmosphere already have LayeredFS running by default, meaning that i should just copy my mod files into the correct folder into my SD Card to make them work.

I've downloaded an Mercedez AMG car mod and copied the files into this Media.zip extracted from the .NSP using SwitchExplorer. Inside the SD Card, i've created the folder path for LayeredFS, where 01009D200952E000 is the titleID for Spintires, and copied my modified Media.zip.
Code:
sdcard:\atmosphere\titles\01009D200952E000\romfs\Media.zip

It works! Kinda...
The game boots as it should, displaying the intro movie and loading right into the main menu. But something is odd:
https://i.imgur.com/CrTDwx9.jpg
https://i.imgur.com/NNdjpZn.jpg

Everything is strange. Names aren't displaying correctly and the textures are broken. But hey! The modded car is in the game -- in a all-white version without sound, but there it is!
https://i.imgur.com/4LIj4Dz.jpg
https://i.imgur.com/hpPqnMS.jpg
https://i.imgur.com/wrkYWd6.jpg

This is a vanilla save-game:
https://i.imgur.com/NNdjpZn.jpg

What i've tried:
-Using the Media.zip from the PC version: crashes the game
-Merging PC and Switch Media.zip: same results, broken graphics
-Extracting the default Media.zip into the LayeredFS and then applying the mod into these extracted folders, like how it's done on PC: nope, the game works as nothing had been done.
-Install the game without the only update available (1.8GB). Horizon OS asks for it, but doesn't allow the game to boot anyway. Maybe the v0 i have available is a pre-purchase version?

What i've partially done:
-Using the LayeredFS, like described above.
-Properly extract the whole NSP, modify the Media.zip, rebuild and install it again: failed at extracting, hactool (and its variants) aren't accepting my keys!

Considerations:
It seems that the Switch version uses pre-rendered shaders -- compare the extra files included in the Switch version: FxShaders, prebuild and textures_db_nx.bin (inside Switch's Media.zip) aren't available on PC. Also, the Switch version Media.zip have less files and Config.xml/common.cfg are totally different.
My bet right now is on extracting the NSP, modifying it, rebuild and install again. If i can solve this issue with my keys (prod.keys have 120 of them, extracted twice with Hekate and Lockpick to make sure) maybe i can progress on my experimenting.

Any ideas?
 
  • Like
Reactions: Matorok

CJA_999

New Member
Newbie
Joined
Jan 3, 2019
Messages
2
Trophies
0
Age
35
XP
76
Country
China
sir,i do the samething

--------------------- MERGED ---------------------------

IMG_20190103_153540.jpg
you see

--------------------- MERGED ---------------------------

what to do now?
IMG_20190103_153536.jpg


--------------------- MERGED ---------------------------

we must open the textures_db_nx.bin file.

so we can put the PC textures into ns.

可以加微信吗?
 
  • Like
Reactions: Matorok

Augar

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
46
Trophies
0
Age
30
XP
143
Country
Brazil
That's awesome!

Did you installed custom levels? Do they load? And the texture issues?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,278
Trophies
3
XP
12,043
Country
Poland
Switch uses probably different texture format for this title (like in most Switch games). PC version may use .dds, and Switch for example .tex or .nxtex
I don't know how to decompile them, so don't ask me.
 

CJA_999

New Member
Newbie
Joined
Jan 3, 2019
Messages
2
Trophies
0
Age
35
XP
76
Country
China
so what we can do now?

--------------------- MERGED ---------------------------

we have to wait for the big gods to crack the bin file
 
  • Like
Reactions: zookdagook

Augar

Well-Known Member
OP
Newcomer
Joined
Dec 11, 2018
Messages
46
Trophies
0
Age
30
XP
143
Country
Brazil
I got some ideas to crack open this bin or other alternatives into patching textures into the game. I do believe the answer is on the update NSP, but first i need to be able to extract NSPs without giving me errors.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-