Closed Firestorm01X2 closed 1 year ago
@Theawesomeboophis @chaosvolt has experience with tiles as well. If you are going to work with tileset - then it will be good idea to contact him. He can, potentially, help. You can find him on BN discord server: https://discord.gg/XW7XhXuZ89
I was asked to join this repo yeah. I'm not yet sure if I'll have time and energy to get back into tileset authorship, but if I do then working with someone instead of maintaining it by myself would be desirable, yeah.
Thank you for the link.
Hey @chaosvolt, I messed up tileconfig.json while trying to add a new sprite, would you mind taking a look at it when you get the chance? It is here: tile_config.txt Thank you in advance.
Er, let me see...well, the file being a massive unlinted blob of text is going to make it a giant pain in the ass to find where the error actually is.
In fact yeah, this is going to be impossible to fix because the error message is most likely going to say it's on "line 1" which the entire file content is on.
If it at least prints an error message on starting the game it MIGHT be possible to find where the error is, if so can you grab a screenshot?
It is throwing errors, hold on, let me ctrl c v real quick.
DEBUG : Error: Json error:
rlay_effect_visuals", "bg": 18652}, {"id": "tr_unfinished_construction", "fg": 18653, "rotates": false}, {"id": "vp_basketlg", "fg": 18654, "rotates": false}, {"id": "vp_basketlg_cart", "fg": [18655, 18656, 18657, 18658], "rotates": true}], { ^ "id": "mon_zombie_nemesis", "fg": 18659, "rotates": false}, {"id": "corpse_mon_zombie_nemesis", "fg": 18660, "rotates": false}], "//": "range 18113 to 18672", "sprite_width": 64, "sprite_height": 80, "sprite_offset_x": -16, "sprite_offset_y
FUNCTION : bool main_menu::new_character_tab() FILE : src/main_menu.cpp LINE : 944 VERSION : 952d25f This is causing a loading failure and a crash to main menu.
Okay yep, that let me find what seems to be the error.
Ran it through the linter and no syntax problems reported: tile_config.txt
Is that the fixed version? If so, that was quick.
Yeah, it was just an extraneous ]
injected into the middle of it by accident. Easily checked with: http://dev.narc.ro/cataclysm/format.html
Side note, I hate how whatever editor is used for unpacked tilesets spits out the tile_config output as a giant ugly one-line blob of text.
Thank you, I've been trying to fix this for hours and couldn't figure it out.
There's another issue occurring, some sprites are appearing as blank white squares.
@Theawesomeboophis
As far as I understand you need to work with Unpacked version of the tileset. Current repository is final result of packing tileset.
Look at the ultica: https://github.com/I-am-Erk/CDDA-Tilesets/tree/master/gfx/HollowMoon/pngs_large_32x32/monsters/mon_chickenbot It has separate files. It is unpacked. And it iven has packing instruction: https://i-am-erk.github.io/CDDA-Tilesets/
You need to set up python and few libs. After that just and files and seprate config files and pack using bat sctipts inside https://github.com/Firestorm01X2/UndeadPeopleUnpacked.
I am afraid your current approach will make collective work impossible.
How do I set up python?
Contact us on BN discord server: BN discord server: https://discord.gg/XW7XhXuZ89 There we can start proper planning and work.
How do I set up python?
Ultica has doc: https://i-am-erk.github.io/CDDA-Tilesets/ But I can explain it step by step if needed. Just join BN server.
It says the invite is invalid and it won't let me in
Permanent link to server: https://discord.gg/XW7XhXuZ89 It should work
It is asking me to verify via phone number. I don't have a phone number.
That sounds like discord's fucked something up, damn. :/
It is asking me to verify via phone number. I don't have a phone number.
It was not neccesary for me. I didnt set it. For now try to solve issues wwith discord
I'm fairly certain it's mainly a thing affecting newer users.
Do not rush - we have all time in the world.
It says something out of the ordinary is going on.
I am AFK for now. Try fix your discord issues. Also you are already on BN server. So just deal with discord- and everything will be fine.
I also joined the reddit yesterday, these things are very new to me, I don't use any social media aside from youtube.
I also joined the reddit yesterday, these things are very new to me, I don't use any social media aside from youtube.
Technically it is just different types of forums and chats rather than social media.
Yeah, they're border cases, not quite social media or forum either, I will stay away from actual social media however, there's never good news and most of it is drama/conspiracies. ( Plus the idea of talking to strangers scares me). ( It took me two weeks to decide to join github or not, glad I did though).
I have gotten it to work.
My name is the same on discord.
Oops, sorry, accidentally edited your comment, meant to make my own.
How do I set up compose.py and properly use unpacked?
How do I set up compose.py and properly use unpacked?
1) https://www.python.org/downloads/ . Use latest version. Make sure to check "Add Python to PATH" in installer settings. 2) Install Libvips. Download it here: https://github.com/libvips/build-win64-mxe/releases . Grab vips-dev-w64-all-8.11.3.zip (or different version of it). Extract it to some directory (For example C:\vips) and add C:\vips\bin to Windows PATH. Instruction on how to add things to path look here: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/ (I am using different directory for Libvips)
3) Install pyvips. To do it just write in your console: pip install pyvips
And you are done. Now compose.py will work.
Final:
After that run \UndeadPeopleUnpacked!COMPOSE_MAIN.bat to see if it is packing tileset. You will find packed files in UndeadPeopleUnpacked!dda\ if everything was setup right. It will take some time
And here is packed tileset.
Feel free to ask if you do not understand something.
Downloading and setting up now. ( PS: sorry for slow updates, still working on my spriting skills, but I will update in my spare time in-between real life and gaming ( I still play cataclysm and other games). Hope you understand.
Does the guide for the windows path thing work for 8.1 as well? Also. does everybody who wants to contribute have to set this up as well?
Does the guide for the windows path thing work for 8.1 as well?
Maybe UI will slightly diferent but PATH can be set even on windows 8.1.
Also. does everybody who wants to contribute have to set this up as well?
It is only neccesary to create packed version from unpacked. So it is not strictly neccesary, but contirbutor may want to do it. For example to test his changes ingame.
Does the guide for the windows path thing work for 8.1 as well?
https://www.computerhope.com/issues/ch000549.htm#windows8 Make sure to set System PATH not user one.
How do I set up cmd prompt so it compiles tileset and do I have to add new sprites and files to unpacked?
How do I set up cmd prompt so it compiles tileset
Actually there is no special procedure. Just open command prompt: https://www.businessinsider.com/how-to-open-command-prompt and nivagate to unpacked tileset directory using cd command. Console tutorial is here: https://www.makeuseof.com/tag/a-beginners-guide-to-the-windows-command-line/
do I have to add new sprites and files to unpacked? Yes you should. Looks exisitng tiles as example. Actually the onlything you should edit is Unpacked version. Packed version - is "compiled result"
Thanks, I'll set it up next weekend and have the update ready then.
Oh hecc, when I get time I'll want to submit some work I have set aside to it. Is it preferred to just PR the sprites to the unpacked version to let someone compile it afterward, or is submitting the sprites to unpacked while editing it into the packed version in a complimentary PR the better option?
Hello. You may need unpacked version of SDG's tileset. It it here: https://github.com/Firestorm01X2/UndeadPeopleUnpacked
I've forked it before SDG deleted it.