Share your Super Game Boy Borders Here

fenderc01
Posts: 7
Joined: Fri Oct 02, 2020 11:43 am
Has thanked: 1 time
Been thanked: 2 times

Share your Super Game Boy Borders Here

Unread post by fenderc01 »

I'm creating this thread to share SGB borders here. I will start by sharing one that I created.

border_gameboy.png
border_gameboy.png (2.71 KiB) Viewed 981 times
Attachments
border_gameboy.zip
(2.22 KiB) Downloaded 47 times
User avatar
aberu
Posts: 397
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 48 times
Been thanked: 68 times

Re: Share your Super Game Boy Borders Here

Unread post by aberu »

Thanks this is great!
metalfacemark
Posts: 31
Joined: Mon Jan 04, 2021 12:04 pm
Has thanked: 3 times
Been thanked: 3 times

Re: Share your Super Game Boy Borders Here

Unread post by metalfacemark »

thank you
User avatar
aberu
Posts: 397
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 48 times
Been thanked: 68 times

Re: Share your Super Game Boy Borders Here

Unread post by aberu »

I'm only somewhat of the way there, but this is what i got so far for a MiSTer-Kun Dracula themed one. Hopefully someone with the know-how on getting from this step to sgb can convert it and test it out!
Attachments
mister-kun-dracula-theme.zip
(4.36 KiB) Downloaded 40 times
pbsk8
Posts: 59
Joined: Mon Dec 28, 2020 4:23 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Share your Super Game Boy Borders Here

Unread post by pbsk8 »

on archive org:

828 Super Game Boy border files from VGMuseum.com converted to .sgb format for use with the MiSTer Gameboy core


nice!
fenderc01
Posts: 7
Joined: Fri Oct 02, 2020 11:43 am
Has thanked: 1 time
Been thanked: 2 times

Re: Share your Super Game Boy Borders Here

Unread post by fenderc01 »

I wrote a PowerShell script to simplify converting .png borders to .sgb borders. You will need to download superfamiconv also. I haven’t done extensive testing with this, so use at your own risk.

Code: Select all

Set-Location -Path $PSScriptRoot

$input_file = "border.png"
$output_file = $input_file.Replace(".png", ".sgb")

Start-Process -FilePath ".\superfamiconv.exe" -ArgumentList "-v --color-zero #00000000 --in-image $input_file --out-palette snes.palette --out-tiles snes.tiles --out-map snes.map --out-tiles-image tiles.png" -Wait -NoNewWindow

$tiles = Get-Content "snes.tiles" -Encoding Byte -Raw
$tiles_pad = New-Object byte[] (8192-$tiles.Length)

$tilemap = Get-Content "snes.map" -Encoding Byte -Raw
$tilemap_pad = New-Object byte[] (1792-$tilemap.Length)

$palettes = Get-Content "snes.palette" -Encoding Byte -Raw
$palettes_pad = New-Object byte[] (128-$palettes.Length)

Set-Content -Path $output_file -Encoding Byte -NoNewline -Value $tiles
Add-Content -Path $output_file -Encoding Byte -NoNewline -Value $tiles_pad
Add-Content -Path $output_file -Encoding Byte -NoNewline -Value $tilemap
Add-Content -Path $output_file -Encoding Byte -NoNewline -Value $tilemap_pad
Add-Content -Path $output_file -Encoding Byte -NoNewline -Value $palettes
Add-Content -Path $output_file -Encoding Byte -NoNewline -Value $palettes_pad
pcfreak324
Posts: 18
Joined: Mon Jun 01, 2020 12:14 pm
Been thanked: 3 times

Re: Share your Super Game Boy Borders Here

Unread post by pcfreak324 »

Does anybody have GBC border? Is there a way to autoload borders on a per-game basis? (for example by giving them the same name as the rom)?
User avatar
aberu
Posts: 397
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 48 times
Been thanked: 68 times

Re: Share your Super Game Boy Borders Here

Unread post by aberu »

Nope, there is no way to do that currently.

The dracula theme conversion worked, thanks to fenderc01!
Attachments
MiSTer-kun_Dracula.zip
(1.1 KiB) Downloaded 12 times
hmxNlxQ9Y2.png
hmxNlxQ9Y2.png (17.43 KiB) Viewed 428 times
User avatar
siskavard
Posts: 27
Joined: Sun May 24, 2020 11:47 pm
Has thanked: 4 times
Been thanked: 1 time

Re: Share your Super Game Boy Borders Here

Unread post by siskavard »

I made 2 designs with a few variations! Download link

The DE10 Nano one was quite the exercise in SNES tile restrictions. It's exactly 256 tiles.

Post Reply