{ "info": { "author": "Pedro Fern\u00e1ndez", "author_email": "rockersuke@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Triz2DAAD\n*********\n\nEnglish instructions below!\n\nTriz2DAAD versi\u00f3n 1.0.1 190603 (c) 2019 Pedro Fern\u00e1ndez\n\nTriz2DAAD es la fusi\u00f3n de los anteriores scripts de Python Triz2sce y Trizio2sce, que cargaban, en cada caso, ficheros procedentes de las utilidades Trizbort y Trizbort.io respectivamente. Este nuevo script carga indistintamente de una o de otra y realiza internamente la conversi\u00f3n necesaria para que un s\u00f3lo script se puedan manjar ambos formatos.\n\nTriz2DAAD.py es un script de Python 3.x que transforma un fichero generado con la utilidad de escritorio Trizbort (a partir de la versi\u00f3n 1.7.0) o su variante on-line Trizbort.io para mapear aventuras en un c\u00f3digo fuente compatible con el compilador del DAAD. No 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 triz2DAAD.py -h\" en una l\u00ednea 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 en formato XML, aunque con la extensi\u00f3n .trizbort, o por 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\n- La 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.\n- La 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.\n- La opci\u00f3n -md a\u00f1adir\u00e1 c\u00f3digo (de compilaci\u00f3n condicional) para el modo \"dibujo invisible\" en los Amstrad CPC.\n- La opci\u00f3n -dsf generar\u00e1 un fichero DSF compatible con el nuevo compilador DAAD Reborn Compiler.\n\nEnlaces:\n========\n- Trizbort:\n\n - http://trizbort.com\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 - https://github.com/Utodev/DRC\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\nTriz2DAAD 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\nTriz2DAAD 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 que en el caso del Trizbort original se corresponder\u00e1 con el campo \"History\" (inexistente en Trizbort.io).\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\" o \"Cave\") 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, triz2DAAD 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.\n\n- Para Trizbort.io 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\".\n- En el caso de partir del Trizbrt de escritorio se reconocer\u00e1n los atributos [f] y [2] en el campo \"name\" como indicadores de \"femenino\" y \"plural\" respectivamente (entendi\u00e9ndose por defecto que el objeto tiene un nombre masculino y singular si no se indica nada) y se a\u00f1adir\u00e1 el art\u00edculo indeterminado (un, unos, una, unas) correspondiente al texto de los listados.\n\nSiguiendo las convenciones del Trizbort original, Triz2DAAD buscar\u00e1 las cadenas [w] y [c] en el nombre de los objetos para a\u00f1adirles los atributos ropa y contenedor (tanto en la aplicaci\u00f3n de escritorio como en la de web).\n\nY por el momento triz2DAAD 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.1** 190603\n\n - Actualizado a la nueva marca de inicio de entrada en formato DSF.\n - Arreglado: los mensajes de 1\u00aa y 2\u00aa persona estaban cambiados en modo DSF en ingl\u00e9s.\n - Arreglado: varios mensajes mal formateados en modo DSF en ingl\u00e9s.\n\n- **1.0** 190501\n\n - Carga ficheros tanto de Trizbort (aplicaci\u00f3n de escritorio) como de Trizbort.io (aplicaci\u00f3n web).\n - Opci\u00f3n para exportar a formato DSF del DAAD Reborn Compiler.\n \n\nTriz2DAAD english doc\n**********************\n\nTriz2DAAD version 1.0.1 190603 (c) 2019 Pedro Fern\u00e1ndez\n\nTriz2DAAD is a Python 3.x script that transforms a file generated with either the on-line text-adventure mapping tool Trizbort.io or the Trizbort desktop application into a source code compatible with the DAAD compiler. It's the fussion of former scripts Triz2SCE and Trizio2SCE, admitting both formats.\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-adventure prototyping tool, and also as a supporting tool for novel authors, specially suitable for learning workshops.\n\nUsage:\n======\n\nType \"Python triz2DAAD.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 either the Trizbort.io utility in json format or a XML trizbort file generated with the Trizbort desktop application) 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\n- Option -p1 will create a SCE listing with first-person system messages. Default is second-person.\n- Option -e will create a SCE listing with english texts and vocabulary. Default is spanish.\n- Option -md will add some conditional code to support \"Invisible string\" mode in Amstrad CPC.\n- Option -dsf will create a DSF file compatible with the new DAAD Reborn Compiler.\n\nLinks:\n======\n\n-Trizbort:\n\n - http://trizbort.com\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 - https://github.com/Utodev/DRC\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\nTriz2DAAD 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\nTriz2DAAD 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 (in desktop trizbort it will use the \"history\" field).\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\" or \"Cave\") 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, Triz2DAAD will use the objects field \"name\" as its word in the vocabulary. \"Description\" will be used in the objects listing.\n\n- When importing from Trizbort.io 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\".\n- When working from desktop Trizbort [f] (female) and [2] (plural) atributes will be recognized in the name filed (default is male and singular) adding the relevant indefinite articles in the listing texts.\n\nFollowing original Trizbort standards, Triz2DAAD will search for the [w] and [c] strings inside objects name, giving them wearable and container atributes.\n\nAnd for the moment Triz2DAAD 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.1rc** 190602\n\n - Updated support for the new \">\" mark for new entries in DSF format.\n - FIXED: 2nd and 1st person system messages were swapped in english DSF format.\n - FIXED: bad formatting in several english DSF messages.\n\n- **1.0** 190501\n\n - Load files from both Trizbort desktop and web applications.\n - Support forr DAAD Reborn Compiler DSF format.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.zonafi.es/triz2DAAD/", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "triz2DAAD", "package_url": "https://pypi.org/project/triz2DAAD/", "platform": "", "project_url": "https://pypi.org/project/triz2DAAD/", "project_urls": { "Homepage": "http://www.zonafi.es/triz2DAAD/" }, "release_url": "https://pypi.org/project/triz2DAAD/1.0.1/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Convierte mapas de aventuras de texto generados por Trizbort en c\u00f3digo fuente para el DAAD.", "version": "1.0.1" }, "last_serial": 5973240, "releases": { "0.9b0": [ { "comment_text": "", "digests": { "md5": "dede1663ced4c7662b7ae8c029126060", "sha256": "d35f69df4c93afd5c255d38b7904dda6097ff496a1fd5c9a9697c1fef2610be0" }, "downloads": -1, "filename": "triz2DAAD-0.9b0.zip", "has_sig": false, "md5_digest": "dede1663ced4c7662b7ae8c029126060", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 31354, "upload_time": "2019-04-20T11:31:21", "url": "https://files.pythonhosted.org/packages/8d/c6/69cba01d6eaf1bc59dcd0f8e5804d59fa329542b196fd641ae01c1690e4f/triz2DAAD-0.9b0.zip" } ], "0.9b1": [ { "comment_text": "", "digests": { "md5": "bfe05c76d953b71ba374a0f1c9ea818d", "sha256": "41fcbcbc114fb589c9dc3da0249375ef898d29f551aa27d39934e33d8ceffd7a" }, "downloads": -1, "filename": "triz2DAAD-0.9b1.zip", "has_sig": false, "md5_digest": "bfe05c76d953b71ba374a0f1c9ea818d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 31343, "upload_time": "2019-04-20T18:03:42", "url": "https://files.pythonhosted.org/packages/3e/65/8a7779ff5808f2e2698d35b66c035bd61464c33ea50b35155c09c8cab898/triz2DAAD-0.9b1.zip" } ], "0.9b2": [ { "comment_text": "", "digests": { "md5": "2386c10379a4c3e788897745762f40e5", "sha256": "6e9e7865d0f1ae56e50abfa2e83268f1a7ed43e9ce288914e2bf78a2c425dc9a" }, "downloads": -1, "filename": "triz2DAAD-0.9b2.zip", "has_sig": false, "md5_digest": "2386c10379a4c3e788897745762f40e5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 31637, "upload_time": "2019-04-21T13:35:57", "url": "https://files.pythonhosted.org/packages/45/1b/c2983805ecf31f9d15d89b9495240395f2f4513120f7370a1cfcae359e45/triz2DAAD-0.9b2.zip" } ], "0.9b3": [ { "comment_text": "", "digests": { "md5": "0c74b7c1796967ef6036902303a4586a", "sha256": "99ccf3ced6675aed6a3c78f16aef9a164668eeac821c5014a3c5456a11766fa2" }, "downloads": -1, "filename": "triz2DAAD-0.9b3.zip", "has_sig": false, "md5_digest": "0c74b7c1796967ef6036902303a4586a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 32195, "upload_time": "2019-04-21T19:38:42", "url": "https://files.pythonhosted.org/packages/45/37/f3b8b298225706ddec0d252834bc648f6f779ddea3438166d39a59cc3db1/triz2DAAD-0.9b3.zip" } ], "0.9b4": [ { "comment_text": "", "digests": { "md5": "aa0deefa08162840d7cc2eb4d870ae5f", "sha256": "348df94a7d6e22dc06c2a893374743f70708d6ffc8ee9a3e008d27d8971d3c26" }, "downloads": -1, "filename": "triz2DAAD-0.9b4.zip", "has_sig": false, "md5_digest": "aa0deefa08162840d7cc2eb4d870ae5f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33222, "upload_time": "2019-04-23T19:05:12", "url": "https://files.pythonhosted.org/packages/87/36/32d22d9f7d7918b8386210d42813a0bde4b6274d62e2df807963461de146/triz2DAAD-0.9b4.zip" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "480db5679bb5028e53589a7acbbb9e04", "sha256": "83c898670ae762a410363170f73acb71f40b04f6c3fb13d14f6b80b0df0121f2" }, "downloads": -1, "filename": "triz2DAAD-1.0.zip", "has_sig": false, "md5_digest": "480db5679bb5028e53589a7acbbb9e04", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 37979, "upload_time": "2019-05-01T21:47:05", "url": "https://files.pythonhosted.org/packages/d4/ac/418b134bfe7b43f6b347a6c1732794487a233ac3396eb4fa59d1c226e8a0/triz2DAAD-1.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "e94dc7da8efbd78f6f8f154acf0a3d0d", "sha256": "78227f8dac27cdbcdea21788f30f95f6bee865e8560a8f74b347a6cd7a55bef9" }, "downloads": -1, "filename": "triz2DAAD-1.0.1.zip", "has_sig": false, "md5_digest": "e94dc7da8efbd78f6f8f154acf0a3d0d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 38801, "upload_time": "2019-06-02T23:02:37", "url": "https://files.pythonhosted.org/packages/b3/f7/f5204600b3ce96bd3cf1fb7de5e0aef046853cc6e81f253000583170989c/triz2DAAD-1.0.1.zip" } ], "1.0.1b0": [ { "comment_text": "", "digests": { "md5": "53e3a8bd4a25b5340ad9e056639f1463", "sha256": "ec1d0b298e3faa336ba84fe66648fdae53be94c3ced8726abddea37c628bdf15" }, "downloads": -1, "filename": "triz2DAAD-1.0.1b0.zip", "has_sig": false, "md5_digest": "53e3a8bd4a25b5340ad9e056639f1463", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 38489, "upload_time": "2019-06-01T22:55:03", "url": "https://files.pythonhosted.org/packages/4e/39/a084e20a73e5d83c1dd7044a27cc61d5df950f0c3b3415e14c034a4b7452/triz2DAAD-1.0.1b0.zip" } ], "1.0.1rc0": [ { "comment_text": "", "digests": { "md5": "99c4f86d965df337463765245c7a2277", "sha256": "bc1c4057d37a9c680c8b458b99621f0eb22681f8cf9d2e6a0ca00a91c6098fc9" }, "downloads": -1, "filename": "triz2DAAD-1.0.1rc0.zip", "has_sig": false, "md5_digest": "99c4f86d965df337463765245c7a2277", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 38873, "upload_time": "2019-06-02T12:39:56", "url": "https://files.pythonhosted.org/packages/f2/0a/216ab258afad43e7e2e3a79de63bf34c03941e06b0f3ba53ddd68baa5e7d/triz2DAAD-1.0.1rc0.zip" } ], "1.0.2b0": [ { "comment_text": "", "digests": { "md5": "cc1c45011a537ecc7c491f7ff3340925", "sha256": "7d2666b1b83e2c388f0d472845fa59508603666f804dadf67d89411b9c4697d9" }, "downloads": -1, "filename": "triz2DAAD-1.0.2b0.zip", "has_sig": false, "md5_digest": "cc1c45011a537ecc7c491f7ff3340925", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 39263, "upload_time": "2019-10-13T20:54:29", "url": "https://files.pythonhosted.org/packages/ab/f5/33ad0efa9c8ab76c0e7895d9a7a22ba371e29bbcf4ac2d6dbce605ec11b8/triz2DAAD-1.0.2b0.zip" } ], "1.0.2b1": [ { "comment_text": "", "digests": { "md5": "5c12268cf72627a4521f78039e2b0540", "sha256": "440ff77be903b2e8a52400135150563c77b7520d6de96bcf9472b407f10f75da" }, "downloads": -1, "filename": "triz2DAAD-1.0.2b1.zip", "has_sig": false, "md5_digest": "5c12268cf72627a4521f78039e2b0540", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 39567, "upload_time": "2019-10-14T20:03:37", "url": "https://files.pythonhosted.org/packages/ab/ad/f24602b8851d8ccd9e9602e4dd34246fc954e21fdc1bef479590350bcd10/triz2DAAD-1.0.2b1.zip" } ], "1.0rc1": [ { "comment_text": "", "digests": { "md5": "daca7d65cda42ae7369a44822f848aa3", "sha256": "98ab38add37b7d4fddb0f8c7a25eb54043fdde4df70f777afccf5963cc73352f" }, "downloads": -1, "filename": "triz2DAAD-1.0rc1.zip", "has_sig": false, "md5_digest": "daca7d65cda42ae7369a44822f848aa3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33243, "upload_time": "2019-04-25T21:34:34", "url": "https://files.pythonhosted.org/packages/80/2c/84c568bf479cf2e11771cf453c05b3e740caad3f9080322a2fc34d6a50b2/triz2DAAD-1.0rc1.zip" } ], "1.0rc2": [ { "comment_text": "", "digests": { "md5": "5c94c937e354d25f30addb39ba866869", "sha256": "4638e5faba97a4888cdd45f6a227a3c48921adf8d78a71c15af6fb0d8f19a44d" }, "downloads": -1, "filename": "triz2DAAD-1.0rc2.zip", "has_sig": false, "md5_digest": "5c94c937e354d25f30addb39ba866869", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 38581, "upload_time": "2019-04-27T18:06:33", "url": "https://files.pythonhosted.org/packages/4c/ad/cb802d4a29cd34f3c0c9688689471ee623a3b8cd861baa6a900affb28599/triz2DAAD-1.0rc2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e94dc7da8efbd78f6f8f154acf0a3d0d", "sha256": "78227f8dac27cdbcdea21788f30f95f6bee865e8560a8f74b347a6cd7a55bef9" }, "downloads": -1, "filename": "triz2DAAD-1.0.1.zip", "has_sig": false, "md5_digest": "e94dc7da8efbd78f6f8f154acf0a3d0d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 38801, "upload_time": "2019-06-02T23:02:37", "url": "https://files.pythonhosted.org/packages/b3/f7/f5204600b3ce96bd3cf1fb7de5e0aef046853cc6e81f253000583170989c/triz2DAAD-1.0.1.zip" } ] }