[Original] SMB3 Rainbow Road Tileset

Share and discuss custom SMBX graphics.
AirShip
Panser
Panser
Posts: 1015
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Contact:

[Original] SMB3 Rainbow Road Tileset

Postby AirShip » Mon Sep 19, 2022 5:12 pm

Super Mario Sunshine Original Soundtrack [FLAC]:
Spoiler: show
Image

[addedum]
The background of this tileset has a strange problem, as explained by enjl:
Machines with lower VRAM might not be able to properly display png files with more height or width than 8192 pixels.
So if you have a machine like that, it might just miraculously work with 8 frames if your PC internally cuts off the last frame and leaves a 8192 pixels tall image in memory.
if the background is not working properly, edit the background2-1.ini settings, increase the number of frames from 8 to 9.


Image
Last edited by AirShip on Fri Sep 23, 2022 11:06 pm, edited 1 time in total.

Alagirez
Boom Boom
Boom Boom
Posts: 3331
Joined: Tue Dec 02, 2014 2:28 am
Flair: Legalize Awooo!
Pronouns: He/Him/That wolf
Contact:

Re: [Original] SMB3 Rainbow Road Tileset

Postby Alagirez » Thu Sep 22, 2022 10:29 pm

what happened with the background?: show
Image
Anyways, the tileset looks fantastic as usual.

AirShip
Panser
Panser
Posts: 1015
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Contact:

Re: [Original] SMB3 Rainbow Road Tileset

Postby AirShip » Thu Sep 22, 2022 11:42 pm

Alagirez wrote:
Thu Sep 22, 2022 10:29 pm
what happened with the background?: show
Image
Anyways, the tileset looks fantastic as usual.
hmm, that's strange, I've checked the files, and they work normally.
In any case, here is the background2-1.txt, should solve the problem, I believe.

Code: Select all

[Background]
priority=-100
img="b_skybox.png"
frames=8
repeatX=true
parallaxX=0.005
parallaxY=0.005
alignX=LEFT
alignY=BOTTOM

[Earth]
priority=-99.9
img="b_earth.png"
parallaxX=0.04
parallaxY=0.005
alignX=LEFT
alignY=BOTTOM
repeatX=true

[Clouds]
priority=-99.6
img="b_clouds.png"
repeatX=true
parallaxX=0.3
parallaxY=0.3
speedX=-0.7
alignX=LEFT
alignY=BOTTOM
y=-500

[Moon]
priority=-99.8
img="b_moon.png"
parallaxX=0.01
parallaxY=0.01
alignX=LEFT
alignY=BOTTOM
y=-450
x=500

[Rainbow Stars]
priority=-99.9
img="b_stars.png"
repeatX=true
parallaxX=0.1
parallaxY=0.1
speedX=-0.2
alignX=LEFT
alignY=BOTTOM
y=-150

Marioman2007
Flurry
Flurry
Posts: 378
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: [Original] SMB3 Rainbow Road Tileset

Postby Marioman2007 » Fri Sep 23, 2022 9:33 am

All of the new tilesets and remakes you are doing are so amazing!!
Keep up the good work!

Alagirez
Boom Boom
Boom Boom
Posts: 3331
Joined: Tue Dec 02, 2014 2:28 am
Flair: Legalize Awooo!
Pronouns: He/Him/That wolf
Contact:

Re: [Original] SMB3 Rainbow Road Tileset

Postby Alagirez » Fri Sep 23, 2022 9:52 am

AirShip wrote:
Thu Sep 22, 2022 11:42 pm

In any case, here is the background2-1.txt, should solve the problem, I believe.

Code: Select all

[Background]
priority=-100
img="b_skybox.png"
frames=8
repeatX=true
parallaxX=0.005
parallaxY=0.005
alignX=LEFT
alignY=BOTTOM

[Earth]
priority=-99.9
img="b_earth.png"
parallaxX=0.04
parallaxY=0.005
alignX=LEFT
alignY=BOTTOM
repeatX=true

[Clouds]
priority=-99.6
img="b_clouds.png"
repeatX=true
parallaxX=0.3
parallaxY=0.3
speedX=-0.7
alignX=LEFT
alignY=BOTTOM
y=-500

[Moon]
priority=-99.8
img="b_moon.png"
parallaxX=0.01
parallaxY=0.01
alignX=LEFT
alignY=BOTTOM
y=-450
x=500

