Banner
Views: 943,080,996
Time:
20 users online: ASSATAKKU, AttentionDeficitDad, chleain, Dispace, EvilGuy0613, GenMaruo, h.carrell, HammerBrother,  JamesD28, JupiHornet, Link13, lordkronos100, Nanita, NerdHasGoneAWOL, NewPointless, SuperMarioDs64, TheLegendaryOrb, WhiteYoshiEgg,  xHF01x, zltc - Guests: 104 - Bots: 142 Users: 52,440 (2,009 active)
Latest: valsillios
Tip: Keep in mind that the maximum size for an ExAnimation ExGFX file is 16 by 13 tiles, rather than 16 by 8 tiles like you would expect.
Not logged in.
Posts by anonimzwx
anonimzwx's Profile - Posts by anonimzwx
Pages: « 1 246 47 48 49 »


------------------------------------------------------

Youtube
Twitter
SMWControlLibX GitHub
My Discord Server
I was doing a hdma effect, the effect works on regular levels:



But in levels with custom layer 3, doesn't work. i really dont know why.

Code
init:
    LDA #$17    ;\  BG1, BG2, BG3, OBJ on main screen (TM)
    STA $0D9D|!addr   ; | 
    LDA #$00    ;\  0 on sub screen (TS)
    STA $0D9E|!addr   ; | 

    LDA #$20    ; BG1, BG2, BG3, BG4, OBJ, Backdrop for color math
    STA $40     ; mirror of $2131
	LDA #$22    ;\  Clip to black: Never, Prevent colot math: Never
	STA $44     ;/  Add subscreen instead of fixed color: True
    LDA #$33    ;\  values for enabling/inverting BG1/BG2 on window 1/2
    STA $41     ; | mirror of $2123
    STA $42     ; | mirror of $2124
    STA $43     ; | mirror of $2125
                ; | Window 1 enabled on BG1, BG2, BG3, BG4, OBJ, Color
                ; | Window 2 enabled on 0
                ; | Window 1 inverted on BG1, BG2, BG3, BG4, OBJ, Color
                ;/  Window 2 inverted on 0

main:

    REP #$20                         ;\  Get into 16 bit mode
    LDA #$2601                       ; | Register $2126 using mode 4
    STA $4370                        ; | 4330 = transfer mode, 4331 = register
    LDA #Tab                ; | High byte and low byte of table addresse.
    STA $4372                        ; | 4332 = low byte, 4333 = high byte
    SEP #$20                         ; | Back to 8 bit mode
    LDA.b #(Tab)>>16          ; | Bank byte of table addresse.
    STA $4374                        ;/  = bank byte
    LDA #$80                         ;\  
    TSB $0D9F|!addr                  ;/  enable HDMA channel 3

	RTL

Tab:
    db $50,$ff,$00
    db $01,$80,$80
    db $01,$78,$88
    db $01,$75,$8b
    db $01,$72,$8e
    db $01,$71,$8f
    db $01,$6f,$91
    db $01,$6d,$93
    db $01,$6c,$94
    db $01,$6b,$95
    db $01,$6a,$96
    db $01,$69,$97
    db $01,$68,$98
    db $01,$67,$99
    db $02,$66,$9a
    db $01,$65,$9b
    db $02,$64,$9c
    db $02,$63,$9d
    db $03,$62,$9e
    db $04,$61,$9f
    db $06,$60,$a0
    db $04,$61,$9f
    db $03,$62,$9e
    db $02,$63,$9d
    db $02,$64,$9c
    db $01,$65,$9b
    db $02,$66,$9a
    db $01,$67,$99
    db $01,$68,$98
    db $01,$69,$97
    db $01,$6a,$96
    db $01,$6b,$95
    db $01,$6c,$94
    db $01,$6d,$93
    db $01,$6f,$91
    db $01,$71,$8f
    db $01,$72,$8e
    db $01,$75,$8b
    db $01,$78,$88
    db $01,$80,$80
    db $54,$ff,$00
    db $00


I tried things like change the hdma channel, use regs directly instead of mirrors and also play around layer 3 config in lm but nothing works.

------------------------------------------------------

Youtube
Twitter
SMWControlLibX GitHub
My Discord Server
I recommend you use State Machines, i did a document about how to do State Machines here:

State Machine Guide

------------------------------------------------------

Youtube
Twitter
SMWControlLibX GitHub
My Discord Server
Originally posted by Souldbminer
Auto-Sa1

Auto adding sa-1


The issue with that is

first: A lot of hackers (specially kaizo hackers) dont use SA-1 because they try to keep the game as vanilla as possible.

second: SA-1 version of LM could be outdated compared with the latest version of SA-1.

third: SA-1 is not hard to install, the only difference between a regular patch and sa1, is that SA-1 must be inserted as first patch before do modifications in LM.

fourth: SA-1 has some options that can be enable or disable on the patch, if the patch is inserted automatically and without ask to the user, then you can't enable or disable the options that you want.

------------------------------------------------------

Youtube
Twitter
SMWControlLibX GitHub
My Discord Server
Pages: « 1 246 47 48 49 »
anonimzwx's Profile - Posts by anonimzwx

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks