ROM Hack Discussion Full featured GB,GBC,GBA Emulator inside Shantae

TheRocK

Well-Known Member
OP
Member
Joined
Apr 16, 2003
Messages
373
Trophies
0
Website
Visit site
XP
783
Country
Gambia, The
As @MVG mentioned in his video:


he basically wrote an emulator. Trying to tinker with the files and LayerdFS I only get sound on GB and GBC games, but no video. Looking at the files it all seems simple enough to expand on this, but I couldn't get it to work with other Roms.

This is the interesting part from gamesdef.xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- This Document contains the skin/game definition-->
<carbon packageName="Shantae GBC">
  <!-- titles is the number of titles in the collection
       engine can be one of 'gb', 'gbc', 'gba' , 'nes' (NES engine is a placeholder)
    
       count is the number of titles in the collection
    
       game id are zero based. so if you have 3 games in your collection label them
    
       <game id = "0" name="My Cool Game">
       <game id = "1" name="My Cool Game 2">
       <game id = "2" name="My Cool Game 3">
    
       romName is a link to the game which must exist in target\rom
  -->
  <titles count="2">
    <game id ="0" name="SHANTAE" engine="gbc" romName="rom:/ShantaeB3ae.bin" previewImage="rom:/assets/gamePreview1.png"
          description="Enjoy the original Game Boy Color version"/>
    <game id ="1" name="SHANTAE (GBA ENHANCED)" engine="gbc" romName="rom:/game2.bin" previewImage="rom:/assets/gamePreview2.png"
          description="Play with Game Boy Advance features unlocked"/>

Maybe someone with more knowledge can check this out.
 
Last edited by TheRocK,

Fadi5555

Well-Known Member
Member
Joined
Jan 3, 2018
Messages
472
Trophies
0
Age
34
XP
2,083
Country
United States
I hope we can do the same thing with mario 3d-all stars but I think it’s not possible (at least not yet).
 

Nerdtendo

Your friendly neighborhood idiot
Member
Joined
Sep 29, 2016
Messages
1,735
Trophies
1
XP
4,214
Country
United States
It's cool, but it would have been a bit neater before we had established emulators.
I hope we can do the same thing with mario 3d-all stars but I think it’s not possible (at least not yet).
There was a big push when the game released, but it was deemed impossible when they realized how much of the 3DAS games were recompiled for switch.
 
Joined
Nov 6, 2002
Messages
1,275
Trophies
3
Age
45
Location
close to the oktoberfest
XP
2,495
Country
Germany
It's cool, but it would have been a bit neater before we had established emulators.
ah the internet, always complaining

There was a big push when the game released, but it was deemed impossible when they realized how much of the 3DAS games were recompiled for switch.
i guess MVG wrote the emulator explicitly for Shantae, so he probably didn't do a whole lot of compatibility testing beyond Shantae
 

Gaara4

Well-Known Member
Newcomer
Joined
Jan 13, 2015
Messages
80
Trophies
0
Age
22
XP
1,688
Country
Germany
Can we also change the aspect ratio from 4:3 to 16:9?
I know many people disslike to change the aspect ratio, but i prefer 16:9 or fullscreen.
 

DaniPoo

Well-Known Member
Member
Joined
Jan 2, 2013
Messages
871
Trophies
1
Age
34
XP
1,969
Country
But why? Don't we already have pretty awsome GB-GBC-GBA emulators for the Switch?
Why are you messing around with this?
I mean it's optimized for one game, I don't except all games to run perfectly on this.
 

AlanLC

Well-Known Member
Member
Joined
Aug 18, 2014
Messages
403
Trophies
0
Age
44
XP
2,251
Country
Brazil
Replaces the rom with Asterix ROM (GBC) and it worked, but I couldn't add it instead of replacing and it only worked GBC.

Why use another emulator instead of using Retroarch?
Dislike the retroarch GUI, want something more simple and straightforward with NES / SNES Online ...... etc
 
Last edited by AlanLC,
  • Like
Reactions: TheRocK

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
22,593
Trophies
4
Location
Space
XP
12,559
Country
Norway
ah the internet, always complaining


i guess MVG wrote the emulator explicitly for Shantae, so he probably didn't do a whole lot of compatibility testing beyond Shantae
Actually, he was originally testing with Tetris and then other games, he didn't test Shantae until he had a working emulator. It's supposed to work with any GB(C) game Limited Run might want to port to the Switch in the future. And possibly other platforms too from what I understand, GB(C) is just the beginning. Shantae just happened to be the first one they wanted to release.
As @MVG mentioned in his video:


he basically wrote an emulator. Trying to tinker with the files and LayerdFS I only get sound on GB and GBC games, but no video. Looking at the files it all seems simple enough to expand on this, but I couldn't get it to work with other Roms.

This is the interesting part from gamesdef.xml:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- This Document contains the skin/game definition-->
<carbon packageName="Shantae GBC">
  <!-- titles is the number of titles in the collection
       engine can be one of 'gb', 'gbc', 'gba' , 'nes' (NES engine is a placeholder)
  
       count is the number of titles in the collection
  
       game id are zero based. so if you have 3 games in your collection label them
  
       <game id = "0" name="My Cool Game">
       <game id = "1" name="My Cool Game 2">
       <game id = "2" name="My Cool Game 3">
  
       romName is a link to the game which must exist in target\rom
  -->
  <titles count="2">
    <game id ="0" name="SHANTAE" engine="gbc" romName="rom:/ShantaeB3ae.bin" previewImage="rom:/assets/gamePreview1.png"
          description="Enjoy the original Game Boy Color version"/>
    <game id ="1" name="SHANTAE (GBA ENHANCED)" engine="gbc" romName="rom:/game2.bin" previewImage="rom:/assets/gamePreview2.png"
          description="Play with Game Boy Advance features unlocked"/>

Maybe someone with more knowledge can check this out.

I don't think he mentioned anything about GBA support, did he? The "GBA enhanced" Shantae is still a GBC game running in GBC mode, it just has extra features when played on a GBA.
 
Last edited by The Real Jdbye,
Joined
Nov 6, 2002
Messages
1,275
Trophies
3
Age
45
Location
close to the oktoberfest
XP
2,495
Country
Germany
since the file listing in the xml shows a different rom for "gba enhanced",
the emulator likely uses a prepatched rom with the gba checks permanently enabled

i find it interesting that the xml states that nes is just a placeholder, but says nothing about gba, as both are not really required for shantae.
gb emulation is basically the core of gbc emulation so that has to work.
so, does gba emulation work? i doubt it, but i don't have the game so i didn't check.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    1H left, such a slow week.
  • Sonic Angel Knight @ Sonic Angel Knight:
    Okay, I had spaghetti :P
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
    BentlyMods @ BentlyMods: My fav actvity is: