home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


General Thread

by Aardappel on 01/05/2002 01:55, 15499 messages, last message: 12/08/2021 21:22, 8826099 views, last view: 12/09/2021 02:38

for questions, announcements etc.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#4739: Re: teh stereo...

by gimikalibur on 08/07/2005 17:42

Hey, stereo sound! awesome!

Would it also fix that the chaingun sound stops sometime while shooting? (using linux here)

Release the new binarys soon, please!!!

reply to this message

#4740: Re: teh stereo...

by Aardappel_ on 08/07/2005 21:29, refers to #4739

I'll do better than that... see another thread.

reply to this message

#4741: ..

by pushplay on 08/08/2005 06:46

When you try "/exec $HOME/blah.cfg" does $HOME get expanded? If so this is a non-issue.

reply to this message

#4742: Re: ..

by pushplay on 08/08/2005 06:47, refers to #4741

Oh, Cube is going to try to expand it as an alias.... Shitty.

reply to this message

#4743: Re: universal servers?

by CC_machine2 on 08/08/2005 09:45, refers to #4715

hello.. why am i being ignored(again...)

if my idea is not possible (see message 4766 of this thread) then someone could have at least said so

i will remember not to express my ideas in future :|

reply to this message

#4744: Ubuntu Server

by Disaster on 08/09/2005 18:00

Can SOmebody help me setup a cube server on my ubuntu box?

reply to this message

#4745: Running a server on lunix

by tyguy98 on 08/09/2005 23:22

How would you go about doing this. I don\'t know anything about lunix btw.

reply to this message

#4746: Re: Ubuntu Server

by kernowyon on 08/10/2005 00:28, refers to #4744

cd to the location where cube is.

./cube_unix -w1024 -h768 -d -nNameOfServer -pYourPassword ( if you want it passworded)

-d is dedicated server - this means the server runs and you can either play or not as well as allowing others to play, -n is name of the server for the information on the available servers list
-w and -h is width and height for the screen.

Then, to join your own server, simply use the menu to connect to localhost. Others join via the /connect your IP address

reply to this message

#4747: application error thingy

by SLJ on 08/10/2005 19:40

