Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - ASM help (custom block and music related) | |
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
orynider

Red Paratroopa
Level: 22

Posts: 65/162
EXP: 50286
For next: 8064

Since: 03-17-04

Since last post: 57 days
Last activity: 27 days
Posted on 04-30-04 10:54 PM Link | Quote
MarioWorld it's using just 8 pointers (values) to bypass the original music and use the custom music or not. Playing whit this values (activating and deactivating the custom music) I whandered if there is a better way to change all this (just from one variable)?
I need some reasons whay not diassembling that block and chanching-it or replace-it so that will read the variable(s) from the level header ? (I know some ...)

If this will be made all songs in MW (original and extra) can be used.

I know one reason specific to the spc-700 whay this can not be made but in SMAW this is rezolved (engine related)

So, this is an request for other ASM programers, if someone can make the ASM hack or help, since I am not that good whit 65C816 and can thake-me some time.

So, this is an request for other ASM programers, if someone can make the ASM hack or help, since I am not that good whit 65C816 and can thake-me some time.

Can someone comment this for me:

;***************************************************
LDA #$80
STA $0001
LDA #$0F ;LDA #$61
STA $0002
BRA $00811D
LDA #$B1 ;LDA #$00
STA $0000
LDA #$98 ;LDA #$80
STA $0001
LDA #$0E ;LDA #$62
STA $0002
LDA #$FF
STA $2141
;***************************************************
JSR $0080F7
LDX #$9E03
RTI
AND ($9E,X)
SBC $9E1D,Y
SBC $CA1D,X
BPL $008127
RTS
LDA $1425
BNE $008148
LDA $0109
CMP #$E9
BEQ $008148
;***************************************************
ORA $141A
ORA $141D
BNE $008133
LDA #$D6 ;LDA #$00
STA $0000
LDA #$AE ;LDA #$C0
STA $0001
LDA #$0E ;LDA #$62
STA $0002
BRA $00811D
LDA #$00
STA $0000
LDA #$E4 ;LDA #$C0
;***************************************************
STA $0001
LDA #$03 ;LDA #$63
STA $0002
BRA $00811D
SEI
PHP
REP #$30
PHA
PHX
PHY
PHB
PHK
PLB
SEP #$30
LDA $4210
LDA $1DFB
BNE $008186
LDY $2142
;***************************************************







(edited by orynider on 04-30-04 01:56 PM)
(edited by orynider on 05-03-04 10:42 AM)
Atma X

Bandit
Level: 43

Posts: 208/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 05-27-04 12:18 PM Link | Quote
Hey everyone, hows the Music Editing coming?





(edited by Atma X on 12-05-04 04:57 AM)
(edited by Atma X on 12-05-04 08:03 AM)
(edited by Atma X on 12-05-04 08:05 AM)
(edited by Atma X on 12-05-04 08:06 AM)
(edited by Atma X on 12-05-04 08:09 AM)
(edited by Atma X on 02-27-05 08:56 PM)
orynider

Red Paratroopa
Level: 22

Posts: 72/162
EXP: 50286
For next: 8064

Since: 03-17-04

Since last post: 57 days
Last activity: 27 days
Posted on 06-09-04 02:56 PM Link | Quote
I have other things to do 1st in my free time. Whit this pointers you can find yourself the other pointers ... However, If someone helps I will work on this again!
The next step is to comment the surce code of the cartdrige header.
Kario

In Possession of a Stolen Shovel

Level: 65

Posts: 348/2082
EXP: 2321379
For next: 14249

Since: 03-15-04
From: Texas... Yeehaw!

Since last post: 2 days
Last activity: 17 hours
Posted on 06-09-04 07:41 PM Link | Quote
I want to know a few things:
1. Where are you from orynider? Your english is half way understandable, but the grammar is usually pretty bad.
2. Why do you keep posting these music things with offsets saying that you know how to change the music, yet you have never show us that you can or how you do it.
3. If you can edit music, why do you keep requesting that others do ASM hacking for the music?

