Jump to content

andy5995

Community Members
  • Posts

    505
  • Joined

  • Days Won

    9

Posts posted by andy5995

  1. On 24/02/2023 at 1:45 AM, Lion.Kanzen said:

    Illyrians 

    I believe someone made this but didn't know that the mod has to be approved for it to appear. I got this link from a message pep4r (mod.io username) posted as a comment on the community maps 2 mod: https://mod.io/g/0ad/m/illyrians?preview=573a48f90d428479f8b5980b7fa773ef

    I just now sent them a message through mod.io letting them know the mod must be signed and mentioned the people that were mentioned here:

     

  2. @real_tabasco_sauceYou can use that name if you want; I only did one release with that name, and I don't know that anyone ever tried it (I never received any feedback, negative or positive); it probably wouldn't be confusing for anyone. But if you want to change the name, check the mod.json file. Also, I think the zip file might need to be the same name as what you use in the name field to prevent certain types of problems (but I'm not sure).

  3. 10 hours ago, man_s_our said:

    after I built A27 and executed pyrogenesis I got these two results:

    when I placed it in system (debian, pyrogenesis in /usr/games and data in /usr/share/games/0ad and .so files in /usr/lib) it gave me this error:

    CreateDirectories: failed to mkdir /usr/data (mode 448)
    Function call failed: return value was -110300 (Insufficient access rights to open file)
    Location: file_system.cpp:168 (CreateDirectories)

    Call stack:

    (0x564f5ee82375) pyrogenesis(+0x673375) [0x564f5ee82375]
    (0x564f5ee31d21) pyrogenesis(+0x622d21) [0x564f5ee31d21]
    (0x564f5ee337d3) pyrogenesis(+0x6247d3) [0x564f5ee337d3]
    (0x564f5ee31f33) pyrogenesis(+0x622f33) [0x564f5ee31f33]
    (0x564f5ee44baa) pyrogenesis(+0x635baa) [0x564f5ee44baa]
    (0x564f5ee44822) pyrogenesis(+0x635822) [0x564f5ee44822]
    (0x564f5ee447c7) pyrogenesis(+0x6357c7) [0x564f5ee447c7]
    (0x564f5ee5926e) pyrogenesis(+0x64a26e) [0x564f5ee5926e]
    (0x564f5eadb882) pyrogenesis(+0x2cc882) [0x564f5eadb882]
    (0x564f5e8c69d2) pyrogenesis(+0xb79d2) [0x564f5e8c69d2]
    (0x564f5e8b2688) pyrogenesis(+0xa3688) [0x564f5e8b2688]
    (0x7f9dba6e0d0a) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f9dba6e0d0a]
    (0x564f5e8c3aca) pyrogenesis(+0xb4aca) [0x564f5e8c3aca]

    errno = 13 (Insufficient access rights to open file)
    OS error = ?


    (C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

    trying to use -writableRoot always give me error: Skipping file '/home/user/.local/share/0ad' which does not have a mod file extension.

    when I run it inside binaries it works fine.

    @man_s_our The writableRoot option is meant to only be used when running pyrogenesis from the source directory after it's built. Are you using that option after you've attempted installation?

    There's no real support for installing 0ad from source (one reason there's no workflow for that in the docs). If you really want to install it after building, you might get some clues from how distro packagers are doing it:

     

    0ad Arch PKGBUILD

    0ad-data Arch PKGBUILD

     

    Or the Debian way

     

    ```

    #!/usr/bin/make -f

    # mozjs' build process does not seem to be compatible with other shells
    # like zsh
    export SHELL = /bin/sh

    export DEB_BUILD_MAINT_OPTIONS = hardening=+all
    DPKG_EXPORT_BUILDFLAGS = 1
    include /usr/share/dpkg/buildflags.mk

    include /usr/share/dpkg/architecture.mk

    PARALLEL_JOBS=$(shell getconf _NPROCESSORS_ONLN)
    ifeq ($(findstring parallel=,$(DEB_BUILD_OPTIONS)),)
        export DEB_BUILD_OPTIONS+=parallel=$(PARALLEL_JOBS)
    endif

    %:
        dh $@

    override_dh_auto_clean:
        build/workspaces/clean-workspaces.sh
        # Clean up some extra cruft not picked up by clean-workspaces.sh
        find binaries/system/ -type f ! -name readme.txt -delete
        rm -f libraries/fcollada/lib/*.a
        rm -f build/premake/.*.tmp
        rm -rf libraries/source/spidermonkey/lib
        rm -f libraries/source/cxxtest-4.4/python/cxxtest/*.pyc
        rm -f libraries/source/fcollada/lib/*
        rm -rf libraries/source/spidermonkey/include-unix-*
        rm -rf libraries/source/spidermonkey/mozjs-78.6.0
        rm -f libraries/source/nvtt/lib/*.so
        rm -f source/ps/tests/stub_impl_hack.cpp
        dh_auto_clean

    override_dh_auto_build:
        mkdir -p libraries/source/fcollada/lib
        # https://bugs.debian.org/1028179
        cp debian/patches/mozjs_virtualenv.patch libraries/source/spidermonkey
        build/workspaces/update-workspaces.sh \
            --bindir=/usr/games \
            --libdir=/usr/lib/games/0ad \
            --datadir=/usr/share/games/0ad \
            -j$(PARALLEL_JOBS)
        
        $(MAKE) config=release verbose=1 -C build/workspaces/gcc \
            -j$(PARALLEL_JOBS)

    override_dh_auto_test:
        # Note: Avoid running tests from root dir of build, otherwise certain
        # tests (i.e. in testsuite MeshManager) may not work as intended and
        # create spurious directories above root dir (../data/mods).
    ifeq (,$(filter armhf arm64 kfreebsd-amd64 kfreebsd-i386, $(DEB_HOST_ARCH)))
        cd binaries/system/ && LD_LIBRARY_PATH=. ./test -libdir .
    endif

    override_dh_auto_install:
        install -Dm 0755 build/resources/0ad.sh $(CURDIR)/debian/tmp/usr/games/0ad
        dh_auto_install

    override_dh_makeshlibs:
        dh_makeshlibs -Xusr/lib/games/0ad

    override_dh_dwz:
        dh_dwz -Xlibmozjs78-ps-release.so

    ```

     

    Data

     

    ```

    #!/usr/bin/make -f

    %:
        dh $@

    override_dh_install:
        dh_install --exclude=LICENSE

    override_dh_link:
        # Remove embedded fonts and use system copies instead
        rm -f $(CURDIR)/debian/0ad-data-common/usr/share/games/0ad/tools/fontbuilder/fonts/{DejaVuSansMono,Free*,texgyrepagella*}.{ttf,otf}
        dh_link

    override_dh_builddeb:
        dh_builddeb -- -Zxz

    ```

     

    • Thanks 1
  4. On 16/09/2023 at 3:51 PM, real_tabasco_sauce said:

    @andy5995 are you still heading up the git for the community maps mod? Any chance you could update it with this? It works for a26 and a27. I also asked @badosu directly on mod.io but I doubt he will respond.

    @real_tabasco_sauceRight now I'm only reviewing pull requests (I would have replied sooner, but didn't get any email notification that you pinged me).

  5. 12 hours ago, Mattia said:

    I can't help you with above-mentioned tasks

    I don't know how any one person can. How to rebalance each unit has to be decided by multiple people, afaik. I'm not really sure of the procedure, anymore, tbh. I think it's done with the Community mod now, but I don't know where the discussion takes place, or how its decided what gets merged and what doesn't. I don't see a link to its GitLab repo on the mod.io page.

  6. On 03/08/2023 at 3:33 AM, seeh said:

    it should be a zip inside this zip for the modIo upload.

    No, if you have a .pyromod file with the correct directory structure, just rename the file so it has a .zip extension (and remove the .pyromod extension).

    See Distributing Your Mods

    If you think something is missing from the docs, you might want to consider adding it.

    Your script looks overly-complicated imo. This is the script used by the GitHub action:

    entrypoint.sh

    • Thanks 1
  7. On 20/01/2023 at 12:50 PM, andy5995 said:

    An AppImage I made in an Ubuntu Jammy container worked on my Laptop with the Intel video. An AppImage I made in a Focal container did not.

     

    There's now two AppImages available for 0.0.27-rc1-27645-alpha , one built on focal and another on jammy. If you tried a previously released AppImage for this version and the Vulkan backend was automatically disabled, try the "jammy" image (note the "jammy" image is less likely to run on older distros).

    • Like 3
×
×
  • Create New...