Twilighte wrote:I recently started using tap2dsk which is very cool and saves alot of work. However does anyone know if there is an automated way i can stop tap2dsk naming the file noname000 but the parsed tape filename?
Currently i use it when i convert AYT music held in a Tape file to a disk file but it always saves the file as NONAME000. I do understand you can pass multiple taps to the converter but it would be nice if it (at least) gave the option of saving the file as the same is it was passed.
Alternatively Is there a dos based utility that can rename a file on a sedoric disk? (i know ODM does it but thats manual)

I used taptap executable for that, if I am right. If the file does have a name (not the empty string) it is added with that name to the disk.
I had to modify a couple of things in OSDK (some modifications were sent to me by Dbug, I think, and I added some more).
In the OSDK bin directory I have a modified make.bat which issues:
Code: Select all
:
:: Append the tape header
::
ECHO Creating final program %OSDKNAME%.TAP
%OSDKB%\header.exe %OSDKHEAD% build\final.out build\%OSDKNAME%.tap %OSDKADDR%
%OSDKB%\taptap.exe ren build\%OSDKNAME%.tap %OSDKTAPNAME% 0
Check for the third line, which runs taptap and renames the first program (number 0) with the name in OSDKTAPNAME
Then, for creating the disk it runs:
Code: Select all
::
:: Generate the DSK file
::
IF "%OSDKDISK%"=="" GOTO EndBuildDisk
%OSDK%\bin\tap2dsk.exe -n%OSDKDNAME% -i%OSDKINIST% %OSDKDISK% build\%OSDKNAME%.tap build\%OSDKNAME%.dsk
%OSDK%\bin\old2mfm.exe build\%OSDKNAME%.DSK
:EndBuildDisk
Using tap2dsk and adding the INIST command which runs the basic loader (the one that checks if it is the first run or not to decide if the intro is to be launched).
I have the next on the osdk_config.bat
Code: Select all
:: List of files to put in the DSK file.
:: Implicitely includes BUILD/%OSDKNAME%.TAP
SET OSDKTAPNAME="SP99"
SET OSDKDISK=world\world.tap run99.tap ..\intro\build\intro.tap
SET OSDKDNAME=" -- SPACE:1999 --"
SET OSDKINIST="!RUN99.COM"
It is a bit complicated, I admit it, and I hardly remember how I configured everything, but once it is set up it speeds things up a lot.
Cheers