X Plugin Manager V2.12 : Updated 23/01/2010 *LINUX VERSION AVAILABLE*

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Rate this program

5. Excelant
1986
71%
4. Good
459
16%
3. OK
161
6%
2. Bad
23
1%
1. Terrible
82
3%
- Not really my thing
84
3%
 
Total votes: 2795

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24950
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Wed, 7. Nov 12, 20:29

Packages that give you this error were most-likely created with the Plugin Manager Lite, which is a completely rewrite of the Plugin Manager version you find here in this topic.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:05

not sure if i have the same problem that you have, but i dowloaded the plugin manager, an it say : unable to locate X3.exe/x2.exe o.O? so i tried to ''file/select directory'' i go where i installed it(x86/egosoft/albion prelude(where the .exe file actually IS)and then the ''unable to locate X3.exe/x2.exe''pop up again.I tried every single files in the AP directory/directly in egosoft files(i got TC&AP in egosoft files)and the same message keep popping.in TC i played whit 3 scripts tha i manually installed, so 'am new to the plugin manager for X games, but i already used managers b4 for other games, an its the 1st time i have an issue...any clues?anybody tha already had tha problem would be nice to tell me what is wrong lol cause I cant stand the poor vanilla boarding system :evil:

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24950
Joined: Sun, 2. Apr 06, 16:38
x4

Post by X2-Illuminatus » Thu, 30. May 13, 08:33

You either use the wrong Plugin Manager or you posted in the wrong forum. The Plugin Manager, which you can find in this topic is only for the X games up to X3:R. The new Plugin Manager can be found in the topic linked in my previous post.

Also for future reference, you might want to quote the person, whose problem you share. Otherwise it's not really clear, who you mean, unless you refer to the post directly before yours, which is here obviously not the case.
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten

Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)

Neuauflage der fünf X-Romane als Taschenbuch

The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:33

i erase that part since others had post same issue&this part i solved.if there is a way to erase this comment i don't know how sorry.
Last edited by slevin0006 on Thu, 30. May 13, 09:12, edited 1 time in total.

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:35

**robdoc**seem to have the same problem...sry 'am new to the X's forum :P OH an i dowloaded the link in this forum(1st post) ah ok i just saw ur link, i'll try it now an come back in 10 min to let u know if its working for me

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:55

now 'am trying to ''add a directoy for my AP''i go in ''setting/add directory/egosoft/AP but then the only thing i see is 3 files;profiles, save, save. back.up.ALL are empty.Is it because i can't continue a previous ''vanilla game''whit it an i have to restart a new game OR i did something wrong or i missed something somewhere? o.O if its normal, how do i sync it whit AP? ^^ ty btw for your super fast support lo
**quick update,'am sure to have the good version, i can open my TC whit the manager, but still can't figure out why not the AP**

donbex
Posts: 3
Joined: Thu, 30. May 13, 21:27

Post by donbex » Thu, 30. May 13, 22:15

Hi. I am currently unable to compile the SPK Utils on ArchLinux.

Running 'make' four times in the 'SPKUtil-1.00/src' directory gives

Code: Select all

