ROM Hack Pikmin 2 (Switch) Product Placement Restoration

Finn_MacCool

Member
OP
Newcomer
Joined
Nov 10, 2020
Messages
20
Trophies
0
Age
23
XP
101
Country
United Kingdom
I'm trying to restore the original textures of treasures to the switch version of Pikmin 2. This is the first ROM hacking project I've ever done and I'm struggling a little.

The only tool I've found that allows me to preview, edit and replace textures for switch games is switch toolbox. I've unpacked the nsp file for Pikmin 2 and I'm trying to look at the szs files in switch toolbox to find the relevant ones. Unfortunately the program can't open most of them, giving me the following errors:

Unable to read beyond the end of the stream.
Index was outside the bounds of the array.

Am I doing something wrong or is switch toolbox innapropriate for what I'm trying to do?
 
  • Like
Reactions: txshark1999

Spooner

Member
Newcomer
Joined
Nov 19, 2012
Messages
11
Trophies
1
Age
33
XP
419
Country
United States
The type of compression used on the new szs files haven't been figured out yet, as far as I'm aware.

You don't need the szs files for that though, the textures are in data/texture_replace as har/hix files. You can decompress them with Hixtool, just google it, they'll just be a bunch of pngs in a folder.

I've actually completed a mod that adds back all the sponsors and created icons for the treasure hoard menu. I'm working on making it public, but I can send you the files through PM if you'd like.
 

Finn_MacCool

Member
OP
Newcomer
Joined
Nov 10, 2020
Messages
20
Trophies
0
Age
23
XP
101
Country
United Kingdom
I actually figured out how to open the szs files, I was going about it the wrong way. When I opened them directly in file explorer with switch toolbox it worked and I could see and edit the files. Don't know why navigating to them through toolbox didn't work but oh well.

I've actually completed a mod that adds back all the sponsors and created icons for the treasure hoard menu. I'm working on making it public, but I can send you the files through PM if you'd like.
Ah damn I was looking forward to having a project :// . Dw about PMing me, I'm happy to wait for the public release, I'm still playing 1 atm.

Does your mod restore the PAL region treasures? I'm not even sure if the switch release has regional differences. If not, and you're not interested in doing that, I could try to create a mod for it.
 

Spooner

Member
Newcomer
Joined
Nov 19, 2012
Messages
11
Trophies
1
Age
33
XP
419
Country
United States
Interesting, what version of Switch Toolbox are you on? I know people in the Pikmin community are working on more specific tools, but I like to tinker still.

I went the US route, the only non-branding thing I did was remove the censor on Arboreal Frippery. I don't have too much of an interest in the other versions, so go for it.
 

Finn_MacCool

Member
OP
Newcomer
Joined
Nov 10, 2020
Messages
20
Trophies
0
Age
23
XP
101
Country
United Kingdom
Interesting, what version of Switch Toolbox are you on?
v1.0.260 but I made a mistake, I had the files from the Wii version open, not the switch version, very silly of me.

I think I'll have a go at the PAL restoration in that case. Would it be possible for you to share some details on how you made the mod? Np if not, I'm happy to work things out myself.
 

Spooner

Member
Newcomer
Joined
Nov 19, 2012
Messages
11
Trophies
1
Age
33
XP
419
Country
United States
Yeah sure, I used Hixtool to unpack the "TreasureTexture" and "Zukan" file sets, dumped the original game's textures as pngs, matched the original to generic textures, copied the names from the generics over the original names, and used Hixtool again to repack it.

A strange thing I noticed was if I saved a file out of Photoshop, which I needed to photoshop some textures like the batteries to get the + and - sides to show as silver, the game wouldn't load the texture properly, I ran whatever I photoshopped through a Custom Texture Tool aimed at Dolphin support and then it worked.
 
  • Like
Reactions: Finn_MacCool

Finn_MacCool

Member
OP
Newcomer
Joined
Nov 10, 2020
Messages
20
Trophies
0
Age
23
XP
101
Country
United Kingdom
Ok I'll have a look. I'm unsure about if a PAL restoration is even possible currently since some treasures use different models, so modifying the texture replacements wouldn't be enough. I'll still have a go.

You mentioned people in the pikmin community working on tools, where could I track progress on that?
 

Spooner

Member
Newcomer
Joined
Nov 19, 2012
Messages
11
Trophies
1
Age
33
XP
419
Country
United States
Oh yeah, I hadn't thought about the model changes. Given some time, there probably is the chance that model replaces would work, I'm not sure though.

I've not seen the ability to track the progress on the tools, and I always find not asking them about it to be the best way to get them out faster. I'm willing to bet that once they release, they'll be available on the Hocotate Hacker discord (I'd post the invite, but I don't have permission to do links yet).
 

KaedesPiano

Active Member
Newcomer
Joined
Mar 21, 2022
Messages
33
Trophies
0
Location
US
XP
272
Country
United States
The type of compression used on the new szs files haven't been figured out yet, as far as I'm aware.

You don't need the szs files for that though, the textures are in data/texture_replace as har/hix files. You can decompress them with Hixtool, just google it, they'll just be a bunch of pngs in a folder.

I've actually completed a mod that adds back all the sponsors and created icons for the treasure hoard menu. I'm working on making it public, but I can send you the files through PM if you'd like.
Would it be possible to PM me the mod? I've been waiting for a mod like this before I play Pikmin 2 on the Switch
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Stop getting your creamy paste all over
    +2
  • impeeza @ impeeza:
    DO NOT WORK FOR ME :(
  • BigOnYa @ BigOnYa:
    I think he has a wedgie, and is afraid to fix it in public.
    +1
  • BigOnYa @ BigOnYa:
    Or else he caught one of those Florida STD's
  • K3Nv2 @ K3Nv2:
    Psis difficulty meter is Stds like how south park made it race color
    +2
  • BakerMan @ BakerMan:
    oh yeah it's skin color for difficulty in south park

    is it, by that logic, blackface to play on the hardest difficulty if you're white?
    +1
  • BigOnYa @ BigOnYa:
    Hey Psi, you ever been on a date and ran into another past date? And how did you handle it? Just curious.
  • K3Nv2 @ K3Nv2:
    He just says this is the neighbor across the block and says sorry their mail got mixed up
  • BakerMan @ BakerMan:
    guys, this sounds unhinged, but someone (i forgot who) saying they'd want to make their left 4 dead team wario, samus, captain falcon and nester gave me the idea for a quick round of fuck marry kill/bed wed behead
    +1
  • BakerMan @ BakerMan:
    fuck marry kill:
    wario, samus, captain falcon
  • BakerMan @ BakerMan:
    i gotta say fuck captain falcon, because he's hot (no homo), marry samus, because she seems like good wife (or as BigOnYa says, wifey) material, and kill wario, because he can't die, so killing him won't really kill him
    +1
  • BakerMan @ BakerMan:
    but uhhh that's just me hehe
    iu
  • impeeza @ impeeza:
    good night guys
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, wise one, thanks for trying to help.
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself to your 0% juice, lol
    +1
  • BigOnYa @ BigOnYa:
    Damn, is that Wing from South Park?
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa hmmm I wonder how long until someone just vapes the straight nicotine lol
  • BigOnYa @ BigOnYa:
    I was gonna say people are not that dumb, but yea you right, some are.
    BigOnYa @ BigOnYa: I was gonna say people are not that dumb, but yea you right, some are.