Sorry I seem so doubtful about you "1337 haXXor" skills, but until I see some proof of music editing from YOU, I won't believe it.
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 125/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-09-04 08:05 PM Link | Quote
@Kario [1.] I believe he's from Romania.
@Kario [rest] I think the same. As I always told on my other posts.

Well, it isn't easy to believe, after all the hoaxes posted, but I... found a song pointer in DJ Bouche's DW3 hack (which uses a more wide-spread version of the N-SPC engine), traced it up to the track data itself and found most of the mappings (they are alike, but not similar to LoZ3's). When I have something working I'll release it. Immediately. Promised

Ahyes @all: What orynider writes in his first post generally points at two facts:
(1) he has no idea of SPC-hacking, romhacking or whatsoever. Neither he made any progress at hacking SMW songs.
(2) he hasn't fully understood the N-SPC manuals you sometimes find.

*quote*
MarioWorld it's using just 8 pointers (values) to bypass the original music and use the custom music or not. Playing whit this values (activating and deactivating the custom music) I whandered if there is a better way to change all this (just from one variable)?

pointers = values?
I think what he is writing about are the 8 track pointers (for the 8 DSP channels of the SPC700) which belong to a song pattern/part. The tracks it points at are the only parts of an N-SPC program/dump/... which contain any song information.

Sorry for being a bit harsh. But @orynider - you're a lamer.

Have fun,
Blacky.


(edited by blackhole89 on 06-09-04 11:06 AM)
knuck

Hinox
Banned until 19-58-5815: trolling, flaming, spamming, being a general fucktard...
Level: 62

Posts: 351/1818
EXP: 1894574
For next: 90112

Since: 03-15-04

Since last post: 14 hours
Last activity: 9 hours
Posted on 06-09-04 08:50 PM Link | Quote
http://pubory.3x.ro/pub/patch/dworyx.exe -> It's supposed to have custom music in this hack (on the title screen). But i can't tell if this music is from DW3. If it is, kill me.
EDIT: thanks for pointing out blackhole. I really believed in him...


(edited by knuck on 06-10-04 08:27 AM)
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 130/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-09-04 11:28 PM Link | Quote
No, that's just a rarer soundpack from DJ Bouche. @orynider, shame on you again.
orynider

Red Paratroopa
Level: 22

Posts: 73/162
EXP: 50286
For next: 8064

Since: 03-17-04

Since last post: 57 days
Last activity: 27 days
Posted on 06-11-04 03:48 PM Link | Quote
;**********************************************************
; This SNES/SFX disassembly of super marioworld by orynider
; 1st init part!
; commented by ...
;**********************************************************
ORG $0800
START SEI ; disable interrupts
STZ $4200 ; enable v-blank, interrupt, joypad register lda #$FF
STZ $420C ; horizontal DMA (HDMA) enable (bits 0-7)
STZ $420B ; general DMA enable (bits 0-7)
STZ $2140
STZ $2141
STZ $2142
STZ $2143
LDA #$80 ; screen off
STA $2100 ; brightness + screen enable register
CLC
XCE ; native 16-bit mode
REP #$38
LDA #$0000
TCD
LDA #$01FF
TCS
LDA #$F0A9
STA $7F8000
LDX #$017D
LDY #$03FD
LDA #$008D
STA $7F8002,X
TYA
STA $7F8003,X
SEC
SBC #$0004
TAY
DEX
DEX
DEX
BPL $008034
SEP #$30 ; Accumulator A,X,Y 8-bit mode
LDA #$6B ; Screen map data @ VRAM location $6B00
STA $7F8182
JSR $0080E8
STZ $0100
STZ $0109
JSR $008A4E
JSR $0080FD
JSR $009250
LDA #$03 ; MODE 3 ?
STA $2101 ; register size & address in VRAM
INC $10
LDA $10
BEQ $00806B
CLI ; clear interrupt flag
INC $13
JSR $009322
STZ $10
BRA $00806B
PHP
REP #$30 ; A, X, Y = 16 bit mode
LDY #$0000
LDA #$BBAA
CMP $2140
BNE $008082
SEP #$20 ; A = 8 bit mode
LDA #$CC ; Plane 0 map data @ $CC00
BRA $0080B3
LDA [$00],Y
INY
XBA
LDA #$00
BRA $0080A0
XBA
LDA [$00],Y
INY
XBA
CMP $2140
BNE $00809A
INC A
REP #$20 ; x,y,a fixed -> 16 bit mode
STA $2140
SEP #$20 ; accumulator -> 8 bit mode
DEX
BNE $008095
CMP $2140
BNE $0080AA
ADC #$03
BEQ $0080AF
PHA
REP #$20
LDA [$00],Y
INY
INY
TAX
LDA [$00],Y
INY
INY
STA $2142
SEP #$20
CPX #$0001
LDA #$00
ROL A
STA $2141
ADC #$7F
PLA
STA $2140
CMP $2140
BNE $0080D3
BVS $00808D
STZ $2140
STZ $2141
;***************************************************
STZ $2142
STZ $2143
PLP
RTS
LDA #$00
STA $0000
LDA #$80
STA $0001
LDA #$0E
STA $0002
SEI
JSR $008079
CLI
RTS
LDA #$00
STA $0000
;***************************************************
;009 - important part
;***************************************************
LDA #$80
STA $0001
LDA #$0F ;LDA #$61
STA $0002
BRA $00811D
LDA #$B1 ;LDA #$00
STA $0000
LDA #$98 ;LDA #$80
STA $0001
LDA #$0E ;LDA #$62
STA $0002
LDA #$FF
STA $2141
;***************************************************
;010 - not so important part
;***************************************************
JSR $0080F7
LDX #$9E03
RTI
AND ($9E,X)
SBC $9E1D,Y
SBC $CA1D,X
BPL $008127
RTS
LDA $1425
BNE $008148
LDA $0109
CMP #$E9
BEQ $008148
;***************************************************
;part 011
;***************************************************
ORA $141A
ORA $141D
BNE $008133
LDA #$D6 ;LDA #$00
STA $0000
LDA #$AE ;LDA #$C0
STA $0001
LDA #$0E ;LDA #$62
STA $0002
BRA $00811D
LDA #$00
STA $0000
LDA #$E4 ;LDA #$C0
;***************************************************
;part 012
;***************************************************
STA $0001
LDA #$03 ;LDA #$63
STA $0002
BRA $00811D
SEI
PHP
REP #$30
PHA
PHX
PHY
PHB
PHK
PLB
SEP #$30
LDA $4210
LDA $1DFB
BNE $008186
LDY $2142
;***************************************************
;part 12 ends
;***************************************************
CPY $1DFF
BNE $00818F
STA $2142
STA $1DFF
STZ $1DFB
LDA $1DF9
STA $2140
LDA $1DFA
STA $2141
LDA $1DFC
STA $2143
STZ $1DF9
STZ $1DFA
STZ $1DFC
LDA #$80
STA $2100
STZ $420C
LDA $41
STA $2123
LDA $42
STA $2124
LDA $43
STA $2125
LDA $44
STA $2130
LDA $0D9B
BPL $0081CE
JMP $0082C4
LDA $40
AND #$FB
STA $2131
LDA #$09
STA $2105
LDA $10
BEQ $0081E7
LDA $0D9B
LSR A
BEQ $008246
JMP $00827A
INC $10
JSR $00A488
LDA $0D9B
LSR A
BNE $008222
BCS $0081F7
JSR $008DAC
LDA $13C6
CMP #$08
BNE $008209
LDA $1FFE
BEQ $00821A
JSR $0C9567
BRA $00821A
JSR $0087AD
LDA $143A
BEQ $008217
JSR $00A7C2
BRA $00823D
JSR $00A390
JSR $00A436
JSR $00A300
BRA $00823D
LDA $13D9
CMP #$0A
BNE $008237
LDY $1DE8
DEY
DEY
CPY #$04
BCS $008237
JSR $00A529
BRA $008243
JSR $00A4E3
JSR $00A300
JSR $0085D2
JSR $008449
JSR $008650
LDA $1A
STA $210D
LDA $1B
STA $210D
LDA $1C
CLC
ADC $1888
STA $210E
LDA $1D
ADC $1889
STA $210E
LDA $1E
STA $210F
LDA $1F
STA $210F
LDA $20
STA $2110
LDA $21
STA $2110
LDA $0D9B
BEQ $008292
LDA #$81
LDY $13C6
CPY #$08
BNE $0082A1
LDY $0DAE
STY $2100
LDY $0D9F
STY $420C
JMP $00838C
LDY #$24
LDA $4211

Editing exemple using an hex editor:

0308h from 0F to 61
030Fh from B1 to 00
0314h from 98 to 80
0319h from 0E to 62
0349h from D6 to 00
034Eh from AE to C0
0353h from 0E to 62
035Fh from E4 to C0
0364h from 03 to 63
03??h ; if you find this one let me know!
18C0h from 0E to 48 ; this value will set the song nr. ?? (used for demo screen) to random or to specific
Other Changes:
1.Title Screen
Address: 18C7h from 01 to 15 ; this value will work as the above but the nr. used are song numbers from 00 - 18
(00 it's 01 from "Lunar Magic")
2.After Beating a Boss (while Castle is showing)
Address: 16B3
3. Mario Dieing
Address 780B

If you know how to use the original sfx music for Yoshi or other
custozations let as know: email-me or post an mesage on Acmlm
Board at Mario Word Hacking (http://board.acmlm.org/thread.php?id=581)
Credit:
- JohnWill (Bouche)
- AtmaX
- ACMLM

@knuck:
http://pubory.3x.ro/pub/patch/dworyx.exe is using custom music whit the same track extracted by Bouche for DW3, using some custom blocks at the adresses above. My version of the songs track is from SMA+W and is *NOT* modified by Bouche!
If no one is able to comment the surce code better then me, I will not whest my time requesting ...


(edited by orynider on 06-11-04 06:54 AM)
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 134/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-11-04 04:57 PM Link | Quote
(1) You've disassembled the beginning of a snes rom. Is that really worth posting and acting like "look at me, I've disassembled a ROM, I'm a l33t h4x0r, worship me!"?

(2) If you just change the track played on the title screen that can't be called custom music.

(3) You haven't done anything to the SPC. this is bit by bit the same to a soundpack of bouche's.

(4)

Credit:
- JohnWill (Bouche)


jonwil (if you meant him) isn't the same as DJ Bouche.

(5) Really, stop wasting (that is how, I believe, it should be written) your time with us. You'd better build up your (non-existant, as I think) w00t romhacking skillz. And no-one would miss you, I believe.

Sorry again for being harsh. But, as it's you...


(edited by blackhole89 on 06-11-04 07:57 AM)
(edited by blackhole89 on 06-11-04 07:58 AM)
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 199/2273
EXP: 2647223
For next: 81577

Since: 03-15-04
From: Söderhamn, Sweden

Since last post: 10 hours
Last activity: 9 hours
Posted on 06-11-04 07:41 PM Link | Quote
Maybe this thread should be locked?
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 138/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-11-04 07:44 PM Link | Quote
Now that's the first really good idea I heard since this thread was started.
orynider

Red Paratroopa
Level: 22

Posts: 74/162
EXP: 50286
For next: 8064

Since: 03-17-04

Since last post: 57 days
Last activity: 27 days
Posted on 06-14-04 04:17 PM Link | Quote
In the SPC they are all songs from SMA (MB1, MB2, MB3, MLL) and I do not see any problem making custom music for an SMW hack and not changing the SPC !
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 206/2273
EXP: 2647223
For next: 81577

Since: 03-15-04
From: Söderhamn, Sweden

Since last post: 10 hours
Last activity: 9 hours
Posted on 06-14-04 06:35 PM Link | Quote
Originally posted by orynider
In the SPC they are all songs from SMA (MB1, MB2, MB3, MLL) and I do not see any problem making custom music for an SMW hack and not changing the SPC !



Uhm... What???
JJ64

Boo
Level: 45

Posts: 294/919
EXP: 640956
For next: 19208

Since: 05-22-04
From: Green Bay, WI

Since last post: 441 days
Last activity: 269 days
Posted on 06-14-04 06:51 PM Link | Quote
In the SPC they are all songs from SMA (MB1, MB2, MB3, MLL) and I do not see any problem making custom music for an SMW hack and not changing the SPC !

So... you're saying they're is no problem in changing the SMAS songs in a SMW hack while changing the SMAS songs?
blackhole89

LOLSEALS
Moderator of ROM hacking
EmuNET IRC network admin
Head GM of TwilightRO
Level: 47

Posts: 155/971
EXP: 739208
For next: 26995

Since: 03-15-04
From: Dresden/Germany

Since last post: 14 hours
Last activity: 12 hours
Posted on 06-14-04 07:07 PM Link | Quote
Originally posted by JJ64
In the SPC they are all songs from SMA (MB1, MB2, MB3, MLL) and I do not see any problem making custom music for an SMW hack and not changing the SPC !

So... you're saying they're is no problem in changing the SMAS songs in a SMW hack while changing the SMAS songs?

Uhm... what???
Kario

In Possession of a Stolen Shovel

Level: 65

Posts: 374/2082
EXP: 2321379
For next: 14249

Since: 03-15-04
From: Texas... Yeehaw!

Since last post: 2 days
Last activity: 17 hours
Posted on 06-14-04 08:01 PM Link | Quote
Originally posted by orynider
Blah, blah, blah, I don't know ASM. Blah, blah, blah, I crave attention.


Uhm... what???
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 989/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-14-04 11:44 PM Link | Quote
No, he seems to be saying there's no problem with editing the music while not editing the music. I can see one...
Atma X

Bandit
Level: 43

Posts: 362/801
EXP: 553639
For next: 11407

Since: 03-16-04
From: Derrière vous!!!

Since last post: 43 days
Last activity: 14 days
Posted on 06-14-04 11:54 PM Link | Quote
I think he's saying that the songs are already from SMAS (in Bouche's hack), so he's doesn't see why there is a problem inserting Custom Music into SMW, if you just use Bouche's hack (because Bouche already rewrote the Engine to the use N-SPC Format)
orynider

Red Paratroopa
Level: 22

Posts: 76/162
EXP: 50286
For next: 8064

Since: 03-17-04

Since last post: 57 days
Last activity: 27 days
Posted on 06-15-04 03:27 PM Link | Quote
Yes, using Bouche's hack you can customize your songs from the n-spc track, to use any song from SMA, or SMA+W including the origal sfx music for Yoshi
cpubasic13
17 years old now. Time to buy some M rated games by myself!
Level: 54

Posts: 308/1346
EXP: 1206934
For next: 26936

Since: 03-15-04
From: Blame my parents, Eddy

Since last post: 2 days
Last activity: 1 day
Posted on 06-15-04 10:40 PM Link | Quote
Originally posted by orynider
Yes, using Bouche's hack you can customize your songs from the n-spc track, to use any song from SMA, or SMA+W including the origal sfx music for Yoshi


1) I am absolutly sure that SMAS and SMAS+SMW have the exact same music. Correct me if I am wrong.

2) What is with your obsession with the original SFX for Yoshi? WHAT ORIGINAL SFX!? If you mean from SMW (which was the first game Yoshi starred in) then shut up.

3) This thread should have been closed already...

4) Even though I couldn't understand the disassembly, I could understand your side notes.
"brightness + screen enable register" has something to do with after the "Nintendo Presents" part, right? I don't think "brightness" has anything to do with "sounds" and "spcs".

5) I want proof that you can edit the music. So far the only person to do that is blackhole89. All of you wasting your time reading this go to this thread.
http://acmlm.org/board/thread.php?id=3480
At least he has proof.
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Super Mario World hacking - ASM help (custom block and music related) | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.013 seconds.