#129081 - silent_code - Fri May 18, 2007 6:47 pm
hi!
does anyone happen to have such instructions? i tried it, but everytime i try to create a fat12 image to append it to the .nds, the tool says it can't find whatever file is the first and stops, producing an unusable 10bk image file.
i'm totally lost! if i should ever make a slot1 compatible version of the shadow volume demo, i need to get past that first stage!
any help is very much appreciated!
thanks for reading and eventually helping me.
ps: i develop with noaflash kit with mk4 mini and win xp home sp2. i use that fat12 program called fcsr by GPFerror. i also followed his quick instructions over here: http://forum.gbadev.org/viewtopic.php?p=114090&highlight=fcsr+dldi#114090 but still had no luck.
Last edited by silent_code on Thu May 24, 2007 5:37 pm; edited 1 time in total
#129094 - dantheman - Fri May 18, 2007 8:05 pm
So when you put your files in the "fcsr" folder and type "build.bat image.img fcsr" into the command line it does not produce a file? I had this issue before once myelf, attempting to create a FAT12 image for DSLinux, but I never found a solution.
#129098 - Noda - Fri May 18, 2007 9:20 pm
silent_code: if you were using GBFS previously you can easily switch to my EFS system, it's working on slot 1&2 ;)
#129159 - silent_code - Sat May 19, 2007 10:23 pm
@dantheman: as far as i can remember it's just like that. like i said before, i was following the instructions very closely and didn't succeed. thanks for the info.
@Noda: thank you! i'll have it tested as soon as i get a temporary dev environment up and running. i hope it'll work. :^) i'll look for it right away, although it would be cool, if you'd posted a link. ;^p
EDIT: found it ;^) "very nice, high five!"
#129537 - silent_code - Wed May 23, 2007 4:31 pm
actually, it looks like efs has not solved my problem, as i still need to make a fat12 image file and *that* is my problem, not libfat. it doesn't work!
damn.
#129645 - silent_code - Thu May 24, 2007 5:15 pm
ok, here we go.
i have a directory called files, where everything i want to be included int the fat.img is located.
then i type: build.bat fat.img files
output:
$>...
Builds a FAT disk image from a given directory.
64
Creating image
creating FAT12 image size = 0.01 MB's
Working[.]DoneInjectFile("files\foo.bar") failed
Blessing image
OK - start1:0 size1:0
"FAT12 image built as fat.img from /files"
$>...
that's all, except for that it doesn't matter what file i try to include (that's why i wrote foo.bar in this post). what is wrong? i didn't modify the .bat or anything.
#129646 - GPFerror - Thu May 24, 2007 5:25 pm
silent_code wrote: |
ok, here we go.
i have a directory called files, where everything i want to be included int the fat.img is located.
then i type: build.bat fat.img files
output:
$>...
Builds a FAT disk image from a given directory.
64
Creating image
creating FAT12 image size = 0.01 MB's
Working[.]DoneInjectFile("files\foo.bar") failed
Blessing image
OK - start1:0 size1:0
"FAT12 image built as fat.img from /files"
$>...
that's all, except for that it doesn't matter what file i try to include (that's why i wrote foo.bar in this post). what is wrong? i didn't modify the .bat or anything. |
how large is foo.bar ?
and are you trying to make it so foo.bar is at / or at /files/foo.bar ?
in the build.bat try change this line to
Code: |
if /I %size% LSS 10000 ( set /A size="10000" ) |
to
Code: |
if /I %size% LSS 300000 ( set /A size="300000" ) |
See if that helps.
Troy(GPF)
#129648 - silent_code - Thu May 24, 2007 5:34 pm
OH, MAN!
got it. why did noone tell me i had to set the size *BY HAND*?
my files are 480kb in total, all in /files (not the root). setting size to 500kb solved the problem. at least i think it did. i thought the size setting was supposed to prevent the .img being too small if there were less than 10kb of files data. (?)
thanks to everyone who tried to help me with it! :^) big thanks to troy for your tools and the final post! :^D
wow. i guess i'll now be able to make a universal (slot 1&2) rom of my shadow volume demo. ;^D