Game Editor Source Code

Questions, comments and discussion about the Game Editor development.

Re: Game Editor Source Code

Postby Murd-Machine[_] » Mon Oct 27, 2008 6:58 pm

Makslane, do you plan to show us a precompiled version?
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Re: Game Editor Source Code

Postby makslane » Mon Oct 27, 2008 7:19 pm

I plan release the official versions.
The code can change every day, so, without a automatic build, is better get the code and compile by yourself.
If I get a automatic build server, I will can relase builds every night. But not now.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby Murd-Machine[_] » Mon Oct 27, 2008 10:03 pm

:o That's impressive technology! (I mean an automatic build server) Can hardly wait for it.
So, when approxamately next official version is comming out?
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Re: Game Editor Source Code

Postby makslane » Mon Oct 27, 2008 10:17 pm

I've no idea.
Look what need to be done here:
http://code.game-editor.com/report/1
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby eyecreate » Sun Nov 02, 2008 5:42 pm

I tried to compile the source code, but eventually got errors when it tried to build the editor itself. Idk what the errors are because, unlike usually, the linker spit out no info except alot of undefined references. Is this known issue or is something wrong? I tried building this on ubuntu 8.04 64 bit(with changes) and ubuntu studio 8.04 32 bit.
eyecreate
 
Posts: 19
Joined: Sun Nov 02, 2008 5:36 pm
Score: 0 Give a positive score

Re: Game Editor Source Code

Postby makslane » Sun Nov 02, 2008 10:45 pm

I've compiled on the Linux (mandrake version) and there is no errors.
Make sure you have the last version of the code, and type make.

If you still getting errors, on Ubuntu, I will appreciate if anyone send a fix to it.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby eyecreate » Sun Nov 02, 2008 11:05 pm

i will try a virtual machine of Mandrake and then see, what version is it?
eyecreate
 
Posts: 19
Joined: Sun Nov 02, 2008 5:36 pm
Score: 0 Give a positive score

Re: Game Editor Source Code

Postby makslane » Sun Nov 02, 2008 11:22 pm

10
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby eyecreate » Mon Nov 03, 2008 2:53 pm

I couldn't get the svn client to work on madndrake, so I couldn't test it. In case this helps, I'm posting the output of gcc when linking

