Homebrew [Release] FBI Theme Previewer

Does senpai notice me?

  • Yes

  • No

  • What's a senpai?


Results are only viewable after voting.

miraclaime

custom themes maniac
Member
Joined
Jun 12, 2015
Messages
486
Trophies
0
Location
In your house, naked
XP
391
Country
Indonesia
It keep giving these errors
fbithemepreview.png
fbithemepreview2.jpg


I already have the api-ms...dll in my system and i already have a copy of python installed and put fbi_theme.py inside python folder but it still giving me those error, what should i do ?
 

jurassicplayer

Completionist Themer
OP
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,896
Country
United States
I updated the previewer. Hopefully will resolve the qualm I had with the memory leak (though I haven't tested it yet), but it is noticeably better than before. I removed the auto-saving textcolor.cfg because soon I'm going to add a save button.
  • Changed app icon to a custom-made one
  • Added preview screen for TWL Photo (Options screen "enabled/disabled" text colors)
  • Added preview screen for Titles ("nand, sd, gamecard, dstitle" text colors)
  • Redirected Dump NAND to the Update screen (easier to click)
  • Added open theme button
  • Added configurable meta icon (right click icon to change, or set in config file)
  • Added configurable animation duration (seconds)
  • Added overwrite option (never, preview, textcolor, always) to not prompt for overwrite confirmation.
Opening a different theme changes the watched directory to that theme (so you can change themes, instantly just start modifying files in that theme, and see the changes happen)
 

jurassicplayer

Completionist Themer
OP
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,896
Country
United States
Updated the previewer. Added the save button and another preview screen...currently, all of the images required for a theme are preview-able, and all text colors except for "installed" and "notinstalled".

After that preview is implemented (going to be the TitleDB screen), I don't really have any future plans aside from dropping the translation support thing since there isn't really anything to translate and re-implementing my derpy fake info generators. The available screens left in the preview that could be used for something are TWL NAND, TWL Sound, Pending Titles, Ext Save Data, and System Save Data. These screens wouldn't provide any new things to preview and are pretty much changes in the words which is why I don't really see a point in making them look like they do in FBI. I'm open to any ideas that anyone might have for them or I could just leave them non-functional.

I'm also pretty much out of ideas of what other things I could add to make FBI theming any more convenient, so some new ideas there are also welcome as long as they aren't bat-shit crazy out of scope like scraping and caching 3ds title infos. I was considering adding two more config lines for the meta info text inside and outside of the box to give people the option of having a slightly more convincing screenshot, but whether I actually add that or not is up in the air since it doesn't really provide much of anything.

- Added Tickets screen preview
- Added save button (works like the screenshot button)
- Grouped icons based on function (toggle screens vs external functions)
- Fixed a small oversight bug with the FBI preview toggle
- Added save icon to resources
 

jurassicplayer

Completionist Themer
OP
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,896
Country
United States
Greyscale alpha? Why not just save it as normal RGB alpha. It's smaller filesize-wise and doesn't do weird shit.
LNuB1nH.png


Maybe I'll look into seeing if I can detect derpy things like that and convert to RGB before using the image so that kind of thing doesn't happen...but I'm probably not going to look that hard because I don't greyscale format anything.

- Edit -
- Added the TitleDB preview screen
- Simple naive bugfix (convert selection_overlay to RGBA from input format before loading).
- Removed unneeded imports
 
Last edited by jurassicplayer,

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
It would be nice to have the update button actually check for updates and install updates when you press it and for the scroll bar to actually function like it does on the real fbi
 
  • Like
Reactions: Deleted User

jurassicplayer

Completionist Themer
OP
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,896
Country
United States
Alright, so there is a decision that probably needs to be made...preferably not just one where I pick myself.

For the past...however long since my last update, I've been trying to figure out a way to put most of the work stuff into Pillow rather than the canvas for less than obvious reasons (which are stated in a github issue I made). Currently there is no build of this version on github since it's not equal feature-wise to the current one (I'll upload the exe if anyone wants to get a feel).

There are some nifty things (small things, almost irrelevant even) that were implemented, but they have a cost. For starters, it takes up a little bit more memory (which isn't really bad), uses a lot more CPU while re-making the canvas (not really great), and has a slight lag while swapping screens (not really too bad, and for the most part irrelevant for normal use). As for what those allowed, there is the ttf which I can now use (and so I hunted down the system font) though it is not pixel perfect since the font renderer isn't the same. There is also alpha transparency support for textcolor (but no way to change the value of that live). Keep that in mind while looking at the two previews side-by-side.

preview.png
previewo.png


Personally, the current version is good enough for me. I can get a decent gist of what a theme is going to look like, it runs well and doesn't ride up the CPU while I'm just derping through screens as fast as possible. With that said, having a previewable alpha textcolor is pretty nice as well. In the meantime, I'm going to be slowly thinking about the poor code I've written to accomplish the Pillow version and see if there are things I can do that would optimize the CPU/memory usage, so that maybe this decision won't even be hard later.
 
Last edited by jurassicplayer,

jurassicplayer

Completionist Themer
OP
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,896
Country
United States
So I've updated the previewer again after a while of trying to get things to work out right. The new release vs the old release still has the same sort of things to note so even though this is the new release, that doesn't exactly make it entirely superior. The new version has increased memory usage, though CPU usage is...alright for most things. Some things are now a little "laggy" since I'm loading and regenerating various images at certain times in order to get the fancy text alpha to work.

Pretty much, if you used V1.0.0, this new version is exactly the same, just more clunky, missing animated previews atm (wifi, battery, progress bar), and now has custom font support along with text alpha channel support.
ragtK99.png


It would be nice to have the update button actually check for updates and install updates when you press it and for the scroll bar to actually function like it does on the real fbi
There aren't very many positives to adding either of those. At best maybe the check for updates, but it's not like I'm going update the program super often after adding the main features required for previewing. Also, I am one that has a tendency to try and re-write huge chunks to test if it would be better, which means I end up with different versions that are sort of a preferences thing (more accurate, less performant vs less accurate, more performant). As for the scrollbar, there is nothing else to scroll that would help any preview.
 

jurassicplayer

Completionist Themer
OP
Member
Joined
Mar 7, 2009
Messages
4,484
Trophies
1
Location
Pantsuland
Website
www.youtube.com
XP
2,896
Country
United States
I went and tried rewriting it again. This time I went with Kivy instead of using tkinter which sort of works and sort of doesn't. I had to make a custom color picker because the normal one in Kivy is terrible. Previewing itself is fine for the most part (albeit not completely finished), the buttons do nothing again until I rewrite those too. Also, pyinstaller can't seem to make a single executable of it at the moment...possibly because the files are split up, or maybe something else. Eventually I'll probably merge all the files together and hopefully it will work.

It's not like I really have a timeline or a deadline since nobody really uses it...and the current releases do work as previewers just fine, so it isn't like there isn't anything to use in the meantime.
n2jI4B1.png
 

miraclaime

custom themes maniac
Member
Joined
Jun 12, 2015
Messages
486
Trophies
0
Location
In your house, naked
XP
391
Country
Indonesia
I went and tried rewriting it again. This time I went with Kivy instead of using tkinter which sort of works and sort of doesn't. I had to make a custom color picker because the normal one in Kivy is terrible. Previewing itself is fine for the most part (albeit not completely finished), the buttons do nothing again until I rewrite those too. Also, pyinstaller can't seem to make a single executable of it at the moment...possibly because the files are split up, or maybe something else. Eventually I'll probably merge all the files together and hopefully it will work.

It's not like I really have a timeline or a deadline since nobody really uses it...and the current releases do work as previewers just fine, so it isn't like there isn't anything to use in the meantime.
n2jI4B1.png
The new update doesnt work for me, i cant run the app
fbi previewer problem.png
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
  • The Real Jdbye @ The Real Jdbye:
    i don't think nvidia wants to get in the x64 cpu market anyways
  • The Real Jdbye @ The Real Jdbye:
    you've seen how much intel is struggling getting into the gpu market
  • The Real Jdbye @ The Real Jdbye:
    and nvidia is already doing ARM
  • The Real Jdbye @ The Real Jdbye:
    i don't think they want to take more focus away from their gpus
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I think Nvidia s future lays in AI GPU acceleration stuff if they can get that going it's going to be super interesting in the long term
  • Psionic Roshambo @ Psionic Roshambo:
    AI assisted game creation might become a thing
  • Psionic Roshambo @ Psionic Roshambo:
    At least that's something I think would be pretty cool.
  • Psionic Roshambo @ Psionic Roshambo:
    Don some VR glasses and gloves and talk to the computer and paint entire worlds
  • Psionic Roshambo @ Psionic Roshambo:
    "OK Cortana I want that mountain a little taller and more snow on top, and I would like some random ancient pine forest around the bottom"
  • Psionic Roshambo @ Psionic Roshambo:
    "Now we need a spring fed river flowing down the north side and add some wild life appropriate for the biome"
  • Psionic Roshambo @ Psionic Roshambo:
    Many TBs of assets and the programming of something like that is going to be tough but I think it's something we might see in 20 years maybe sooner
  • The Real Jdbye @ The Real Jdbye:
    @Psionic Roshambo AI assisted game creation is kinda already here, there was recently that AI that can turn any 2D image into a fully modeled 3D object, it's not perfect, but it's a starting point, beats starting from zero
  • The Real Jdbye @ The Real Jdbye:
    before that there was one to generate a fully modeled scene from a 2D image
  • The Real Jdbye @ The Real Jdbye:
    but most recently, there was one that actually generates a working unity scene with terrain and textures already set up that you can import right into unity, that's a huge time saver right there
  • The Real Jdbye @ The Real Jdbye:
    and using LLMs to generate NPC dialogue and even dynamically generated quests is something i'm sure is already happening
  • The Real Jdbye @ The Real Jdbye:
    will just take some time for games made using those things to be completed and released
  • K3Nv2 @ K3Nv2:
    @The Real Jdbye, it's bed bath and beyond you nitwit
    K3Nv2 @ K3Nv2: @The Real Jdbye, it's bed bath and beyond you nitwit