Author Topic: [lib] libgbpak - a Transfer Pak beta library and dumping-tool v0.63.2  (Read 67491 times)

0 Members and 1 Guest are viewing this topic.

Offline saturnu

  • ヽ(^o^)丿
  • Hero Member
  • *****
  • Posts: 1182
  • Karma: +156/-0
    • View Profile
    • :D
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #15 on: April 22, 2014, 11:58 AM »
no ^^ it doesn't require a microsd card.
the errors mainly mean, that the connector is dirty :>
the file should be in '/GB64/romtitle.gb' and hopefully has some bytes in it?

EDIT: found another sdcard in my camera, it looks like the sdcard isn't the problem. :/

hm,
the whole system freezes right after
diskWrite(begin_sector, (void *)0xb2000000, file_sectors);
even with the non-dma
fatWriteFile(&rom_data, gbcart.romsize/ 512);
it hangs :D

it's working randomly, so it can't be completely wrong this way. ^^

the dumping isn't the problem, i can readout the data with usb just fine :D
« Last Edit: April 22, 2014, 02:15 PM by saturnu »

Offline saturnu

  • ヽ(^o^)丿
  • Hero Member
  • *****
  • Posts: 1182
  • Karma: +156/-0
    • View Profile
    • :D
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #16 on: April 22, 2014, 04:51 PM »
Hi,
the save bug is fixed!
here is the first working preview rom. i've still disabled ram dumping, 'cause of security reasons. ^^
i don't want to mess with your savegames, without testing it by myself before. :D
the rom is saved under the '/GB64' directory and named after the title.
if you want to give me some feedback/bugreport, please copy the information from the info screen, too. :>

install: copy the GB64 folder to the root of the sdcard.
gb64_v02.zip

Offline robneal81

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +8/-1
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #17 on: April 22, 2014, 06:10 PM »
Just tried it with Mario Land 2.  It dumped a .gb rom perfectly.  I'll gladly test a version for the save game as well...I don't care if mine gets messed up.

Great job!

Offline Paulweeze

  • Video Game Connoisseur
  • Hero Member
  • *****
  • Posts: 1028
  • Karma: +42/-0
  • Music and Games are good for the soul.
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #18 on: April 22, 2014, 06:22 PM »
I got it to work! Just dumped quite a bit gb games and playing it on an emu. I was also able to dump the menu of one of my multicarts. Thanks Saturnu!
« Last Edit: April 22, 2014, 07:47 PM by Paulweeze »
Everdrives I own: ED64, Mega Everdrive, EDGB, EDGG, N8, Master Everdrive

Other Flashcarts: SD2SNES

Offline saturnu

  • ヽ(^o^)丿
  • Hero Member
  • *****
  • Posts: 1182
  • Karma: +156/-0
    • View Profile
    • :D
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #19 on: April 23, 2014, 02:46 AM »
I'll gladly test a version for the save game as well...I don't care if mine gets messed up.

hrhr ok...this version is for the brave and faithful, ram dumping it's totally untested and probably doesn't work at all. :D
don't blame me if something bad happens with your savegames!
gb64_v02e.zip

Offline robneal81

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +8/-1
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #20 on: April 23, 2014, 03:09 AM »
Okay, I dumped both the save games and the roms of Super Mario Land 2 (GB) and Zelda Oracle Of Seasons (GBC).  Here's what I found:

- SML2 dumped perfectly.

- The file Zelda created worked, however it was dumped as ".gb", not ".gbc".  Absolutely not a big deal, just thought I'd let you know.

- Both save game files were dumped as ".srm".  I had to change them to ".sav" in order for VBA to detect them, but they both worked perfect!

- I tried the original cartridges on my GBA and using your software did not correct the save files: The cartridges still worked perfectly.

So far, it looks great!  I only have one suggestion:  Instead of having it say "power off" after it's done, could you have it go back to the main screen?  Maybe have it say "Hit A to go back", or something like that? 

Thanks for the great work!

Offline Paulweeze

  • Video Game Connoisseur
  • Hero Member
  • *****
  • Posts: 1028
  • Karma: +42/-0
  • Music and Games are good for the soul.
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #21 on: April 23, 2014, 04:15 AM »
- The file Zelda created worked, however it was dumped as ".gb", not ".gbc".  Absolutely not a big deal, just thought I'd let you know.
Did you have to rename it .gbc to work in an emu?
Everdrives I own: ED64, Mega Everdrive, EDGB, EDGG, N8, Master Everdrive

Other Flashcarts: SD2SNES

Offline robneal81

  • Jr. Member
  • **
  • Posts: 89
  • Karma: +8/-1
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #22 on: April 23, 2014, 04:19 AM »
Did you have to rename it .gbc to work in an emu?

Not for the emulators I tried, but I imagine some would require the change.

Offline reprep

  • Sr. Member
  • ****
  • Posts: 299
  • Karma: +14/-1
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #23 on: April 23, 2014, 06:32 AM »
.gb, .gbc difference is for software only i guess and to avoid confusion. no real effect on any emulators/hardware etc afaik.
PM me if you want to sell your Everdrive MD.

