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
429
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
429
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
429
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
429
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
36
Trophies
0
Location
US
XP
282
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
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, the other game where I found newgrounds is new york shark
    +1
  • SylverReZ @ SylverReZ:
    Spoke to Tom Fulp the other day, if he can find his old Newgrounds site content like the mini Flash animations from the 2000's that played on the portal.
  • SylverReZ @ SylverReZ:
    So far no response, but he did say that he'll find them. Wayback Machine doesn't have em.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast the 1999 versión of pico's school is avaliable (the difference between it, the 2006 versión and the 2016 versión is that the speed of the game depends of the speed of your computer and that it had the og soundtrack)
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Another being Pico VS Bear, the original 1999 version before Jim Henson filed a DMCA takedown.
    +1
  • Xdqwerty @ Xdqwerty:
    The 2006 versión was made when the flash portal was made
  • SylverReZ @ SylverReZ:
    Many people thought it was lost, but was discovered that he hid it on the same page.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, although the "secrets" system where the game was has been removed. Also pico vs uberkids had a netplay versión that was shutdown, although the swf file has been found
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Nope. There are two download buttons on the same page, where you can download the original under a file called "bear.exe". "bear2.exe", however, is the updated game in a Flash projector. P.s. this was on the archived Pico page from 2000.
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's been there for a long time, too. People who search for lost media don't look hard enough lmao.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, also the pico 2 demos used to be only for the newgrounds patrons but they are on internet archive too (https://archive.org/download/picos_school_2)
    +1
  • Xdqwerty @ Xdqwerty:
    Iirc the demos were removed from newgrounds in 2022
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, or well only the demo with mindchamber's style was on newgrounds
    +1
  • Xdqwerty @ Xdqwerty:
    Fun fact @SylverReZ: iirc one of the goals on the fnf Kickstarter stated that pico 2 would be finished but the Kickstarter didnt get enough money for that goal to be fullfiled
  • SylverReZ @ SylverReZ:
    @Xdqwerty, FNF sucks, their community is toxic as hell.
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ its a single player game
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, Yea but it has a shitton of mods with their own songs and stuff
  • Xdqwerty @ Xdqwerty:
    @The Real Jdbye, and quite a lot of people involved in those mods get cancelled
  • SylverReZ @ SylverReZ:
    Newgrounds wasn't the birth of FNF; rather, it was games where you beat up celebrities and parodies.
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    FNF was born from Game Jams
  • a_username_that_is_cool @ a_username_that_is_cool:
    Specifically Ludum Dare 47
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, and Sonic fights a la dragón ball z
    T @ Texasauras: help https://www.youtube.com/watch?v=UUPdNq0qyeA