ROM Hack Sleep_LZ.bin Color Editor

TheCyberQuake

Certified Geek
OP
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
Decided to make a basic program that will hopefully make color edits of the home menu sleep_LZ.bin much easier.
It also has the ability to save/open color theme files to make sharing color edits possible (without sharing the entire sleep_LZ.bin)
The awful code is also public on github
GMiIhBt.png

amlgA6d.jpg

Features:
  • Read color data from sleep_LZ.bin.bin (sleep_LZ.bin LZ11 decompressed with MSBT Editor Reloaded)
  • Write color data to sleep_LZ.bin.bin
  • Save current colors to .slzt color theme file
  • Open .slzt color theme file
Note:
This is currently a beta
. I've tested it pretty well, but there are probably some ways to break it. If you find any bugs, please report them on github!


Releases:
Releases will be found on the github linked below:
https://github.com/TheCyberQuake/SleepLZColorEditor/releases

Requirements:

WIndows with latest .net framework

Planned features:

I'm looking into the possibility of creating a python script to install .slzt color themes directly into a decompressed sleep_LZ.bin. That would at least open up the possibility to install custom color themes on other platforms, even if you can't currently create color themes on those platforms.

Feel free to share your color themes and final results below!

For info on how to get started modifying home menu, please see my other thread below:
https://gbatemp.net/threads/500253/

Updates:
1.1.1:
  • Fix bug where leading 0 of a low value hex byte was dropped, ie 04 was being read as 4, 00 was being read as 0
  • Prevent user from inputing an invalid sleep_LZ.bin.bin. Throws a plain-english error rather than a crash.
 
Last edited by TheCyberQuake,

TheCyberQuake

Certified Geek
OP
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
As far as I can tell, I seem to be the first to make a program like this. Which just feels wrong because someone should have done it by now, rather than just have everyone manually hex edit color values.
 
  • Like
Reactions: VzUh

Lumince

Well-Known Member
Member
Joined
Aug 15, 2015
Messages
2,343
Trophies
1
XP
3,771
Country
United States
Manually editing the colors was a pain :rofl2: It was awful... I got a few old drive documents that have offsets on them. They were technically public but yea. Glad to see someone doing something with this though.
Having to manually edit things made me avoid it tbh.
 

TheCyberQuake

Certified Geek
OP
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
Manually editing the colors was a pain :rofl2: It was awful... I got a few old drive documents that have offsets on them. They were technically public but yea. Glad to see someone doing something with this though.
Having to manually edit things made me avoid it tbh.
Yeah I believe I have the same online document, which I used to set all the proper offsets for read/write. I was also tired of manually editing the colors and wanted something easier.
 

OblivionReign

Developer
Developer
Joined
Apr 23, 2016
Messages
2,549
Trophies
2
XP
7,776
Country
Japan
As far as I can tell, I seem to be the first to make a program like this. Which just feels wrong because someone should have done it by now, rather than just have everyone manually hex edit color values.
Nope i made a program just didnt share it much :) yours is alot better tho lol https://github.com/Arch9SK7/MenuDump

I was working on a rework in javascript which included the functions of everything including grabbing the firmware files but been working on switch projects atm.
 
Last edited by OblivionReign,

TheCyberQuake

Certified Geek
OP
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,433
Country
United States
Good job, this was something that was definitely needed. Have you tried looking into the home menu too?
The issue is not much else has publicly documented offsets for color editing. I'm looking into other things but most of them are not fully documented, and I don't have the knowledge to find those myself.

Also of note, a new update is out and is extremely recommended to update as it fixes a crucial file reading bug that would cause some nasty crashes if it were to read something like a pure red/green/blue color.
 
  • Like
Reactions: akira123

akira123

Well-Known Member
Member
Joined
May 2, 2015
Messages
166
Trophies
0
XP
219
Country
The issue is not much else has publicly documented offsets for color editing. I'm looking into other things but most of them are not fully documented, and I don't have the knowledge to find those myself.

Also of note, a new update is out and is extremely recommended to update as it fixes a crucial file reading bug that would cause some nasty crashes if it were to read something like a pure red/green/blue color.

Ah ok, fair enough. Also I don't know if you've seen it yet so I'll link it here. There's a more in depth guide on editing the home menu. http://dungeonfire.tk
It's not explained in the guide but there's also a way to replace the images used in some areas, I can give you instructions on this if you want. The bottom screen icons and the sleep_ lz buttons can be replaced for example.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...