What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Small batch file to launch rift.

Beringtom

Member
Joined
Mar 7, 2010
Messages
278
Reaction score
0
Choose RIFT mode batch

hey everyone..

it seems trion choose to save there settings in such a way, that you cant have 2 rift installations with defferent settings in them, so, i made a work-around.

it's a small batch file, the allowes you to "save" deferrent settings, and then use them whenever you lauch your rift.

when i am botting, i usually run rift windowed in 800x600 with minimum settings.
When im raiding i run it in 1920x1080 maximum settings.

the code of the batch is bellow, also if someone could verify that there is no harmfull code in this, might make alot of people safe, thank you.

Code:
@echo off
cls
title Choose RIFT mode


rem /-------------------------------------------------------------------------------------------------------------/
rem		Made by beringtom.
rem
rem     Only change these two paths!
rem     (If you have 2 rift folders, and wants use them both, change line 2 to point to you bot folder)
rem
rem 	ONLY CHANGE 3RD LINE IF YOUR ARE ASKED TO DO SO!
rem
rem 	Change line 1 and 2 to your need.
rem /-------------------------------------------------------------------------------------------------------------/

rem Line 1
Set raidloc=C:\Spil\RIFT_Game\riftpatchlive.exe

rem Line 2
Set botloc=%raidloc%

rem Line 3
Set settingsloc=C:\Users\%USERNAME%\AppData\Roaming\RIFT\

rem /-------------------------------------------------------------------------------------------------------------/


rem /-------------------------------------------------------------------------------------------------------------/
REM  		Dont change anything bellow this point!
rem /-------------------------------------------------------------------------------------------------------------/
 
set madechanges=0

:settingscheck
if exist %settingsloc%rift.cfg GOTO setup
cls
color 4e
echo I----------------------------------------------------------------I
echo              STOP 1 sec %USERNAME%, read bellow!!  
echo I----------------------------------------------------------------I
echo.
echo Please change line 3, and point it to your rift folder.
echo the folder are usually placed at:
echo.
echo "C:\Users\%USERNAME%\AppData\Roaming\RIFT\"
echo.
echo and copy it into line 3!
echo (the AppData folder is hidden, so you need to show hidden files aswell.)
echo.
echo if you see this again, and cant get it to work, 
echo write a post in the thread you got this bat from.
echo.
echo I----------------------------------------------------------------I
pause
echo I----------------------------------------------------------------I
exit

:setup
if not exist %settingsloc%RAID\NUL GOTO setupraid
if not exist %settingsloc%BOT\NUL GOTO setupbot
if exist %settingsloc%RAIDon\NUL GOTO start
if exist %settingsloc%BOTon\NUL GOTO start
goto setupraidon

:setupraid
cls
color 0a
echo.
echo Start RIFT, login with your RAID account.
echo Set the settings you want as RAID settings!
echo Save the settings ingame and close the game
echo Continue when this is done!
echo.
echo I----------------------------------------------------------------I
pause
if not exist %settingsloc%RAID\NUL ECHO J | rmdir /s /q "%settingsloc%BOT"
mkdir %settingsloc%RAID
copy %settingsloc%\riftpatch.cfg %settingsloc%RAID
copy %settingsloc%\rift.cfg %settingsloc%RAID
set madechanges=1
cls
goto setup

:setupraid2
cls
color 0c
echo.
echo Start RIFT and login with your BOT account.
echo Set the settings you want as BOT settings!
echo Save the settings ingame and close the game
echo Continue when this is done!
echo.
echo I----------------------------------------------------------------I
pause
cls
DEL %settingsloc%RAID\riftpatch.cfg
DEL %settingsloc%RAID\rift.cfg
copy %settingsloc%\riftpatch.cfg %settingsloc%RAID
copy %settingsloc%\rift.cfg %settingsloc%RAID
set madechanges=1
goto setup

:setupbot
cls
color 0c
echo.
echo Start RIFT and login with your BOT account.
echo Set the settings you want as BOT settings!
echo Save the settings ingame and close the game
echo Continue when this is done!
echo.
echo I----------------------------------------------------------------I
pause
cls
mkdir %settingsloc%BOT
copy %settingsloc%\riftpatch.cfg %settingsloc%BOT
copy %settingsloc%\rift.cfg %settingsloc%BOT
set madechanges=1
goto setup

