MSFN Forum: Doing It Wrong - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Doing It Wrong HFANSWER.INI + ISONAME = ISO name wrong..? Rate Topic: -----

#1 User is offline   spinjector 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 11-June 09

Posted 17 July 2009 - 02:42 PM

I am using the HFANSWER.INI with ISONAME=HFSLIPCD specified, but my ISO keeps coming out named HFSLIPCD_07172009_13h15m.iso.

Is this by design, or am I doing it wrong?

I looked at the part of the CMD file that feeds the command line to CDIMAGE.EXE, but the complexity is such that it'd be easier to ask than for me to figure it out.

This is my HFANSWER file:

DRIVERCOMP=A
SBOOTPATH=1
MBOOTPATH=
DELCATS=0
BACKUPSOURCE=0
XPIZESW=
FORCEXPIZESLIP=
ISONAME=HFSLIPCD.ISO
ISOTITLE=HFSLIPCD
FORCECDIMAGE=
CDIMGSW=-h -j1 -m
MKISSW=-relaxed-filenames -d -D -N -J -no-emul-boot -no-iso-translate -boot-load-size 4
MAKENOISO=
OVERWRITEISO=
INSTALLRC=1
INCWMPCSKIN=
INCALLSKINS=
NOLOGCOPY=
IE7BACKUP=
IE7GUILOGON=
IE7SVCPACK=
RELEASE=AUTORUN

This post has been edited by tommyp: 18 July 2009 - 04:52 AM



#2 User is offline   tommyp 

  • MSFN Addict
  • Group: Developers
  • Posts: 1,664
  • Joined: 09-January 04
  • OS:none specified
  • Country: Country Flag

Posted 18 July 2009 - 04:55 AM

Is your file named hfanswer.ini? Or hfanswer.ini.txt? The file should be located in hftools, but you probably knew that anyway.

This post has been edited by tommyp: 18 July 2009 - 04:55 AM


#3 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 18 July 2009 - 02:15 PM

The code uses the HFSLIPCD part by default, this is user changeable in your case by placing your user defined string after ISONAME= in that ini file.

(You must enter your required string there if you wish to change it, adding the iso extension shouldn't matter since the code is simply using the name without that extension as a replacement for what is currently reading HFSLIPCD, i.e. ISONAME=YOURSTRING in the ini file will produce an ISO with a name similar to this: YOURSTRING_07172009_13h15m.iso.

Quickly looking at the code, it appears as if adding any character after OVERWRITEISO= in the ini file should name the finished file with whatever you have entered as ISONAME= also in that file, i.e.
ISONAME=ChosenName.iso
OVERWRITEISO=1

Also bear in mind that it is simply a file name, if you are not happy with the date and time additions, you can simply rename the file when the script has finished producing it.

#4 User is offline   spinjector 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 11-June 09

Posted 18 July 2009 - 03:33 PM

View PostYzöwl, on Jul 18 2009, 04:15 PM, said:

Also bear in mind that it is simply a file name, if you are not happy with the date and time additions, you can simply rename the file when the script has finished producing it.

True. I've already put a couple of little tweaks in; I'll just add a rename too. I used to be a BFF (batch file freak) and it's been a joy to wander through this thing.

~thanks

#5 User is offline   spinjector 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 11-June 09

Posted 18 July 2009 - 03:35 PM

View Posttommyp, on Jul 18 2009, 06:55 AM, said:

Is your file named hfanswer.ini? Or hfanswer.ini.txt? The file should be located in hftools, but you probably knew that anyway.

It's the right name in the right place. :rolleyes:

#6 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 18 July 2009 - 04:16 PM

View Postspinjector, on Jul 18 2009, 10:33 PM, said:

View PostYzöwl, on Jul 18 2009, 04:15 PM, said:

Also bear in mind that it is simply a file name, if you are not happy with the date and time additions, you can simply rename the file when the script has finished producing it.

True. I've already put a couple of little tweaks in; I'll just add a rename too. I used to be a BFF (batch file freak) and it's been a joy to wander through this thing.

~thanks

View PostYzöwl, on Jul 18 2009, 09:15 PM, said:

Quickly looking at the code, it appears as if adding any character after OVERWRITEISO= in the ini file should name the finished file with whatever you have entered as ISONAME= also in that file, i.e.
ISONAME=ChosenName.iso
OVERWRITEISO=1
The renamed ISO is already catered for as above!

#7 User is offline   spinjector 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 11-June 09

Posted 18 July 2009 - 05:28 PM

Ok thanks, I'll set the OVERWRITEISO= option as well...

#8 User is offline   jvidal 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 548
  • Joined: 14-November 05

Posted 05 August 2009 - 10:05 AM

BTW, your hfanswer.ini file has a ton of empty entries. i.e:
"mbootpath="
"Xpizesw="

If your not entering any value for those, you might as well remove them...

#9 User is offline   spinjector 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 11-June 09

Posted 05 August 2009 - 01:49 PM

yea i downloaded the cookie-cutter hfanswer.ini from the web site and just changed the entries i wanted to use, and left it stock otherwise...

#10 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 06 August 2009 - 02:44 AM

View Postjvidal, on Aug 5 2009, 05:05 PM, said:

BTW, your hfanswer.ini file has a ton of empty entries. i.e:
"mbootpath="
"Xpizesw="

If your not entering any value for those, you might as well remove them...

No reason to do that IMHO... It dosen't hurt anything, and they're there if you need them later on... :)

#11 User is offline   spinjector 

  • Member
  • PipPip
  • Group: Members
  • Posts: 120
  • Joined: 11-June 09

Posted 06 August 2009 - 09:36 AM

View PostMartin H, on Aug 6 2009, 04:44 AM, said:

No reason to do that IMHO... It dosen't hurt anything, and they're there if you need them later on... :)

Yes that was my understanding as well.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy