Sega Megadrive (Genesis) Flashback Mini HD with an USB on internal mother board

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
B8451F6C-2D20-448A-93EC-EC4A1563795E.jpeg
Allright everyone doing some research and we will never be able to play most of the unl., homebrew and other special kind of cartridges.. i could explain in detail why but lets say it easy:

the md/gen flashback hd is not able to recognize or dump it correctly. No direct support.

Sure there is a work around for this problem and you can play most of this kind of cartridges by using an retrode2 - tested and working (you would then play even the real cart not just a dump of it xD), but this would kill the idea of this console.

Conclusion: play the rom and be happy with it xD..

Cheers
 
Last edited by Hekel,

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
Allright i have the answer on how the dumped ROM-Files gets theyre Name. I dumped these games to get an idea how it works:

2F7C0E3C-A884-4232-8B05-0A55D64519A7.jpeg


Basicly its very simpel. But lets start in the beginning. I placed the games in my MD/GEN Flashback HD and grabbed the dumps. This was the result:

A739A524-CDDB-431E-9DFF-AF7505A59237.jpeg


So how was the name given? Every SEGA Game Has his own GAME-ID. The MD/GEN Flashback HD takes the HEX-Code of the last 2 letters in the line of this ID and save it in the filename.

As an example:
rom-6ADE = Separation Anxiety

By searching for the HEX-Code ,,6ADE‘‘ we find the following GAME-ID:

1B812212-3AFC-4EAF-B4A9-0F18FF2C0697.jpeg


My guess is.. if the GAME-ID is missing like in some of the unlicensed Games the MD/GEN Flashback HD is not able to recognize the insert Cartridge.

Here you can check the other results:

rom-52E8
B812F997-4394-42B9-925A-4D95E59642F2.jpeg


*Do not compare my PAL Smurfs with the Retail version, because this is a Prototype Cartridge which was missing the Import Region lock! So the HEX is different!

rom-C1DA
2F94010F-AFEA-428B-AEE8-E14C2D74856F.jpeg


rom-FC1A
6F72B013-80AB-450A-96DE-30C94A06846A.jpeg


If someone wants to add this informations to the Wiki feel free to use stuff from my post. (Please quote the source)
 
Last edited by Hekel,
  • Like
Reactions: DarthDub

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
If anyone likes to Dump his Cartridges here is a simple Tool. Just put the game in youre MD/GEN Flashback HD Console, turn it on wait until the game appears in youre Front and hit the Start.bat File. Done. HAVE FUN.
 

Attachments

  • MD-GEN FLASHBACK HD - Cartridge Dumping Tool (v.1.0).zip
    883 bytes · Views: 230
Last edited by Hekel,
  • Like
Reactions: DarthDub

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Allright i have the answer on how the dumped ROM-Files gets theyre Name. I dumped these games to get an idea how it works:

View attachment 112227

Basicly its very simpel. But lets start in the beginning. I placed the games in my MD/GEN Flashback HD and grabbed the dumps. This was the result:

View attachment 112228

So how was the name given? Every SEGA Game Has his own GAME-ID. The MD/GEN Flashback HD takes the HEX-Code of the last 2 letters in the line of this ID and save it in the filename.

As an example:
rom-6ADE = Separation Anxiety

By searching for the HEX-Code ,,6ADE‘‘ we find the following GAME-ID:

View attachment 112229

My guess is.. if the GAME-ID is missing like in some of the unlicensed Games the MD/GEN Flashback HD is not able to recognize the insert Cartridge.

Here you can check the other results:

rom-52E8
View attachment 112230

Do not compare my PAL Smurfs with the Retail version, because this is a Prototype Cartridge which was missing the Import Region lock! So the HEX is different!

rom-C1DA
View attachment 112231

rom-FC1A
View attachment 112232

If someone wants to add this informations to the Wiki feel free to use stuff from my post.

Well as I posted many pages back my theory was correct ;)

The dump will go to /mnt/asec/ folder in .bin format (the name of the cartridge dump tested was rom-9370.bin).
The name can be related to some hex values inside the cartridge (for example 2 bytes at offset 0x18E) because the cartridge name is always the same using the same cartridge (unfortunately I only have 1 to play with)....

And that 2 bytes are not a game ID, it is a well known 2bytes-checksum that is calculated as follow:

