#3659518 - 10/09/12 02:46 PM
Re: ROF GUI Mod for PWCG Released.
[Re: 777 Studios - Jason]
|
Joined: Feb 2006
Posts: 152
OlPaint
An Ace in de Skys
|
An Ace in de Skys
Member
Joined: Feb 2006
Posts: 152
Ohio
|
The "PWCG_GUI_Mod_1028_v1" is not working for me. I am running PWCG_v1.4 and ROF_v1.028 with ModsOn on my Windows XP Pro SP3 computer . After installing PWCG_GUI_Mod is see the PWCG button on the ROF main screen task bar after going 'Online'. When I click on PWCG button, I immmediately get ROF minimized to the TaskBar and get a Notepad window to popup containing a .VBS script as follows:
" Set oShell = CreateObject("WScript.Shell") Set oFSO = CreateObject("Scripting.FileSystemObject") DataDir = oFSO.GetParentFolderName(WScript.ScriptFullName) PWCGDir = oFSO.GetParentFolderName(oFSO.GetAbsolutePathName("..\RoFCampaign\RoFCampaign.jar")) oFSO.DeleteFile WScript.ScriptFullName Dim Timestamp TmpPath = oFSO.BuildPath(PWCGDir, "autostart.tmp") If oFSO.FileExists(TmpPath) THEN Set oFile = oFSO.GetFile(TmpPath) Timestamp = oFile.DateLastModified Set oFile = Nothing END IF oShell.CurrentDirectory = PWCGDir oShell.Run oFSO.GetFileName("..\RoFCampaign\RoFCampaign.jar") & " -integrated", 1, True oShell.AppActivate("Rise of Flight") oShell.SendKeys "{Enter}" IF oFSO.FileExists(TmpPath) THEN Set oFile = oFSO.GetFile(TmpPath) IF Timestamp <> oFile.DateLastModified THEN oFile.Copy oFSO.BuildPath(DataDir,"PWCG.autostart.txt"), True ELSE oFile.Delete END IF Set oFile = Nothing END IF "
This text file is written to the "C:\Program Files\Rise of Flight\data" directory with a name of '~tmpXXXXXXX.vbs' where the x's are what appear to be random alpha/numeric characters. Everytime I attempted to test ROF with PWCG GUI installed, a new '~tmpxxxxxxx.vbs' file is written with the same identical text as above.
And as I stated before, the 'Rise of Flight' game is also minimized to the TaskBar. I can restore the game to full screen by clicking on the minimized ROF task. Now back in the game, I get a "PWCG" information window that states 'Waiting for the next mission...' with a CANCEL button.
When I click the CANCEL button, I am put into the Hangar with the the normal hangar view of my aircraft revolving, like as if I am walking around it.
When I click the Mission button, I get new "PWCG" information window that states 'Do you want to turn off mission text logs? They are needed by PWCG but produce unnecessery files each time you fly a normal mission. The game will restart to apply this change.' with a YES, NO, and CANCEL buttons.
I select the CANCEL button, and the game offers the regular 'Missions list' window where I can select the PWCG mission I had previously built in PWCG Application (before I launched ROF) to fly. When I select that PWCG mission, I can fly the previously built PWCG mission normally.
I finish the mission. And then I return to the Hanger. I get new "PWCG" information window that states 'Do you want to turn off mission text logs? They are needed by PWCG but produce unnecessery files each time you fly a normal mission. The game will restart to apply this change.' with a YES, NO, and CANCEL buttons.
When I choose CANCEL, I get the 'Rise of Flight' game minimized to the TaskBar again. I can restore the game to full screen by clicking on the minimized ROF task. Now back in the game I get a "PWCG" information window that states 'Waiting for the next mission...' with a CANCEL Button.
When I click CANCEL, the NotePad window pops up with the .VBS script showing. I can restore ROF and I go back to the Hanger screen...
I find that I get another "~tmpxxxxxx.vbs" file written to "C:\Program Files\Rise of Flight\data" directory with the identical .VBS script text.
Note: In both line4 and line14 of the .VBS script, the directory location of the "RoFCampaign.jar" executable is not fully resolved ("..\RoFCampaign\RoFCampaign.jar"). Should not the script point to the fully resolved directory "C:\program files\Rise of Flight\RoFCampaign\RoFCampaign.jar" for the location of the RoFCampaign.jar executable instead?
I never get the PWCG Application to launch from within ROF at all.
OlPaint
P.S. I can restore normal operation of ROF by renaming "C:\Program Files\Rise of Flight\data\swf\interface.gfx" file to "..\interface.gfx.bak", And then relaunching ROF.
Last edited by OlPaint; 10/09/12 03:00 PM.
Within this vale Of toil And sin Your head grows bald But not your chin - use Burma-Shave
|
|
#3659549 - 10/09/12 03:17 PM
Re: ROF GUI Mod for PWCG Released.
[Re: 777 Studios - Jason]
|
Joined: Feb 2006
Posts: 152
OlPaint
An Ace in de Skys
|
An Ace in de Skys
Member
Joined: Feb 2006
Posts: 152
Ohio
|
Jason
I tryed to post my comments to thread over at ROF Forum but I am unable to save my posting to the thread. I will try to post at ROF again.
BTW, my comments about using the 'Fully Resolved' directory address for "ROFCampaign\ROFCampaign.jar" in my posting above also had to be applied to in my PWCG Application Config setup for me in order to get PWCG to work at all for me!!!
OlPaint
Within this vale Of toil And sin Your head grows bald But not your chin - use Burma-Shave
|
|
#3659556 - 10/09/12 03:27 PM
Re: ROF GUI Mod for PWCG Released.
[Re: 777 Studios - Jason]
|
Joined: Sep 2012
Posts: 418
AnKor
Member
|
Member
Joined: Sep 2012
Posts: 418
Russia
|
Hi! This is AnKor85 from ROF forum, I have registered on SimHQ some time ago, but never had a chance to post anything here OlPaint, That's one detailed description you've made! Thanks for the effort Actually everything seems right except of course .VBS file that should not show up in Notepad. This is VBScript ( http://en.wikipedia.org/wiki/VBScript) file which is a small script that I use to simplify the switching to PWCG and back to ROF. By default it should be executed just like an .EXE or .BAT file, but somehow it got associated with Notepad on your PC. It seems to happen sometimes. The fix is simple. Since you are on XP the solution from this site should help: http://www.winhelponline.com/blog/vbscript-files-open-with-notepad/Download the zip from that site and run "vbs_fix_xp.reg" to make .VBS runnable again. You may need to logoff/logon current user for this change to be applied (or just restart the PC, or it may work immediately, I'm not sure ) The file is created with random name (to avoid any conflicts) everytime you run PWCG from ROF and then immediately deletes itself to avoid cluttering your ROF folder. So normally you shouldn't see it. The path to RoFCampaign is not resolved intentionally (or rather for simplicity) because ROF UI doesn't actually know the folder it is installed to, and all paths are relative to its "data" folder.
Last edited by AnKor; 10/09/12 03:34 PM.
|
|
#3659566 - 10/09/12 03:50 PM
Re: ROF GUI Mod for PWCG Released.
[Re: 777 Studios - Jason]
|
Joined: Feb 2002
Posts: 210
Recon3
Member
|
Member
Joined: Feb 2002
Posts: 210
Close to going insane (Vancouv...
|
OlPaint, I'm not up to speed on PWCG versions but in Jason's link to the other forum, under "How to install and use?", he mentions PWCG 11.3 or higher is required. If you say you're running PWCG_v1.4 then there might be a problem.
1 degree every 72 years
|
|
#3659690 - 10/09/12 06:15 PM
Re: ROF GUI Mod for PWCG Released.
[Re: Recon3]
|
Joined: Jan 2007
Posts: 793
PatrickAWilson
Member
|
Member
Joined: Jan 2007
Posts: 793
Tx
|
OlPaint, I'm not up to speed on PWCG versions but in Jason's link to the other forum, under "How to install and use?", he mentions PWCG 11.3 or higher is required. If you say you're running PWCG_v1.4 then there might be a problem. I'm going to guess that he meant 11.4. 1.4 is about three years old.
|
|
#3659817 - 10/09/12 08:27 PM
Re: ROF GUI Mod for PWCG Released.
[Re: 777 Studios - Jason]
|
Joined: Feb 2006
Posts: 152
OlPaint
An Ace in de Skys
|
An Ace in de Skys
Member
Joined: Feb 2006
Posts: 152
Ohio
|
Thanks, Patrick, for correcting my typo...I did mean PWCG_v11.4. Doh!!!
And Ankor, your fix worked like a charm. PWCG_GUI_Mod is now operating as advertised!!! I even discovered a buttom on the PWCG Mission Selection screen that launches my selected mission directly back in ROF. Fantastic!
OlPaint
Last edited by OlPaint; 10/09/12 09:31 PM.
Within this vale Of toil And sin Your head grows bald But not your chin - use Burma-Shave
|
|
#3660325 - 10/10/12 04:59 PM
Re: ROF GUI Mod for PWCG Released.
[Re: Relix]
|
Joined: Jan 2007
Posts: 793
PatrickAWilson
Member
|
Member
Joined: Jan 2007
Posts: 793
Tx
|
I even discovered a buttom on the PWCG Mission Selection screen that launches my selected mission directly back in ROF. Fantastic!
OlPaint Do tell, I have been launching it manually [/quote] If PWCG was started by RoF there will be a "Fly Mission" button at the top of the mission briefing screen. That returns control to RoF and launches the mission. If you want to fly right away don't "Accept" the mission as that will return you to PWCG campaign menu. press "Fly" and it will launch immediately.
|
|
#3662561 - 10/14/12 07:30 AM
Re: ROF GUI Mod for PWCG Released.
[Re: 777 Studios - Jason]
|
Joined: Apr 2011
Posts: 454
Ami7b5
Member
|
Member
Joined: Apr 2011
Posts: 454
|
Works like a charm AFTER I disabled blocking of scripts in my Panda antivirus. Thanks guys!
If you're close, get closer.
|
|
|
|
|
|
|
|
|
|
|
|
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
|
|