Author Topic: About Batch Files  (Read 14083 times)

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
About Batch Files
« on: 2011-03-20 13:18:08 »
For my convenience, I use batch files to change mods on FF7 and FF8. I just don't know some commands. For example, is there a possibility to choose what to change by these mods? For example, besides having 4 batch files on my desktop, I would like to have only one and choose what to change. I've got 17 batch files on my desktop, but would like to have only 4. Is there a possibility to do that?

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #1 on: 2011-03-20 13:30:55 »
sounds useful I would like to know as well. I've also been wondering if it is possible to write a batch file to automatically mount a virtual drive? I have saved my discs as ISO's just in case anything happens to them. What I want to do is edit the FF7Music batch file 3 times to carry out the follow
1.mount disk automatically (1,2 or 3)
2.run ff7music
3.run ff7.exe

anyone know how to do this?

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #2 on: 2011-03-20 13:33:32 »
You can also copy the movies to your FF7 folder and rename your Hard Drive into FF7DISC1/FF7DISC2/FF7DISC3 to fool the game ;D

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #3 on: 2011-03-20 15:33:35 »
hmm so your saying if I have my game installed on drive d then I name drive d FF7DISC1/FF7DISC2/FF7DISC3, all three or just one?

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #4 on: 2011-03-20 15:36:34 »
One at the time. The only thing the game is looking for is the name of the drive. Even if there's nothing in that drive, it doesn't matter since all the needed files are in the Final Fantasy VII directory.

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #5 on: 2011-03-20 17:14:31 »
i see so I guess there is no way to not have to change disks then? Either way this is still very helpful. Thank you sir

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #6 on: 2011-03-20 17:18:04 »
Huh... didn't really understood... My C:\ drive is called FF7DISC1 (or 2/3) at any time and my registery is set to the C:\ drive as the DataPath.

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #7 on: 2011-03-20 17:21:43 »
Yeah I got it set up with my D drive right now. I was just wondering if it is possible to trick the game into thinking that all 3 disks are mounted at once so that I don't have to change disks. I have a bunch of different saves for ease of testing purposes and it would be convenient if I didn't have to change disks at all

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #8 on: 2011-03-20 17:24:38 »
I guess not =/ Unless you have three drives named differently and change the registery by .reg files, I don't see any way. I know it is possible to trick FF8 by putting some files at the drive tree, but it is not possible with FF7 =/

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #9 on: 2011-03-20 17:36:37 »
well i have three drives, but I don't know what to do with the regkey. I have been trying the past few minutes to figure something out

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #10 on: 2011-03-20 17:38:13 »
Do you have to open a folder named "Wow6432node" before "Square Soft, Inc." in the registery?

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #11 on: 2011-03-20 17:40:52 »
no the regkey I found is located in HKEY_LOCAL_MACHINE\SOFTWARE\Square Soft, Inc.\Final Fantasy VII. Right now I am trying to duplicate the DataDrive key but with no luck.

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #12 on: 2011-03-20 17:42:39 »
No no, don't even try. I am doing a batch file to help you out. I only need to know which drives are for which CDs (and what are these letters of course).

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #13 on: 2011-03-20 17:44:46 »
Hey thanks a lot!

I want to have Disk 1 set for my drive D
Disk 2 drive G
Disk 3 Drive I

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #14 on: 2011-03-20 17:46:34 »
Ok that's fine. Now you just have to do two things :

1) Rename your drives accordingly to what CD they are supposed to mimic.
2) Wait for me to upload the files.

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #15 on: 2011-03-20 17:47:57 »
Alright I got it. Thanks again! If you want you can just type the batch here and I'll make my own batch file

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #16 on: 2011-03-20 17:52:08 »
http://www.mediafire.com/?ubez0y8c2oa29uk

Instructions :

1) Download the RAR archive.
2) Extract the FF7DISCs folder into any directory.
3) Make a shortcut of FF7DISCs.bat on your desktop if you want to.
4) Launch FF7DISCs.bat and the rest if self-explanatory. Just make sure that the movies are in your Final Fantasy VII folder.
5) Play!

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #17 on: 2011-03-20 18:00:38 »
thank you seems to work great :D

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #18 on: 2011-03-20 18:03:32 »
You're welcome! Making batch files is a pleasure for me :D If I knew how, I could write a long batch file to do lots of things :)

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: About Batch Files
« Reply #19 on: 2011-03-20 18:07:43 »
For my convenience, I use batch files to change mods on FF7 and FF8. I just don't know some commands. For example, is there a possibility to choose what to change by these mods? For example, besides having 4 batch files on my desktop, I would like to have only one and choose what to change. I've got 17 batch files on my desktop, but would like to have only 4. Is there a possibility to do that?

try reading
http://www.robvanderwoude.com/choice.php
that gives more information on making choices in a BAT file so it should be possible to choose which to run using that information,
but personally i use a program called "compactautorunner" which allows me to make a autorun EXE (like on a games CD) which i find really helps for those sort of things.

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #20 on: 2011-03-20 18:37:09 »
Thanks kranmer this is AWESOME! I'll study that and I could do my other release to my mod :)

Kranmer

  • *
  • Posts: 766
    • View Profile
Re: About Batch Files
« Reply #21 on: 2011-03-20 18:39:47 »
No problem, also thats only for 95,95,vista and win7 but doesnt work on NT,2k or XP, if your using those read this
http://www.computerhope.com/sethlp.htm

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #22 on: 2011-03-20 18:40:10 »
hey now I am curious again. I have not much experience with batch files but I am wondering if it is possible to write a batch that would rename my hard drive to whatever i want automatically when i run it?

Vgr

  • Global moderator
  • *
  • Posts: 2163
  • If it quacks like a duck, it must be a duck
    • View Profile
Re: About Batch Files
« Reply #23 on: 2011-03-20 18:40:59 »
I *could* do that, but I am a bit lazy :P

yarLson

  • *
  • Posts: 708
  • spr nrd
    • View Profile
Re: About Batch Files
« Reply #24 on: 2011-03-20 18:42:34 »
haha its okay. Would it be complicated or really simple? I am trying to google it but I haven't found what I am looking for yet