Win32 SVN - correct installation
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: Win32 SVN - correct installation
Wait, I'm working on something.
Basically I installed python2.7 in windows, then launched VS. It was working. Then I looked throughh the installation directory of python, and it had automatically compiled some modules. I took those modules and saved them, then uninstalled python. I nuked my VS again, and am currently re-downloading a clean copy from SVN to make sure no remnants exist. This will take some time. I then plan to add back all the modules (from: missing_libs, additional_libs, my modules taken from ubuntu and the new ones compiled) and add them to VS. If that works I will make a big package with everything that needs to be added so you can run VS freshly checked out on a system that doesn't have python installed.
Basically I installed python2.7 in windows, then launched VS. It was working. Then I looked throughh the installation directory of python, and it had automatically compiled some modules. I took those modules and saved them, then uninstalled python. I nuked my VS again, and am currently re-downloading a clean copy from SVN to make sure no remnants exist. This will take some time. I then plan to add back all the modules (from: missing_libs, additional_libs, my modules taken from ubuntu and the new ones compiled) and add them to VS. If that works I will make a big package with everything that needs to be added so you can run VS freshly checked out on a system that doesn't have python installed.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: Win32 SVN - correct installation
Okay here is a package with all the modules that you must drop in data/modules/builtin (in addition to the package py27_modules.7z) to make VS work on a windows machine without python installed.
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.
make: *** No rule to make target 'me'. Stop.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Win32 SVN - correct installation
No, the pyc aren't necessary. They're faster (startup, not runtime), but they're not necessary.shenle wrote: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?klauss wrote:Did you see this post?
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: Win32 SVN - correct installation
I tried with .py files. Didn't work.klauss wrote:No, the pyc aren't necessary. They're faster (startup, not runtime), but they're not necessary.shenle wrote: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?klauss wrote:Did you see this post?
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Win32 SVN - correct installation
That's quite weird.
-
- Trader
- Posts: 25
- Joined: Sun Apr 06, 2008 12:48 pm
- Location: Germany
Re: Win32 SVN - correct installation
Hello!
I still have my problems with Vegastrike, still the old error with "no rooms specified" and "E:\Games\Vegastrike52\modules\builtin" in stderr.
I've deleted all vegastrike - dirs on E:, an the dir E:\Games never existed.
I've looked for vegatrike in the registry, an found no entry with E: (I think the entries I found were from svn).
I've deleted .vegastrike in the home directory and calles VS Setup again.
I looked at the contents of .vegatrike an found none.
Where does E:/Games come from?
I still have my problems with Vegastrike, still the old error with "no rooms specified" and "E:\Games\Vegastrike52\modules\builtin" in stderr.
I've deleted all vegastrike - dirs on E:, an the dir E:\Games never existed.
I've looked for vegatrike in the registry, an found no entry with E: (I think the entries I found were from svn).
I've deleted .vegastrike in the home directory and calles VS Setup again.
I looked at the contents of .vegatrike an found none.
Where does E:/Games come from?
happy space flight
Zolk
It is nice to be important but more important to be nice
Zolk
It is nice to be important but more important to be nice
-
- Trader
- Posts: 25
- Joined: Sun Apr 06, 2008 12:48 pm
- Location: Germany
Win32 SVN - correct installation - But
Hello!
I solved my installation problems by adding additional python files as found in tzhe thread mentioned.
I can know start the game and I played the tutorial without problem.
But when I returned and looked in the mission computer and there at the news, all news not capitalized were shown without any blanks, making them hard to read.
The other texts (by Oswald, or when hitting F1, or when seeking a mission) were fine.
I solved my installation problems by adding additional python files as found in tzhe thread mentioned.
I can know start the game and I played the tutorial without problem.
But when I returned and looked in the mission computer and there at the news, all news not capitalized were shown without any blanks, making them hard to read.
The other texts (by Oswald, or when hitting F1, or when seeking a mission) were fine.
happy space flight
Zolk
It is nice to be important but more important to be nice
Zolk
It is nice to be important but more important to be nice
-
- Expert Mercenary
- Posts: 893
- Joined: Thu Jul 08, 2010 11:43 pm
- Location: Sol III North American Continent
Re: Win32 SVN - correct installation
Still about on occasion.... Star Citizen, you know....ermo wrote: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?
Anyway, I recall hitting this wall, but not how I got around it. I'm thinking it is looking in the wrong place for something.
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Win32 SVN - correct installation
UP !
Yes , the problem is not fixed and we , the future dev team (
) need to get in .
http://forums.vega-strike.org/viewtopic ... 57#p135457
So what ?
Yes , the problem is not fixed and we , the future dev team (
![Laughing :lol:](./images/smilies/icon_lol.gif)
http://forums.vega-strike.org/viewtopic ... 57#p135457
So what ?
![Wink :wink:](./images/smilies/icon_wink.gif)
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- Merchant
- Posts: 41
- Joined: Mon Oct 07, 2013 8:19 am
Re: Win32 SVN - correct installation
Excuse me for butting in - especially since I know very little about all your work on this.
But - am I not correct in saying the .pyc are irrelevant in the context that when you run the program it compile all the .py files being used into the .pyc files?
And if I am correct then the main problem would be the missing .py files since they are essential in being able to compiie the .pyc files so the game can run?
And undoubtedly you all know far more than I about what you are doing but one thing I ran across while I was adding the PPG Galaxy ship and Tachyon cannon and Plasma beam and Proton Torpedo to Vegastrike was that I )apparently this was the cause) used a TAB in ship_upgrades.py ad started getting the No Rooms error and only fixed it when I concluded that was the issues and used spaces instead.
So I only mention this to conclude that many things could cause No Rooms, probably like missing .py files, corrupted .py files, and formatting mistakes, yes?
I sure can't wait to see this PCU++ or WCU when there is a finished Windows version.
Paul
But - am I not correct in saying the .pyc are irrelevant in the context that when you run the program it compile all the .py files being used into the .pyc files?
And if I am correct then the main problem would be the missing .py files since they are essential in being able to compiie the .pyc files so the game can run?
And undoubtedly you all know far more than I about what you are doing but one thing I ran across while I was adding the PPG Galaxy ship and Tachyon cannon and Plasma beam and Proton Torpedo to Vegastrike was that I )apparently this was the cause) used a TAB in ship_upgrades.py ad started getting the No Rooms error and only fixed it when I concluded that was the issues and used spaces instead.
So I only mention this to conclude that many things could cause No Rooms, probably like missing .py files, corrupted .py files, and formatting mistakes, yes?
I sure can't wait to see this PCU++ or WCU when there is a finished Windows version.
Paul
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Win32 SVN - correct installation
Hello Paul !
Thank you for the help .
Sure , a lot of things can cause the " no room syndrom " , and it's a good idea to list them
all .
So you opened the list :
CHECK LIST FOR PREVENT THE NOROOM SYNDROM :
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Thank you for the help .
![Wink :wink:](./images/smilies/icon_wink.gif)
Sure , a lot of things can cause the " no room syndrom " , and it's a good idea to list them
all .
So you opened the list :
CHECK LIST FOR PREVENT THE NOROOM SYNDROM :
- _ Check the .py files because of the problem of tabulations that is relevant to python :
INDENTATION ( yeah in c++ we use secure brackets )
Some reading about : http://www.secnetix.de/~olli/Python/blo ... ation.hawk
_ Bad characters in a text ( french accents give no room too ! )
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Win32 SVN - correct installation
Well, that's both correct and incorrect.PaulB wrote:Excuse me for butting in - especially since I know very little about all your work on this.
But - am I not correct in saying the .pyc are irrelevant in the context that when you run the program it compile all the .py files being used into the .pyc files?
It's correct in the sense that having the .py is enough. But incorrect in the sense that having the .pyc is also enough, assuming the bytecode version in the .pyc matches the one needed by the python runtime being used.
.pyc files are tricky to distribute correctly, but they're faster (you avoid the compilation step).
Still, shipping both wouldn't be a terrible idea. But the problems mentioned regarding .pyc files are all independent of this issue (pyc or no pyc), because both files are missing (both py and pyc).
-
- Mercenary
- Posts: 104
- Joined: Tue Oct 30, 2012 7:46 pm
Re: Win32 SVN - correct installation
Could someone in the know please recompile the python27.dll and python27_d.dll files in trunk\win32\bin\ such that they match the newest upstream python 2.7.6 release, please?
It would allow me to determine which extra modules I need to ship with PWCU. Much obliged.![Smile :)](./images/smilies/icon_smile.gif)
EDIT: I just tried doing the vegastrike rebuild myself per http://wiki.vega-strike.org/HowTo:VCPP_Compiling without much luck.
It would allow me to determine which extra modules I need to ship with PWCU. Much obliged.
![Smile :)](./images/smilies/icon_smile.gif)
EDIT: I just tried doing the vegastrike rebuild myself per http://wiki.vega-strike.org/HowTo:VCPP_Compiling without much luck.
Privateer: Wing Commander Universe -- the continuation of chuck_starchaser's Privateer: Parallel Universe mod.
-
- Intrepid Venturer
- Posts: 703
- Joined: Tue Feb 11, 2014 12:47 am
- Location: FRANCE
- Contact:
Re: Win32 SVN - correct installation
Hello .
Under windows xp 32 , the only solution that is working ( and stable ) for me is in SVN/Tags/0.5.1rc1
![Smile :)](./images/smilies/icon_smile.gif)
Under windows xp 32 , the only solution that is working ( and stable ) for me is in SVN/Tags/0.5.1rc1
Code: Select all
if (!track.HasWeapons())
{
// So what are you going to threaten me with? Exhaustion gas?
return ThreatLevel::None;
}
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: Win32 SVN - correct installation
I remember about a decade ago when I did the building, you need to build all of python's dependencies as well (notoriously, zlib and maybe openssl, can't remember much else)