{ "info": { "author": "Pedro Fern\u00e1ndez", "author_email": "rockersuke@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Trizio2sce\n**********\n\nEnglish instructions below.\n\nTriz2sce versi\u00f3n 1.0.5rc2 190410 (c) 2018 Pedro Fern\u00e1ndez\n\nTrizio2sce.py es un script de Python 3.x que transforma un fichero generado con la utilidad on-line para mapear aventuras Trizbort.io en un c\u00f3digo fuente compatible con el compilador del DAAD. Est\u00e1 basado en Triz2sce, que usa los ficheros XML de la aplicaci\u00f3n de escritorio Trizbort.\nNo es un dise\u00f1ador visual de aventuras ni una aplicaci\u00f3n para su desarrollo completo. Est\u00e1 concebido como herramienta para hacer prototipos iniciales de aventuras con rapidez y facilidad y, a su vez, como herramienta de apoyo a autores n\u00f3veles, ideal para su uso en talleres de aprendizaje.\n\nUso:\n====\n\nUsar \"Python trizio2sce.py -h\" en una linea de comandos o powershell para ver las opciones.\n\nEl script requiere como argumentos un fichero de entrada (que debe ser un mapa generado por la utilidad Trizbort.io en formato json) y, opcionalmente, el nombre de un fichero de salida, que ser\u00e1 un c\u00f3digo fuente en formato .SCE compatible con la versi\u00f3n 2.40-2.42 del compilador del DAAD. Si no se especifica se crear\u00e1 un fichero con el mismo nombre y la extensi\u00f3n .SCE\n\nLa opci\u00f3n -p1 generar\u00e1 un listado SCE con los mensajes del sistema en primera persona. Por defecto \u00e9stos se crear\u00e1n en segunda persona.\nLa opci\u00f3n -e generar\u00e1 un listado SCE con los textos y el vocabulario en ingl\u00e9s. Por defecto se crear\u00e1n en espa\u00f1ol.\nLa opci\u00f3n -md a\u00f1adir\u00e1 c\u00f3digo (de compilaci\u00f3n condicional) para el modo \"dibujo invisible\" en los Amstrad CPC.\n\n- Trizbort.io:\n\n - http://trizbort.io/\n\n- DAAD\n\n - http://wiki.caad.es/DAAD\n - http://www.caad.es/fichas/daad.html\n - http://www.rockersuke.com/if/ebbp/\n - http://8-bit.info/infinite-imaginations-aventuras-ad/\n\n\nHasta el momento parece convertir correctamente:\n\n- Habitaciones, incluyendo sus descripciones y estableciendo la localidad de comienzo.\n- Conexiones comunes por puntos cardinales (N,S,E,O,NE,NO,SE,SO).\n- Conexiones up/down o in/out.\n- Conexiones de una sola direcci\u00f3n.\n- Objetos incluidos en las habitaciones.\n- Localidades marcadas como \"oscuras\".\n\nTrizio2sce a\u00f1ade por su cuenta una barra de estado con el nombre de la localidad actual y el n\u00famero de turnos transcurridos en la aventura.\nTambi\u00e9n a\u00f1ade un listado autom\u00e1tico de salidas y soporte para respuestas por defecto a los comandos \"SALIDAS\", \"MIRAR\",\"EXAMINAR\", \"AYUDA\", \"METER\", \"SACAR\" Y \"VACIAR\". Esto gastar\u00e1 un n\u00famero variable de mensajes en la secci\u00f3n /MTX y las banderas 100 y 101.\n\nTrizio2sce usa los textos del cuadro de di\u00e1logo \"map settings\" como pantalla de presentaci\u00f3n y cr\u00e9ditos (a\u00f1adiendo frases por defecto en caso de que estuviesen vac\u00edos). Crear\u00e1 un texto por defecto de introducci\u00f3n a la aventura editable en el mensaje n\u00ba 14.\n\nA su vez usar\u00e1 el campo \"subtitle\" de cada localidad como texto para su descripci\u00f3n corta en la barra de estado (m\u00e1ximo 26 caracteres). Si no lo hubiera usar\u00e1 el campo \"name\" y si \u00e9ste fuera el elegido por defecto \"Room\" lo cambiar\u00e1 por \"Localidad xx\". A su vez usar\u00e1 el campo \"description\" para la descripci\u00f3n larga de la localidad en la ventana de texto de la aventura (usando de nuevo un texto por defecto \"Descripci\u00f3n localidad xx\" si no encontrase ninguno).\n\nIgualmente, trizio2sce usar\u00e1 el campo \"Name\" de los objetos como su palabra en el vocabulario. El campo \"Description\" se usar\u00e1 en los listados de objetos. Se recomienda usar el mismo nombre con el art\u00edculo indeterminado apropiado seg\u00fan g\u00e9nero y n\u00famero para su \u00f3ptimo procesamiento por el motor del DAAD. Ej: \"Libro\" -> \"Un libro\", \"Gafas\" -> \"Unas gafas\".\nSiguiendo las convenciones del Trizbort original, Trizio2sce buscar\u00e1 las cadenas [w] y [c] en el nombre de los objetos para a\u00f1adirles los atributos ropa y contenedor.\n\nY por el momento trizio2sce no puede manejarse con:\n\n- Textos personalizados en los extremos de las conexiones.\n- Conexiones con puntos intermedios en los espacios del mapa. Cualquier cosa que no sea una conexi\u00f3n directa entre una habitaci\u00f3n y otra la ignorar\u00e1.\n\nBugs conocidos:\n===============\n\n- Debido al comportamiento ligeramente distinto del int\u00e9rprete ingl\u00e9s, intentar meter un objeto contenedor dentro de s\u00ed mismo (o de un objeto inexistente) en una obra inglesa, en lugar de un mensaje de error hace que el jugador deje el objeto en la localidad actual.\n\n- Debido a que los condactos para meter y/o sacar objetos de contenedores usan un \u00fanico mensaje del sistema, es probable que haya disonancias con el n\u00famero (singular/plural) del objeto.\n\nHISTORIA\n========\n\n- **1.0.5** 190410\n\n - Comentarios en el c\u00f3digo fuente sustancialmente mejorados (aunque a\u00fan no definitivos).\n - Soporte para localidades \"oscuras\".\n - Soporte para el modo \"dibujo invisible\" en Amstrad CPC.\n\n- **1.0.4** 190323\n\n - Pleno soporte para objetos ropa y contenedores.\n\n- **1.0.3** 180916\n\n - Arreglado: error en el texto de presentaci\u00f3n por defecto de la aventura.\n\n- **1.0.2** 180911\n\n - Parche para que el contador de turnos pase de 65535 a 0 en lugar de 65200 y algo.\n - Corregido bug que mantiene la localidad inicial a 0 si no se especifica ninguna. Ahora pone por defecto la 1.\n - Comprueba que el t\u00edtulo del juego no sea \"Untitled map\"\n\n- **1.0.1** 180822\n\n - Cambios menores.\n\n- **1.0** 180819\n\n - Lanzamiento inicial.\n \n\n\nTrizio2sce english doc\n**********************\n\nTrizio2sce version 1.0.5rc2 190410 (c) 2018 Pedro Fern\u00e1ndez\n\nTrizio2sce is a Python 3.x script that transforms a file generated with the on-line text-adventure mapping tool Trizbort.io into a source code compatible with the DAAD compilator. It's based in Triz2sce, which uses XML files from the Trizbort desktop application.\nIt's not meant to be either an adventure visual designer or a complete development tool. It's conceived as a fast and easy text-adventura prototyping tool, and also as a supporting tool for novel authors, specially suitable for learning workshops.\n\nUsage:\n======\n\nType \"Python trizio2sce.py -h\" in a command line or powershell window to see the options.\n\nThe script requires as an argument a file (wwhich must be a map generated with the Trizbort.io utility in json format) and, optionally, the name of an output file which will be a SCE formatted source code compatible with version 2.40-2.42 of the DAAD compiler. If it's not specified, a file with the same name and a .SCE extension will be created. \n\nOption -p1 will create a SCE listing with first-person system messages. Default is second-person.\nOption -e will create a SCE listing with english texts and vocabulary. Default is spanish.\nOption -md will add some conditional code to support \"Invisible string\" mode in Amstrad CPC.\n\n- Trizbort.io:\n\n - http://trizbort.io/\n\n- DAAD\n\n - http://wiki.caad.es/DAAD\n - http://www.caad.es/fichas/daad.html (download)\n\nSo far it seems to convert correctly:\n\n- Rooms, including descriptions and setting the initial location.\n- Common cardinal points connections (N,S,E,W,NE,NW,SE,SW).\n- Up/down and in/out connections.\n- One way connections\n- Objects included in locations.\n- Locations labelled as \"dark\".\n\nTrizio2sce adds on its own a status line with the current location name and the number of used turns.\nIt also adds an automatic exits listing and support for default answers to the \"EXITS\", \"LOOK\", \"EXAMINE\", \"HELP\" AND \"EMPTY\" commands. This will use a variable amount of messages in the /MTX section and flags 100 and 101.\n\nTrizio2sce uses the fields in the \"map settings\" dialogue as an introduction screen and credits (adding default sentences if they were empty). It will create a default adventure introduction text the user can edit at message number 14.\n\nIt will also use each location \"subtitle\" field as a text for its short description at the status line (max. 26 characters). If it wasn't provided it will use the \"name\" field and if this was the default text \"Room\" it will be changed to \"Loaction xx\". In turn, the \"description\" field will form the long room description in the adventure text window (again using a default \"Location xx description\" if there wasn't any)\n\nEqually, trizio2sce will use the objects field \"name\" as its word in the vocabulary. \"description\" will be used in the objects listing. It's highly recommended tu use the same name with an appropriate indefinite article in order to secure an optimized processing by the DAAD engine. Examples: \"Book\" -> \"a book\", \"trousers\" - \"some trousers\".\nFollowing original Trizbort standards, Trizio2sce will search for the [w] and [c] strings inside objects name, giving then wearable and container atributes.\n\nAnd for the moment trizio2sce cannot handle:\n\n- Personalized texts at the connections extremes.\n- Connections with intermediate points along the map. Anything other than a direct connection between a room and another will be ignored.\n\nKnown bugs:\n===========\n\n- Due to the slighty different behavior of the english interpreter, trying to put a container object inside itself (or into a non-existent object) in an english work, instead of displaying an error message will make player drop the object at current location.\n\n- Number (singular/plural) discordances are to be expected due to the fact that putting in and out condacts use just one system message for both cases.\n\nHISTORY\n=======\n\n- **1.0.5** 190410\n\n - Substantially updated comments in the sce source code (not definitive yet).\n - Support for locations labelled as \"dark\".\n - Support for \"invisible string\" mode in Amstrad CPC.\n\n- **1.0.4** 190322\n\n - Full wearable and container objects support.\n - Extra checks to avoid invalid object names (null string, blank spaces).\n\n- **1.0.3** 180916\n\n - Fixed: wrong default adventure introduction text.\n\n- **1.0.2**\n\n - Fix the turns counter so it skips from 65535 to 0 instead of 65200 something.\n - Fixed bug that kept initial location as 0 if no one was indicated. Now default is 1.\n - Checks the game's title is not the default \"Untitled map\".\n\n- **1.0.1** 180822\n\n - Minor polishing\n\n- **1.0.** 180819\n\n - Initial release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.zonafi.rockersuke.com/trizio2sce/index.html", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "trizio2sce", "package_url": "https://pypi.org/project/trizio2sce/", "platform": "", "project_url": "https://pypi.org/project/trizio2sce/", "project_urls": { "Homepage": "http://www.zonafi.rockersuke.com/trizio2sce/index.html" }, "release_url": "https://pypi.org/project/trizio2sce/1.0.5/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Convierte mapas de aventuras de texto generados por Trizbort.io en c\u00f3digo fuente para el DAAD.", "version": "1.0.5" }, "last_serial": 5125647, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "00d9163e7d8fde29ee7df2fbf38f4aeb", "sha256": "0bdb2a0247f7091d3e25f007a690bf475faf7d4291b37e6fb8c1ca59b1bc40a1" }, "downloads": -1, "filename": "trizio2sce-1.0.zip", "has_sig": false, "md5_digest": "00d9163e7d8fde29ee7df2fbf38f4aeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24613, "upload_time": "2018-08-20T22:04:50", "url": "https://files.pythonhosted.org/packages/e8/d1/b16a625e110191056b186f49d847b59a65c0890ecee652efac48a6d866b4/trizio2sce-1.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c6deb1b8ca20a5bedb92dbee9d62f811", "sha256": "800e9e0a1a26ceb8b0baba079c106672b1af590e5d3ee7fc4cf8d5509362cf4b" }, "downloads": -1, "filename": "trizio2sce-1.0.1.zip", "has_sig": false, "md5_digest": "c6deb1b8ca20a5bedb92dbee9d62f811", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24799, "upload_time": "2018-08-22T17:36:34", "url": "https://files.pythonhosted.org/packages/93/ac/96d4b8c4d4d1ec7340f4c8f67c74264c6bbc4b80c7f9d9292b92b99b3b3a/trizio2sce-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "6d80c367fec072a397f52f72536e3284", "sha256": "4eb62cf360cf170d1448737bbcd1567c9fedd73f22abc810136fff602eb97965" }, "downloads": -1, "filename": "trizio2sce-1.0.2.zip", "has_sig": false, "md5_digest": "6d80c367fec072a397f52f72536e3284", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 25268, "upload_time": "2018-09-15T16:57:30", "url": "https://files.pythonhosted.org/packages/e2/69/1e10151ebfd8a25a398c428a30caf54e32a0b65a207d61502e602defe0b7/trizio2sce-1.0.2.zip" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "c5f9b5a65c723dab653ccd9a6f50bb66", "sha256": "c57b940878320bd25edd707d46f3a4144a90365309f32902c73dd7092d0143dd" }, "downloads": -1, "filename": "trizio2sce-1.0.3.zip", "has_sig": false, "md5_digest": "c5f9b5a65c723dab653ccd9a6f50bb66", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 25417, "upload_time": "2018-09-15T23:00:12", "url": "https://files.pythonhosted.org/packages/ad/19/9b40952192edbf65c4fda60eb4038d1456eb0ddaa25ec078bf7c53133a93/trizio2sce-1.0.3.zip" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "3d5bcc8274052d75d051dc9612ea8b32", "sha256": "795849667fd23b0cc7973a8dae5dd9c65417f431a6dc7e2a256cec18f4460405" }, "downloads": -1, "filename": "trizio2sce-1.0.4.zip", "has_sig": false, "md5_digest": "3d5bcc8274052d75d051dc9612ea8b32", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 29808, "upload_time": "2019-03-23T11:29:32", "url": "https://files.pythonhosted.org/packages/54/33/b312a626a8f2cd0a9492ce7c0e7717b8db45410cb3f971c94899cc021d5a/trizio2sce-1.0.4.zip" } ], "1.0.4.post1": [ { "comment_text": "", "digests": { "md5": "d0ef25c6818b38af48124c928a50590e", "sha256": "19cbeb2786e82c5a65a820d630fb3beb756e9fb2736ef59a94a226eb98ede8b4" }, "downloads": -1, "filename": "trizio2sce-1.0.4.post1.zip", "has_sig": false, "md5_digest": "d0ef25c6818b38af48124c928a50590e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 29980, "upload_time": "2019-03-23T11:56:52", "url": "https://files.pythonhosted.org/packages/8e/04/9be964eb68c2c022627e24350e2aaa9530aa70ccdf80b23218c0d1c07c1a/trizio2sce-1.0.4.post1.zip" } ], "1.0.4.post2": [ { "comment_text": "", "digests": { "md5": "918c1a0e7370357134258610a5130ed5", "sha256": "2bfaa9441754eed99ab5be541b2e7b5d869c8a92254fd3ca6e7e238699e99a51" }, "downloads": -1, "filename": "trizio2sce-1.0.4.post2.zip", "has_sig": false, "md5_digest": "918c1a0e7370357134258610a5130ed5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 30113, "upload_time": "2019-03-23T12:35:36", "url": "https://files.pythonhosted.org/packages/76/f4/21c0400d03b41573ecd6890aa081f0086842b52ec47f959d546663a9c66f/trizio2sce-1.0.4.post2.zip" } ], "1.0.4b1": [ { "comment_text": "", "digests": { "md5": "cbeb4f0281206d1bb7d6830ddc012ace", "sha256": "d3554f0cbf21ad0cb5a39929be461e5c0db2085c00cf5cc3e92df08ed1581a26" }, "downloads": -1, "filename": "trizio2sce-1.0.4b1.zip", "has_sig": false, "md5_digest": "cbeb4f0281206d1bb7d6830ddc012ace", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 27750, "upload_time": "2019-03-18T00:09:21", "url": "https://files.pythonhosted.org/packages/b5/5b/f40ffd73525b2cef257fb779d81467b574ca15b7c7a70d2d0b379f069add/trizio2sce-1.0.4b1.zip" } ], "1.0.4rc1": [ { "comment_text": "", "digests": { "md5": "29a2e78169a8541d3db181729072bdd5", "sha256": "2306c7764114b6fdd4a8f198fb76b3cd1b41d58f33ab292bd0e0cd6a89e07196" }, "downloads": -1, "filename": "trizio2sce-1.0.4rc1.zip", "has_sig": false, "md5_digest": "29a2e78169a8541d3db181729072bdd5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 28681, "upload_time": "2019-03-20T00:15:52", "url": "https://files.pythonhosted.org/packages/0a/48/b934484db896fd78eebda097d5e1173974c3bab0ca812ba9d3a92df8fbb9/trizio2sce-1.0.4rc1.zip" } ], "1.0.4rc2": [ { "comment_text": "", "digests": { "md5": "250da24cad8aac37ed59548cbce2b0f4", "sha256": "cd1bb4da890729d6043fa906ef62ef8837bba7f72144986bba6e177a61e8de9c" }, "downloads": -1, "filename": "trizio2sce-1.0.4rc2.zip", "has_sig": false, "md5_digest": "250da24cad8aac37ed59548cbce2b0f4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 28672, "upload_time": "2019-03-20T19:37:39", "url": "https://files.pythonhosted.org/packages/4b/da/81e4ef57dfd366f404673bcc231018d832aacd6e9820fddfe473149713f7/trizio2sce-1.0.4rc2.zip" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "729f9c7c29ef024c2ced7195ad43eec2", "sha256": "866716c350d83fcdb26daaf3cf953c2f9f2d6261fb6a02be6d3f22a0d0e4f416" }, "downloads": -1, "filename": "trizio2sce-1.0.5.zip", "has_sig": false, "md5_digest": "729f9c7c29ef024c2ced7195ad43eec2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33894, "upload_time": "2019-04-10T19:43:10", "url": "https://files.pythonhosted.org/packages/22/4c/4dc3938c95d2691cc625af254656f9255b06a11d5caba0ff861e44c3a1c1/trizio2sce-1.0.5.zip" } ], "1.0.5b1": [ { "comment_text": "", "digests": { "md5": "d5212b33004a90388f74a6ba2430e359", "sha256": "2a8ea608a818f6490ce490c7260b0439da33f02febe1f478593cf1a05e8bb53a" }, "downloads": -1, "filename": "trizio2sce-1.0.5b1.zip", "has_sig": false, "md5_digest": "d5212b33004a90388f74a6ba2430e359", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 30709, "upload_time": "2019-03-23T21:39:42", "url": "https://files.pythonhosted.org/packages/bb/0f/c369402b7f380045eb63fb2e8c99aaf59414639d538068d9c55d8c42a9f8/trizio2sce-1.0.5b1.zip" } ], "1.0.5b2": [ { "comment_text": "", "digests": { "md5": "e5ef25a32468040edb366e9f99230326", "sha256": "36be81ca2f3aaf017badc0b9523fa3fe800933f07eac33c86ea72cbee3fee64b" }, "downloads": -1, "filename": "trizio2sce-1.0.5b2.zip", "has_sig": false, "md5_digest": "e5ef25a32468040edb366e9f99230326", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 30855, "upload_time": "2019-03-24T12:00:28", "url": "https://files.pythonhosted.org/packages/62/0e/c133a6bbc19430a3bed07410808b4f4532cebe2e08efbfe9f00b886a04e2/trizio2sce-1.0.5b2.zip" } ], "1.0.5rc1": [ { "comment_text": "", "digests": { "md5": "c92b3b94b592622fc5babb4c70bbef93", "sha256": "018a9913243ce56f39c74b435c67b5b9d07de30c1835fc757dd757ad6bf0acdd" }, "downloads": -1, "filename": "trizio2sce-1.0.5rc1.zip", "has_sig": false, "md5_digest": "c92b3b94b592622fc5babb4c70bbef93", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 31789, "upload_time": "2019-04-01T00:10:27", "url": "https://files.pythonhosted.org/packages/ce/42/1e19f5008fe3798f82c24484c50b6afa72872040129bb7ac30bb6c32e4c4/trizio2sce-1.0.5rc1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "729f9c7c29ef024c2ced7195ad43eec2", "sha256": "866716c350d83fcdb26daaf3cf953c2f9f2d6261fb6a02be6d3f22a0d0e4f416" }, "downloads": -1, "filename": "trizio2sce-1.0.5.zip", "has_sig": false, "md5_digest": "729f9c7c29ef024c2ced7195ad43eec2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33894, "upload_time": "2019-04-10T19:43:10", "url": "https://files.pythonhosted.org/packages/22/4c/4dc3938c95d2691cc625af254656f9255b06a11d5caba0ff861e44c3a1c1/trizio2sce-1.0.5.zip" } ] }