Go Back   Project Reality Forums > Project Reality Mod Forums > PR Community Modding > PR Single Player
PR Single Player : Discussion pertaining to the PR Single Player Mod.

Welcome to the Project Reality Forums! Join the Project Reality forums! Contact Us


Reply
 
LinkBack Thread Tools Display Modes
Old 10-11-2008, 04:02 PM   #181

GameHazard's Avatar
Re: PR_SP_075_SE - Installer - Map Packs and more....

The batch file (.bat) just blinks up and goes away.
This is the contents of the batch file:

Quote:
cd ..\..\..
set installdir=%CD%
cd mods\pr_sp_07\shortcut\


set desktopdir="%ALLUSERSPROFILE%\Desktop"
set desktopdir=%desktopdir:~1,-1%

Shortcut.exe /F:"%DESKTOPDIR%\pr_sp_07.lnk" /A:C /T:"%INSTALLDIR%\mods\pr\pr.exe" /P:"+modPath mods/pr_sp_07 +menu 1 +fullscreen 1" /W:"%INSTALLDIR%" /I:"%INSTALLDIR%\mods\pr_sp_07\Shortcut\pr_sp_ico_h irez.ico"



When I edited it to pause before it goes away, this happens:

Quote:
C:\Users\Joe\Desktop>cd ..\..\..

C:\>set installdir=C:\

C:\>cd mods\pr_sp_07\shortcut\
The system cannot find the path specified.

C:\>set desktopdir="C:\ProgramData\Desktop"

C:\>set desktopdir=C:\ProgramData\Desktop

C:\>Shortcut.exe /F:"C:\ProgramData\Desktop\pr_sp_07.lnk" /A:C /T:"C:\\mods\pr\p
r.exe" /P:"+modPath mods/pr_sp_07 +menu 1 +fullscreen 1" /W:"C:\" /I:"C:\\mods\p
r_sp_07\Shortcut\pr_sp_ico_hirez.ico"
'Shortcut.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\>pause

Press any key to continue . . .
That comes up. Outlaw, your the coder genius, what is happening?
GameHazard is offline Reply With Quote
Old 10-11-2008, 07:11 PM   #182
PR Coder Team
Supporting Member

[R-DEV]Outlaw22's Avatar
Send a message via Skype™ to [R-DEV]Outlaw22
Re: PR_SP_075_SE - Installer - Map Packs and more....

First question... are you running Vista? as it doesn't seem to like it for some reason (I'll have to look into a vista script)
Second question... are you running the bat file straight from the pr_sp_07\Shortcut folder

This is what I get with XP

Quote:
H:\BF2\mods\pr_sp_07\Shortcut>cd ..\..\..

H:\BF2>set installdir=H:\BF2

H:\BF2>cd mods\pr_sp_07\shortcut\

H:\BF2\mods\pr_sp_07\Shortcut>set desktopdir="C:\Documents and Settings\All User
s\Desktop"

H:\BF2\mods\pr_sp_07\Shortcut>set desktopdir=C:\Documents and Settings\All Users
\Desktop

H:\BF2\mods\pr_sp_07\Shortcut>Shortcut.exe /F:"C:\Documents and Settings\All Use
rs\Desktop\pr_sp_07.lnk" /A:C /T:"H:\BF2\mods\pr\pr.exe" /P:"+modPath mods/pr_sp
_07 +menu 1 +fullscreen 1" /W:"H:\BF2" /I:"H:\BF2\mods\pr_sp_07\Shortcut\pr_sp_i
co_hirez.ico"
The only difference is mine is installed to H:\BF2

You can do it manually like this.....

Make a copy of your pr shortcut and rename it to pr_sp_07 or whatever you want to call it.....
then right click on the shortcut and go to properties.....
in the target box change the second pr to pr_sp_07....

Example:
*******\mods\pr\pr.exe +modPath mods/pr_sp_07 +menu 1 +fullscreen 1

You can have my gun when you pry it from my paranoid,
mentally disturbed, physically-abusive, cold, dead hand.
[R-DEV]Outlaw22 is offline
Last edited by [R-DEV]Outlaw22; 10-11-2008 at 07:28 PM..
Reply With Quote
Old 10-12-2008, 07:16 AM   #183

GameHazard's Avatar
Re: PR_SP_075_SE - Installer - Map Packs and more....

Your manual method works, thanks. I can play it now.
GameHazard is offline Reply With Quote
Sponsored Links
Reply


Bookmarks

Tags
installer, map, packs, prsp075se
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:25 PM.


Powered by: vBulletin. ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2008, Project Reality.