Destructible blocks

Source Code and development in general from a technical point of view. Post Patches here.

Moderator: SMC Team

Re: Destructible blocks

Postby smc_gamer » 20 Dec 2010 21:45

Do you run Windows or Linux?

If Linux:
http://www.linuxforums.org/articles/usi ... ch_80.html
The basic guide to the patch command.
You'll then have to recompile the source code, which might be a bit difficult.

If Windows:
GNU for Win32 Patch Command
The Windows version of patch. The binaries should get you started.
You'll then have to recompile the source code, which is much harder on Windows.

Please don't hesitate to ask further questions. :bshroom:
smc_gamer
Blog | "If good things lasted forever, would we appreciate how precious they are?" -Hobbes
User avatar
smc_gamer
Static Saw
Static Saw
 
Posts: 245
Joined: 15 Aug 2010 13:49
Location: United States

Re: Destructible blocks

Postby DevEd2 » 22 Jan 2011 00:25

A BIT difficult?!?!! >:-O I cannot compile it from source at all!!!
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby smc_gamer » 22 Jan 2011 02:10

And it's much, much harder on a Mac. :mrgreen:
What is the specific problem?
smc_gamer
Blog | "If good things lasted forever, would we appreciate how precious they are?" -Hobbes
User avatar
smc_gamer
Static Saw
Static Saw
 
Posts: 245
Joined: 15 Aug 2010 13:49
Location: United States

Re: Destructible blocks

Postby DevEd2 » 22 Jan 2011 21:48

The PROBLEM is that I can't write to /usr/local/include so that SMC will compile without an error! THAT's the problem.
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby smc_gamer » 22 Jan 2011 23:24

Unless you're admin, I don't think there is much of a way around it.
smc_gamer
Blog | "If good things lasted forever, would we appreciate how precious they are?" -Hobbes
User avatar
smc_gamer
Static Saw
Static Saw
 
Posts: 245
Joined: 15 Aug 2010 13:49
Location: United States

Re: Destructible blocks

Postby mrvertigo27 » 23 Jan 2011 10:46

use a linux vm from a portable version of virtual box on a usb drive. problem solved and you'll have admin on the vm.
I'm A YouTube Gaming Commentator https://www.youtube.com/user/Spitfire25565
User avatar
mrvertigo27
SMC Team
SMC Team
 
Posts: 2316
Joined: 20 Aug 2009 16:10
Location: the state of insanity

Re: Destructible blocks

Postby DevEd2 » 23 Jan 2011 18:42

I already have admin on a Mac OS X 10.1.4 PearPC virtual machine. Also, due to my "no admin problem", I can't install VirtualBox (so I use QEMU ;) ).

EDIT: I have also run into some caveats while trying to install Debian under QEMU, so I am booting it off the live CD where there is no admin password (unless you have the GNUSTEP Live CD :P ).
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby Luiji » 23 Jan 2011 22:15

I wish GNUStep wasn't so ugly....
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Luiji
MVP
MVP
 
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom

Re: Destructible blocks

Postby DevEd2 » 24 Jan 2011 00:18

^^ Yeah, I know. But it uses the same API as Mac OS X. (emphasis on "same api as".)
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby penguin » 26 Jan 2011 23:06

DevEd2 wrote:The PROBLEM is that I can't write to /usr/local/include so that SMC will compile without an error! THAT's the problem.