Offline Paulweeze

  • Video Game Connoisseur
  • Hero Member
  • *****
  • Posts: 1028
  • Karma: +42/-0
  • Music and Games are good for the soul.
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #24 on: April 23, 2014, 06:56 AM »
.gb, .gbc difference is for software only i guess and to avoid confusion. no real effect on any emulators/hardware etc afaik.
True statement. Just dumped super mario deluxe and it worked on vba.
Everdrives I own: ED64, Mega Everdrive, EDGB, EDGG, N8, Master Everdrive

Other Flashcarts: SD2SNES

Offline saturnu

  • ヽ(^o^)丿
  • Hero Member
  • *****
  • Posts: 1182
  • Karma: +156/-0
    • View Profile
    • :D
Re: [lib] libgbpak - a Transfer Pak beta library
« Reply #25 on: April 23, 2014, 09:42 AM »
i'm totally amazed that it's working. :D
but not every savegame is the same, some are bigger, some are smaller and using other memory bank controllers. ^^
appending a 'c' to the file extension is fixed in minute. ^^
btw. the 'power off' is just a note, 'cause the previous 'Z - Exit' didn't work after writing to the sdcard. :D
« Last Edit: April 23, 2014, 09:51 AM by saturnu »

Offline adimifus

  • Jr. Member
  • **
  • Posts: 71
  • Karma: +6/-0
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library v0.2
« Reply #26 on: May 10, 2014, 08:27 AM »
Tested with Pokemon TCG. The ROM dump loads fine in bgb and Everdrive GB, but the save dump doesn't load in either bgb or on the Everdrive GB.
Dumped SAV again, and works fine now.  :o
Super Mario Land 2 ROM and SAV dumps work fine.
Legend of Zelda DX ROM and SAV dumps work fine.
« Last Edit: May 10, 2014, 08:42 AM by adimifus »
Everdrive N8, Everdrive N8 Pro, Game Doctor SF7, SD2SNES rev E1, Everdrive 64 v2, Jaguar SD, PSIO
EMS USB 64M, Everdrive GB v1.1, Everdrive GB X7 rev B, Everdrive GBA X5, CycloDS Evolution + M3 GBA Expansion

Offline saturnu

  • ヽ(^o^)丿
  • Hero Member
  • *****
  • Posts: 1182
  • Karma: +156/-0
    • View Profile
    • :D
Re: [lib] libgbpak - a Transfer Pak beta library v0.2
« Reply #27 on: May 10, 2014, 06:41 PM »
thanks for the report.
it seems like a good idea to compare a few dump results in a next version of this tool, so it could alert the user, if there is a bad connection.

Offline adimifus

  • Jr. Member
  • **
  • Posts: 71
  • Karma: +6/-0
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library v0.2
« Reply #28 on: May 10, 2014, 07:03 PM »
It's weird. I looked at the first save dump I made in a hex editor, and there was a lot of text data that pertained to the game (namely deck names) but i guess it was corrupt enough to not be recognized by the game. All subsequent dumps I've made worked fine the first time, both for ROMs and save data. Maybe the dump compare thing could be an option?

One strange thing that happened was I accidentally dumped a game twice in a row, and somehow a duplicate file was created with the same file name. It doesn't show up when I look at the ad card on my computer, but it's still listed in the everdrive menu. And if i view the file using the everdrive, there is data like the file is actually there. (maybe it is? But why can't I see it on my pc?)
« Last Edit: May 10, 2014, 07:11 PM by adimifus »
Everdrive N8, Everdrive N8 Pro, Game Doctor SF7, SD2SNES rev E1, Everdrive 64 v2, Jaguar SD, PSIO
EMS USB 64M, Everdrive GB v1.1, Everdrive GB X7 rev B, Everdrive GBA X5, CycloDS Evolution + M3 GBA Expansion

Offline Paulweeze

  • Video Game Connoisseur
  • Hero Member
  • *****
  • Posts: 1028
  • Karma: +42/-0
  • Music and Games are good for the soul.
    • View Profile
Re: [lib] libgbpak - a Transfer Pak beta library v0.2
« Reply #29 on: May 10, 2014, 07:37 PM »
Thats weird. When the file duplicates itself, you can generally see it in your computer. When you go to delete both, it doesn't actually get rid of it until you leave the folder and go back (at least in windows). Btw, i found out that the multicarts i dumped retain the game that the header is named after (and have a different checksum). For example, for the 37 in 1 if you choose pacman sce, you can play it. Anything else softlocks an emulator. And I finally got a pokemon save to save  ;). Had to rename it .sav for visualboy advance but at least I can set these saves aside for when I get a edgb. I appreciate your hard work Saturnu!
« Last Edit: May 11, 2014, 09:23 AM by Paulweeze »
Everdrives I own: ED64, Mega Everdrive, EDGB, EDGG, N8, Master Everdrive

Other Flashcarts: SD2SNES