Win32 SVN - correct installation

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Win32 SVN - correct installation

Post by pheonixstorm »

When downloading from svn the data folder will contain two files: py27_modules and py3_modules. Currently data uses the py3 modules so you will need to upzip the py27 file to get the game to work. You should be able to do this by right clicking on the file and telling it to extract here. This should put the correct files into \modules\builtin

Hopefully in the next month or so I will switch the windows binary over to use py3 and this will no longer be necessary.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

What are the odds that I could persuade you to try out the VS Windows binaries + python modules with Priv:WCU? :)
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Win32 SVN - correct installation

Post by pheonixstorm »

WCU or parallel universe? I thought you were trying to update PU??
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

pheonixstorm wrote:WCU or parallel universe? I thought you were trying to update PU??
My Priv:WCU project is PPU at present. I'm planning to update it (the PPU code base that I'm working from) with the data from WCU as per travists's "Frankenstein's Monster is alive"-attempt. :)

I hope that makes sense?
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Win32 SVN - correct installation

Post by pheonixstorm »

Actually... not really

The design for WC based mods was supposed to be...
GG - Privateer clone in every way with nothing new such as turret AI, no new art, ships, etc.
PU - A suped up Privateer adding new ship for purchase, new missions, turret AI, as well as other items not found in the retail Priv release.
WCU - Was supposed to be more like VS only set in the WC universe with far greater gameplay than Privateer. (Models, Scripts, etc)
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

pheonixstorm wrote:Actually... not really

The design for WC based mods was supposed to be...
GG - Privateer clone in every way with nothing new such as turret AI, no new art, ships, etc.
PU - A suped up Privateer adding new ship for purchase, new missions, turret AI, as well as other items not found in the retail Priv release.
WCU - Was supposed to be more like VS only set in the WC universe with far greater gameplay than Privateer. (Models, Scripts, etc)
Ok. Travists' plan was to take the ideas from PU and merge in the assets from WCU, making a PU++ where you could travel wherever you wanted in the WC Universe. He wanted to keep the ships more canon, or at least not too over the top, and allow the player to buy and own the ships available in the Wing Commander Universe. The title Privateer: Wing Commander Universe reflects that this grew out of the Privateer: Parallel Universe thinking and into the greater Wing Commander Universe (i.e. beyond the Gemini sector).

In many ways, what I outlined above is the ultimate Privateer experience to me personally. Others may see it differently. :)
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

I just tried the following on Windows:

1. Check out the VS win32 module via TortoiseSVN (succeeded)
2. Check out the privateer_wcu source code via GitHub for Windows (succeeded)
3. Copy the bin\ folder from the VS win32 module to the privateer_wcu\ folder (succeeded)
4. Extract the VS data\py27_modules.7z into the root of privateer_wcu\ (succeeded)
5. Run bin\VS Setup.exe from the privateer_wcu\ root (works)
6. Run bin\vegastrike.exe from the privateer_wcu\ root -- this is where things fall apart for me.

In 6., I only get a missile unit for whatever reason. Is there anything in particular I need to do/set up in a .bat file for privateer_wcu to work on windows? :)
Last edited by ermo on Sun Oct 20, 2013 10:09 am, edited 1 time in total.
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Win32 SVN - correct installation

Post by loki1950 »

Getting to that missile is the step just before the rest of the game loads itself so it's good as it means that your close try a search on the forums for"no rooms" IIRC that should put you over the top.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

No luck, I'm afraid. All I saw was some C++ patch to convert forward slashes ('/') to double backslashes ('\\') -- was that the issue you remembered seeing?

Another thing: I don't get any console output when I start up the latest vegastrike.exe on Windows as "bin\vegastrike.exe" from my privateer_wcu\ folder.

Is the lack of output a feature -- or is it really a bug?

This is how my privateer_wcu folder looks:
You do not have the required permissions to view the files attached to this post.
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Win32 SVN - correct installation

Post by loki1950 »

Could you post the contents of \pu\modules\builtin just a text list will do with the extensions that way I can verify against what I know works :wink: The next step is to check the syntax of each module tedious but necessary.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

loki1950 wrote:Could you post the contents of \pu\modules\builtin just a text list will do with the extensions that way I can verify against what I know works :wink: The next step is to check the syntax of each module tedious but necessary.

Enjoy the Choice :)

Code: Select all

C:\Users\ermo\Documents\GitHub\privateer_wcu\modules\builtin>dir
 Volume in drive C is SSD
 Volume Serial Number is 6AF4-FF58

 Directory of C:\Users\ermo\Documents\GitHub\privateer_wcu\modules\builtin

06-09-2013  17:43    <DIR>          .
06-09-2013  17:43    <DIR>          ..
06-09-2013  14:50            10.605 code.pyc
06-09-2013  14:50             6.767 codeop.pyc
06-09-2013  14:50             5.300 copy_reg.pyc
06-09-2013  14:50             3.313 linecache.pyc
06-09-2013  14:50            11.706 ntpath.pyc
06-09-2013  14:50            27.061 os.pyc
06-09-2013  14:50             2.873 stat.pyc
06-09-2013  14:50            20.858 string.pyc
06-09-2013  14:50            11.963 traceback.pyc
06-09-2013  14:50             2.608 types.pyc
06-09-2013  14:50             9.585 UserDict.pyc
06-09-2013  14:50             4.394 __future__.pyc
              12 File(s)        117.033 bytes
               2 Dir(s)  131.101.786.112 bytes free

