Final Fantasy Hacktics

General => Archives => Tethical => Topic started by: Kivutar on May 12, 2011, 03:49:04 am

Title: Installation instructions
Post by: Kivutar on May 12, 2011, 03:49:04 am
Installation instructions for the testers and gamers (All OSes)

Get the panda3d runtime (http://www.panda3d.org/download.php?runtime&version=devel) for your OS and install it.

Download the game client (http://cv.kivutar.me/tethical/tethical.p3d) and launch it.

In the actual state of the developpement, the server may be offline due to bugs or security issues, find me on the support channel (Kivutar @ #ffh on irc.esper.net) to get the server running.

Installation instructions for the developpers (Windows)

1. Download Tethical's python source code from the version control website (github): Tethical (https://github.com/Kivutar/tethical) (zip is 27.7mb as of this writing).
2. If you have Panda3d installed on your machine, you can run the game by creating .BAT files (Windows command-line batch command files), one for the server program and one for the client program (see below for .BAT set up).
3. If you don't have Panda3d installed, get it from Carnegie Mellon University's website for their Panda3d project: Panda3d Software Development Kit (http://www.panda3d.org/download.php?sdk) (version 1.7.2 @ 84.1mb as of this writing).
5. From this point, you can run the client and server from the installation of Python that comes with Panda3d's SDK:
      1. Navigate to where you unzipped Tethical.
      2. Navigate to the "server" directory.
      3. Create a new file "start.bat".
      4. Paste this into the file:
C:\Panda3D-1.7.2\python\ppython.exe main.py
      5. Copy and paste that file to the "client" directory where you unzipped Tethical.
      6. At this point, place a shortcut to those two .bat files on your desktop (or wherever is convenient to you).
      7. If you want to see errors when they happen (because they cause the program to quit), put "pause" on a the second line of the .BAT files.
6. Open the server (via start.bat).
7. Open the client twice (via the other start.bat).
8. Log in by using the same username and password (a, a, for example; or, b, b, for example).
9. Create a room in one client, join it in the other.

Installation instructions for the developpers (Ubuntu Maverick)

Add the following PPA to your sources.list:

deb http://ppa.launchpad.net/panda3d/ppa/ubuntu maverick main

Install the dependancies

sudo aptitude install panda3d panda3d-runtime libdancer-perl libmodern-perl-perl libjson-perl

Get the source code

git clone git@github.com:Kivutar/tethical.git

Launch the server

cd tethical/server
python main.py


Launch the client

cd tethical/client
python main.py


Natty users should launch the client using python2.6
Title: Re: Installation instructions
Post by: bloodafro on June 09, 2011, 06:36:11 pm
how exactly do I sign up for a user name and password?
Title: Re: Installation instructions
Post by: lirmont on June 09, 2011, 07:28:57 pm
You don't as of 06/09/2011. You just need to enter the same text for username and for password (ex: "user", "user"). Also, "triangle" in the latest version is mapped to "V", space bar is cancel sometimes, and "B" is accept where the enter key doesn't work.
Title: Re: Installation instructions
Post by: bloodafro on June 09, 2011, 07:39:57 pm
awesome, thanks man!!
Title: Re: Installation instructions
Post by: bloodafro on June 09, 2011, 08:16:17 pm
still not working, after I press the connect button it just sits there like I did nothing.
Title: Re: Installation instructions
Post by: lirmont on June 09, 2011, 08:21:15 pm
That's it waiting for another player (you) to join: (1) open another client up, (2) enter a different username/username, and (3) join the game you made.
Title: Re: Installation instructions
Post by: bloodafro on June 09, 2011, 08:33:00 pm
ohhhh shit.  Alright thanks man
Title: Re: Installation instructions
Post by: bloodafro on June 09, 2011, 08:41:57 pm
I can't seem to get it tow work.  : /
Title: Re: Installation instructions
Post by: lirmont on June 09, 2011, 08:54:40 pm
My bad, it sounded like you had managed to get in and make a map. You must run the server application like it says in the first post (or there's nothing to connect to). If you're on Windows, you'll end up with 5 windows open total (1 is the command prompt with the server running in it; 2 are command prompts logging client activity; 2 are the actual windows you play in).
Title: Re: Installation instructions
Post by: Kivutar on June 10, 2011, 02:59:20 am
And for now, you have to create the party with the first client before loging in with the second client. Unless the second client won't see the party.
Take a look at my videos on youtube. On most of them, you will see me launching the server, launching the first client, creating the party, lanching the second client and joining the party.

@lirmont: thanks for the support you are providing.
Title: Re: Installation instructions
Post by: alanai on July 16, 2011, 11:40:42 pm
How do I install? has it changed since the original post or is it still the same?

and also how do I run the other stuff with this. I know how to run python and blender but IDK how to run the actual client.
Title: Re: Installation instructions
Post by: lirmont on July 17, 2011, 03:41:23 am
Are you on Windows? If not, refer to Kivutar's instructions up top. If you are on Windows:

1. Download Tethical's python source code from the version control website (github): Tethical (https://github.com/Kivutar/tethical) (zip is 27.7mb as of this writing).
2. If you have Panda3d installed on your machine, you can run the game by creating .BAT files (Windows command-line batch command files), one for the server program and one for the client program (see below for .BAT set up).
3. If you don't have Panda3d installed, get it from Carnegie Mellon University's website for their Panda3d project: Panda3d Software Development Kit (http://www.panda3d.org/download.php?sdk) (version 1.7.2 @ 84.1mb as of this writing).
5. From this point, you can run the client and server from the installation of Python that comes with Panda3d's SDK:
      1. Navigate to where you unzipped Tethical.
      2. Navigate to the "server" directory.
      3. Create a new file "start.bat".
      4. Paste this into the file:
C:\Panda3D-1.7.2\python\ppython.exe main.py
      5. Copy and paste that file to the "client" directory where you unzipped Tethical.
      6. At this point, place a shortcut to those two .bat files on your desktop (or wherever is convenient to you).
      7. If you want to see errors when they happen (because they cause the program to quit), put "pause" on a the second line of the .BAT files.
6. Open the server (via start.bat).
7. Open the client twice (via the other start.bat).
8. Log in by using the same username and password (a, a, for example; or, b, b, for example).
9. Create a room in one client, join it in the other.
Title: Re: Installation instructions
Post by: Kivutar on July 17, 2011, 06:00:01 am
Thanks lirmont, I edited the first post to add your instructions.
Title: Re: Installation instructions
Post by: MasterGrand on July 31, 2011, 12:52:33 pm
Good job guys :D

can you add guide step by step by screenshot .

Thanks advance
Title: Re: Installation instructions
Post by: trojanb3 on August 19, 2011, 06:30:01 am
if you could upload a youtube video for install it should be good and we all can enjoy it more easy and faster no ?? :D
Title: Re: Installation instructions
Post by: ensignavenger on April 16, 2012, 05:41:21 pm
I am having trouble figuring out how to create a party.  First off, I will mention that I am using Panda 1.8, so if it is incompatible with 1.8, that might be my problem :) Iam on Windows 7, 64 bit.

I launch the server then I launch the client.   I login using a,a; then I get a window that has Party, Creator, and Map across the top, and a button that says Create Party.  Oh goody, I should just click on that button :)  But it doesn't do anything.

Perhaps it just does't work with Panda 1.8.
Title: Re: Installation instructions
Post by: lirmont on April 16, 2012, 06:25:16 pm
It's waiting for a second player to join. Read step 7 and then step 9 of the Windows directions again.

If you expose your server to the internet or your LAN (and configure the application appropriately), you don't have to play against yourself. You can have a friend join and play against you. Party setups are created at random for demonstration purposes at the moment.
Title: Re: Installation instructions
Post by: ensignavenger on April 17, 2012, 01:39:22 pm
Thanks, I thought the instructions meant for me to do somthing to "create a room" but I guess I just open the client?  But it still doesn't seem to be working.  I have attached a screenshot.

As you can see, I have launched the server, I launched 2 clients, and I logged in on both clients.  I still can't click on anything to get past this stage.
Title: Re: Installation instructions
Post by: Kivutar on April 17, 2012, 02:44:36 pm
You have to create a party with the triangle button.
The buttons configuration are in the PRC file in the client.
iirc the default is V or B.
Title: Re: Installation instructions
Post by: ensignavenger on April 17, 2012, 05:54:38 pm
Now a lightbulb just came in on my head :)  So, the input is designed to be used with a game controller, not a mouse?  I kept clicking on the button and nothing was happening!
Title: Re: Installation instructions
Post by: Kivutar on April 18, 2012, 05:39:47 am
Long time ago tethical used to be mouse only. I switched to keyboard mode because FFT for IOS was not released yet and I had no idea of their choices in term of input and GUI. It was safer to stick to the classic game to avoid endless discutions on how to adapt the GUI to the mouse.

Now that I have FFT for IOS, I have to say that I don't like at all how they did it.
Title: Re: Installation instructions
Post by: ensignavenger on April 18, 2012, 10:11:45 am
I finally got it working, sort of.  I had a lot of trouble figuring out the controls.  Of course, I have never played FFT :)  (I was a classic Final Fantasy fan back in the day :)  I am actually quite impressed by what you have accomplished with it so far.  I tried using my Xbox controller, but it did not work- I guess you only have keyboard support right now.

Thanks for the help getting started. 
Title: Re: Installation instructions
Post by: Kivutar on April 18, 2012, 05:09:33 pm
Thanks. You can try joy2key to emulate the joypad support.
Title: Re: Installation instructions
Post by: ArcticPrism on April 18, 2014, 10:45:28 am
The link for the game client doesn't work.

http://cv.kivutar.me/tethical/tethical.p3d

Also, when I tried to join the irc channel to hope to find a test phase eventually it says the channel is invite only. Do I need to sign up to be a tester somewhere?
Title: Re: Installation instructions
Post by: lirmont on April 18, 2014, 12:30:12 pm
That .p3d file is just the files located here wrapped up into a bundle: https://github.com/Kivutar/tethical/ (https://github.com/Kivutar/tethical/)

You'll need the Panda3d Software Development Kit (SDK) and Python 2.7 (though Panda3d's SDK comes with a pre-configured python shell called ppython.exe). That can be found here: http://www.panda3d.org/download.php?sdk (http://www.panda3d.org/download.php?sdk). Python 2.7 can be found here: https://www.python.org/downloads/ (https://www.python.org/downloads/)

The two files you'd want to run (i.e. double-click) are located at /server/main.py and /client/main.py

Note that you may need to make a file like "panda3d.pth" in the Python27 installation folder (or you can put it in /Python27/Lib/site-packages) for Python to find it:
Code (pth file) Select
C:\Panda3D-1.8.1
C:\Panda3D-1.8.1\bin


Thanks.
Title: Re: Installation instructions
Post by: ArcticPrism on April 18, 2014, 02:30:17 pm
Ok, I'll try that. Thanks.

How about the IRC thing?
Title: Re: Installation instructions
Post by: lirmont on April 18, 2014, 09:13:34 pm
The IRC thing and the online demo (which requires running the server as a web application) was something Kivutar was offering back in 2012. He's still tangentially involved in the project, but I think the general lack of interest in such an IRC channel and the online demo may have contributed to his decision not to maintain it. This website (FFH), as far as I understand, is available in part because of him, though, and I've been developing that code since then. There will be a playable tech demo soon, but it will be standalone (rather than something played online).
Title: Re: Installation instructions
Post by: ArcticPrism on April 19, 2014, 04:06:00 am
I noticed that on the Kickstarter page there are several mentions of October 2014 but only $1296 of the $20000 goal was pleged. Was this the planned date for this project to be finished?
Title: Re: Installation instructions
Post by: lirmont on April 19, 2014, 04:36:31 am
Yes, that was my plan. The current plan is cutting that to 1/10th of what I wanted to accomplish, aiming for just $2000, but also providing a playable tech demo related to sRPGs (working on this now (http://ffhacktics.com/smf/index.php?topic=10042.0)), open access for the Kickstarter campaign month to the three tools I've written (the Sprite Animator, Unicode Font Tool, and the Sprite Remixer), a playable demo related to card games (done), and a youtube channel filled with videos that introduce or further explain the claims I make about what the engine can already do (mostly done; https://www.youtube.com/user/lirmont (https://www.youtube.com/user/lirmont)). Assuming that goal is even reached, more things from the original plan will be incorporated as stretch goals are reached. I'm taking longer to do the planning than I originally said I would because I don't want to have any regrets about this next campaign. If it's not successful, I have to walk away from the project and return myself to the job market.

(http://darkabstraction.com/showOff/ffhackticks/conflagration icon/satyr.ci-character-animation-100-Striking-Horizontal-Standing-E.gif) (http://darkabstraction.com/showOff/ffhackticks/conflagration icon/advnt_full.ci-character-animation-100-Striking-Vertical-Standing-W.gif)
Title: Re: Installation instructions
Post by: ArcticPrism on April 19, 2014, 07:04:52 pm
Tethical's future sounding kind of bleak eh? You haven't found anyone that can help you finish it?
Title: Re: Installation instructions
Post by: lirmont on April 19, 2014, 08:57:39 pm
I guess you can consider it bleak. But, the actual project is:
I always wonder how a word like "bleak" can be brought up in the face of Kivutar's year(s) of work and my three years of work on this project. I mean, there are videos clearly showing what it's capable of, right? Programming isn't something that necessarily needs to change over time. Once it's done, it's done. There's just a ton of stuff to do as relates to an sRPG, and I've done most of it, which means all you'd have to do to use my work is configure the engine the way you want to use it (and provide content). That means you've got something like 110,000 lines of code at your disposal when you use the engine. When you use the Sprite Animator to create content, that's 32,000 lines. The Font Tool is 43,000 lines. The Sprite Remixer is 15,500 lines. That's 200,500 lines of programming you don't have to do. This being an engine (rather than a game), isn't that the goal -- to not have to write code? Is that outcome bleak?
Title: Re: Installation instructions
Post by: Lijj on April 20, 2014, 01:11:55 am
Bleak?  Perhaps it'd be nice if Lirmont had a larger team but I wouldn't say this is bleak at all.
Also great info there Lirmont, I like to see such an almost complete list.
Title: Re: Installation instructions
Post by: ArcticPrism on April 20, 2014, 01:48:16 am
Well, maybe I read it wrong. I guess it was just the way you worded your post :p