Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(8 edits)

-----------------------------------------------------------

The comment you are about to read is VERY long and contains (terrible) Python code. Read at your own discretion!

-----------------------------------------------------------

Ok, now I'm getting an error when compiling the sample
Poom cart from the Poom SDK... 

In order to do anything in Python to even install the tool chain or use any tool, using a virtual environment was REQUIRED, not optional, because if I didn't, it would scream at me about it being a regulated environment, or something.

This is the python script I used, that I hastily modified for Ubuntu Linux. "REDACTED" is my linux username, which is nobody's business! :) 

-----------------------------------------------------------

cd poom-sdk-master

python3 -m wad_reader --pico-home home/REDACTED/.lexaloffle/pico-8 --carts-path carts --mod-name poom --map E1M1

-----------------------------------------------------------

- it's giving me this error: (this error begins when the compiler starts reading the map e1m1:)

-----------------------------------------------------------

Traceback (most recent call last):

  File "<frozen runpy>", line 198, in _run_module_as_main

  File "<frozen runpy>", line 88, in _run_code

  File "/home/REDACTED/poom-sdk-master/sandbox/lib/python3.12/site-packages/wad_reader.py", line 1331, in <module>

    main()

  File "/home/REDACTED/poom-sdk-master/sandbox/lib/python3.12/site-packages/wad_reader.py", line 1327, in main

    pack_archive(args.pico_home, args.carts_path, os.path.curdir, args.mod_name, args.map, compress=args.compress or args.compress_more, release=args.release, skybox=args.sky, dump_sprites=args.dump_sprites, compress_more=args.compress_more)

  File "/home/REDACTED/poom-sdk-master/sandbox/lib/python3.12/site-packages/wad_reader.py", line 1092, in pack_archive

    textures = reader.read(active_textures)

               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/REDACTED/poom-sdk-master/sandbox/lib/python3.12/site-packages/textures_reader.py", line 88, in read

    image_data = self.stream.read(texture_name)

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/REDACTED/poom-sdk-master/sandbox/lib/python3.12/site-packages/file_stream.py", line 18, in read

    filename = os.path.join(self.root, self.dir[name])

                                       ~~~~~~~~^^^^^^

KeyError: 'graphics/tiles.png'

-----------------------------------------------------------

it seems to be having trouble with tiles.png. with what, I don't know. I'm not very good at Python script.

-----------------------------------------------------------

We really could use an updated README for the SDK with updated Windows, Linux AND MacOS instructions. XD

Even when editing the code to work on Linux, it does not work out of the box when following the current instructions.

There is also an issue posted on the github about the level design tutorial in the README producing an invalid map, because simple boxed rooms aren't supported. I wouldn't know, I haven't been able to use the SDK on my machine yet! XD

-----------------------------------------------------------

suggest to head over the Poom discord - I can certainly help for the setup

Thanks for the reply! Didn't know there was a Poom discord - I will happily move this over to there to keep from cluttering your comments.! XD