Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Community Get Together, Save The Banana!!!

The news hub -- read this stuff first!

Board Rules <-- Please read before posting.
User avatar
Clownfish
Member
Member
Posts: 21
Joined: June 11th, 2009, 5:57 am
Name: Brian Busse
IRC Username: Clownfish
Location: Cincinnati, Ohio, USA
Contact:

Re: Community Get Together, Save The Banana!!!

Post by Clownfish »

John,

I have only setup the SVN on my WinXP machine, so I'm not familiar with this issue. :?

However, it looks like your on a Linux system. What Linux distro are you using?

And in studying the error message, it looks as though you have not compiled your binary files yet.

Come here: http://sandboxgamemaker.com/wiki/index. ... ource_code

I hope this helps.

If it doesn't let me know. ;)

-Clownfish
User avatar
johnno56
Member
Member
Posts: 158
Joined: June 12th, 2009, 4:06 am
Name: John
Location: Melbourne, Australia

Re: Community Get Together, Save The Banana!!!

Post by johnno56 »

Clownfish,

Compiling was my next option. Will give it a try and let you know. I am using Ubuntu 8.04

I have installed a 60gb drive with windows xp for the purpose of doing my wife's on-line tax return. I will try out the SVN version with XP as well and let you know.

Regards

J
May your journey be free of incident.

Live long and prosper.
User avatar
johnno56
Member
Member
Posts: 158
Joined: June 12th, 2009, 4:06 am
Name: John
Location: Melbourne, Australia

Re: Community Get Together, Save The Banana!!!

Post by johnno56 »

Clownfish,

Used TortiseSVN, which installed on XP flawlessly, to download the SVN version of Sandbox. Again, downloaded and installed, without fault,

Followed the compiling instructions.

Downloaded Codeblocks OK. This is where it came unstuck... "Then go into your /src/mingw folder. Click on sandbox.cbp and codeblocks should load up. Go to build and then build and it should create the Windows binary :) "

Problem: No SRC folder and no SANDBOX.CPB file anywhere.... (searched the entire hard drive in case they installed elsewhere)

Regards

J
May your journey be free of incident.

Live long and prosper.
User avatar
Clownfish
Member
Member
Posts: 21
Joined: June 11th, 2009, 5:57 am
Name: Brian Busse
IRC Username: Clownfish
Location: Cincinnati, Ohio, USA
Contact:

Re: Community Get Together, Save The Banana!!!

Post by Clownfish »

Downloaded Codeblocks OK. This is where it came unstuck... "Then go into your /src/mingw folder. Click on sandbox.cbp and codeblocks should load up. Go to build and then build and it should create the Windows binary :) "

Problem: No SRC folder and no SANDBOX.CPB file anywhere.... (searched the entire hard drive in case they installed elsewhere)
For me when I installed the Sandbox SVN version on my WinXP machine I made a folder called 'PAS' in my E: drive.

Here is where my SRC folder is located: E:\PAS\trunk\src

Inside this 'SRC' folder you will notice a folder called: 'vcpp' ... go to this folder.

The whole path will look like this: E:\PAS\trunk\src\vcpp

Inside this folder you will find the 'sandbox.cbp' file you have been looking for.

Open this 'sandbox.cbp' file and choose 'build' then 'build' in the menu. Some times I choose 'build' then 'rebuild' to be sure my binaries are true to the head revision of the code.

Did this help? :)

It looks as though the wiki is incorrect in describing the location of the sandbox.cpb file... I'll update it.

Have a good one mate! :mrgreen:

-Clownfish
User avatar
johnno56
Member
Member
Posts: 158
Joined: June 12th, 2009, 4:06 am
Name: John
Location: Melbourne, Australia

Re: Community Get Together, Save The Banana!!!

Post by johnno56 »

Well done! Located everything and compiled. Compile completed with no errors but with 2 warnings.

Selected Build and Rebuild. Same results. Log displayed below.

Code: Select all

-------------- Build: rpg in Sandbox ---------------

Compiling: ..\rpggame\rpg.cpp
Compiling: ..\rpggame\rpgentities.cpp
In file included from C:\PAS\trunk\src\shared\cube.h:1:
C:\PAS\trunk\src\rpggame\/rpggame.h: In function 'vector<extentity*>& entities::getents()':
C:\PAS\trunk\src\rpggame\/rpggame.h:800: warning: dereferencing type-punned pointer will break strict-aliasing rules
Compiling: ..\rpggame\rpggui.cpp
In file included from C:\PAS\trunk\src\shared\cube.h:1:
C:\PAS\trunk\src\rpggame\/rpggame.h: In function 'void gui::drawspellbook(g3d_gui&, bool)':
C:\PAS\trunk\src\rpggame\/rpggame.h:593: warning: array subscript is below array bounds
Compiling: ..\rpggame\rpgobj.cpp
Compiling: ..\rpggame\rpgrender.cpp
Compiling: ..\rpggame\rpgstubs.cpp
Linking console executable: ..\..\bin\sandbox_rpg.exe
Output size is 1.77 MB
Process terminated with status 0 (1 minutes, 53 seconds)
0 errors, 2 warnings

Sandbox_ssp.exe and Sandbox_fps.exe compiled with no errors or warnings.

Executing any and all Sandbox_xxx.exe's resulted in a message "Could not find core textures"

My bad. Should have run the .bat file instead. SVN runs ok. Noticed in the "Trainmap" a lot of the structures had areas of "no texture".

Regards

J
May your journey be free of incident.

Live long and prosper.
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Community Get Together, Save The Banana!!!

Post by Hirato »

I'm not sure what the warning on line 593 entails really... as i don't go over the limits of the array at all...
beside SI did some stupid inefficient stuff there, so it's hopefully/possibly fixed now
the other I've no diea how to fix

and for linux... first you should be abused for using sudo sh to run the thing! never EVER run stuff as root of you can avoid it.
secondly it's a script for the Bourne Again SHell, not for SHell, so you're meant to run it as such

Code: Select all

./sandbox_unix
This is not a url, clicking it is pointless
User avatar
johnno56
Member
Member
Posts: 158
Joined: June 12th, 2009, 4:06 am
Name: John
Location: Melbourne, Australia

Re: Community Get Together, Save The Banana!!!

Post by johnno56 »

Hirato,

Sorry to confuse you squire. I have created a 60gig Windows XP disc and running SVN from that. Installed SVN on Windows because of compiling difficulties with Linux.

I had also created a Windows disc because my wife needed to do her taxes on-line and the eTax program would not run properly with Wine or Crossover.

Regards

J
May your journey be free of incident.

Live long and prosper.
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Community Get Together, Save The Banana!!!

Post by Mike »

Now that the kids camps are over I want to have more of these :D Take care!
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
Locked