 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
adrianx
Joined: 24 Apr 2011 Posts: 20 on topic

|
Posted: Tue, 23. Apr 13, 18:38 Post subject: Latest (compilable) Linux SPK tools |
|
|
I noticed a couple of old topics about Cycrow's spktools (the last ending June 2011) but haven't had managed to compile either the very old spktools (which I was under the impression don't support the newest spk format ?) or the Beta versions posted here :-
http://forum.egosoft.com/viewtopic.php?t=269568
Is there are an updated version or a patch to the Beta version (I note gilboa was heavily involved in the discussion, perhaps (s)he has some input) ?
My makefile/c hacking/compiling skills are rather rusty (not done much since the 90s) so am looking for an easier route than hacking myself. Any help would be appreciated.
This is Ubuntu 12.10, amd64.
[Edit; dash it, perhaps better in X3TC forum] Edit: moved. X2-Illuminatus
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Cycrow Moderator (Script&Mod)


Joined: 15 Nov 2004 Posts: 19848 on topic Location: London

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
adrianx
Joined: 24 Apr 2011 Posts: 20 on topic

|
Posted: Mon, 29. Apr 13, 14:52 Post subject: |
|
|
Thanks for this; unfortunately I wasn't able to get it to compile either directly with make (and some fiddling with the makefile) or using an IDE under linux that supports vcproj files. In the end I tried what was perhaps a more obvious (and turned out to be easier) method, installing Plugin manager using Crossover.
A quick recipe for anyone else in the same situation (using spk mods under linux), using crossover at least (presumably using wine directly shouldn't be much different) :-
- use Crossover "Install Windows Software" to install the plugin manager (I used a separate bottle for this), but skip the "Visual C++" installation
- install Visual C++ using Crosstie :-
http://www.codeweavers.com/compatibility/browse/name/?app_id=5369
- install .Net 2.0 :-
http://www.codeweavers.com/compatibility/browse/name/?app_id=1578
Start "Plugin manager" using one of the desktop icons created and point to your X3 (R or TC currently, AP later) directory.
I've tested with a couple of mods so far and it seems to be working (I wasn't sure about CR -> CR/LF problems but presumably with XML this shouldn't be of concern).
Anyway Cycrow, thanks again for this, and everything you've contributed to in the X universe over the years.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Cycrow Moderator (Script&Mod)


Joined: 15 Nov 2004 Posts: 19848 on topic Location: London

|
Posted: Mon, 29. Apr 13, 18:19 Post subject: |
|
|
i will hopefully get some linux make files sorted at some point. The code should in theory compile, maybe needing some minor changes.
The old version did work fine in code::blocks, but i've not tried the latest yet
_________________ My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
adrianx
Joined: 24 Apr 2011 Posts: 20 on topic

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Roger L.S. Griffiths


Joined: 12 Mar 2004 Posts: 5731 on topic Location: United Kingdom

|
Posted: Tue, 30. Apr 13, 18:28 Post subject: |
|
|
How about a Java version so that it can run compiled on ANY platform (inc. MacOS X - Windows and Linux user myself)
_________________ Roger (aka [SRK] Mr^Rabbit)
"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55
"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb
"How do you eat an elephant? One bite at a time." - Unknown |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Cycrow Moderator (Script&Mod)


Joined: 15 Nov 2004 Posts: 19848 on topic Location: London

|
Posted: Tue, 30. Apr 13, 18:34 Post subject: |
|
|
| Roger L.S. Griffiths wrote: |
| How about a Java version so that it can run compiled on ANY platform (inc. MacOS X - Windows and Linux user myself) |
Well the source code is written in c++ without any specific API's, so in theory should compile in any OS already.
it just doesn't have the make files/projects setup to auto compile in each OS.
besides, im not a fan of java and im not sure it'll be all that easy to convert the lzma/7zip routines and file handling needed.
i think the makefiles will take me considerably less time than rewriting the whole thing in java. But currrently simply dont even have the spare time to do that
_________________ My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
ZyanKLee
Joined: 12 Dec 2007 Posts: 10 on topic

|
Posted: Mon, 6. May 13, 08:20 Post subject: |
|
|
I got some small patch for you. It's just some minor fix because of the case-sensitivity in linux:
--seebelowfornewlink--
EDIT: new paste, fixed some more of those case-cases. http://paste.ubuntu.com/5637689/
EDIT 2:
when doing "make" I see the following warnings/errors:
http://paste.ubuntu.com/5637712/
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Cycrow Moderator (Script&Mod)


Joined: 15 Nov 2004 Posts: 19848 on topic Location: London

|
Posted: Mon, 6. May 13, 17:50 Post subject: |
|
|
most of the errors are down to the stl it seams.
string, fstream, sstream map, vector, iostream are all from stl so they should be available on your system
_________________ My Scripts | MY X3TC Scripts | X3 Plugin Manager | Custom Gui |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|