Code: Select all
gcc ../output//AboutDlg.o ../output//ActorProperty.o ../output//ActorText.o ../output//AddActionDialog.o ../output//AddActor.o ../output//AddPathDialog.o ../output//AddSequenceDialog.o ../output//BaseAction.o ../output//CDataFile.o ../output//ChangeAnimation.o ../output//ChangeAnimationDirection.o ../output//ChangeCursor.o ../output//ChangeParent.o ../output//ChangePath.o ../output//ColorPicker.o ../output//ConditionalAction.o ../output//Config.o ../output//CreateActor.o ../output//CreateTimer.o ../output//CreateVar.o ../output//DestroyActor.o ../output//DestroyTimer.o ../output//DlgActivationEvent.o ../output//DlgAnimationFinish.o ../output//DlgCollision.o ../output//DlgGeneralEvent.o ../output//DlgMouseButton.o ../output//DlgPocketPCKey.o ../output//DlgTimer.o ../output//EditSequenceDialog.o ../output//EnableDisable.o ../output//EventControl.o ../output//EventKeyDown.o ../output//ExportGame.o ../output//ExpressionEditor.o ../output//GameSettings.o ../output//GridSettings.o ../output//FunctionPanel.o ../output//jdiff.o ../output//LoadSave.o ../output//LoadSaveGame.o ../output//LoadSaveScript.o ../output//main.o ../output//MainPanel.o ../output//MoveTo.o ../output//NewTimer.o ../output//PathDialog.o ../output//PhysicalBounce.o ../output//PlaySong.o ../output//ScriptGlobals.o ../output//SDL_ttf.o ../output//SetTile.o ../output//SetTileSingle.o ../output//SetZDepth.o ../output//ToAnteriorPosition.o ../output//ToMousePosition.o ../output//Transparency.o ../output//Tutorial.o ../output//TutorialControlPanel.o ../output//TutorialPaint.o ../output//TutorialTextEditor.o ../output//TutorialTextPanel.o ../output//UndoControl.o ../output//VariableEditor.o ../output//WaitForFrame.o  -o "../output/editor/gameEditor" ../output/gameEngine/gameEngine.a ../output/SDL_mixer.a ../output/eic/eiclib.a ../output/engine/engine.a ../output/mikmod.a ../output/native_midi.a ../output/SDL_image.a ../output/jpeg.a ../output/libpng.a ../output/zlib.a ../output/freetype.a ../output/RakNet/RakNet.a ../output/sdl.a -lstdc++ -lpthread /usr/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libXext.so.6 -I"../SDL/SDL_ttf/VisualC/FreeType/include" -I"../SDL/SDL_mixer" -I"../SDL/SDL/include" -I"../SDL/SDL_image" -I"../gameEngine"  -I"../kyra"  -I"../gameEngine/EiC/src" -D__linux -Dlinux -D__linux__ -DLINUX_I386    -DNO_STDIO_REDIRECT -DNO_LONG_LONG -DNO_DIRENT -DNO_FCNTL -DNO_STAT -DNO_UNISTD -DNO_TERMIOS -DNO_PIPE -DNO_POSIX -DNO_LONGLONG -DNO_HISTORY -s -Os 
../output/eic/eiclib.a(stdio.o): In function `eic_tmpnam':
stdio.c:(.text+0x27a): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../output/engine/engine.a(tinyxml.o): In function `TiXmlDocument::LoadFromBuffer(char*, int)':
tinyxml.cpp:(.text+0xd6a): warning: the `gets' function is dangerous and should not be used.
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::InitializeSecurity(char const*, char const*, char const*, char const*)':
RakPeer.cpp:(.text+0x1eb6): undefined reference to `RSACrypt::setPrivateKey(unsigned int const*, unsigned int const*, int)'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::RakPeer()':
RakPeer.cpp:(.text+0x2034): undefined reference to `RSACrypt::RSACrypt()'
RakPeer.cpp:(.text+0x222c): undefined reference to `RSACrypt::~RSACrypt()'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::SecuredConnectionConfirmation(RakPeer::RemoteSystemStruct*, char*)':
RakPeer.cpp:(.text+0x4101): undefined reference to `RSACrypt::RSACrypt()'
RakPeer.cpp:(.text+0x4283): undefined reference to `RSACrypt::setPublicKey(unsigned int const*, int, unsigned int)'
RakPeer.cpp:(.text+0x4296): undefined reference to `RSACrypt::encrypt(unsigned int*, unsigned int const*)'
RakPeer.cpp:(.text+0x4361): undefined reference to `RSACrypt::~RSACrypt()'
RakPeer.cpp:(.text+0x4373): undefined reference to `RSACrypt::~RSACrypt()'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::SecuredConnectionResponse(SystemAddress)':
RakPeer.cpp:(.text+0x446b): undefined reference to `RSACrypt::getPublicExponent()'
RakPeer.cpp:(.text+0x447f): undefined reference to `RSACrypt::getPublicModulus(unsigned int*)'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::~RakPeer()':
RakPeer.cpp:(.text+0x4b8f): undefined reference to `RSACrypt::~RSACrypt()'
RakPeer.cpp:(.text+0x4bb5): undefined reference to `RSACrypt::~RSACrypt()'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::~RakPeer()':
RakPeer.cpp:(.text+0x4dcd): undefined reference to `RSACrypt::~RSACrypt()'
RakPeer.cpp:(.text+0x4df3): undefined reference to `RSACrypt::~RSACrypt()'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::~RakPeer()':
RakPeer.cpp:(.text+0x5003): undefined reference to `RSACrypt::~RSACrypt()'
../output/RakNet/RakNet.a(RakPeer.o):RakPeer.cpp:(.text+0x5029): more undefined references to `RSACrypt::~RSACrypt()' follow
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::RunUpdateCycle()':
RakPeer.cpp:(.text+0x6315): undefined reference to `RSACrypt::decrypt(unsigned int*, unsigned int const*)'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::RakPeer()':
RakPeer.cpp:(.text+0x79b2): undefined reference to `RSACrypt::RSACrypt()'
RakPeer.cpp:(.text+0x7baa): undefined reference to `RSACrypt::~RSACrypt()'
../output/RakNet/RakNet.a(RakPeer.o): In function `RakPeer::InitializeSecurity(char const*, char const*, char const*, char const*)':
RakPeer.cpp:(.text+0x1e69): undefined reference to `RSACrypt::generatePrivateKey(unsigned int)'
collect2: ld returned 1 exit status
make[1]: *** ["../output/editor/gameEditor"] Error 1
make[1]: Leaving directory `/home/eyecreate/gameeditor/gameEditor'
make: *** [all] Error 2
eyecreate
 
Posts: 19
Joined: Sun Nov 02, 2008 5:36 pm
Score: 0 Give a positive score

Re: Game Editor Source Code

Postby makslane » Mon Nov 03, 2008 9:48 pm

Is not a problem with the ubuntu.
The problem is the new version of the RakNet (3.301)
I've updated the code to use the RakNet 3.301.

Please, get the last code version and try again.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby eyecreate » Mon Nov 03, 2008 10:22 pm

I now get a binary, but it segfaults on both ubuntu versions.


This is the output of gdb:
Code: Select all
eyecreate@ubuntu:~/gameeditor/output/editor$ gdb ./gameEditor
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
(gdb) start
Function "main" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n

Starting program: /home/eyecreate/gameeditor/output/editor/gameEditor
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0x7f6d865fa6f0 (LWP 16339)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0x41e47950 (LWP 16342)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f6d865fa6f0 (LWP 16339)]
0x000000000059254c in ?? ()
(gdb) backtrace
#0  0x000000000059254c in ?? ()
#1  0x0000000000525db0 in ?? ()
#2  0x00000000004dbfbd in ?? ()
#3  0x000000000048c9be in ?? ()
#4  0x000000000048dcba in ?? ()
#5  0x000000000051b5e2 in ?? ()
#6  0x000000000051bfce in ?? ()
#7  0x000000000051c02e in ?? ()
#8  0x00007f6d854851c4 in __libc_start_main () from /lib/libc.so.6
#9  0x0000000000407219 in ?? ()
#10 0x00007fff8e62dab8 in ?? ()
#11 0x0000000000000000 in ?? ()
eyecreate
 
Posts: 19
Joined: Sun Nov 02, 2008 5:36 pm
Score: 0 Give a positive score

Re: Game Editor Source Code

Postby makslane » Mon Nov 03, 2008 11:20 pm

Copy the contents of the directory gameEditor/res to output/editor (or to the directory thats have the gameEditor executable)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby eyecreate » Tue Nov 04, 2008 12:40 am

wow..that made me feel stupid. Yeah, that was it. That means I successfully compiled gameeditor for 32/64 bit ubuntu. Thanks for the help makslane! I also had to make a bunch of code changes to get it to compile under the newest gcc(needed on both 32 and 64 bit ubuntu) and changes to use 64 bit vars on 64 bit ubuntu.(U64 instead of U32, long instead of int). If you want more info so you can compile gameeditor yourself, just ask me.
eyecreate
 
Posts: 19
Joined: Sun Nov 02, 2008 5:36 pm
Score: 0 Give a positive score

Re: Game Editor Source Code

Postby makslane » Tue Nov 04, 2008 10:40 am

Be careful before change the variables types.
Some structs must be the same size and alignment across all platforms supported by Game Editor.
Look here:

http://code.game-editor.com/browser/tru ... tAlign.txt
http://code.game-editor.com/browser/tru ... ctSize.txt
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3945
Joined: Sat Apr 05, 2003 6:47 pm
Score: 178 Give a positive score

Re: Game Editor Source Code

Postby eyecreate » Tue Nov 04, 2008 12:49 pm

Sorry, I'm not a vet coder for C++ so I don''t know everything. So I don't know what to do with the tables in the .txt files you posted. I only changed any vars that threw up an error on my 64bit machine to u64, so not all were changed.
eyecreate
 
Posts: 19
Joined: Sun Nov 02, 2008 5:36 pm
Score: 0 Give a positive score

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest