Tool Unity [BepInEx][plugin] Texture Replacer v1.1.0.1

JJHDYYDS

New Member
Sep 14, 2025
5
0
1
Get-ChildItem -Recurse -Filter *.png | Where-Object { $_.BaseName -match '.*_$' } | ForEach-Object {
$newBaseName = $_.BaseName -replace '_+$'
Rename-Item -Path $_.FullName -NewName "$newBaseName$($_.Extension)"
}

Why is the code not working?
 

kumarin

Engaged Member
Feb 19, 2022
2,663
4,696
387
Get-ChildItem -Recurse -Filter *.png | Where-Object { $_.BaseName -match '.*_$' } | ForEach-Object {
$newBaseName = $_.BaseName -replace '_+$'
Rename-Item -Path $_.FullName -NewName "$newBaseName$($_.Extension)"
}

Why is the code not working?
nothing printed. just rename blahblah_.png to blahblah.png.
 

JJHDYYDS

New Member
Sep 14, 2025
5
0
1
Thank you very much for the valuable update.
I have nothing but respect for your hard work.

From now on,
"signA_59fc8b3f7285138ff513aa39584e24d0.png"

"signA.png"
So that's what I should have done.

I'm so happy that my computer no longer gets "busy."
Thanks to you, I can change the textures for all stages at once.
There's nothing more satisfying.
your mods have been the ultimate entertainment for me.
And more of that long-awaited thing...
Thank you so much for all your hard work in making an even better finished product.
Could you share some illustrations related to SecretFlasherManaka?