0 - Checksum initial value is zero
1 - Skip the first 512 bytes of the ROM (start calculating from offset 0x200 and on)
2 - Read a byte from the rom and multiply its ascii value by 256, then sum it to the checksum value
3 - Read the next byte from the rom and just sum it to the checksum
4 - If you're not at the end of file, repeat step 3
5 - Get the first 16 bits from the resulting checksum and delete the higher bits

here it is a small asm code for its calculation:
Code:
movea.l #$200,a0
               movea.l #ROM_End,a1
               move.l  (a1),d0
               moveq   #0,d1
loop:
               add.w   (a0)+,d1
               cmp.l   a0,d0
               bcc.s   loop
               movea.l #$18E,a1        ; Checksum
               cmp.w   (a1),d1
               bne.w   WrongChecksum

You guess it almost correctly: this checksum was introduced by Sega to try to avoid unathorized editing of the game data and this can be the reason why those kind of cartridges are not dumped by the original software but I suppose a patch can bypass this "protection".

EDIT: I already released a similar batch script days ago ;)
 
Last edited by asper,
  • Like
Reactions: Hekel

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
Well as I posted many pages before my theory was correct ;)



And that 2 bytes are not a game ID, it is a well known 2bytes-checksum that is calculated as follow:

0 - Checksum initial value is zero
1 - Skip the first 512 bytes of the ROM (start calculating from offset 0x200 and on)
2 - Read a byte from the rom and multiply its ascii value by 256, then sum it to the checksum value
3 - Read the next byte from the rom and just sum it to the checksum
4 - If you're not at the end of file, repeat step 3
5 - Get the first 16 bits from the resulting checksum and delete the higher bits

here it is a small asm code for its calculation:
Code:
movea.l #$200,a0
               movea.l #ROM_End,a1
               move.l  (a1),d0
               moveq   #0,d1
loop:
               add.w   (a0)+,d1
               cmp.l   a0,d0
               bcc.s   loop
               movea.l #$18E,a1        ; Checksum
               cmp.w   (a1),d1
               bne.w   WrongChecksum

You guess it almost correctly: this checksum was introduced by Sega to try to avoid unathorized editing of the game data and this can be the reason why those kind of cartridges are not dumped by the original software but I suppose a patch can bypass this "protection".

EDIT: I already released a similar batch script days ago ;)
Can you maybe provide a patch so it would support any cartridge? As i mentioned before the Retrode2 doesnt have this kind of problem. Would be cool to apply this patch in my Dashboard Project. Thanks for the correction. Im not so much into binary/hex and such stuff.
 

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Can you maybe provide a patch so it would support any cartridge? As i mentioned before the Retrode2 doesnt have this kind of problem. Would be cool to apply this patch in my Dashboard Project. Thanks for the correction. Im not so much into binary/hex and such stuff.
To achieve what you are asking for I need to decompile and edit the original launcher .apk but I don't know if I am able to do that kind of patch, really; unfortunately I also have really few spare time with my newborn so do not expect me to "solve" that problem or solve it too soon ;)

EDIT: wiki will be updated soon with the above info !
 
  • Like
Reactions: Hekel

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
To achieve what you are asking for I need to decompile and edit the original launcher .apk but I don't know if I am able to do that kind of patch, really; unfortunately I also have really few spare time with my newborn so do not expect me to "solve" that problem or solve it too soon ;)

EDIT: wiki will be updated soon with the above info !

Haha yeah i can totaly understand that time is rare for you right now. Would be a nice addition if someone could do that. But as i sad not a must have as you can find most of the game dumps anyway. And those are working fine from my frontend.
 
Last edited by Hekel,

fixingmytoys

Well-Known Member
Member
Joined
Jan 4, 2018
Messages
536
Trophies
0
XP
884
Country
Australia
View attachment 112224 Allright everyone doing some research and we will never be able to play most of the unl., homebrew and other special kind of cartridges.. i could explain in detail why but lets say it easy:

the md/gen flashback hd is not able to recognize or dump it correctly. No direct support.

Sure there is a work around for this problem and you can play most of this kind of cartridges by using an retrode2 - tested and working (you would then play even the real cart not just a dump of it xD), but this would kill the idea of this console.

Conclusion: play the rom and be happy with it xD..

Cheers
@Hekel just a question please dose pier solar work when you play it from cart ? When you play it from rom in the flashback it comes up ie starts gives you the this is not made by sega screen and that is far as it will go
 
  • Like