make -C SPK -f Makefile	
make[1]: Entering directory `/home/bexie/tmp/x3/SPKUtil-1.00/src/SPK'
makedepend --  -- -I. -I../include/ -I/usr/local/include CatFile.cpp File.cpp File_IO.cpp MultiSpkFile.cpp SpkFile.cpp XFile.cpp XspFile.cpp
makedepend: warning:  CatFile.cpp (reading String.h, line 9): cannot find include file "string"
	not in ./string
	not in ../include/string
	not in /usr/local/include/string
	not in /usr/include/string
makedepend: warning:  CatFile.cpp (reading /usr/include/stdio.h, line 33): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/wchar.h, line 51): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/libio.h, line 50): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  CatFile.cpp (reading /usr/include/stdlib.h, line 32): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/sys/types.h, line 146): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/alloca.h, line 24): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  File.cpp (reading /usr/include/unistd.h, line 226): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  File.cpp, line 16: cannot find include file "iostream"
	not in ./iostream
	not in ../include/iostream
	not in /usr/local/include/iostream
	not in /usr/include/iostream
makedepend: warning:  File.cpp, line 17: cannot find include file "fstream"
	not in ./fstream
	not in ../include/fstream
	not in /usr/local/include/fstream
	not in /usr/include/fstream
cc -I. -I../include/ -I/usr/local/include -g -c CatFile.cpp -o CatFile.o
In file included from File.h:76:0,
                 from CatFile.h:1,
                 from CatFile.cpp:1:
String.h: In member function ‘bool String::operator!=(const char*)’:
String.h:100:18: error: ‘strlen’ was not declared in this scope
   if ( strlen(str) != m_s.length() ) return true;
                  ^
String.h: In member function ‘bool String::operator==(const char*)’:
String.h:125:18: error: ‘strlen’ was not declared in this scope
   if ( strlen(str) != m_s.length() ) return false;
                  ^
String.h: In member function ‘bool String::Compare(const char*)’:
String.h:143:18: error: ‘strlen’ was not declared in this scope
   if ( strlen(str) != m_s.length() ) return false;
                  ^
String.h: In member function ‘const int String::ToInt()’:
String.h:152:50: error: ‘atoi’ was not declared in this scope
  const int   ToInt   () { return atoi(m_s.c_str()); }
                                                  ^
String.h: In member function ‘const bool String::ToBool()’:
String.h:153:51: error: ‘atoi’ was not declared in this scope
  const bool  ToBool  () { return (atoi(m_s.c_str())) ? true : false; }
                                                   ^
String.h: In member function ‘const long int String::ToLong()’:
String.h:154:50: error: ‘atoi’ was not declared in this scope
  const long  ToLong  () { return atoi(m_s.c_str()); }
                                                  ^
String.h: In member function ‘const float String::ToFloat()’:
String.h:155:57: error: ‘atof’ was not declared in this scope
  const float ToFloat () { return (float)atof(m_s.c_str()); }
                                                         ^
String.h: In member function ‘const double String::ToDouble()’:
String.h:156:52: error: ‘atof’ was not declared in this scope
  const double ToDouble () { return atof(m_s.c_str()); }
                                                    ^
String.h: In static member function ‘static String String::Number(long int)’:
String.h:171:88: error: ‘sprintf’ was not declared in this scope
  static String Number ( const long num ) { char c[SPRINTBUFFER]; SPRINTF(c,"%ld"), num ); return std::string(c); }
                                                                                        ^
String.h: In member function ‘String& String::FromInt(long int)’:
String.h:173:88: error: ‘sprintf’ was not declared in this scope
  String &FromInt    ( const long   str ) { char c[SPRINTBUFFER]; SPRINTF(c,"%ld"), str ); m_s = std::string(c); return (*this); }
                                                                                        ^
In file included from File.h:76:0,
                 from CatFile.h:1,
                 from CatFile.cpp:1:
String.h: In member function ‘String& String::FromFloat(float, int)’:
String.h:182:29: error: ‘sprintf’ was not declared in this scope
      SPRINTF(c,"%.0f"), str ); 
                             ^
String.h:208:25: error: ‘sprintf’ was not declared in this scope
    SPRINTF(c,"%f"), str ); 
                         ^
String.h: In member function ‘std::basic_string<char>::size_type String::GetNextPos(char*, std::basic_string<char>::size_type)’:
String.h:329:28: error: ‘strlen’ was not declared in this scope
   size_t max = strlen(token);
                            ^
String.h: In member function ‘String String::GetToken(char*, int, int)’:
String.h:393:29: error: ‘strlen’ was not declared in this scope
    size_t max = strlen(token);
                             ^
String.h: In member function ‘String String::GetEndOfLine(FILE*, int*, bool)’:
String.h:847:23: error: ‘fgetc’ was not declared in this scope
   char c = fgetc ( id );
                       ^
String.h:851:33: error: ‘feof’ was not declared in this scope
   while ( (c != 13) && (!feof(id)) && (c != '\n') )
                                 ^
String.h: In member function ‘int String::ConvertEquationSection(String)’:
String.h:887:21: error: ‘atoi’ was not declared in this scope
     int n = atoi(num);
                     ^
String.h: In member function ‘int String::ConvertEquation()’:
String.h:933:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   size_t endpos = n.GetNextPos ( ")", 0 ), pos; 
                                         ^
String.h:951:35: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    endpos = n.GetNextPos ( ")", 0 );
                                   ^
CatFile.cpp: In member function ‘bool CCatFile::WriteCatFile()’:
CatFile.cpp:353:43: error: ‘memcpy’ was not declared in this scope
  memcpy ( data, cat.c_str(), cat.Length() );
                                           ^
CatFile.cpp: In member function ‘bool CCatFile::CheckExtensionPck(String)’:
CatFile.cpp:364:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                 ^
CatFile.cpp:364:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                   ^
CatFile.cpp: In member function ‘bool CCatFile::CheckPackedExtension(String)’:
CatFile.cpp:380:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                 ^
CatFile.cpp:380:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                   ^
CatFile.cpp: In member function ‘bool CCatFile::AppendFile(String, String, bool)’:
CatFile.cpp:414:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   return WriteFromCat ( filename.GetToken ( "::", 1, 1 ), filename.GetToken ( "::", 2, 2 ) );
                                                        ^
CatFile.cpp:414:90: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   return WriteFromCat ( filename.GetToken ( "::", 1, 1 ), filename.GetToken ( "::", 2, 2 ) );
                                                                                          ^
CatFile.cpp: In member function ‘bool CCatFile::ExtractFile(String, String)’:
CatFile.cpp:614:70: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String todir = tofile.GetToken ( "\\", 1, tofile.NumToken('\\') - 1 );
                                                                      ^
CatFile.cpp: In function ‘unsigned char* CompressPCKData(unsigned char*, size_t, size_t*, size_t)’:
CatFile.cpp:693:33: error: ‘memcpy’ was not declared in this scope
  memcpy(d, &mtime, sizeof(mtime));
                                 ^
CatFile.cpp:700:27: error: ‘memset’ was not declared in this scope
  memset(&zs, 0, sizeof(zs));
                           ^
CatFile.cpp:708:10: warning: converting ‘false’ to pointer type ‘unsigned char*’ [-Wconversion-null]
   return false;
          ^
CatFile.cpp: In function ‘unsigned char* PCKData(unsigned char*, size_t, size_t*)’:
CatFile.cpp:778:45: error: ‘memcpy’ was not declared in this scope
   memcpy ( finalData + 1, newdata, *newsize );
                                             ^
make[1]: *** [CatFile.o] Error 1
make[1]: Leaving directory `/home/bexie/tmp/x3/SPKUtil-1.00/src/SPK'
make: *** [SPK/libspk.a] Error 2
I had to run it four times to get the above result, since previously compilation stops with errors like

