Fora

Final Fantasy VII (STEAM) modding .bat compatibility

convert FF7_GameConverter_0.11.bat to work with wine

Autor Odpowiedzi
thekrimzonghost Saturday 3 May 2014 at 19:41
thekrimzonghostAnonymous

can anyone convert this FF7_GameConverter_0.11.bat file:
https://drive.google.com/file/d/0B0aJ_7pXV1-EeDg1X3cxZEhQM0E/edit?usp=sharing
to run without ADMIN rights? Aslo I think that there is some MSDOS unhandled exception that occurs...

The Admin query is located between line 27 and 38 inside the .bat (Ive tried just erasing 27-38 and the file runs under CMD but it fails to find some directory{""})
https://drive.google.com/file/d/0B0aJ_7pXV1-EU2tkeVFiTk94SFE/edit?usp=sharing

Also there appears to be some MSDOS Commands that arent processing correctly such as (Can't recognize 'CHCP' as an internal or external command, or batch script.  seams to be line 40 or 41)

REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /V ProductName

returns

! REG.EXE VERSION 3.0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
    ProductName REG_SZ  Microsoft Windows XP

Maybe need to write

REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /V ProductName


Does anyone know to use NSIS for the script?

Is the issue maybe how the .bat is accessing the Reg?

Can someone write a script that runs in the install dir and converts it to 98?

-TKG