Homebrew Discussion Maximum character length for devmenu - 59 including .nsp, tinfoil - unknown, but 129 appears to work

iriez

Well-Known Member
OP
Member
Joined
Oct 27, 2016
Messages
549
Trophies
0
Age
49
Website
www.xbins.org
XP
1,867
Country
United States
Just thought I would share since I couldn't seem to get a clear answer from anyone. 59 with .nsp or 55 before .nsp for devmenu, and it seems the sky is the limit for tinfoil, which probably means same for tx os since they used tinfoils source for their NSP installer.

I was trying to figure out a good way to rename files to specific length and found the following -

https://www.rename-expert.com/examples/shorten_long_file_names.aspx

This is great as it will batch rename to specific file-lengths. Its bad because I couldn't find any logic that would allow me to script finer details. Optimally, I would prefer to cut out titleid first, but leave in update revision.

Examples -

Original
ACA NEOGEO GAROU MARK OF THE WOLVES [0100cb2001db8][v0].nsp

What works on devmenu -
ACA NEOGEO GAROU MARK OF THE WOLVES [0100cb2001db8000][.nsp

What I would prefer -
ACA NEOGEO GAROU MARK OF THE WOLVES [0100cb2001db8][v0].nsp

Priority should be first the first starting 20 ish characters of the time, second priority is keeping v0 / v65555 or whatever the update revision is. If removing titleid is not enough, then start at where the first bracket of titleid would have been and work backwards towards the start of the filename removing characters until you've gotten beneath the 59 character threshhold.

Thoughts? And anyone good with batch that can think of a logical way to do the above?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
    Psionic Roshambo @ Psionic Roshambo: In my opinion on all other factors they are pretty much the same. +1