Jump to content

Alpha 25 Pre-release/Release Candidate Build Testing


Recommended Posts

36 minutes ago, Stan` said:

That's a bit strange, how did you build it?

https://trac.wildfiregames.com/wiki/BuildInstructions

  

On 02/06/2021 at 10:41 AM, Yekaterina said:

@LetswaveaBook here:

https://trac.wildfiregames.com/wiki/BuildInstructions

Copy and paste the corresponding commands for ubuntu/debian into the terminal, then hit enter. You don't need to understand what they mean. 

Here are probably the exact commands you will need. Copy them in and execute one step at a time please. Exclude the bullet points. 

  • cd ~/
  • 
    
    sudo apt-get install build-essential cmake libboost-dev libboost-system-dev   \
        libboost-filesystem-dev libcurl4-gnutls-dev libenet-dev libfmt-dev   \
        libgloox-dev libicu-dev libminiupnpc-dev libnvtt-dev libogg-dev   \
        libopenal-dev libpng-dev libsdl2-dev libsodium-dev libvorbis-dev   \
        libxml2-dev python rustc subversion zlib1g-dev
  • 
    
    sudo apt install wx3.0-headers libwxbase3.0-dev libwxgtk3.0-gtk3-dev
  • sudo apt install libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5
  • svn co https://svn.wildfiregames.com/public/ps/trunk/ 0ad
  • cd 0ad/build/workspaces
  • ./update-workspaces.sh -j5
  • cd gcc
  • make -j5

Note the number after '-j' is the the number of cores (including hyperthreading) that you have, plus one. At this point your build of 0AD is finished. To run the program in the future:

  • cd ~/0ad/binaries/system/
  • pyrogenesis

 

 

Even inside the folder it asks me to install apt.

Captura de tela_2021-06-12_22-32-07.png

Edited by Lopess
Link to comment
Share on other sites

Hi,

I got exception when opening Scenario Editor (Atlas), either by in-game menu or by shortcut.

image.png.1880f393a5470a4da1f6e23231cad72e.png

On pressing the OK button, Program Error is displayed:

image.png.3d8e4af284b83b6cafe7fb94b64e00df.png

Here is the copied error message:

Spoiler

 


Assertion failed: "m_Contexts.empty() && "All contexts must be destroyed before calling JS_ShutDown!""
Location: scriptengine.h:47 (ScriptEngine::~ScriptEngine)

Call stack:

RunGameOrAtlas (main.cpp:713)
    argc = 1 (0x00000001)
    argv = 0x03340008 -> 0x03340028 -> "D:\GAME\0AD\binaries\system\pyrogenesis.exe"
    isNonVisualReplay = false
    flags = 0 (0x00000000)
    args = 
        m_Args = (unsupported vector<pair<CStr8,CStr8> >)
        m_Arg0 = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 92 ('\')

        m_ArgsWithoutName = (unsupported vector<CStr8 >)

    isNonVisual = false
    isUsingRLInterface = false
    scriptEngine = 
        (Singleton<ScriptEngine>)
        m_Contexts = (unsupported list<JSContext const * >)

    res = 1e-07 (0x3E7AD7F29ABCAF48)
    isVisualReplay = false
    modsToInstall = (unsupported vector<Path >)
    replayFile = 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 47 ('/')

    <begin>$L0 = 0x00000000
    <end>$L0 = 0x00000000
    modPath = 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 203

    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 57344

        m_gameData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2047

        m_userData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_config = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4112

        m_cache = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 7

        m_logs = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0


    replay = 
        m_Stream = 0x00000000

    builder = 
        m_VFS = (shared_ptr<IVFS>)
        m_Files = (unsupported vector<Path >)
        m_TempDir = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 57376

        m_NumBaseMods = 131072 (0x00020000)

    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 57344

        m_gameData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2047

        m_userData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_config = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4112

        m_cache = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 7

        m_logs = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0


    mod = 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 0

    zip = 
        path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
        separator = 63256

    mods = (unsupported vector<CStr8 >)
    i = (unavailable)
    i = 0 (0x00000000)
    installedMods = (unsupported vector<CStr8 >)
    paths = 
        m_root = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2

        m_rdata = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 57344

        m_gameData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 2047

        m_userData = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_config = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 4112

        m_cache = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 7

        m_logs = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0


    installer = 
        m_VFS = (shared_ptr<IVFS>)
        m_ModsDir = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_TempDir = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 0

        m_CacheDir = 
            path = (unsupported basic_string<wchar_t,char_traits<wchar_t> >)
            separator = 65534

        m_InstalledMods = (unsupported vector<CStr8 >)

    <end>$L1 = (unavailable - internal error)

    <begin>$L1 = (unavailable - internal error)

    g_Profiler2 = 
        m_Initialised = (unavailable - internal error)

        m_FrameNumber = (unavailable - internal error)

        m_MgContext = (unavailable - internal error)

        m_GPU = (unavailable - internal error)

        m_Mutex = (mutex)
        m_Threads = (unsupported vector<unique_ptr<CProfiler2::ThreadStorage,default_delete<CProfiler2::ThreadStorage> > >)

    g_Shutdown = (unavailable - internal error)


SDL_main (main.cpp:743)
    argc = 1 (0x00000001)
    argv = 0x03340008 (see above)

main_getcmdline (sdl_windows_main.c:74)
    argvw = (unavailable)
    argc = (unavailable)

__scrt_common_main_seh (exe_common.inl:288)
    has_cctor = false
    main_result = (unavailable - internal error)

    tls_init_callback = (unavailable - internal error)

    is_nested = false
    tls_dtor_callback = (unavailable - internal error)

    main_result = 0 (0x00000000)
    __scrt_current_native_startup_state = (unavailable - internal error)


CallStartupWithinTryBlock (wseh.cpp:365)
    ret = (unavailable)
    ret = 0 (0x00000000)

RtlGetAppContainerNamedObjectPath (:0)

RtlGetAppContainerNamedObjectPath (:0)


errno = 0 (No error reported here)
OS error = 0 (no error code was set)


 

I don't remember having this problem last week. I haven't use Alpha 24 for some time if I recall correctly. I already update the A25 using tortoisesvn just before playing. There is no problem on playing regular single-player random & skirmish. What caused this?

Edited by azayrahmad
spoiler error message
Link to comment
Share on other sites

Debian Buster – failed compilation – ERROR: SpiderMonkey build failed.
------------------------------------------------------------------------

uname -a
Linux domowy 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux


lsb_release -a && cat /etc/debian_version
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 10 (buster)
Release:    10
Codename:    buster
10.9


dpkg --print-architecture
amd64


ls -al

         131072 cze 13 08:01 .
         131072 cze 13 07:59 ..
         131072 cze 13 08:01 0ad-0.0.25-rP25782-alpha
    75572592 cze 12 22:22 0ad-0.0.25-rP25782-alpha-unix-build.tar.xz
                77 cze 12 22:29 0ad-0.0.25-rP25782-alpha-unix-build.tar.xz.md5sum
1249459976 cze 12 22:24 0ad-0.0.25-rP25782-alpha-unix-data.tar.xz
                 76 cze 12 22:29 0ad-0.0.25-rP25782-alpha-unix-data.tar.xz.md5sum


md5sum 0ad-0.0.25-rP25782-alpha-unix-*
043e1417738487f9ea45ebe51652349f  0ad-0.0.25-rP25782-alpha-unix-build.tar.xz
35dc5c86637372e63119a30f28f451f0  0ad-0.0.25-rP25782-alpha-unix-build.tar.xz.md5sum
7008713f20f55218d285f1e2bef50b0f  0ad-0.0.25-rP25782-alpha-unix-data.tar.xz
a648cfd2135a630722beeb97607d486a  0ad-0.0.25-rP25782-alpha-unix-data.tar.xz.md5sum


cat 0ad-0.0.25-rP25782-alpha-unix-build.tar.xz.md5sum
043e1417738487f9ea45ebe51652349f  0ad-0.0.25-rP25782-alpha-unix-build.tar.xz


cat 0ad-0.0.25-rP25782-alpha-unix-data.tar.xz.md5sum
7008713f20f55218d285f1e2bef50b0f  0ad-0.0.25-rP25782-alpha-unix-data.tar.xz

 

cd 0ad-0.0.25-rP25782-alpha/build/workspaces/

 ./update-workspaces.sh
Updating bundled third-party dependencies...

Building FCollada...

[... redundant information has been cut out...]

Building SpiderMonkey...

SpiderMonkey build options: --disable-tests
           --disable-jemalloc
           --disable-js-shell
           --without-intl-api
           --enable-shared-js
           --disable-jitspew        

[... redundant information has been cut out...]

Traceback (most recent call last):
  File "/media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv.py", line 420, in copyfile
    os.symlink(os.path.realpath(src), dest)
OSError: [Errno 38] Function not implemented: '/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu' -> '/media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/lib/python3.7/config-3.7m-x86_64-linux-gnu'

[... redundant information has been cut out...]

    raise Error(errors)
shutil.Error: [('/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7.so', '/media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7.so', "[Errno 38] Function not implemented: '../../x86_64-linux-gnu/libpython3.7m.so.1' -> '/media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7.so'"), ('/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so', '/media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so', "[Errno 38] Function not implemented: '../../x86_64-linux-gnu/libpython3.7m.so.1' -> '/media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so'")]

Exception: Failed to create virtualenv: /media/domowy/exfat_64GB/0ad_tarball/0.0.25_rel_25782/0ad-0.0.25-rP25782-alpha/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3 (virtualenv.py retcode: 1)
ERROR: SpiderMonkey build failed

Compilation stops

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

dpkg -l build-essential libboost-dev libboost-filesystem-dev libcurl4-gnutls-dev libenet-dev libgloox-dev libicu-dev libjpeg-dev libminiupnpc-dev libnspr4-dev libnvtt-dev libogg-dev libopenal-dev libpng-dev libsdl2-dev libvorbis-dev libwxgtk3.0-dev libxcursor-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-net-dev libxml2-dev subversion zlib1g-dev cmake cmake-data libsodium-dev rustc cargo libfmt-dev
Wybór:U=nieznany/I=instalacja/R=usunięcie/P=wyczyszczenie/H=zatrzymanie
| Stan:N=brak/I=zainstalowany/C=skonfigurowany/U=rozpakowany/
|/  F=częśc. skonfigurowany/H=częśc. zainstalowany/W=wyzw. czek./T=wyzw. zapl.
|| Błędy?=(brak)/R-do pon. inst. (duże litery w "Stan" i "Błędy"=problemy)
||/ Nazwa                         Wersja                 Architektura Opis
+++-=============================-======================-============-================================================================================================
ii  build-essential               12.6                   amd64        Informational list of build-essential packages
ii  cargo                         0.43.1-3~deb10u1       amd64        Rust package manager
ii  cmake                         3.13.4-1               amd64        cross-platform, open-source make system
ii  cmake-data                    3.13.4-1               all          CMake data files (modules, templates and documentation)
ii  libboost-dev:amd64            1.67.0.1               amd64        Boost C++ Libraries development files (default version)
ii  libboost-filesystem-dev:amd64 1.67.0.1               amd64        filesystem operations (portable paths, iteration over directories, etc) in C++ (default version)
ii  libcurl4-gnutls-dev:amd64     7.64.0-4+deb10u2       amd64        development files and documentation for libcurl (GnuTLS flavour)
ii  libenet-dev:amd64             1.3.13+ds-1            amd64        thin network communication layer on top of UDP - headers
ii  libfmt-dev                    5.2.1+ds-2             amd64        fast type-safe C++ formatting library -- development files
ii  libgloox-dev:amd64            1.0.22-0.1             amd64        C++ jabber/xmpp library (devel)
ii  libicu-dev:amd64              63.1-6+deb10u1         amd64        Development files for International Components for Unicode
ii  libjpeg-dev                   1:1.5.2-2+deb10u1      all          Development files for the JPEG library [dummy package]
ii  libminiupnpc-dev:amd64        2.1-1+b1               amd64        UPnP IGD client lightweight library development files
ii  libnspr4-dev                  2:4.20-1               amd64        Development files for the NetScape Portable Runtime library
ii  libnvtt-dev                   2.0.8-1+dfsg-8.1+b3    amd64        NVIDIA Texture Tools (Header)
ii  libogg-dev:amd64              1.3.2-1+b1             amd64        Ogg bitstream library development files
ii  libopenal-dev:amd64           1:1.19.1-1             amd64        Software implementation of the OpenAL audio API (development files)
ii  libpng-dev:amd64              1.6.36-6               amd64        PNG library - development (version 1.6)
ii  libsdl2-dev                   2.0.9+dfsg1-1          amd64        Simple DirectMedia Layer development files
ii  libsdl2-gfx-dev:amd64         1.0.4+dfsg-3           amd64        development files for SDL2_gfx
ii  libsdl2-image-dev:amd64       2.0.4+dfsg1-1+deb10u1  amd64        Image loading library for Simple DirectMedia Layer 2, development files
ii  libsdl2-net-dev:amd64         2.0.1+dfsg1-4          amd64        Network library for Simple DirectMedia Layer 2, development files
ii  libsodium-dev:amd64           1.0.17-1               amd64        Network communication, cryptography and signaturing library - headers
ii  libvorbis-dev:amd64           1.3.6-2                amd64        development files for Vorbis General Audio Compression Codec
ii  libwxgtk3.0-dev:amd64         3.0.4+dfsg-8           amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ development)
ii  libxcursor-dev:amd64          1:1.1.15-2             amd64        X cursor management library (development files)
ii  libxml2-dev:amd64             2.9.4+dfsg1-7+deb10u1  amd64        Development files for the GNOME XML library
ii  rustc                         1.41.1+dfsg1-1~deb10u1 amd64        Rust systems programming language
ii  subversion                    1.10.4-1+deb10u2       amd64        Advanced version control system
ii  zlib1g-dev:amd64              1:1.2.11.dfsg-1        amd64        compression library - development


dpkg -l | grep python3.7
ii  libpython3.7:amd64                     3.7.3-2+deb10u3                         amd64        Shared Python runtime library (version 3.7)
ii  libpython3.7-dev:amd64                 3.7.3-2+deb10u3                         amd64        Header files and a static library for Python (v3.7)
ii  libpython3.7-minimal:amd64             3.7.3-2+deb10u3                         amd64        Minimal subset of the Python language (version 3.7)
ii  libpython3.7-stdlib:amd64              3.7.3-2+deb10u3                         amd64        Interactive high-level object-oriented language (standard library, version 3.7)
ii  python3.7                              3.7.3-2+deb10u3                         amd64        Interactive high-level object-oriented language (version 3.7)
ii  python3.7-dev                          3.7.3-2+deb10u3                         amd64        Header files and a static library for Python (v3.7)
ii  python3.7-minimal                      3.7.3-2+deb10u3                         amd64        Minimal subset of the Python language (version 3.7)

 

 

 

 

Link to comment
Share on other sites

rev. 25794

When cycling through the different biome choices, the actual biome image no longer appears in top right map preview unless under the selection of Gulf of Bothnia (frozen lake, late spring/ winter) & Persian Highlands (spring, summer). Every other map under the 'Recommended for Multiplayer' remains as the Subalpine image.

Link to comment
Share on other sites

1 hour ago, Palaiologos said:

rev. 25794

When cycling through the different biome choices, the actual biome image no longer appears in top right map preview unless under the selection of Gulf of Bothnia (frozen lake, late spring/ winter) & Persian Highlands (spring, summer). Every other map under the 'Recommended for Multiplayer' remains as the Subalpine image.

https://trac.wildfiregames.com/changeset/25789

"This removes the fancy mainland biome switch because it was the only map to do that and we lack the tools to automate it."

 

Wow looks at all the brute force work he's done without the benefit of automating anything because he is dumb at writing scripts... 

Link to comment
Share on other sites

2 hours ago, wowgetoffyourcellphone said:

Wow looks at all the brute force work he's done without the benefit of automating anything because he is dumb at writing scripts... 

Stay humble.

"This removes the fancy mainland biome switch" - Was good while it lasted.

"it's annoying when it's missing one biome" - justification.

"I don't plan to merge large changes to the previews for now, so this diff is going through regardless." - fine, fine.

Link to comment
Share on other sites

5 hours ago, wowgetoffyourcellphone said:

"This removes the fancy mainland biome switch because it was the only map to do that and we lack the tools to automate it."
Wow looks at all the brute force work he's done without the benefit of automating anything because he is dumb at writing scripts... 

I mean, I don't have anything against brute forcing. I just don't want to be the one doing it in this particular case.

I could have updated Mainland, wouldn't take too long, but then why not update all the other maps as well? And then it becomes a fair bit more work and it gets tedious - event with some level of automation.

6 hours ago, Palaiologos said:

Every other map under the 'Recommended for Multiplayer' remains as the Subalpine image.

This is incorrect however, the different maps show off different biomes.

Link to comment
Share on other sites

Would a grey scale image of any map help (pretending it could be any biome)? Of course, bioms do not only differ by colours (but rather by many other details applied with lots of love and efforts), that's clear. But maybe this could be a compromise. Leaving it as it is, is also a good solution (at least, I would not bother about it). ;)

Thanks to all developers, programmers, artists, historians, translators, testers, and otherwise involved people who make 0 A.D. such an inspiring game! :thumbsup:

Link to comment
Share on other sites

Another error report:

This occured when I was playing on the newest map Bactriana. There was some intense fights between Persians and Seleucids then this happened suddenly. However the game was already unstable before the crash, with random freezes. The background music keeps playing after the crash, which is curious.

image.png.b2b0befcea4b967f428d3b7b656633fa.png

image.png.5ae750cc75859225aecff2fba829a550.png

Link to comment
Share on other sites

Looks like a nvtt crash. Can't show the full callstack cause it's a custom build and I don't have the exe and pdb.

>	nvtt.dll!nvtt::Surface::setImage(nvtt::InputFormat format, int w, int h, int d, const void * data) Line 682	C++
 	nvtt.dll!nvtt::Compressor::Private::compress(const nvtt::InputOptions::Private & inputOptions, const nvtt::CompressionOptions::Private & compressionOptions, const nvtt::OutputOptions::Private & outputOptions) Line 263	C++
 	nvtt.dll!nvtt::Compressor::process(const nvtt::InputOptions & inputOptions, const nvtt::CompressionOptions & compressionOptions, const nvtt::OutputOptions & outputOptions) Line 115	C++
 	pyrogenesis.exe!0056b9fc()	Unknown
 	pyrogenesis.exe![Frames below may be incorrect and/or missing, no symbols loaded for pyrogenesis.exe]	Unknown
 	pyrogenesis.exe!0056bc72()	Unknown
 	pyrogenesis.exe!003baaea()	Unknown
 	pyrogenesis.exe!003ba8ea()	Unknown
 	ucrtbase.dll!76b84f9f()	Unknown
 	kernel32.dll!776bfa29()	Unknown
 	ntdll.dll!77ba7a9e()	Unknown
 	ntdll.dll!77ba7a6e()	Unknown

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...