Go into terminal and (even though I don't know much about Mac OS X"
1. Terminal
2. type "su"
3. compile

Hopefully that'll help.
my wiki page
I may disappear for a long time, but trust me, I'm still alive.
User avatar
penguin
Turtle boss
Turtle boss
 
Posts: 665
Joined: 14 Nov 2009 14:37
Location: Nebraska

Re: Destructible blocks

Postby DevEd2 » 28 Jan 2011 01:01

I DON'T HAVE THE ADMIN PASSWORD!!!!!!!!!!!!!!!!!!!!!!! >:-O
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby mrvertigo27 » 28 Jan 2011 16:24

[urlhttp://www.associatedcontent.com/article/387884/hack_a_mac_gain_administrator_access.html[/url]

this may be of help
I'm A YouTube Gaming Commentator https://www.youtube.com/user/Spitfire25565
User avatar
mrvertigo27
SMC Team
SMC Team
 
Posts: 2316
Joined: 20 Aug 2009 16:10
Location: the state of insanity

Re: Destructible blocks

Postby DevEd2 » 29 Jan 2011 20:33

Not of any help at all. The administrator has enabled Open Firmware Password protection, so there is NO way I will be able to enter Single-User Mode. Besides, I want to READ the password, not change it. Changing the password would prevent the admin from using sudo (OMG!!!!! :shock) since the password he has is not the correct one.
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby smc_gamer » 29 Jan 2011 22:36

Is this a school or home computer? I'm guessing school.
smc_gamer
Blog | "If good things lasted forever, would we appreciate how precious they are?" -Hobbes
User avatar
smc_gamer
Static Saw
Static Saw
 
Posts: 245
Joined: 15 Aug 2010 13:49
Location: United States

Re: Destructible blocks

Postby -DarkAceZ- » 30 Jan 2011 23:50

DevEd2 wrote:Not of any help at all. The administrator has enabled Open Firmware Password protection, so there is NO way I will be able to enter Single-User Mode. Besides, I want to READ the password, not change it. Changing the password would prevent the admin from using sudo (OMG!!!!! :shock) since the password he has is not the correct one.

Simple solution to ALL your problems! BUY YOUR OWN COMPUTER!!!! :x lol
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1062
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Destructible blocks

Postby DevEd2 » 31 Jan 2011 00:26

NOTHING WILL WORK!!!!!!!!!!!!!!!!!!!!

Number 1: I don't have enough money.
Number 2: See Number 1.
Number 3: My mom won't let me buy my own computer EVEN IF I BRING MONEY!!!!!
Number 4: See Number 1.
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby -DarkAceZ- » 31 Jan 2011 00:37

DevEd2 wrote:NOTHING WILL WORK!!!!!!!!!!!!!!!!!!!!

Number 1: I don't have enough money.
Number 2: See Number 1.
Number 3: My mom won't let me buy my own computer EVEN IF I BRING MONEY!!!!!
Number 4: See Number 1.

Then use hers! lemme guess, she doesn't have one...? Wait, you're telling me, you're at school at 6:30 PM???
User avatar
-DarkAceZ-
Maryo small
Maryo small
 
Posts: 1062
Joined: 28 Oct 2010 17:24
Location: The Level Editor

Re: Destructible blocks

Postby smc_gamer » 31 Jan 2011 03:27

Time zones vary.
smc_gamer
Blog | "If good things lasted forever, would we appreciate how precious they are?" -Hobbes
User avatar
smc_gamer
Static Saw
Static Saw
 
Posts: 245
Joined: 15 Aug 2010 13:49
Location: United States

Re: Destructible blocks

Postby DevEd2 » 31 Jan 2011 12:53

Yeah, my mom has a computer, BUT:
1. It is SLOOOOOOOOOOOOOOOOOOW.
2. I am the only one who has the Developer Tools, and mom won't let me install anything on it.

Sorry! That's the way it goes. :(
User avatar
DevEd2
Turtle boss
Turtle boss
 
Posts: 791
Joined: 30 Nov 2010 22:44
Location: Earth :P

Re: Destructible blocks

Postby Luiji » 31 Jan 2011 20:43

So, wait, what computer are you using to connect here? A school computer? If so, you should probably compile SMC after configuring with "--enable-runinplace", which will allow you to run SMC without compiling it (you will have to run it in the source code root directory and execute "src/smc").
Custom Built IBM-Compatible (Arch Linux w/ KDE)
Dell Vostro (Windows 7)
Dell Inspiron 1440 (Windows Server 2003, Debian w/ KDE)
Dell Inspiron 11z (Linux Mint)
Luiji
MVP
MVP
 
Posts: 2703
Joined: 14 Jan 2010 23:20
Location: The Mushroom Kyngdom

PreviousNext

Return to Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron