Skip to content

Commit

Permalink
Added new cores and build scripts
Browse files Browse the repository at this point in the history
- Added 2 new cores for Super GameBoy 2 & Super GameBoy 2 Vaporwave Edition
- Added 3 new cores that use an 8:7 aspect ratio for a more full screen appearance
- Added new author icons and platform images for all the cores
- Added build scripts to create the folder structure for the Pocket
- Centralized the files to reduce/eliminate duplicates
- Created an Individual Platforms confiuration where each core has it's own platform
- Created a Single Platform configuration where each core is contained in a single platform
- Created a Three Platform configuration (SGB, SGB2, SGB2 VW) with two cores each, one for 4:3 and one for 8:7
- Updated the core platform_id, shortname, and description to be consistent with the configurations
- Updated the data files to distinguish the different rom names
- Updated the video files to include the display modes and change the aspect ration where applicable
  • Loading branch information
hallem committed Jan 12, 2024
1 parent 571530b commit c0cb05f
Show file tree
Hide file tree
Showing 104 changed files with 2,336 additions and 7 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

.DS_Store
_release
**/sgb_boot.bin
**/sgb_snes.smc
**/sgb2_snes.smc
**/sgb2vw171_snes.smc
*.psd
*.xcf
*.zip
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions Common/Assets/common/run_cartridge.gb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CART
59 changes: 59 additions & 0 deletions Common/Cores/Spiritualized.SuperGB.8x7/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"data": {
"magic": "APF_VER_1",
"data_slots": [
{
"name": "Cartridge",
"id": "0x100",
"required": true,
"parameters": 129,
"extensions": [
"gb",
"gbc",
"bin"
],
"size_exact": 0,
"size_maximum": 8388608,
"address": "0x04000000"
},
{
"name": "Save RAM",
"id": "0x101",
"required": false,
"parameters": 36,
"nonvolatile": true,
"extensions": [
"sav"
],
"size_exact": null,
"size_maximum": 131072,
"address": "0x04f00000"
},
{
"name": "SGB BIOS SNES",
"id": "0x103",
"required": true,
"filename": "sgb_snes.smc",
"parameters": "0x2",
"extensions": [
"smc"
],
"size_exact": null,
"size_maximum": 522488,
"address": "0x00000000"
},
{
"name": "SGB BIOS GB",
"id": "0x104",
"required": true,
"filename": "sgb_boot.bin",
"parameters": "0x2",
"extensions": [
"bin"
],
"size_exact": 256,
"address": "0x60000f00"
}
]
}
}
Binary file added Common/Cores/Spiritualized.SuperGB.8x7/icon.bin
Binary file not shown.
18 changes: 18 additions & 0 deletions Common/Cores/Spiritualized.SuperGB.8x7/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Spiritualized Super GameBoy - 8:7 Aspect Ratio

Everything Super GB Should be supported by this core, including playing real cartridges through the cartridge slot!

To use this core, two files need to be placed into the /assets/sgb/Spiritualized.SuperGB/ folder:

sgb_boot.bin - the 256 byte boot ROM for the GB CPU
sgb_snes.smc - the 256K or 512K BIOS for the SNES

You can use either SGB or SGB2 files.

To run real cartridges, select "run_cartridge.gb" for the game, which is included in this package.

Up to 4 players are supported using the dock.

Enjoy!

