ROM Hack duc converter

DeMoN

GBAtemp Guru
Member
Joined
May 12, 2004
Messages
7,698
Trophies
0
Website
Visit site
XP
1,708
Country
United States
Nope sorry. It's not the converter that's incompatible, it's the Action Replay.
The Action Replay save backup/restorer will not work for any game that has a 1MB game save, like Pokemon.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
33,882
Trophies
2
Website
trastindustries.com
XP
22,622
Country
United Kingdom
The key is in the extra 5 kilobytes- as I recall duc is just raw sav with a nice header. I have long forgotten the contents of said header but it would not be too hard to pull apart.

cory1492 made an app once that did conversion but he seems to have updated his site and I can not get at it.

edit: http://nds.cmamod.com/files/max2sc.zip

Try with a couple of duc saves from gamefaqs or something to figure out the format.
 

timrid2000

Member
OP
Newcomer
Joined
Mar 16, 2010
Messages
6
Trophies
0
XP
1
Country
United States
my problem is when i convert the .sav back to .duc the file size is wrong it is 256 kb and it needs to be 517kb for action replay to load it back in to the game
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
33,882
Trophies
2
Website
trastindustries.com
XP
22,622
Country
United Kingdom
http://www.gamefaqs.com/portable/ds/save/920755.html

That is my chosen save for this example.
From the .duc
Code:
0000000 4152 4453 3030 3030 3030 3030 3030 3031 ARDS000000000001
0000010 3000 3000 3000 3800 2000 2D00 2000 5000 0.0.0.8. .-. .P.
0000020 6100 6300 2D00 5000 6900 7800 2000 2800 a.c.-.P.i.x. .(.
0000030 4E00 6F00 7200 7400 6800 2000 4100 6D00 N.o.r.t.h. .A.m.
0000040 6500 7200 6900 6300 6100 2900 2000 3100 e.r.i.c.a.). .1.
0000050 4400 7500 6100 6C00 5300 6300 6500 6E00 D.u.a.l.S.c.e.n.
0000060 6500 2000 2300 3100 0000 0000 0000 0000 e. .#.1.........
0000070 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000080 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000090 4400 6F00 7700 6E00 6C00 6F00 6100 6400 D.o.w.n.l.o.a.d.
00000A0 6500 6400 2000 6600 7200 6F00 6D00 2000 e.d. .f.r.o.m. .
00000B0 4400 7500 6100 6C00 5300 6300 6500 6E00 D.u.a.l.S.c.e.n.
00000C0 6500 2E00 6E00 6500 7400 2000 7300 6100 e...n.e.t. .s.a.
00000D0 7600 6500 6700 6100 6D00 6500 2000 6100 v.e.g.a.m.e. .a.
00000E0 7200 6300 6800 6900 7600 6500 0000 0000 r.c.h.i.v.e.....
00000F0 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000100 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000110 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000120 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000130 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000140 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000150 0000 0000 0000 0000 3030 3038 202D 2050 ........0008 - P
0000160 6163 2D50 6978 2028 4E6F 7274 6820 002F ac-Pix (North ./
0000170 0000 000D 4475 616C 5363 656E 6520 2331 ....DualScene #1
0000180 2E7A 0000 0000 0000 0000 0000 0000 0000 .z..............
0000190 0000 0000 446F 776E 6C6F 6164 6564 2066 ....Downloaded f
00001A0 726F 6D20 4475 616C 5363 656E 652E 6E65 rom DualScene.ne
00001B0 7420 7361 7665 6761 6D65 2061 7263 6869 t savegame archi
00001C0 7665 0000 0000 0000 0000 0000 0000 0000 ve..............
00001D0 0000 0000 0000 0000 0000 0000 0000 0000 ................
00001E0 0000 0000 0000 0000 0000 0000 0000 0000 ................
00001F0 0000 0000 A0EF 4B22 56B1 0704 1666 0603 ......K"V....f..
0000200 ECC3 0403 24E9 0603 D28D 0402 826D 0602 ....$........m..
0000210 786A 0402 6844 0803 68D9 0403 A8A7 0502 xj..hD..h.......
0000220 5A12 0703 76EC 0602 0000 0000 0000 0000 Z...v...........
0000230 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000240 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000250 0000 0000 0000 0000 0D00 0000 0101 0101 ................
0000260 0000 0001 0100 0100 0100 0000 0000 0000 ................

From the converted save

Code:
0000000 A0EF 4B22 56B1 0704 1666 0603 ECC3 0403 ..K"V....f......
0000010 24E9 0603 D28D 0402 826D 0602 786A 0402 $........m..xj..
0000020 6844 0803 68D9 0403 A8A7 0502 5A12 0703 hD..h.......Z...
0000030 76EC 0602 0000 0000 0000 0000 0000 0000 v...............
0000040 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000050 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000060 0000 0000 0D00 0000 0101 0101 0000 0001 ................
0000070 0100 0100 0100 0000 0000 0000 0000 0000 ................
0000080 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000090 A0EF 4B22 56B1 0704 1666 0603 ECC3 0403 ..K"V....f......
00000A0 24E9 0603 D28D 0402 826D 0602 786A 0402 $........m..xj..
00000B0 6844 0803 68D9 0403 A8A7 0502 5A12 0703 hD..h.......Z...
00000C0 76EC 0602 0000 0000 0000 0000 0000 0000 v...............
00000D0 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000E0 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000F0 0000 0000 0D00 0000 0101 0101 0000 0001 ................
0000100 0100 0100 0100 0000 0000 0000 0000 0000 ................
0000110 0000 0000 0000 0000 0000 0000 0000 0000 ................
0000120 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF ................


Looking at it the main save starts at 1F4- everything before that is the action replay's header section.
The simple way would be to grab a save file (any save file) from the game you want to fiddle with, grab that header and stick it on your raw save (you can just do a "copy /b header.file+save.sav actionreplay.duc if you do not want to use a hex editor beyond the intial grabbing of the save).

If you wanted to go a step above then you can make your own header- the first line looks important while the other two are just the game name and a comment in first unicode and then plain ASCII (two very common encodings), that is as complex as it gets by the looks of things.
 
General chit-chat
Help Users
  • kenenthk @ kenenthk:
    Who cares its for me
    Gift
  • Xzi @ Xzi:
    maybe ill get it for you for christmas if you're a good boy
    Gift
  • DarkCoffe64 @ DarkCoffe64:
    why not just look it online or something, lol
    Gift
  • DarkCoffe64 @ DarkCoffe64:
    unless I guess you wanna make sure to have it and like preserve it and the likes, I guess
    Gift
  • Xzi @ Xzi:
    gasp, are you referring to...piracy?
    Gift
  • kenenthk @ kenenthk:
    Lol me being good
    Gift
  • kenenthk @ kenenthk:
    If you can't spend $15 on a 10 box set of something you like I feel bad for you
    Gift
  • DarkCoffe64 @ DarkCoffe64:
    noooo, I'm just... borrowing it for a watch and nothing more :V lol
    Gift
  • DarkCoffe64 @ DarkCoffe64:
    and eh, I can prolly afford it... but I'm not interested in buying it :P
    Gift
  • DarkCoffe64 @ DarkCoffe64:
    rather use the cash for something I actually care or want, lol
    Gift
  • Xzi @ Xzi:
    I can, but I can't spend $15 on a 10 box set of something you like lmao
    Gift
  • kenenthk @ kenenthk:
    You can you just aren't kind enough to
    Gift
  • Xzi @ Xzi:
    pretty much everything ive got in my account right now is reserved for christmas presents and my Q1 Steam Deck :ha:
    Gift
  • kenenthk @ kenenthk:
    I'm stuck on q2
    Gift
  • DarkCoffe64 @ DarkCoffe64:
    I'm waiting for Chocobo GP myself, lol
    +1
    Gift
  • kenenthk @ kenenthk:
    Least by q2 I'll know all the good stuff from it from videos
    Gift
  • Xzi @ Xzi:
    yeah but that'll all be out by december or january
    Gift
  • kenenthk @ kenenthk:
    Or something better than steamdeck may get announced
    Gift
  • Xzi @ Xzi:
    lol nah
    Gift
  • Xzi @ Xzi:
    nobody else is gonna take that kind of loss on each unit
    Gift
  • kenenthk @ kenenthk:
    Never know with the shit China diarrheas out
    Gift
  • Xzi @ Xzi:
    well sure theres some decent emulation portables that can do everything up to PS1
    Gift
  • kenenthk @ kenenthk:
    I will be disappointed if come next July valve announces some oled steamdeck with little improvements
    Gift
  • Xzi @ Xzi:
    but aya neo is a chinese portable gaming pc and its still like double the price
    Gift
  • Xzi @ Xzi:
    for slightly weaker hardware, at that
    Gift
    Xzi @ Xzi: for slightly weaker hardware, at that