Qhimm.com Forums
Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: Vgr 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?
-
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?
-
You can also copy the movies to your FF7 folder and rename your Hard Drive into FF7DISC1/FF7DISC2/FF7DISC3 to fool the game ;D
-
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?
-
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.
-
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
-
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.
-
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
-
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 =/
-
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
-
Do you have to open a folder named "Wow6432node" before "Square Soft, Inc." in the registery?
-
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.
-
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).
-
Hey thanks a lot!
I want to have Disk 1 set for my drive D
Disk 2 drive G
Disk 3 Drive I
-
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.
-
Alright I got it. Thanks again! If you want you can just type the batch here and I'll make my own batch file
-
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!
-
thank you seems to work great :D
-
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 :)
-
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.
-
Thanks kranmer this is AWESOME! I'll study that and I could do my other release to my mod :)
-
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
-
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?
-
I *could* do that, but I am a bit lazy :P
-
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
-
If you can wait for about some minutes (I want to finish the reading of this awful document first) I'll make it for you. I already told you, it's my pleasure, not a joke.
-
okay sure sounds great. I can be patient, I am just working on my field enhancement project right now. I'll check back in a while
-
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?
to create a batch file to rename your drive is fairly simple, all you need to do is use the command LABEL and set which drive you want to change and what you want to change it to, so for example to change your C Drive to FF7DISC1 to write
label c: FF7DISC1
in a BAT file (just open notepad copy and paste that line, then save it as a .BAT) then everytime you run it, it will rename your C Drive to that
-
thank you that sounds simple enough appreciate the help :]
-
yarLson here is a slightly more advanced .BAT, copy this into notepad and save as .BAT
:input
set DRIVE=
set /P DRIVE=Type drive letter: %=%
set INPUT=
set /P INPUT=Type drive name: %=%
if "%INPUT%"=="" goto input
label %DRIVE%: %INPUT%
that is a BAT file that will ask for your input for which drive you want to change the name of and what you want to name it (so for the first question just put the drive letter like "C" and for the second question type the name of the drive like "FF7DISC1" and hey presto it will rename that drive.
-
thank this is all very helpful. You guys wouldn't happen to know a good website for noobs to learn how to write batch files?
-
Yes. It is called n00b Batch-Guide (http://forums.qhimm.com/index.php?topic=11553.0) and some tutorials will pop up soon. There is also 'MSN Messenger' which we could use to talk together without putting up 50 pages of dual-discussion.
EDIT : :P
-
well i dont know about guides on .BAT files but i use http://www.computerhope.com when i need to find a DOS command to use in a .BAT file (although i know a lot of the commands already since i used to do a fair amount of stuff in DOS) (i only use .BAT files now for when i make installers or when i run mods),
Also on a side note this is the most complicated BAT file i have ever seen is this
http://schnaader.info/sickbat.php
he actually made a game out of .BAT files which to me is amazing.
-
haha thanks for all the help guys. Now if you take a look at the projects thread you'll see the reason behind all my questions :p
-
I saw that thread before your answer and already answered :P