#154288 - Dwedit - Mon Apr 14, 2008 3:00 am
The FCSR builder which comes with DLDIrc v0.92 is broken. Files are corrupt and have missing data, or chunks from other files.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
#154497 - dantheman - Thu Apr 17, 2008 12:22 am
It may not be entirely broken. I used it with your preview releases and it worked out just fine from my POV, though it does seem to have a much higher chance of having errors after the "blessing image" stage than manually building it from the command-line.
#155182 - Dwedit - Sat Apr 26, 2008 2:59 am
BFI, the tool which injects files into the disk image, is broken.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
#155190 - Dwedit - Sat Apr 26, 2008 5:19 am
I wrote a simple tool similar to what BFI was supposed to do, based on GBA_NDS_FAT. Now it builds disk images correctly.
warning: not heavily tested, may possibly be buggy. But for me, it worked where BFI didn't.
http://www.dwedit.org/dwedit_board/viewtopic.php?pid=2289#p2289
To use with the FCSR builder:
Go to C:\Program Files\DLDIrc\fcsrimage
extract add_to_disk_image.exe here
edit build.bat
replace BFI with add_to_disk_image
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
#155192 - psychowood - Sat Apr 26, 2008 8:14 am
Thanks for the input Dwedit, I'll update DLDIrc ASAP.
_________________
DLDIrc Developer
#155222 - Dwedit - Sat Apr 26, 2008 8:12 pm
I think BFI had a 2.88MB size limit, since it was intended for floppies and not arbitrary FAT file systems.
Yeah, while you're updating DLDIRC, you might want to look at the FCSR build batch file. It's copying files inside C:\program files\, and generating temporary files there. Writing to program files is a big no-no in Vista.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
#155226 - psychowood - Sat Apr 26, 2008 9:02 pm
Quote: |
Yeah, while you're updating DLDIRC, you might want to look at the FCSR build batch file. It's copying files inside C:\program files\, and generating temporary files there. Writing to program files is a big no-no in Vista. |
Vista is a big no-no in me ;)
Seriously, I can't test it on Vista, it would be a bit hard to make it compatible... what about installing DLDIrc outside Program Files ?
_________________
DLDIrc Developer
#155258 - tepples - Sun Apr 27, 2008 3:09 pm
psychowood wrote: |
Seriously, I can't test it on Vista, it would be a bit hard to make it compatible |
Neither can I, but I do have access to the public parts of MSDN. The recommended way to find a temporary folder name is SHGetFolderPath(). Use that to find the Temp folder, and your program will work in Vista. In the source code for Lockjaw Tetromino Game, src/ljpath.c has an example of using this function to find Application Data; finding Temp wouldn't be much different.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#155397 - dantheman - Tue Apr 29, 2008 3:25 am
Excellent job Dwedit. This should make FCSR image creation much more stable and usable.