Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Separate icon creation from banner creation, since the former is obli…
Browse files Browse the repository at this point in the history
…gatory
  • Loading branch information
Ryuzaki-MrL committed Jun 12, 2016
1 parent 29a2bed commit cfa99c5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
INSTRUCTIONS:
- Create a folder for each game on the input folder (Earthbound, for example).
- Put your SNES rom on this folder.
- Put an icon.png on this folder. This can be whatever image you want for the home menu icon (a screenshot, for example).
- Run make.bat.
- Type in the game's title, publisher, product code (SNS-P-SMWP, for example) and unique id (whatever you want from 000000 to ffffff).
- Install the generated CIA file.
- Enjoy.

MAKING CUSTOM BANNER AND ICON (OPTIONAL):
CUSTOM BANNER (OPTIONAL):
- Put a screenshot of the game on the folder you created for the game, and rename it banner.png.
- OPTIONAL: Put a box art or cartridge label image of the game on the input folder, and rename it label.png.
- Run banner.bat.
Expand Down
5 changes: 3 additions & 2 deletions USAGE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
INSTRUCTIONS:
- Create a folder for each game on the input folder (Earthbound, for example).
- Put your SNES rom on this folder.
- Put an icon.png on this folder. This can be whatever image you want for the home menu icon (a screenshot, for example).
- Run make.bat.
- Type in the game's title, publisher, product code (SNS-P-SMWP, for example) and unique id (whatever you want from 000000 to ffffff).
- Install the generated CIA file.
- Enjoy.

MAKING CUSTOM BANNER AND ICON (OPTIONAL):
CUSTOM BANNER (OPTIONAL):
- Put a screenshot of the game on the folder you created for the game, and rename it banner.png.
- OPTIONAL: Put a box art or cartridge label image of the game on the input folder, and rename it label.png.
- Run banner.bat.
Expand All @@ -20,7 +21,7 @@ MAKING CUSTOM BANNER AND ICON (OPTIONAL):
- Select the Textures tab then click Open.
- Navigate to the banner folder and select banner0.bcmdl.
- Select COMMON1 and click Import.
- Navigate to the output folder and select COMMON1.png.
- Navigate to the output folder, then to the game's folder, and select COMMON1.png.
- Repeat steps 11 and 12 with COMMON1_2 and COMMON1_3, selecting COMMON1_2.png and COMMON1_3.png.
- Save your changes then click Open again.
- Navigate to the banner folder again, and select the banner file matching your console's region and language.
Expand Down
3 changes: 0 additions & 3 deletions banner.bat
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ tools\convert tools\USA_EN3.png output\label.png -geometry +122+205 -composite "
tools\convert "input\%title%\label.png" -resize 54x18! output\label.png
tools\convert tools\EUR_EN3.png "output\label.png" -geometry +198+227 -composite "output\%title%\EUR_EN3.png"
del output\label.png
tools\convert "input\%title%\banner.png" -resize 42x42! output\tempicon.png
tools\convert tools\icon.png output\tempicon.png -gravity center -composite "output\%title%\icon.png"
del output\tempicon.png
tools\convert "input\%title%\banner.png" -resize 120x102! output\tempbanner.png
tools\convert tools\COMMON1.png output\tempbanner.png -geometry +4+6 -composite "output\%title%\common1.png"
tools\convert "input\%title%\banner.png" -resize 60x51! output\tempbanner.png
Expand Down
17 changes: 17 additions & 0 deletions make.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@echo off
:begin
echo blargSNES -- Virtual Console Edition
set /p title=Game Title:
if not exist "input\%title%\*.smc" if not exist "input\%title%\*.sfc" (
Expand All @@ -18,6 +19,14 @@ if exist "input\%title%\*.smc" (
)
if exist "input\%title%\*.bmp" copy /b "input\%title%\*.bmp" romfs\blargSnesBorder.bmp
if exist "input\%title%\*.ini" copy /b "input\%title%\*.ini" romfs\blargSnes.ini
if not exist "input\%title%\icon.png" (
echo ERROR: Icon image not found.
pause
call :exit
)
tools\convert "input\%title%\icon.png" -resize 42x42! output\tempicon.png
tools\convert tools\icon.png output\tempicon.png -gravity center -composite "output\%title%\icon.png"
del output\tempicon.png
tools\bannertool makesmdh -s "%title%" -l "%title%" -p "%author%" -i "output\%title%\icon.png" -o "icon.bin"
tools\3dstool -c -f banner.bin -t banner --banner-dir banner
echo %title%> romfs\rom.txt
Expand All @@ -28,3 +37,11 @@ del /f /q romfs
copy /b banner\backup banner
rmdir /s /q banner\backup
echo Done
set /p choice3="Do you want to build another CIA? (Y/N): " %=%
if [%choice3%]==[Y] goto begin
if [%choice3%]==[y] goto begin
if [%choice3%]==[N] goto exit
if [%choice3%]==[n] goto exit

:exit
exit

0 comments on commit cfa99c5

Please sign in to comment.