:setupbot2
cls
color 0c
echo.
echo Start RIFT and login with your BOT account.
echo Set the settings you want as BOT settings!
echo Save the settings ingame and close the game
echo Continue when this is done!
echo.
echo I----------------------------------------------------------------I
pause
cls
DEL %settingsloc%BOT\riftpatch.cfg
DEL %settingsloc%BOT\rift.cfg
pause
copy %settingsloc%\riftpatch.cfg %settingsloc%BOT
copy %settingsloc%\rift.cfg %settingsloc%BOT
set madechanges=1
goto setup

:setupraidon
mkdir %settingsloc%RAIDon
set madechanges=1
GOTO setupend


:setupend
if madechanges=='1' GOTO setupmsg
goto start

:setupmsg
cls
color 0E
cls
echo Setup complete!
echo
echo if you need to change settings
echo in the furture please run the setup again.
echo.
echo I----------------------------------------------------------------I
pause
GOTO start

:start
cls
if exist %settingsloc%BOTon\NUL GOTO startcheck
if not exist %settingsloc%RAIDon\NUL GOTO setup
:startcheck
if not exist %settingsloc%RAIDon\NUL GOTO setbot
set mode=RAID
set notmode=BOT
set color=0a
GOTO choose

:setbot
set mode=BOT
set notmode=RAID
set color=0c

:choose
cls
color %color%
echo.
echo I----------------------------------------------------------------I
echo             Last time RIFT was run in %mode% mode, what now?
echo I----------------------------------------------------------------I
echo.
echo    1. Start %mode% mode Again!
echo    2. Start %notmode% mode this time!
echo.
echo    8. Setup Settings again
echo    9. Exit
echo I----------------------------------------------------------------I

set /p x=Pick:
if '%x%' == '1' GOTO startgame
if '%x%' == '2' GOTO pickmode
if '%x%' == '8' GOTO setupchoose
if '%x%' == '9' exit
goto choose

:pickmode
if %mode%==RAID goto itsraid
ECHO J | rmdir /s /q "%settingsloc%%mode%on"
set mode=RAID
set notmode=BOT
mkdir %settingsloc%%mode%on
GOTO check

:setupchoose
cls
color 0e
echo.
echo I----------------------------------------------------------------I
echo  Settings menu
echo I----------------------------------------------------------------I
echo.
echo    1. Setup RAID settings again
echo    2. Setup BOT settings again
echo.
echo    9. Back
echo I----------------------------------------------------------------I
set /p x=Pick:
if '%x%' == '1' GOTO setupraid2
if '%x%' == '2' GOTO setupbot2
if '%x%' == '9' GOTO choose
goto setupchoose

:itsraid
ECHO J | rmdir /s /q "%settingsloc%%mode%on"
set mode=BOT
set notmode=RAID
mkdir %settingsloc%%mode%on

:check
DEL %settingsloc%riftpatch.cfg
DEL %settingsloc%rift.cfg
copy %settingsloc%%mode%\riftpatch.cfg %settingsloc%
copy %settingsloc%%mode%\rift.cfg %settingsloc%
:startgame
if %mode%==RAID GOTO raidermode
start %botloc%
:raidermode
start %raidloc%
GOTO end

:makedir
mkdir %settingsloc%RAIDon
GOTO start

:end
exit

AFTER DOWNLOADING!
open the batch file in a text editor, like notepad. and edit Line 1 + Line 2
(only change line 3 if you are asked to do so)

download here: rift launcher

support = make a post here.
improvements + special requsts = PM please.
 
good work, this will be very pleasant for those who bot 1 acc i think
and if you could make launcher file with MINIMAL settings ( i mean really min like "square" is running and blasting with "circles" :) ) it will be awesome.
 
ahh, now i understand, well, you have to set the settings.

you start the game, and make the settings as you would like them, windowed, lowest quality, no sound, super-small window in the corner of your desktop.
rift will remember what settings you used and save them in a file, my batch file just switches between 2 files. :)
 
Back
Top