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 - How do I change the very first introduction pallettes ? | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Nad-Gob

Shyguy
Level: 15

Posts: 85/94
EXP: 14504
For next: 1880

Since: 02-22-05
From: Toronto, Canada

Since last post: 104 days
Last activity: 14 days
Posted on 06-14-05 03:28 AM Link | Quote
I know that his was on a thread somewhere on the Board, but I can't seem to find it. .

Can you still please help me ?

edit: layout removed.


(edited by Juggling Joker on 06-13-05 11:18 AM)
ExKeeper

Bullet Bill
Level: 31

Posts: 325/512
EXP: 180084
For next: 5279

Since: 03-05-05
From: Riiight ^

Since last post: 1 day
Last activity: 6 hours
Posted on 06-14-05 03:36 AM Link | Quote
do you mean the "nintendo presents" palette?

Edit: why is my post in your post?


(edited by smwedit on 06-13-05 10:37 AM)
(edited by smwedit on 06-13-05 10:37 AM)
(edited by smwedit on 06-13-05 10:39 AM)
(edited by smwedit on 06-13-05 10:39 AM)
Nad-Gob

Shyguy
Level: 15

Posts: 86/94
EXP: 14504
For next: 1880

Since: 02-22-05
From: Toronto, Canada

Since last post: 104 days
Last activity: 14 days
Posted on 06-14-05 03:57 AM Link | Quote
Originally posted by smwedit
do you mean the "nintendo presents" palette?

Edit: why is my post in your post?


Yes
edit: layout removed.


(edited by Juggling Joker on 06-13-05 11:24 AM)
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 1708/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-05 04:12 AM Link | Quote
Fix... Your... Layout...


(edited by Smallhacker on 06-13-05 11:12 AM)
(edited by Smallhacker on 06-13-05 11:12 AM)
(edited by Juggling Joker on 06-13-05 11:26 AM)
Xkeeper 2.0

Hammer Brother
Local ModeratorAdministratorLocal Moderator
Again... :P
Level: 49

Posts: 605/1091
EXP: 880818
For next: 3065

Since: 03-15-04

Since last post: 5 hours
Last activity: 3 hours
Posted on 06-14-05 04:19 AM Link | Quote
WTF happened? ;
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 892/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 06-14-05 04:27 AM Link | Quote
Okay guys, this thing SHOULD be cleaned up. Nad-Gob, do NOT post until you get your layout fixed.
ExKeeper

Bullet Bill
Level: 31

Posts: 328/512
EXP: 180084
For next: 5279

Since: 03-05-05
From: Riiight ^

Since last post: 1 day
Last activity: 6 hours
Posted on 06-14-05 04:29 AM Link | Quote
mods: delete this thread

nad-gob: fix you layout and then remake this thread

or

nad-gob: fix your layout, and edit your posts in this thread with that new layout and tell me to remove the stuff in my posts that tried to fix the layout


Edit: never mind, it was already taken care of by JJ


(edited by smwedit on 06-13-05 11:30 AM)
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 893/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 06-14-05 04:33 AM Link | Quote
For the record, don't try to fix the tags in your own posts, that only super complicates matters when we're trying to clean up the mess. If you need a mod right away, just PM me or another SMW mod (or if a Full Mod or Admin is the only one on, PM them). I'll probably get to it fairly soon after you send it. I've got no life, you see.
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 1709/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-05 04:36 AM Link | Quote
Originally posted by Juggling Joker
I've got no life, you see.


You're talking to a bunch of SMW hackers. NONE of us have got any lifes.
Juggling Joker

Boomerang Brother
SMW Hacking Moderator
Yeah, JAMH is still being worked on.
Level: 48

Posts: 895/1033
EXP: 811447
For next: 12096

Since: 03-15-04
From: Wyoming

Since last post: 2 days
Last activity: 3 hours
Posted on 06-14-05 05:05 AM Link | Quote
To actually answer the question, now. It's fairly simple to edit the palette, just pull up the demo level (I think it's C7 off the top of my head) and just change the first 8 colors of Mario's palette to whatever you need. It's as simple as that. You can't use anymore than the first 8 colors, which sucks, but until some smart guy comes along and fixes that we're stuck.
d4s

Panser
Level: 29

Posts: 231/325
EXP: 142151
For next: 5734

Since: 03-23-04

Since last post: 13 days
Last activity: 1 day
Posted on 06-14-05 06:21 AM Link | Quote
Originally posted by Juggling Joker
To actually answer the question, now. It's fairly simple to edit the palette, just pull up the demo level (I think it's C7 off the top of my head) and just change the first 8 colors of Mario's palette to whatever you need. It's as simple as that. You can't use anymore than the first 8 colors, which sucks, but until some smart guy comes along and fixes that we're stuck.


the sprites and palette number selection occurs here:
$00:939A

