Magicor game.

Play with your Puppy.
Message
Author
giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#21 Post by giannis4 »

Yes,it is loaded.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#22 Post by Semme »

Then the shell that's opened in magicor-1.1, type: pwd

Does it say we're there?

These files, right?

Code: Select all

drwxr-xr-x 2 ftp ftp 4096 2008-07-08 15:39 etc
-rw-r--r-- 1 ftp ftp 2558 2008-07-08 16:37 INSTALL
-rw-r--r-- 1 ftp ftp 1775 2008-07-08 16:37 LICENSE
drwxr-xr-x 5 ftp ftp 4096 2008-07-08 15:39 magicor
-rw-r--r-- 1 ftp ftp 1408 2008-07-08 16:37 Magicor-LevelEditor.py
-rw-r--r-- 1 ftp ftp 2825 2008-07-08 16:37 Magicor.py
-rw-r--r-- 1 ftp ftp 3602 2008-07-08 16:37 Makefile
-rw-r--r-- 1 ftp ftp 2310 2008-07-08 16:37 README
drwxr-xr-x 2 ftp ftp 4096 2008-07-08 15:39 scripts

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#23 Post by giannis4 »

etc LICENSE Magicor-LevelEditor.py Makefile scripts
INSTALL magicor Magicor.py README
# " ` "
> pwd
>


This is what I have but not exacty as shown in your post.Am I doing something wrong?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#24 Post by Semme »

Does the shell output look the same if you type: ls -l

:wink: Commands are always lowercase unless dealing with items that have CAPS.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#25 Post by giannis4 »

ok,I typed againg make install and I got these now:

drwxr-xr-x 2 ftp ftp 4096 Jul 8 2008 etc
-rw-r--r-- 1 ftp ftp 2558 Jul 8 2008 INSTALL
-rw-r--r-- 1 ftp ftp 1775 Jul 8 2008 LICENSE
drwxr-xr-x 5 ftp ftp 4096 Jul 8 2008 magicor
-rw-r--r-- 1 ftp ftp 1408 Jul 8 2008 Magicor-LevelEditor.py
-rw-r--r-- 1 ftp ftp 2825 Jul 8 2008 Magicor.py
-rw-r--r-- 1 ftp ftp 3602 Jul 8 2008 Makefile
-rw-r--r-- 1 ftp ftp 2310 Jul 8 2008 README
drwxr-xr-x 2 ftp ftp 4096 Jul 8 2008 scripts
# make install
mkdir -p /usr/local/lib/python2.7/site-packages/magicor
cp -fr magicor/* /usr/local/lib/python2.7/site-packages/magicor
cat Magicor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor.conf > /usr/local/games/magicor
/bin/sh: /usr/local/games/magicor: No such file or directory
make: *** [install] Error 1

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#26 Post by Semme »

Type'n enter: mkdir /usr/local/games and rerun: make install

:D I'm on a shoestring here..

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#27 Post by giannis4 »

# mkdir /usr/local/games
# make install
mkdir -p /usr/local/lib/python2.7/site-packages/magicor
cp -fr magicor/* /usr/local/lib/python2.7/site-packages/magicor
cat Magicor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor.conf > /usr/local/games/magicor
cat etc/magicor.conf | python scripts/replacer.py "###SHARE_PATH###" /usr/local/share/magicor > /usr/local/etc/magicor.conf
cat Magicor-LevelEditor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor-editor.conf > /usr/local/games/magicor-editor
cat etc/magicor-editor.conf | python scripts/replacer.py "###SHARE_PATH###" /usr/local/share/magicor > /usr/local/etc/magicor-editor.conf
chmod a+x /usr/local/games/magicor
chmod a+x /usr/local/games/magicor-editor
mkdir -p /usr/local/share/magicor
cp -fr data/* /usr/local/share/magicor
cp: cannot stat ‘data/*’: No such file or directory
make: *** [install] Error 1

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#28 Post by Semme »

Break time.. I'd like to regroup. Maybe later or the next day or so >> unless someone else steps in..

I will however take a closer look.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#29 Post by giannis4 »

Ok thank you very much for your time,take care.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#30 Post by Semme »

Come back in a bit, I believe I've got the next step.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#31 Post by Semme »

Dwnld this and extract into the same directory you dwnldd.

What you'll have is a "usr" directory. Go down into /usr/share/games and leave the magicor directory in ROX.

Open another ROX and drill down to /usr/local/share on Slacko.

From the first, drag the magicor directory into the second >> /usr/local/share.

Rerun: make install
Attachments
magicor_inplace.jpg
(22.1 KiB) Downloaded 323 times
Last edited by Semme on Sun 30 Mar 2014, 23:37, edited 2 times in total.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#32 Post by giannis4 »

ok ready

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#33 Post by Semme »

See my previous post..

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#34 Post by giannis4 »

Did that,here the resault

# make install
mkdir -p /usr/local/lib/python2.7/site-packages/magicor
cp -fr magicor/* /usr/local/lib/python2.7/site-packages/magicor
cat Magicor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor.conf > /usr/local/games/magicor
cat etc/magicor.conf | python scripts/replacer.py "###SHARE_PATH###" /usr/local/share/magicor > /usr/local/etc/magicor.conf
cat Magicor-LevelEditor.py | python scripts/replacer.py "###CONFIG_PATH###" /usr/local/etc/magicor-editor.conf > /usr/local/games/magicor-editor
cat etc/magicor-editor.conf | python scripts/replacer.py "###SHARE_PATH###" /usr/local/share/magicor > /usr/local/etc/magicor-editor.conf
chmod a+x /usr/local/games/magicor
chmod a+x /usr/local/games/magicor-editor
mkdir -p /usr/local/share/magicor
cp -fr data/* /usr/local/share/magicor
cp: cannot stat ‘data/*’: No such file or directory
make: *** [install] Error 1

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#35 Post by Semme »

Tmrw or the next day we'll continue, OK.

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#36 Post by giannis4 »

ok

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#37 Post by slavvo67 »

I'm not sure if you guys noticed but there are Debian packages for Magicor. It lists the dependencies, as well. I hope this helps....



https://packages.debian.org/stable/games/magicor

https://packages.debian.org/stable/games/magicor-data

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#38 Post by Semme »

:D Strugglin here Giannis.. This is on Lucid >> where I had no trouble.
Attachments
magicor_lucid2.jpg
(90.93 KiB) Downloaded 367 times

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#39 Post by giannis4 »

Did you downloaded from PPM?
I ve tried on my own to make it run here in slacko,googled for more information,but nothing,I am confused,I have to say.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#40 Post by Semme »

Yeah, PPM for :( 528. While it's got quite a few deps, I'm looking into the possibility of an sfs pkg.

Getting it to run on Slacko makes me less interested so, don't hold your breath just yet Giannis.

Post Reply