Hacking Anyway to change the init brightness of a9lh?

Supster131

(づ。◕‿‿◕。)づ *:・゚✧
Member
Joined
Jan 19, 2016
Messages
3,315
Trophies
1
Location
My Computer
XP
2,758
Country
United States
I keep seeing people say this, but I don't think it's brought at all.

iirc (at least for dark samus' version), screen brightness is on the 3rd level. Is Delebile's version brighter?
 
  • Like
Reactions: saikorican

Aisuga

Active Member
Newcomer
Joined
Mar 10, 2016
Messages
33
Trophies
0
XP
582
Country
France
Right now the only way is to modify the source (screen_init.c) from 39 to desired value and compile yourself.
 

Aisuga

Active Member
Newcomer
Joined
Mar 10, 2016
Messages
33
Trophies
0
XP
582
Country
France
So I suppose I have to change this line (#define BRIGHTNESS 0x39) to #define BRIGHTNESS 0x00 in order to have a level 1 brightness ?

No idea whether 00 is none or lowest, so IDK. I'd try with 1C (half) just to be safe. Should be about 1.5 brightness level if 39 is 3.
 

RealityNinja

Well-Known Member
Member
Joined
Nov 4, 2015
Messages
1,716
Trophies
0
Location
Pokéland
XP
667
Country
France
No idea whether 00 is none or lowest, so IDK. I'd try with 1C (half) just to be safe. Should be about 1.5 brightness level if 39 is 3.
OK, so I just recompiled with BRIGHTNESS 0x13 (39 divided by 3 = 13). And yeah, it seems it's 1 brightness level.
So I suppose:
-Level 1: 0x13
-Level 2: 0x26
-Level 3: 0x39
-Level 4: 0x4C
-Level 5: 0x5F
 
Last edited by RealityNinja,

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,381
Trophies
4
Location
Space
XP
14,010
Country
Norway
OK, so I just recompiled with BRIGHTNESS 0x13 (39 divided by 3 = 13). And yeah, it seems it's 1 brightness level.
So I suppose:
-Level 1: 0x13
-Level 2: 0x26
-Level 3: 0x39
-Level 4: 0x52
-Level 5: 0x65
Actually...
13*4 = 0x4C
13*5 = 0x5F
But the rest of what you said is correct :)
I wonder if other brightness levels than the normal 1-5 ones will work. Especially higher brightness levels (not that level 5 isn't high enough, except maybe in direct sunlight)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
  • BigOnYa @ BigOnYa:
    I live maybe 3 minutes from a Dairy Queen, so I would just go there for ice cream anything anyways. I usually get the Oreo Blizzard, or a Peanut Buster Parfait.
  • Xdqwerty @ Xdqwerty:
    whats a dairy queen?
  • BigOnYa @ BigOnYa:
    Ice cream shop
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, mmmm ice cream
    +1
  • K3Nv2 @ K3Nv2:
    Uremums a dairy queen
    +2
  • BigOnYa @ BigOnYa:
    Mmmmm uremum
    +1
  • K3Nv2 @ K3Nv2:
    Always shooting that dairy out uremums tiddies
    +1
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=xgBO9c3WKII