Reactions: Hekel

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
@Hekel just a question please dose pier solar work when you play it from cart ? When you play it from rom in the flashback it comes up ie starts gives you the this is not made by sega screen and that is far as it will go

IT will not, the reason is simple cause its an emulation problem. But it can be played in my dashboard! But it needs a special emulator to work with..
 

WD_Gaster

Well-Known Member
Newcomer
Joined
Jan 8, 2018
Messages
86
Trophies
0
Age
53
XP
137
Country
France
New "animated" skin engine for the generations launcher has been implemented. custom skinning is now out. in exchange we get a pretty sweet UI. Buttons are still a WIP at the moment. however i think this may be more "in touch" than the previous version.

boot sound is more familiar now too :P

o6N4KgC.png

CjoXrjQ.png

7uMHV2v.png

DkRLqEU.png
 
Last edited by WD_Gaster,

fixingmytoys

Well-Known Member
Member
Joined
Jan 4, 2018
Messages
536
Trophies
0
XP
884
Country
Australia
New "animated" skin engine for the generations launcher has been implemented. custom skinning is now out. in exchange we get a pretty sweet UI. Buttons are still a WIP at the moment. however i think this may be more "in touch" than the previous version.

boot sound is more familiar now too :P

o6N4KgC.png

CjoXrjQ.png

7uMHV2v.png

DkRLqEU.png

@WD-gaster looks very cool can't wait to see it in action
 

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
Can you maybe provide a patch so it would support any cartridge? As i mentioned before the Retrode2 doesnt have this kind of problem. Would be cool to apply this patch in my Dashboard Project. Thanks for the correction. Im not so much into binary/hex and such stuff.
I got where the control is done but I really never studied the android low level language before so I suppose it will take me some time to find a way to patch it (if i never find a way to patch it).
 
Last edited by asper,
  • Like
Reactions: Hekel

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
I got where the control is done but I really never studied the android low level language before so I suppose it will take me some time to find a way to patch it (if i never find a way to patch it).

I see, what im wondering can you tell if there is a save path to the rom before its beeing dumped?

* i mean the actual cartridge not the rom xD
 
Last edited by Hekel,

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
It seems that the game is 1stly dumped as /mnt/asec/cartridge.bin then it is renamed using the checksum algo but I still cannot verify that. I think this is the "temp" file when it is dumped real time. You can check if that file is created before the rom is renamed but that process should take less than a second.
 
  • Like
Reactions: Hekel

Hekel

Modding is my passion!
Member
Joined
Jan 9, 2018
Messages
275
Trophies
0
Age
35
Location
Switzerland
Website
www.evercade.net
XP
513
Country
Switzerland
It seems that the game is 1stly dumped as /mnt/asec/cartridge.bin then it is renamed using the checksum algo but I still cannot verify that. I think this is the "temp" file when it is dumped real time. You can check if that file is created before the rom is renamed but that process should take less than a second.
I found that string aswell and i tryed to pull this file off. It was not possible if you dont run the original dashboard. I was hoping that there is a way to hide the original dashboard without loosing the dump function..or even better launch the game from the actual cartridge. But the Cartridge.bin is before the renaming i guess.

--------------------- MERGED ---------------------------

I found that string aswell and i tryed to pull this file off. It was not possible if you dont run the original dashboard. I was hoping that there is a way to hide the original dashboard without loosing the dump function..
 
Last edited by Hekel,

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
I found that string aswell and i tryed to pull this file off. It was not possible if you dont run the original dashboard. I was hoping that there is a way to hide the original dashboard without loosing the dump function..
I don't even know if that file is created, I never saw it inside that folder, mine is just a guess, still to investigate further.
 

fixingmytoys

Well-Known Member
Member
Joined
Jan 4, 2018
Messages
536
Trophies
0
XP
884
Country
Australia
I found that string aswell and i tryed to pull this file off. It was not possible if you dont run the original dashboard. I was hoping that there is a way to hide the original dashboard without loosing the dump function..
I am not a coder by a long shot mind you I use to be in crew back in the c64 days mainly music , my question is can you “call up” the original dashboard to use the dumping Functions and then drop unload the original dashboard ie call it up in the back ground just do that task ?.
I have no idea if this is possible just an idea
 
  • Like
Reactions: Hekel

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: https://gbatemp.net/profile-posts/163064/