Log in
Location: Home  Community Forums  Help  [Tutorial] Open downloaded .gbx tracks/replays in both TMF a... 
[Tutorial] Open downloaded .gbx tracks/replays in both TMF and MP.
Page: 4 of 4
Post Reply  0 Observer
2013-03-05 22:22:36  
TGYoshi says:
You can alternatively use the following, which will forever work and keep compatibility with older maps as well:

... says:
@find /c /i "exever=""3." %1 > NUL

This post by Yoshi is really important, as different map versions exist on the site, this is the approach to use.
Surely Retired
Location: GB
2013-03-06 15:33:42  
still not working
@Space, I know where I install my games (:

The following is written in my .cmd


ECHO OFF
@find /c /i "exever=""3." %1 > NUL
if %ERRORLEVEL% EQU 0 (
start C:\Program Files (x86)\ManiaPlanet\ManiaPlanet.exe

/useexedir /singleinst /file=%1
) else (
start C:\Program Files (x86)\TmUnitedForever\TmForever.exe

/useexedir /singleinst /file=%1
)



Last edited by der-bozz, 2013-03-06 15:33:51
Learner Driver
Location: DE
2013-03-06 16:40:07  
try putting paths that contain spaces in quotes...

start "C:\Program Files (x86)\ManiaPlanet\ManiaPlanet.exe"
Last edited by MrA, 2013-03-06 16:40:48
Surely Retired
Location: GB
2013-03-06 17:19:04  
you really have /useexedirblabla on new line?
Zimmer Racer
Location: LT
2014-08-05 10:50:46  
der-bozz says:
still not working
@Space, I know where I install my games (:

The following is written in my .cmd


ECHO OFF
@find /c /i "exever=""3." %1 > NUL
if %ERRORLEVEL% EQU 0 (
start C:\Program Files (x86)\ManiaPlanet\ManiaPlanet.exe

/useexedir /singleinst /file=%1
) else (
start C:\Program Files (x86)\TmUnitedForever\TmForever.exe

/useexedir /singleinst /file=%1
)





You can test the script in a command shell for errors, giving the wanted Gbx file as parameter, e.g.
"C:\Program Files (x86)\ManiaPlanet\RunManiaPlanet.cmd" "E:\Downloads\XXX.Map.Gbx"
so you see error messages printed in the command shell before it disappears.
MX Supporter
Location: IT
Page: 4 of 4 Post Reply
© ManiaExchange (mania-exchange.com, mania.exchange) 2024. • Terms and ConditionsPrivacy Policy Top  •  Report a Problem