Code: Select all

make[1]: *** No rule to make target `/usr/include/stddef.h', needed by `crc32.o'.  Stop.
make[1]: Leaving directory `/home/bexie/tmp/x3/SPKUtil-1.00/src/SPK/zlib'
which get resolved on the successive run.

This could possibly be an issue with porting code from Windows to Linux, as this blog post seems to suggest.

donbex
Posts: 3
Joined: Thu, 30. May 13, 21:27

Post by donbex » Fri, 7. Jun 13, 21:05

Sorry for the double post, but it seems better, since I'm "closing" by own bug report.

I fixed the 'makedepend' warnings by switching to gcc's own dependency processor. Furthermore, even though I just have a cursory knowledge of C and no C++ knowledge at all, I think I've been able to clear the compilation errors, too. There are still some warnings, but I'm not sure about how to work them out. Finally, I tried to clean up a bit the makefiles, although they probably could use a bit more of love.

Anyway, I've put the result of my efforts in a GitHub repository. I hope this is fine with you.

@Cycrow: By the way, you should probably choose how to licence your code (e.g. with the GPL or BSD licence) and distribute a LICENCE file along with it. Just my 2c. :P

Raider480
Posts: 190
Joined: Fri, 30. Jul 10, 05:32
x4

Post by Raider480 » Sun, 16. Jun 13, 01:15

Nice job with the fork donbex. I think the only compile warnings I'm getting are about deprecated conversions from a string literal, but that can easily be solved with strcpy(). I could do a quick pull if you give me access; my GitHub username is also Raider480.

How far can work on this older codebase get though? We still don't have utilities for actually managing plugins on Linux, which means we have to use fake patches. Did Cycrow release the Plugin Manager Lite source code? I have moderate experience in C and C++, so I could at least try to help porting it.

donbex
Posts: 3
Joined: Thu, 30. May 13, 21:27

Post by donbex » Sun, 16. Jun 13, 11:44

Raider480 wrote:Nice job with the fork donbex. I think the only compile warnings I'm getting are about deprecated conversions from a string literal, but that can easily be solved with strcpy(). I could do a quick pull if you give me access; my GitHub username is also Raider480.
Thanks. Yes, those are the only warnings I get, too, although there are quite a bunch of them. Also, I just gave you access to the repo. :D
Raider480 wrote:How far can work on this older codebase get though? We still don't have utilities for actually managing plugins on Linux, which means we have to use fake patches. Did Cycrow release the Plugin Manager Lite source code? I have moderate experience in C and C++, so I could at least try to help porting it.
I don't think he did and I fear that, unless he used a cross-platform GUI toolkit, porting wouldn't be simple.

Rompetroll
Posts: 26
Joined: Tue, 29. Jan 13, 21:32

Post by Rompetroll » Mon, 30. Sep 13, 15:31

Deep sigh :(:(

After installing Makedepend trough xlib-dev pacage, and copying pretty much every headerfile into SPK/ansi7zip/ folder.

i'm just about to give this up.

Plz clean up this code for it to compile propperly under linux or have some assistance doing so.

Code: Select all

$ ./compile.sh 
make -C SPK/zlib -f Makefile
make[1]: Entering directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/zlib'
makedepend --  -- -I. -I../include/ -I/usr/local/include adler32.c compress.c crc32.c deflate.c infback.c inffast.c inflate.c inftrees.c gzio.c trees.c uncompr.c zutil.c
makedepend: warning:  crc32.c (reading zutil.h, line 21): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/features.h, line 324): cannot find include file "bits/predefs.h"
	not in ./bits/predefs.h
	not in ../include/bits/predefs.h
	not in /usr/local/include/bits/predefs.h
	not in /usr/include/bits/predefs.h
makedepend: warning:  crc32.c (reading /usr/include/features.h, line 357): cannot find include file "sys/cdefs.h"
	not in ./sys/cdefs.h
	not in ../include/sys/cdefs.h
	not in /usr/local/include/sys/cdefs.h
	not in /usr/include/sys/cdefs.h
makedepend: warning:  crc32.c (reading /usr/include/features.h, line 389): cannot find include file "gnu/stubs.h"
	not in ./gnu/stubs.h
	not in ../include/gnu/stubs.h
	not in /usr/local/include/gnu/stubs.h
	not in /usr/include/gnu/stubs.h
makedepend: warning:  crc32.c (reading /usr/include/string.h, line 34): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 42): cannot find include file "bits/waitflags.h"
	not in ./bits/waitflags.h
	not in ../include/bits/waitflags.h
	not in /usr/local/include/bits/waitflags.h
	not in /usr/include/bits/waitflags.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 43): cannot find include file "bits/waitstatus.h"
	not in ./bits/waitstatus.h
	not in ../include/bits/waitstatus.h
	not in /usr/local/include/bits/waitstatus.h
	not in /usr/include/bits/waitstatus.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 320): cannot find include file "sys/types.h"
	not in ./sys/types.h
	not in ../include/sys/types.h
	not in /usr/local/include/sys/types.h
	not in /usr/include/sys/types.h
makedepend: warning:  crc32.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/errno.h, line 36): cannot find include file "bits/errno.h"
	not in ./bits/errno.h
	not in ../include/bits/errno.h
	not in /usr/local/include/bits/errno.h
	not in /usr/include/bits/errno.h
makedepend: warning:  crc32.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.h"
makedepend: warning:  crc32.c (reading /usr/include/limits.h, line 145): cannot find include file "bits/posix1_lim.h"
	not in ./bits/posix1_lim.h
	not in ../include/bits/posix1_lim.h
	not in /usr/local/include/bits/posix1_lim.h
	not in /usr/include/bits/posix1_lim.h
makedepend: warning:  crc32.c (reading /usr/include/limits.h, line 149): cannot find include file "bits/posix2_lim.h"
	not in ./bits/posix2_lim.h
	not in ../include/bits/posix2_lim.h
	not in /usr/local/include/bits/posix2_lim.h
	not in /usr/include/bits/posix2_lim.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 36): cannot find include file "bits/types.h"
	not in ./bits/types.h
	not in ../include/bits/types.h
	not in /usr/local/include/bits/types.h
	not in /usr/include/bits/types.h
makedepend: warning:  gzio.c (reading /usr/include/_G_config.h, line 9): cannot find include file "bits/types.h"
	not in ./bits/types.h
	not in ../include/bits/types.h
	not in /usr/local/include/bits/types.h
	not in /usr/include/bits/types.h
makedepend: warning:  gzio.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  gzio.c (reading /usr/include/wchar.h, line 40): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  gzio.c (reading /usr/include/wchar.h, line 42): cannot find include file "bits/wchar.h"
	not in ./bits/wchar.h
	not in ../include/bits/wchar.h
	not in /usr/local/include/bits/wchar.h
	not in /usr/include/bits/wchar.h
makedepend: warning:  gzio.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  gzio.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 165): cannot find include file "bits/stdio_lim.h"
	not in ./bits/stdio_lim.h
	not in ../include/bits/stdio_lim.h
	not in /usr/local/include/bits/stdio_lim.h
	not in /usr/include/bits/stdio_lim.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 850): cannot find include file "bits/sys_errlist.h"
	not in ./bits/sys_errlist.h
	not in ../include/bits/sys_errlist.h
	not in /usr/local/include/bits/sys_errlist.h
	not in /usr/include/bits/sys_errlist.h
makedepend: warning:  gzio.c, line 601: cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
cc    -c -o adler32.o adler32.c
cc    -c -o compress.o compress.c
cc    -c -o crc32.o crc32.c
cc    -c -o deflate.o deflate.c
cc    -c -o infback.o infback.c
cc    -c -o inffast.o inffast.c
cc    -c -o inflate.o inflate.c
cc    -c -o inftrees.o inftrees.c
cc    -c -o gzio.o gzio.c
cc    -c -o trees.o trees.c
cc    -c -o uncompr.o uncompr.c
cc    -c -o zutil.o zutil.c
ar rcs ../libz.a adler32.o compress.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o gzio.o trees.o uncompr.o zutil.o
make[1]: Leaving directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/zlib'
make -C SPK/ansi7zip -f Makefile
make[1]: Entering directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/ansi7zip'
makedepend --  -- -I. -I../include/ -I/usr/local/include 7Decoder.cpp LzmaDecode.cpp
cc -I. -I../include/ -I/usr/local/include -g -c 7Decoder.cpp -o 7Decoder.o
In file included from /usr/include/stdio.h:75:0,
                 from 7Decoder.h:8,
                 from 7Decoder.cpp:1:
/usr/include/libio.h:334:3: error: ‘size_t’ does not name a type
/usr/include/libio.h:338:67: error: ‘size_t’ was not declared in this scope
/usr/include/libio.h:366:62: error: ‘size_t’ has not been declared
/usr/include/libio.h:375:6: error: ‘size_t’ has not been declared
/usr/include/libio.h:497:8: error: ‘size_t’ does not name a type
In file included from 7Decoder.h:8:0,
                 from 7Decoder.cpp:1:
/usr/include/stdio.h:320:35: error: ‘size_t’ has not been declared
/usr/include/stdio.h:326:47: error: ‘size_t’ has not been declared
/usr/include/stdio.h:338:20: error: ‘size_t’ has not been declared
/usr/include/stdio.h:345:10: error: ‘size_t’ has not been declared
/usr/include/stdio.h:387:44: error: ‘size_t’ has not been declared
/usr/include/stdio.h:391:45: error: ‘size_t’ has not been declared
/usr/include/stdio.h:663:11: error: ‘size_t’ has not been declared
/usr/include/stdio.h:666:9: error: ‘size_t’ has not been declared
/usr/include/stdio.h:676:8: error: ‘size_t’ has not been declared
/usr/include/stdio.h:706:8: error: ‘size_t’ does not name a type
/usr/include/stdio.h:712:8: error: ‘size_t’ does not name a type
/usr/include/stdio.h:734:8: error: ‘size_t’ does not name a type
/usr/include/stdio.h:736:8: error: ‘size_t’ does not name a type
In file included from 7Decoder.cpp:1:0:
7Decoder.h:28:56: error: ‘size_t’ has not been declared
7Decoder.h:28:71: error: ‘size_t’ has not been declared
In file included from LzmaDecode.h:40:0,
                 from 7Decoder.cpp:2:
/usr/include/string.h:45:40: error: ‘size_t’ has not been declared
/usr/include/string.h:49:58: error: ‘size_t’ has not been declared
/usr/include/string.h:58:18: error: ‘size_t’ has not been declared
/usr/include/string.h:65:42: error: ‘size_t’ has not been declared
/usr/include/string.h:68:60: error: ‘size_t’ has not been declared
/usr/include/string.h:75:42: error: ‘size_t’ has not been declared
/usr/include/string.h:77:58: error: ‘size_t’ has not been declared
/usr/include/string.h:115:49: error: ‘size_t’ has not been declared
/usr/include/string.h:117:65: error: ‘size_t’ has not been declared
/usr/include/string.h:132:41: error: ‘size_t’ has not been declared
/usr/include/string.h:140:9: error: ‘size_t’ has not been declared
/usr/include/string.h:146:61: error: ‘size_t’ has not been declared
/usr/include/string.h:153:8: error: ‘size_t’ does not name a type
In file included from LzmaDecode.h:40:0,
                 from 7Decoder.cpp:2:
/usr/include/string.h:168:8: error: ‘size_t’ does not name a type
/usr/include/string.h:183:47: error: ‘size_t’ has not been declared
/usr/include/string.h:284:8: error: ‘size_t’ does not name a type
/usr/include/string.h:288:8: error: ‘size_t’ does not name a type
/usr/include/string.h:382:48: error: ‘size_t’ has not been declared
/usr/include/string.h:383:32: error: ‘size_t’ has not been declared
/usr/include/string.h:389:36: error: ‘size_t’ has not been declared
/usr/include/string.h:392:41: error: ‘size_t’ has not been declared
/usr/include/string.h:399:8: error: ‘size_t’ does not name a type
/usr/include/string.h:406:8: error: ‘size_t’ does not name a type
/usr/include/string.h:438:53: error: ‘size_t’ has not been declared
/usr/include/string.h:451:33: error: ‘size_t’ has not been declared
/usr/include/string.h:455:55: error: ‘size_t’ has not been declared
/usr/include/string.h:459:31: error: ‘size_t’ has not been declared
/usr/include/string.h:462:58: error: ‘size_t’ has not been declared
/usr/include/string.h:540:65: error: ‘size_t’ has not been declared
/usr/include/string.h:552:6: error: ‘size_t’ has not been declared
/usr/include/string.h:577:36: error: ‘size_t’ has not been declared
/usr/include/string.h:580:41: error: ‘size_t’ has not been declared
/usr/include/string.h:593:34: error: ‘size_t’ has not been declared
In file included from LzmaDecode.h:42:0,
                 from 7Decoder.cpp:2:
/usr/include/stdlib.h:140:8: error: ‘size_t’ does not name a type
In file included from /usr/include/stdlib.h:320:0,
                 from LzmaDecode.h:42,
                 from 7Decoder.cpp:2:
./sys/types.h:27:9: error: ‘__u16’ does not name a type
./sys/types.h:28:9: error: ‘__u16’ does not name a type
./sys/types.h:29:9: error: ‘__u32’ does not name a type
./sys/types.h:30:9: error: ‘__u32’ does not name a type
./sys/types.h:31:9: error: ‘__u64’ does not name a type
./sys/types.h:32:9: error: ‘__u64’ does not name a type
./sys/types.h:34:9: error: ‘__u16’ does not name a type
./sys/types.h:35:9: error: ‘__u32’ does not name a type
In file included from LzmaDecode.h:42:0,
                 from 7Decoder.cpp:2:
/usr/include/stdlib.h:337:4: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:351:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:352:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:353:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:357:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:361:8: error: ‘int32_t’ has not been declared
/usr/include/stdlib.h:367:4: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:471:22: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:471:37: error: expected ‘,’ or ‘;’ before ‘throw’
/usr/include/stdlib.h:473:22: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:473:38: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:473:51: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdlib.h:474:6: error: expected ‘,’ or ‘;’ before ‘throw’
/usr/include/stdlib.h:485:36: error: ‘size_t’ has not been declared
In file included from /usr/include/stdlib.h:497:0,
                 from LzmaDecode.h:42,
                 from 7Decoder.cpp:2:
/usr/include/alloca.h:33:22: error: ‘size_t’ was not declared in this scope
/usr/include/alloca.h:33:37: error: expected ‘,’ or ‘;’ before ‘throw’
In file included from LzmaDecode.h:42:0,
                 from 7Decoder.cpp:2:
/usr/include/stdlib.h:503:22: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:503:37: error: expected ‘,’ or ‘;’ before ‘throw’
/usr/include/stdlib.h:508:45: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:508:65: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:756:9: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:756:25: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:761:34: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:761:50: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:764:36: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:764:52: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:840:6: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:843:6: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:847:31: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:851:31: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:860:38: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:864:36: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:871:8: error: ‘size_t’ does not name a type
/usr/include/stdlib.h:874:8: error: ‘size_t’ does not name a type
/usr/include/stdlib.h:937:46: error: ‘size_t’ has not been declared
In file included from 7Decoder.cpp:2:0:
LzmaDecode.h:109:70: error: ‘size_t’ has not been declared
LzmaDecode.h:109:85: error: ‘size_t’ has not been declared
In file included from 7Decoder.cpp:2:0:
LzmaDecode.h:109:136: error: ‘size_t’ has not been declared
LzmaDecode.h:109:152: error: ‘size_t’ has not been declared
7Decoder.cpp:8:56: error: ‘size_t’ has not been declared
7Decoder.cpp:8:71: error: ‘size_t’ has not been declared
7Decoder.cpp: In function ‘unsigned char* LZMADecode_C(unsigned char*, int, int*, int*)’:
7Decoder.cpp:13:5: error: ‘size_t’ was not declared in this scope
7Decoder.cpp:13:12: error: expected ‘;’ before ‘inProcessed’
7Decoder.cpp:16:9: error: expected ‘;’ before ‘outSizeProcessedLoc’
7Decoder.cpp:17:9: error: expected ‘;’ before ‘outSize’
7Decoder.cpp:21:62: error: ‘malloc’ cannot be used as a function
7Decoder.cpp:36:3: error: ‘outSize’ was not declared in this scope
7Decoder.cpp:36:23: error: expected ‘)’ before ‘b’
7Decoder.cpp:39:46: error: ‘outSize’ was not declared in this scope
7Decoder.cpp:39:54: error: ‘malloc’ cannot be used as a function
7Decoder.cpp:49:92: error: ‘malloc’ cannot be used as a function
7Decoder.cpp:58:28: error: ‘inProcessed’ was not declared in this scope
7Decoder.cpp:59:30: error: ‘outSizeProcessedLoc’ was not declared in this scope
7Decoder.cpp:61:33: error: expected ‘;’ before ‘outSizeProcessedLoc’
make[1]: *** [7Decoder.o] Error 1
make[1]: Leaving directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/ansi7zip'
make: *** [SPK/lib7.a] Error 2
rm -rf *.o
rm -rf SPK/*.o
rm -rf SPK/*.a
rm -rf SPK/zlib/*.o
rm -rf SPK/ansi7zip/*.o
tux4ever

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Fri, 4. Oct 13, 15:58

i think its more to do with your setup that errors in the code.

afterall, all the errors in your post are not from my own code. I know the Makefile needs work, i've not had time to actually write one. It did work and compile fine in FreeBSD when i did it manually

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Fri, 4. Oct 13, 16:02

donbex wrote:
Raider480 wrote:Nice job with the fork donbex. I think the only compile warnings I'm getting are about deprecated conversions from a string literal, but that can easily be solved with strcpy(). I could do a quick pull if you give me access; my GitHub username is also Raider480.
Thanks. Yes, those are the only warnings I get, too, although there are quite a bunch of them. Also, I just gave you access to the repo. :D
Raider480 wrote:How far can work on this older codebase get though? We still don't have utilities for actually managing plugins on Linux, which means we have to use fake patches. Did Cycrow release the Plugin Manager Lite source code? I have moderate experience in C and C++, so I could at least try to help porting it.
I don't think he did and I fear that, unless he used a cross-platform GUI toolkit, porting wouldn't be simple.
the Plugin Manager Lite was written in .NET, so not much use for linux. Althou it was only the GUI itself, all the work is done via the library.
The latest code for the library is available from my SVN server.

the command line tool that uses the library can do everything the Plugin Manager can do, just without the GUI

nickdyer2000
Posts: 4
Joined: Tue, 23. Apr 13, 17:32

Game files?

Post by nickdyer2000 » Sat, 5. Oct 13, 17:13

I cant Finding my Game Files on my mac, I installed x3 via steam, where are they? all i have is a steam icon in the application content.

User avatar
Helios01
Posts: 203
Joined: Thu, 17. Mar 11, 12:55
xr

Post by Helios01 » Sun, 13. Oct 13, 14:03

The plugin manager has made my Reunion stopped working. I hooked military HUD, cockpit mod and ship boost, but it crashed (yes I had the plugin manager selected through mod selector) everytime I started a new game or a simulator. So I uninstalled all mods, removed them from game files, uninstalled the plugin manager completely, verified integrity of game cache, but still CTD after I start a new game.

And my X3 Reunion icon just turned into this...

Is there any other way of fixing this, than a complete redownload through my very slow net?
"If we do not destroy ourselves, we will one day venture to the stars" - Carl Sagan

Apollo11
Posts: 77
Joined: Fri, 4. Jan 08, 15:42
x3ap

Cannot uninstall

Post by Apollo11 » Sat, 18. Jan 14, 17:47

Cannot remove this program from my computer, please help.

xxx73
Posts: 170
Joined: Wed, 10. Mar 04, 22:16
x3tc

Re: Cannot uninstall

Post by xxx73 » Mon, 20. Jan 14, 18:47

Apollo11 wrote:Cannot remove this program from my computer, please help.
hmm what happened? How did you try to uninstall it?

sirpuma
Posts: 16
Joined: Sat, 9. Oct 04, 19:12
x2

Re: X Plugin Manager V2.12 : Updated 23/01/2010 *LINUX VERSION AVAILABLE*

Post by sirpuma » Sun, 3. Aug 14, 08:27

Cycrow wrote:New Plugin Manager Lite is available
This should work for all games, X2, X3 Reunion and TC and will replace the old plugin manager completly

Thread Here



=======================================
Program: X - Plugin Manager - Scripts/Mods/Wares/Ships
Version: 2.12
Author: Cycrow
=======================================

:idea: NOTE: This is a community developed program - it is not endorsed by Egosoft. :idea:

:arrow: Download Installer: Download : Mirror Download 1 : Mirror Download 2
:arrow: Main Site: www.xpluginmanager.co.uk : Mirror Site 1 : Mirror Site 2 : Mirror Site 3

:arrow: Linux SPK Utils: **link dead** : Mirror Download 1 : **link dead** (Command line tool for using SPK files)

This program allows users to easily install and uninstall scripts.
The scripts need to be in a script package file which is created using the including script packager.

The install also has the ability to add new wares for scripts to use, as well as installing custom ships into the game

For more information, visit the main website, which also includes help and guides to using the program.

The site also includes scripts and ships that you can download

=======================================

NOTES:
* This program will only remove scripts files, but some scripts require more to be properly uninstalled, like removing wares
and ships that might be created from the script. You should look in the readme of the script to find any special instructions
for uninstalling.
* Thanks to doubleshadow for his cat and pck unpacking code

=======================================

FYI for the Linux versions linked above, the first is broken, and the third comes up as a virus site for Windows redirected to "/fixcomputerdownload"dot net which pretends to be a java update.

User avatar
dizzy
Posts: 1019
Joined: Sun, 26. Sep 10, 06:00
x4

Post by dizzy » Wed, 19. Nov 14, 22:49

I love this tool. Coming from the Oblivion modding scene where Wrye Bash is a MUST HAVE to manage the conflicts the installed files, etc having something similar for managing mods/scripts installation with X3 is critical. But I seem to have found a bug with the archive support.

The archive support is a good start but it seems to be making some assumptions which silently break certain mods. For example, I tried to install Pure X V5 (alternative glow version). The mod is very simple and is compatible with almost everything. However, this mod installs certain .jpg files in a directory outside of the screens directory. But for some reason, when activating the mod's archive, Plugin Manager Lite assumed that all .jpg files belong to the screens directory (it completely ignored the original archive directory structure). What was worse is that the tool has no way to list what files were installed for each activated mod so you have no way to debug what is going on, why after activating the mod the files aren't to be found in their expected location in the X3 directory.

After some debugging it seems this tool ignores the archive directory structure and making assumptions where files should be put based on the file extension (and turning out these assumptions are wrong). In order to fix this, I had to create a SPK manually, then add the jpg files that belong outside the screens directory and use "Other" as the type of the file (by default, because they are .jpg they would be considered of type "Screen") which then allowed me to also specify where they should be installed in the game directory.

Suggestion: do not ignore the original archive directory structure and install the files as the archive has them?

And a question about the tool functionality. Does it handle file conflicts and uses plugin ordering for resolving them like Wrye Bash does? I mean, if plugin 1 and plugin 2 install some of the same files, does it decide to let one of the plugins overwrite the files based on the order they are listed in the plugin manager or based on which other order?

Thanks!

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22201
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Tue, 25. Nov 14, 12:29

memeics wrote:I love this tool. Coming from the Oblivion modding scene where Wrye Bash is a MUST HAVE to manage the conflicts the installed files, etc having something similar for managing mods/scripts installation with X3 is critical. But I seem to have found a bug with the archive support.

The archive support is a good start but it seems to be making some assumptions which silently break certain mods. For example, I tried to install Pure X V5 (alternative glow version). The mod is very simple and is compatible with almost everything. However, this mod installs certain .jpg files in a directory outside of the screens directory. But for some reason, when activating the mod's archive, Plugin Manager Lite assumed that all .jpg files belong to the screens directory (it completely ignored the original archive directory structure). What was worse is that the tool has no way to list what files were installed for each activated mod so you have no way to debug what is going on, why after activating the mod the files aren't to be found in their expected location in the X3 directory.

After some debugging it seems this tool ignores the archive directory structure and making assumptions where files should be put based on the file extension (and turning out these assumptions are wrong). In order to fix this, I had to create a SPK manually, then add the jpg files that belong outside the screens directory and use "Other" as the type of the file (by default, because they are .jpg they would be considered of type "Screen") which then allowed me to also specify where they should be installed in the game directory.

Suggestion: do not ignore the original archive directory structure and install the files as the archive has them?

And a question about the tool functionality. Does it handle file conflicts and uses plugin ordering for resolving them like Wrye Bash does? I mean, if plugin 1 and plugin 2 install some of the same files, does it decide to let one of the plugins overwrite the files based on the order they are listed in the plugin manager or based on which other order?

Thanks!
when using archives it will use the current directory first, but if its not in a standard directory, then it will use the file extension to put it in a different place.

It does this because not all archives have the correct directory structure. So either way, it wont work with certain archives.

for conflicts it uses creation dates and version numbers to work out which is the most recent and installs that. Scripts files have imbeded version numbers in them which the plugin manager reads

Post Reply

Return to “X³: Reunion - Scripts and Modding”