C:\Users\ermo\Documents\GitHub\privateer_wcu\modules\builtin>dir ..\..\py27_modules.7z
 Volume in drive C is SSD
 Volume Serial Number is 6AF4-FF58

 Directory of C:\Users\ermo\Documents\GitHub\privateer_wcu

19-10-2013  20:48            32.801 py27_modules.7z
               1 File(s)         32.801 bytes
               0 Dir(s)  131.088.990.208 bytes free

C:\Users\ermo\Documents\GitHub\privateer_wcu\modules\builtin>
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Win32 SVN - correct installation

Post by loki1950 »

I think I see what might be an issue all of those files are .pyc which means that they are compiled and my bultin dir has 132 items most of which are .py not compiled so there seems to be a lot missing at first glance.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

loki1950 wrote:I think I see what might be an issue all of those files are .pyc which means that they are compiled and my bultin dir has 132 items most of which are .py not compiled so there seems to be a lot missing at first glance.

Enjoy the Choice :)
I just tried deleting the 7-zipped python modules in my working copy of the Win32 SVN module and then doing an 'svn up' -- the result is the same, py27_modules.7z is ~33KB and only contains .pyc files, while py3_modules.7z is ~26KB and also only contains .pyc files.

What gives? Bad build?
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Win32 SVN - correct installation

Post by loki1950 »

Not sure but the use of only .pyc file may be one of the new things that Python 3.0 supports that 2.7 does not.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Win32 SVN - correct installation

Post by pheonixstorm »

pyc is supported by all python versions I believe. It is just a compiled py file.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

pheonixstorm wrote:pyc is supported by all python versions I believe. It is just a compiled py file.
Is it possible to make a more 'full-fat' py27_modules.7z to check whether that makes any difference? And what about the missing console output from vegastrike.exe?

P.S. Should this discussion be taken elsewhere? :)
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Win32 SVN - correct installation

Post by loki1950 »

And what about the missing console output from vegastrike.exe?
Have look at C:\Users\user name\AppData\Local\VirtualStore\Program Files\Vega Strike\Vegastrike-0.5.0\bin

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

loki1950 wrote:
And what about the missing console output from vegastrike.exe?
Have look at C:\Users\user name\AppData\Local\VirtualStore\Program Files\Vega Strike\Vegastrike-0.5.0\bin
It's empty, I'm afraid. Oh well, guess I'll have to fix it myself by compiling my own binary with VS 2008 Express C++ (2010 is only used for python >= 3.3) ... :roll:

EDIT: Hang on a minute ... I have python 3.3 x64 installed -- could that be interfering with the loading of vegastrike and its python27.dll?
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
ermo
Mercenary
Mercenary
Posts: 104
Joined: Tue Oct 30, 2012 7:46 pm

Re: Win32 SVN - correct installation

Post by ermo »

Well, that's just great. :evil:

Apparently, the official python 2.7 sources require Visual Studio C++ 2008 to compile. But the VS 2008 C++ Express edition does not appear to be available anywhere on Microsoft.com anymore?

@pheonixstorm: Which compiler version did you use to create the python 2.7 .dll?
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Win32 SVN - correct installation

Post by pheonixstorm »

It was compiled by someone else using VC 2010
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
Zolk
Trader
Trader
Posts: 25
Joined: Sun Apr 06, 2008 12:48 pm
Location: Germany

still there are no rooms in basefile "main_menunight.py" ...

Post by Zolk »

Hello!

I checked out latest svn version 13666.
I extracted data/py27_modules.7z to data/modules/builtin.
I installed Python 3.0.
Still I get the no rooms error.
I've Windows 8.1.
I've attached stderr.txt and stout.txt.

What did I miss?

Thank you for helping in advance,
You do not have the required permissions to view the files attached to this post.
happy space flight

Zolk

It is nice to be important but more important to be nice
Zolk
Trader
Trader
Posts: 25
Joined: Sun Apr 06, 2008 12:48 pm
Location: Germany

Further information found

Post by Zolk »

Hi!

Sorry I didn't see it with my last post, but the problems seems to be that the programm finds code on mount E: .
E: is my old windows installation, kept for backup purposes, and of course there was also an vegastrike installation.
But this is a fresh Windows installation and a fresh svn checkout on D:. How do I stop the programm VS Setup oder vegastrike looking at E:?
happy space flight

Zolk

It is nice to be important but more important to be nice
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Win32 SVN - correct installation

Post by shenle »

So I'm still getting the "no rooms" bug. Since it started showing up I have been completely unable to make VS work in Windows.

I have just wiped out any trace of VS from my system, then did a fresh SVN checkout of rev. 13666. I unzipped the py27_modules package and added the contents of additional_libs and missing_libs from this thread: http://forums.vega-strike.org/viewtopic ... t=no+rooms (which were not present in my fresh checkout of win32 in the modules/builtin directory). Still get the no rooms missile picture and nothing else. See stderr and stdout attached. Also attaching a list of files in modules/builtin (listing was done under git-bash therefore the unix format of the list - but this is on Windows)
You do not have the required permissions to view the files attached to this post.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Win32 SVN - correct installation

Post by klauss »

Did you see this post?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Win32 SVN - correct installation

Post by shenle »

klauss wrote:Did you see this post?
Yes I did. I am missing a bunch of modules listed there. I don't know where to get them, since a package was never made with all the ones I don't have. The latest distribution of python 2.7 for windows (2.7.6) doesn't have them. There are a bunch of source python files .py but not compiled modules. If those are required to run the svn binary, why not include them in the svn?

(edit) I tried transferring the missing .pyc modules from python 2.7 from an installation of Ubuntu. No effect.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
Post Reply