PyTFall > PyTFall: General information

<-- Archived -->

(1/9) > >>

mijh:
Xela: Repository info has been updated. Full project is now on one module.
---------------------------------------------------------------------


Hi there, I wanted to summarise information on how to grab, talk about, or contribute to PytFall.

Development is currently extremely early on, using git on sourceforge. Currently, it is not guaranteed to be stable at any time :)

Running PytFall

To grab pytfall, you will need to install Git.
Then you will need to download and unzip Renpy.

In your renpy folder, right click somewhere, select "Git Bash", and enter this command:


--- Code: ---git clone git://git.code.sf.net/p/sbpytfall/code sbpytfall-code

--- End code ---

This should clone the latest master of PytFall. You can then run Renpy, and select the pytfall game to launch.

To update PytFall, open Git Bash in the pytfall folder and run


--- Code: ---git pull

--- End code ---

Devloping PytFall

PytFall is developed using two separate git repositories, one for the main game code, and one for the game's content / data.

To submit commits to either, you need to know how to use git and how to set it up properly for sourceforge, as well as have an account there. You'll need to use a different git url to the one shown above to be able to push back to sourceforge.

Here is a video on how to quickly set up git to be able to push to sourceforge, at least for windows.

Atlassian have an awesome git tutorial here. For Windows and Mac they also have an excellent gui, here.

You should ask Xela or Mijh about getting development privileges for the project. You can ask to commit to either repository or both, depending on which side of the project you wish to work on. Otherwise you can always hack on it in the meantime and send us a git pull request.

Currently we aim to have the master branch run the game properly.

Discussing project

Apart from giving thoughts in these forums, if you'd like to get immediate feedback or discuss something in real time, we have a chat channel on OFTC IRC server.

You should mention someone's name or /query them (private msg) to notify them when you talk.

Here is a video on how to set up and connect to IRC:

https://www.youtube.com/watch?v=TCdolm7PaFU

Hope to see you on #PytFall :D

Xela:
Nice one, I should add that we also have a dropbox shared folder for submitting content (if anyone wish to help but knows nothing about scripting).

rudistoned:
Sorry for being such a noob, but renpy keeps throwing really weird errors at me.

My goal: run the game, click "Start Game" and not receive a traceback

My platform: Windows 7 64 bit

What I did:


* installed Git 1.8.1.2
* unzipped Ren'Py 6.15.4.320
* cloned the repo using the command provided in the dropbox file
* implemented two commits in the readability branch
* pushed those commits
* changed back  to my local master branch
* executed "git pull" from the pytfall directory
* executed "git submodule update" from the pytfall directory
* deleted all .rpyc files in pytfall folderIf I repeat step 7 now, git pull reports "Already up-to-date". I'm pretty sure my working copy is identical to the latest revision of the master branch in the SF repo. However, when I load the game via "Launch project" in the renpy launcher and when I then click "Start Game" from PytFalls main menu, the game crashes:

--- Code: ---While running game code:
  File "game/script.rpy", line 2, in script
  File "game/script.rpy", line 7, in python
  File "game/library/functions.rpy", line 24, in python
  File "game/library/functions.rpy", line 81, in python
  File "game/library/common.rpy", line 168, in python
AttributeError: 'Brothel' object has no attribute 'init'

--- End code ---

If I then hit "Reload" the game crashes saying:

--- Code: ---While running game code:
  File "game/script.rpy", line 2, in script call
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 5, in script
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 8, in python
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 16, in python
NameError: name 'calendar' is not defined

--- End code ---

What am I doing wrong?


Edit: Forgot one step

Xela:

--- Quote from: rudistoned on June 01, 2013, 09:39:19 PM ---Sorry for being such a noob, but renpy keeps throwing really weird errors at me.

My goal: run the game, click "Start Game" and not receive a traceback

My platform: Windows 7 64 bit

What I did:


* installed Git 1.8.1.2
* unzipped Ren'Py 6.15.4.320
* cloned the repo using the command provided in the dropbox file
* implemented two commits in the readability branch
* pushed those commits
* changed back  to my local master branch
* executed "git pull" from the pytfall directory
* executed "git submodule update" from the pytfall directoryIf I repeat step 7 now, git pull reports "Already up-to-date". I'm pretty sure my working copy is identical to the latest revision of the master branch in the SF repo. However, when I load the game via "Launch project" in the renpy launcher and when I then click "Start Game" from PytFalls main menu, the game crashes:

--- Code: ---While running game code:
  File "game/script.rpy", line 2, in script
  File "game/script.rpy", line 7, in python
  File "game/library/functions.rpy", line 24, in python
  File "game/library/functions.rpy", line 81, in python
  File "game/library/common.rpy", line 168, in python
AttributeError: 'Brothel' object has no attribute 'init'

--- End code ---

If I then hit "Reload" the game crashes saying:

--- Code: ---While running game code:
  File "game/script.rpy", line 2, in script call
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 5, in script
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 8, in python
  File "game/library/screens/pyt - screens - mainscreen.rpy", line 16, in python
NameError: name 'calendar' is not defined

--- End code ---

What am I doing wrong?

--- End quote ---

Not being an expert I can only guess:

1) Still .rpyc files issue.

2) You have not merged origin/master into your local master branch.

rudistoned:
I did delete the rpyc files, but forgot to mention that in my post. Sorry.

AFAIK, the git pull command merges the changes it pulls into the current branch, which was my local master at the time.
When I display the history of my master branch using gitk, the line for the latest revision looks like this:
(yellow dot) - master - remotes/origin/master - Fixed two more bugs

It seems to me the merge was successful.

Any other ideas? I appreciate the help.

Navigation

[0] Message Index

[#] Next page

Go to full version