Share and discuss custom SMBX graphics.
|
|
|
|
-
AirShip
- Panser

- Posts: 1036
- Joined: Wed Jan 01, 2014 1:30 am
- Flair: The Flying Ghost
-
Contact:
Postby AirShip » Mon Sep 19, 2022 5:12 pm
Super Mario Sunshine Original Soundtrack [FLAC]:
[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.

Last edited by AirShip on Fri Sep 23, 2022 11:06 pm, edited 1 time in total.
|
|
|
|
|
|
|
|
|
-
Alagirez
- Boom Boom

- Posts: 3370
- Joined: Tue Dec 02, 2014 2:28 am
- Flair: Show your fangs!
- Pronouns: He/Him/That wolf
-
Contact:
Postby Alagirez » Thu Sep 22, 2022 10:29 pm
what happened with the background?: show
Anyways, the tileset looks fantastic as usual.
|
|
|
|
|
|
|
|
|
-
AirShip
- Panser

- Posts: 1036
- Joined: Wed Jan 01, 2014 1:30 am
- Flair: The Flying Ghost
-
Contact:
Postby AirShip » Thu Sep 22, 2022 11:42 pm
Alagirez wrote: ↑Thu Sep 22, 2022 10:29 pm
what happened with the background?: show
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
- Buster Beetle

- Posts: 401
- Joined: Tue Aug 25, 2020 3:19 am
- Pronouns: He/Him
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

- Posts: 3370
- Joined: Tue Dec 02, 2014 2:28 am
- Flair: Show your fangs!
- Pronouns: He/Him/That wolf
-
Contact:
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
- Buster Beetle

- Posts: 401
- Joined: Tue Aug 25, 2020 3:19 am
- Pronouns: He/Him
Postby Marioman2007 » Fri Sep 23, 2022 11:46 am
It's working fine for me. Is your smbx2 version up to date?
|
|
|
|
|
|
|
|
|
-
deice
- Buster Beetle

- Posts: 441
- Joined: Fri Jul 23, 2021 7:35 am
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:
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
- Buster Beetle

- Posts: 401
- Joined: Tue Aug 25, 2020 3:19 am
- Pronouns: He/Him
Postby Marioman2007 » Fri Sep 23, 2022 9:00 pm
I again tested it, this time setting the frame to 9 and uh this happened:
|
|
|
|
|
|
|
|
|
-
Enjl
- Cute Yoshi Egg

- Posts: 9491
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Orphion Egamalenitar Osmos IV, Esq.
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

- Posts: 1036
- Joined: Wed Jan 01, 2014 1:30 am
- Flair: The Flying Ghost
-
Contact:
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
- Buster Beetle

- Posts: 401
- Joined: Tue Aug 25, 2020 3:19 am
- Pronouns: He/Him
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:
It still looks good with the last frame cut-off.
|
|
|
|
|
|
|
|
|
-
Enjl
- Cute Yoshi Egg

- Posts: 9491
- Joined: Mon Jan 20, 2014 12:58 pm
- Flair: Orphion Egamalenitar Osmos IV, Esq.
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:
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”
Users browsing this forum: ElTipsta, Google [Bot], Petal [Bot] and 4 guests
|