i downloaded cube (the 3 arm files from sourceforge) and i put them into one folder, but i try to play ( i clicked on the "cube" exe file, but it says the following:

C:\Documents and Settings\Jake and Peter_2\Desktop\cube.exe is not a valid Win32 application.

i dont know whats wrong (duh) so could someone help me troubleshoot with this??

reply to this message

#4748: ..

by -Rick- on 08/10/2005 19:49

http://prdownloads.sourceforge.net/cube/cube_2004_05_22.tar.gz?download

The ARM files are for a pda.

reply to this message

#4749: Re: Ubuntu Server

by Disaster on 08/10/2005 21:40, refers to #4746

umm i tried that and it doesnt work this is the message i get in my terminal

/usr/local/games/cube/bin_unix/linux_client: error while loading shared libraries: libSDL_image- 1.2.so.0: cannot open shared object file: No such file or directory

reply to this message

#4750: Re: Ubuntu Server

by imDISASTERHOWDOYOULOGIN on 08/12/2005 01:50, refers to #4750

Ok ive got everything installed and im still getting the same error. what do i do now? is there a reason why it wont run on Ubuntu?

reply to this message

#4751: Compile Sauerbraten on Dev-C++

by MooshiToaster on 08/12/2005 12:14

It took me like 12 hours and lots of coffe and coca cola but I finally made it..... please enjoy!

(Done while listening to the new funeral for a friend record, "hours")

- Install Dev-C++ 4.9.9.2
- Update Dev-C++
- Install the following additional packages (actually I did it in a "berserk" mode and some of them

might not be necessary)
* Dev-C++ Help File
* gcc-core
* gcc-g++
* GNU Make
* MinGW runtime
* Windows32 API
* Dev-C++ Map file
* Zlib
* GLFW
* glut
* OpenGLUT
* glui
* freeglut
* Packmaker
* gcc-objc
* binutils
* GNU Debugger
* Allegro (???)
* libbzip2
* Console Level GDI
* GNU C library reference
* GTK (???)
* Image Libraries
* FreeImage
* OpenGL API Reference
* Win32 API Documentation
* glaux
* AllegroGL
* libjpeg
* libpng
* libpixman
* Cairo
* DevIL (OpenIL) Library
* libtiff
- Unpack the sauerbraten_2005_07_04_independence_edition.zip on a folder, for example d:\SB
- Copy the folder D:\SB\sauerbraten\enet in D:\SB\sauerbraten\src\enet
- Copy the *.h files in D:\SB\sauerbraten\src\enet\include\enet to D:\SB\sauerbraten\src\enet
- In Dev-C++ open a new project -> Empty Project (Scroll down!!!) and change the Name to Sauerbraten
- Save a file Sauerbraten.dev in the folder d:\SB\sauerbraten\src
- Go to the Project tab and import the files *.cpp and *.h contained on d:\SB\sauerbraten\src
- In the project folder (IN Dev-C++) add a new folder called ENET
- Add to the folder ENET the *.c and *.h files contained on D:\SB\sauerbraten\src\enet
- Add the following Library Directories on Project Options

- Add the following Include Directories on Project Options
D:\SB\sauerbraten\include
D:\SB\sauerbraten\include\GL

- Make the following changes on the source code:
in cube.h line 497:
#include <enet/enet.h>
to
#include "enet/enet.h"
in enet.h lines from 17 to 25:
#include "enet/win32.h"
#else
#include "enet/unix.h"
#endif

#include "enet/types.h"
#include "enet/protocol.h"
#include "enet/list.h"
#include "enet/callbacks.h"
to
#include "win32.h"
#else
#include "unix.h"
#endif

#include "types.h"
#include "protocol.h"
#include "list.h"
#include "callbacks.h"

in protocol.h line 8:
#include "enet/types.h"
to
#include "types.h"

And now do the same (I hope that you've got the idea) with the files callbacks.c, hosts.c, lists.c,

packet.c, peer.c and protocol.c AND win32.c (I just got kinda lazy....)

- Then you should be able to compile the code, and if everything wentOK, you'll get the following

error:
enet/protocol.c:113: error: invalid conversion from `enet_uint8' to `ENetProtocolCommand'

That can be easily corrected by casting the variable,, so change the line 113 from:
commandNumber = outgoingCommand -> command.header.command;
to
commandNumber = (ENetProtocolCommand) (outgoingCommand -> command.header.command);

(I think that this failure is windows based, because the types are basically the same)

- Then you can complain (err... I mean compile) again and now you should get lots of linker errors.
This is where the thing got funny and took me hours to get it right, and I even got a funny problem

between winmm.dll and glu32.dll .... also the SDL thingy.... damn that was hard ... but you can

solve it by going to:
Project Options -> Parameters -> Additional command line options -> Linker:

../lib.mingw/libenet.a
../lib.mingw/libfmod.a
../lib.mingw/libSDL.a
../lib.mingw/libSDL_image.a
../lib.mingw/libSDL_mixer.a
../lib.mingw/libSDLmain.a
../lib.mingw/libz.a
C:/Dev-Cpp/lib/libglu32.a
C:/Dev-Cpp/lib/libopengl32.a
C:/Dev-Cpp/lib/libopenglut.a
C:/Dev-Cpp/lib/libws2_32.a
C:/Dev-Cpp/lib/libwinmm.a
-lmingw32 -lSDLmain -lSDL -mwindows

!!! NOTE!!! - "C:/Dev-Cpp" is wherever you installed Dev-Cpp

- Ok, now you should be able to compile and link everything, and get a nice "sauerbraten.exe" file,

but it is not over yet!
- Now go to D:\SB\sauerbraten\sauerbraten and copy the following files:
sauerbraten.bat
server.bat
servers.cfg
autoexec.cfg
\data\*.*
\packages\*.*
into

- Edit sauerbraten.bat so that the path to sauerbraten.exe is correct.
- Execute sauerbraten.bat

Voilá!

Regards,

JC

reply to this message

#4752: sorry...

by MooshiToaster on 08/12/2005 12:16

I think I might have posted the message on the wrong thread, apologizes to everyone.

JC

reply to this message

#4753: Stuck on launch

by whereverjustice on 08/13/2005 00:02

Just starting with cube on debian. Works fine under windows (quite enjoyable), but upon startup in linux the gun points down at the ground and the fps meter shows something like -24000.

When I move the mouse, the display reflects that but it is not coordinated with the direction the mouse is moving. When I click the gun will shoot a second or two later.

I have reduced my settings file to minimums for graphics with no effect. I am using the ATI workaround client as I have an ATI mobility radeon 9000. There is no difference if I use the regular client.

reply to this message

#4754: Re: Ubuntu Server

by mumbo$jumbo on 08/15/2005 00:35, refers to #4744

Sure, just post your ip# and root password in this forum and we'll do it for you free of charge ;-) Or you can do like the resto of us did - read the docs.

have phun

reply to this message

#4755: Quake 3 src

by -Rick- on 08/16/2005 00:59

Should be there soon :-)
http://www.shacknews.com/ja.zz?comments=38187

reply to this message

#4756: Real zoom

by rootnis on 08/16/2005 01:02

just another zooming script that uses possibilities of the new "sleep" command
http://cube.snieb.com/node/115

reply to this message

#4757: How to install on Dell Axim X50v?

by Havie on 08/16/2005 09:54

Can anyone tell me what I need to do to install cube and get it running on a X50v?

Have download the main archive and the PDA version (optimised). Copied the lot to the PDA and when I run I get the following message:

Cannot find cube (or one of its components). Make sure the path and filename are correct and allthe required libraries are available.

Thanks in advance for any help.

reply to this message

#4758: Command line to mingw

by snake on 08/16/2005 14:31

Somebody can give me text (command line) for compile Cube source code with mingw. I need just link to makefile.
I got no experience, i use IDE like MSVC.
Read .bat file and paste here!
Thx.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Post a Message

Username

Email

Subject

Body

8 added to 4 is?


content by Aardappel & eihrul © 2001-2021
website by SleepwalkR © 2001-2021
42366571 visitors requested 58072120 pages
page created in 0.085 seconds using 9 queries
hosted by Boost Digital