$00/939A A0 0C LDY #$0C A:0000 X:00FF Y:00FF P:eNvMXdizc
$00/939C A2 03 LDX #$03 A:0000 X:00FF Y:000C P:envMXdizc
$00/939E BD 89 93 LDA $9389,x[$00:938C] A:0000 X:0003 Y:000C P:envMXdizc
$00/93A1 99 00 02 STA $0200,y[$00:020C] A:0090 X:0003 Y:000C P:eNvMXdizc
$00/93A4 A9 70 LDA #$70 A:0090 X:0003 Y:000C P:eNvMXdizc
$00/93A6 99 01 02 STA $0201,y[$00:020D] A:0070 X:0003 Y:000C P:envMXdizc
$00/93A9 BD 8D 93 LDA $938D,x[$00:9390] A:0070 X:0003 Y:000C P:envMXdizc
$00/93AC 99 02 02 STA $0202,y[$00:020E] A:0008 X:0003 Y:000C P:envMXdizc
$00/93AF A9 30 LDA #$30 A:0008 X:0003 Y:000C P:envMXdizc
$00/93B1 99 03 02 STA $0203,y[$00:020F] A:0030 X:0003 Y:000C P:envMXdizc
$00/93B4 88 DEY A:0030 X:0003 Y:000C P:envMXdizc
$00/93B5 88 DEY A:0030 X:0003 Y:000B P:envMXdizc
$00/93B6 88 DEY A:0030 X:0003 Y:000A P:envMXdizc
$00/93B7 88 DEY A:0030 X:0003 Y:0009 P:envMXdizc
$00/93B8 CA DEX A:0030 X:0003 Y:0008 P:envMXdizc
$00/93B9 10 E3 BPL $E3 [$939E] A:0030 X:0002 Y:0008 P:envMXdizc


see where it fetches the sprite config data from?
now you can edit the palette number and tile numbers of the nintendo logo right away with a hexeditor.
have fun!
BMF98567
BLACK HAS BUILT A SILLY DICE-MAZE!
GO!

Current list of BURNING FURY >8( recipients:
- Yiffy Kitten (x2)
- Xkeeper
Level: 53

Posts: 914/1261
EXP: 1094149
For next: 62970

Since: 03-15-04
From: Blobaria
Special Move: Rising Meatloaf Backhand Combo

Since last post: 21 hours
Last activity: 1 hour
Posted on 06-14-05 09:07 AM Link | Quote
Hey, neat. I believe that's the same code I hooked to add sprites to my intro way back when. I couldn't remember where it was located, and I wanted to change a few things...

*BMF54123 gives d4s the Super Awesome Award of SMW Hacking ExcellenceTM
KP9000

Flurry
Level: 27

Posts: 231/261
EXP: 102741
For next: 13418

Since: 03-18-04
From: Wherever you saw me last...

Since last post: 22 days
Last activity: 2 days
Posted on 06-14-05 12:22 PM Link | Quote
WTF? I see the code, it's right before my eyes, but I can't see what bytes to edit in the hex editor to change the palettes! And if I were to edit them in a hex editor, how would I go about doing that? Is it 3 bytes, for Red, Blue, and Green? BTW... If you open level C7, would you Enable Custom Palette? I'm guessing yes, but that does not do it for me...
d4s

Panser
Level: 29

Posts: 233/325
EXP: 142151
For next: 5734

Since: 03-23-04

Since last post: 13 days
Last activity: 1 day
Posted on 06-14-05 03:52 PM Link | Quote
heres how sprites are set up:

Byte 1 xxxxxxxx x: X coordinate
Byte 2 yyyyyyyy y: Y coordinate
Byte 3 cccccccc c: starting character (tile) number p: palette number
Byte 4 vhoopppc v: vertical flip h: horizontal flip o: priority bits
Note: the 'c' in byte 4 is the MOST significant bit in the 9-bit char #.

the 4 writes into the $0200 area represent these 4 sprite config bytes.
everytime the above routine is executed, one sprite is drawn.
that means this one here controls the y position of all sprites in the logo:
$00/93A4 A9 70 LDA #$70

and that one controls the palette:
$00/93AF A9 30 LDA #$30

[quote]*BMF54123 gives d4s the Super Awesome Award of SMW Hacking ExcellenceTM[/quote]

thanks.
however, i think that this is only a minor thing.
when i was done with the new intro for icemans hack, i just wanted to remove the original nintendo logo and the bling-sound asap.
a quick search for accesses to the apu ports and for writes to the oam data buffer in wram and i was done with it.
so this logo thingy was actually just a small side-effect of another hack.

btw, i dont like sprites pretending to be background layers that much. :>
unless i have no choice (mode7), i avoid it at all costs.




(edited by d4s on 06-14-05 06:54 AM)
(edited by d4s on 06-14-05 06:54 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Super Mario World hacking - How do I change the very first introduction pallettes ? | |


ABII


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



Page rendered in 0.018 seconds.