1
0

Тайлбар байхгүй

heromaster db070e9f16 QSP project file 9 жил өмнө
locations b0610c0109 merged everything from devel and fixed a bug in fighting 9 жил өмнө
.gitignore d1608327d6 first commit 9 жил өмнө
GirlLife_Community (0.2.6).qproj db070e9f16 QSP project file 9 жил өмнө
README.md 99a73765d0 added links to readme 9 жил өмнө
glife.qproj d1608327d6 first commit 9 жил өмнө
glife.txt b0610c0109 merged everything from devel and fixed a bug in fighting 9 жил өмнө
txtmerge.py 4cc4a42a21 fixed a strange bug in 152_sitr caused by a comment, most likely 9 жил өмнө
txtsplit.py 8f183dc5d6 tested that transforming back and forth from qsp to utf-8 text files works (on my machine at least) 9 жил өмнө
userDefineLang.xml 5a88feae51 Notepad++ Syntax highlighting for quest 9 жил өмнө

README.md

glife

Girl Life (ЭТО) [English Community Version] - github edition

Quick start (for Unixy machines)

  • clone/fork the repo
  • make edits to the files in locations
  • run ./txtmerge.py locations glife.txt
  • run wine txt2gam.exe glife.txt glife.qsp
  • test that it works
  • commit your changes
  • push and/or send a pull request

What exactly is all this?

In an effort to make editing the text of Girl Life easier, I set up this repo. This is based on the english community version. There are two branches: master and releases. On the master branch I will keep my version of the game as I make edits, merge pull requests, etc. while the releases is where you'd get things that you expect to actually work.

Where are the images?

Not here. Shouldn't you know this already?

What is glife.txt?

It turns out that glife.qsp is not the friendliest format for this game, but if you use qgen you can export the game in what they call TXT2GAM format. This is how glife.txt is obtained. Note that this is a large text file encoded in UTF-16, so git still has some trouble with it.

What are the python scripts?

Since glife.txt is large and in UTF-16, I wrote two scripts, one that splits this file into one file per location, and puts them in locations after turning them to UTF-8, another that takes the UTF-8 files from locations and generates a UTF-16 file in TXT2GAM format.

I modified something in locations, ran the txtmerge.py script, now what?

Assuming you ran something like

./txtmerge.py locations glife.txt

you now need to turn glife.txt into a qsp file. On my system, I use wine to run txt2gam.exe, works quite well:

wine txt2gam.exe glife.txt glife.qsp

Where do I get qgen and txt2gam.exe?