[Rainbow Stars]
priority=-99.9
img="b_stars.png"
repeatX=true
parallaxX=0.1
parallaxY=0.1
speedX=-0.2
alignX=LEFT
alignY=BOTTOM
y=-150
...the background problem still happens after I copy-pasted the code. No Idea why

Marioman2007
Flurry
Flurry
Posts: 378
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: [Original] SMB3 Rainbow Road Tileset

Postby Marioman2007 » Fri Sep 23, 2022 11:46 am

It's working fine for me. Is your smbx2 version up to date?
Spoiler: show
Image

deice
Flurry
Flurry
Posts: 371
Joined: Fri Jul 23, 2021 7:35 am

Re: [Original] SMB3 Rainbow Road Tileset

Postby deice » Fri Sep 23, 2022 12:51 pm

just to test i downloaded it myself and also had the same issue with the background. i'm frankly not quite sure how it was working for anyone by default?
"b_skybox.png" has a height of 9216, divided by 8 (the amount of frames) gives a height of 1152 for each frame.

comparing the frames horizontally with a height of 1152 results in the following visible misalignment:
Spoiler: show
Image
which is why the strange scrolling effect is present.
changing the amount of frames to 9, which results in a frame height of 1024, fixed the issue on my end.

the download and the code pasted in this thread both have the frame count set to 8 which should by all means not display correctly, so i'm not sure what sorcery is at work here for the people who have no issues with it out of the box.

Marioman2007
Flurry
Flurry
Posts: 378
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: [Original] SMB3 Rainbow Road Tileset

Postby Marioman2007 » Fri Sep 23, 2022 9:00 pm

I again tested it, this time setting the frame to 9 and uh this happened:
Spoiler: show
Image

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9421
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: [Original] SMB3 Rainbow Road Tileset

Postby Enjl » Fri Sep 23, 2022 10:27 pm

Setting frames to 9 does appear to be the solution. However:
Machines with lower VRAM might not be able to properly display png files with more height or width than 8192 pixels.
So if you have a machine like that, it might just miraculously work with 8 frames if your PC internally cuts off the last frame and leaves a 8192 pixels tall image in memory.

AirShip
Panser
Panser
Posts: 1015
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Contact:

Re: [Original] SMB3 Rainbow Road Tileset

Postby AirShip » Fri Sep 23, 2022 10:59 pm

This is really...Unexpected.
I'll add an addendum to the main post about the case, thanks to everyone for alerting me and helping to resolve the issue!

Marioman2007
Flurry
Flurry
Posts: 378
Joined: Tue Aug 25, 2020 3:19 am
Pronouns: He/Him

Re: [Original] SMB3 Rainbow Road Tileset

Postby Marioman2007 » Sat Sep 24, 2022 12:06 am

Enjl wrote:
Fri Sep 23, 2022 10:27 pm
Setting frames to 9 does appear to be the solution. However:
Machines with lower VRAM might not be able to properly display png files with more height or width than 8192 pixels.
So if you have a machine like that, it might just miraculously work with 8 frames if your PC internally cuts off the last frame and leaves a 8192 pixels tall image in memory.
so I guess the best solution would be manually cut the image to 8192 pixels and set frames to 8, to have compatibility with all the PCs.

as I've shown before:
Spoiler: show
Image
It still looks good with the last frame cut-off.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9421
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: [Original] SMB3 Rainbow Road Tileset

Postby Enjl » Sat Sep 24, 2022 12:11 am

Marioman2007 wrote:
Sat Sep 24, 2022 12:06 am
Enjl wrote:
Fri Sep 23, 2022 10:27 pm
Setting frames to 9 does appear to be the solution. However:
Machines with lower VRAM might not be able to properly display png files with more height or width than 8192 pixels.
So if you have a machine like that, it might just miraculously work with 8 frames if your PC internally cuts off the last frame and leaves a 8192 pixels tall image in memory.
so I guess the best solution would be manually cut the image to 8192 pixels and set frames to 8, to have compatibility with all the PCs.

as I've shown before:
Spoiler: show
Image
It still looks good with the last frame cut-off.
Or the skybox could be split into two parallax layers and images: One for the upper half, and one for the lower half. Rendered at the same depth with the same alignment.


Return to “Graphics”

Who is online

Users browsing this forum: Chuchu370 and 1 guest