ROM Hack Sleep_LZ.bin Color Editor

TheCyberQuake

Certified Geek
OP
Member
Joined
Dec 2, 2014
Messages
5,023
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,459
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,023
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,459
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,391
Trophies
1
XP
3,971
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,023
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,459
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,665
Trophies
2
XP
8,592
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,023
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,459
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
  • K3Nv2 @ K3Nv2:
    Walmart has e care vets now sounds horrible
  • kijetesantakalu042 @ kijetesantakalu042:
    @Xdqwerty Who decided to write that
    +1
  • BigOnYa @ BigOnYa:
    Its right next to the deli, for "convenience"
  • K3Nv2 @ K3Nv2:
    Coperate number is in Springfield
    +2
  • K3Nv2 @ K3Nv2:
    I do like how I can easily trap my cat with a red laser now dumb animal
  • BigOnYa @ BigOnYa:
    Not a dumb animal, cat has had you trapped for years. Feed me, clean my shit, and leave me the f**k alone.
  • K3Nv2 @ K3Nv2:
    Yeah but it doesn't own a skillet
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, how do you fuck alone?
  • Xdqwerty @ Xdqwerty:
    You touch yourself?
  • Xdqwerty @ Xdqwerty:
    (oh wait you fixed it)
  • K3Nv2 @ K3Nv2:
    Bigonya has been it since he got married
  • BigOnYa @ BigOnYa:
    Stop bullying me!
  • K3Nv2 @ K3Nv2:
    No
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, he's joking
  • BigOnYa @ BigOnYa:
    I'm gonna tell my mom on you guys.
  • K3Nv2 @ K3Nv2:
    She already told me last night
    +2
  • K3Nv2 @ K3Nv2:
    My mom told me I can't be with uremum
    +2
  • K3Nv2 @ K3Nv2:
    She's already with her
    +2
  • Xdqwerty @ Xdqwerty:
    Sesbian Lex
    +2
  • kijetesantakalu042 @ kijetesantakalu042:
    Lesbian lex
    +2
  • BigOnYa @ BigOnYa:
    I called my mom and she said to tell you
    guys "No! Stop it right now!" So nahnah :P
    +3
  • K3Nv2 @ K3Nv2:
    Well ac unit needs a new board thing looks corroded to hell
    +1
  • BigOnYa @ BigOnYa:
    See, sometimes cunnilingus works in your favor.
    BigOnYa @ BigOnYa: See, sometimes cunnilingus works in your favor.