Note: The video.json file of this core has been modified from it's original to change the aspect ratio from 4:3 to 8:7. This provides a more full screen experience on the Pocket.
106 changes: 106 additions & 0 deletions Common/Cores/Spiritualized.SuperGB.8x7/video.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"video": {
"magic": "APF_VER_1",
"scaler_modes": [
{
"width": 256,
"height": 224,
"aspect_w": 8,
"aspect_h": 7,
"rotation": 0,
"mirror": 0
},
{
"width": 256,
"height": 239,
"aspect_w": 8,
"aspect_h": 7,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 224,
"aspect_w": 16,
"aspect_h": 9,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 239,
"aspect_w": 8,
"aspect_h": 7,
"rotation": 0,
"mirror": 0
},
{
"width": 256,
"height": 448,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
},
{
"width": 256,
"height": 478,
"aspect_w": 16,
"aspect_h": 9,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 448,
"aspect_w": 8,
"aspect_h": 7,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 478,
"aspect_w": 8,
"aspect_h": 7,
"rotation": 0,
"mirror": 0
}
],
"display_modes": [
{
"id": "0x10"
},
{
"id": "0x20"
},
{
"id": "0x30"
},
{
"id": "0x31"
},
{
"id": "0x32"
},
{
"id": "0x40"
},
{
"id": "0x41"
},
{
"id": "0x42"
},
{
"id": "0x51"
},
{
"id": "0x52"
},
{
"id": "0xE0"
}
]
}
}
59 changes: 59 additions & 0 deletions Common/Cores/Spiritualized.SuperGB/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"data": {
"magic": "APF_VER_1",
"data_slots": [
{
"name": "Cartridge",
"id": "0x100",
"required": true,
"parameters": 129,
"extensions": [
"gb",
"gbc",
"bin"
],
"size_exact": 0,
"size_maximum": 8388608,
"address": "0x04000000"
},
{
"name": "Save RAM",
"id": "0x101",
"required": false,
"parameters": 36,
"nonvolatile": true,
"extensions": [
"sav"
],
"size_exact": null,
"size_maximum": 131072,
"address": "0x04f00000"
},
{
"name": "SGB BIOS SNES",
"id": "0x103",
"required": true,
"filename": "sgb_snes.smc",
"parameters": "0x2",
"extensions": [
"smc"
],
"size_exact": null,
"size_maximum": 522488,
"address": "0x00000000"
},
{
"name": "SGB BIOS GB",
"id": "0x104",
"required": true,
"filename": "sgb_boot.bin",
"parameters": "0x2",
"extensions": [
"bin"
],
"size_exact": 256,
"address": "0x60000f00"
}
]
}
}
Binary file added Common/Cores/Spiritualized.SuperGB/icon.bin
Binary file not shown.
16 changes: 16 additions & 0 deletions Common/Cores/Spiritualized.SuperGB/info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Spiritualized Super GameBoy

Everything Super GB Should be supported by this core, including playing real cartridges through the cartridge slot!

To use this core, two files need to be placed into the /assets/sgb/Spiritualized.SuperGB/ folder:

sgb_boot.bin - the 256 byte boot ROM for the GB CPU
sgb_snes.smc - the 256K or 512K BIOS for the SNES

You can use either SGB or SGB2 files.

To run real cartridges, select "run_cartridge.gb" for the game, which is included in this package.

Up to 4 players are supported using the dock.

Enjoy!
106 changes: 106 additions & 0 deletions Common/Cores/Spiritualized.SuperGB/video.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"video": {
"magic": "APF_VER_1",
"scaler_modes": [
{
"width": 256,
"height": 224,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
},
{
"width": 256,
"height": 239,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 224,
"aspect_w": 16,
"aspect_h": 9,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 239,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
},
{
"width": 256,
"height": 448,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
},
{
"width": 256,
"height": 478,
"aspect_w": 16,
"aspect_h": 9,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 448,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
},
{
"width": 512,
"height": 478,
"aspect_w": 4,
"aspect_h": 3,
"rotation": 0,
"mirror": 0
}
],
"display_modes": [
{
"id": "0x10"
},
{
"id": "0x20"
},
{
"id": "0x30"
},
{
"id": "0x31"
},
{
"id": "0x32"
},
{
"id": "0x40"
},
{
"id": "0x41"
},
{
"id": "0x42"
},
{
"id": "0x51"
},
{
"id": "0x52"
},
{
"id": "0xE0"
}
]
}
}
Loading

0 comments on commit c0cb05f

Please sign in to comment.