Giter Site home page Giter Site logo

dakkjaniels / devilutionx-middleearthmod Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 3.0 60.39 MB

Recreation of V&K's Middle Earth Mod for Diablo 1.07, utilizing Devilution X

License: The Unlicense

Ruby 0.01% CMake 3.40% Shell 0.28% Dockerfile 0.01% Python 0.50% HTML 0.12% Batchfile 0.02% C++ 91.09% C 0.47% Objective-C 0.01% Java 4.10%

devilutionx-middleearthmod's People

Contributors

ajenbo avatar aperturesecurity avatar bcko avatar bennyfranco avatar bubio avatar dakkjaniels avatar ephphatha avatar galaxyhaxz avatar glebm avatar isage avatar jmgr avatar julealgon avatar justanotherguid avatar m0rf30 avatar mewmew avatar mmaret avatar nomdenom avatar nsm53project avatar obligaron avatar predelnik avatar qndel avatar seritools avatar squidcc avatar stephencwills avatar sweetgiorni avatar thebigmuh avatar trihedraf avatar tsunamistate avatar vlolteanu avatar yuripourre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

devilutionx-middleearthmod's Issues

Loading assets do not work on Linux

The following problem is found when executing the mod on linux:

Couldn't open /home/csix/diablo/DevilutionX-MiddleEarthMod/build/assets/Objects/Urn.CEL

This is because the actual file is called OBJECTS/URN.CEL
In Linux, the casing of file names matter; so this results in an error.

I think the solution is to either turn to lowercase all the files of the assets archive, or write all paths as uppercase in the program

Crash (on Linux?) when opening inventory

Important information
Ubuntu 22.04 LTS / master (d112fc9) / built from source in Debug mode

Describe

SDL initialized with sample format: S16LSB
AddressSanitizer:DEADLYSIGNAL
=================================================================
==27655==ERROR: AddressSanitizer: SEGV on unknown address 0x7f45c96d03f9 (pc 0x556931cfb86f bp 0x7ffc399025a0 sp 0x7ffc39902560 T0)
==27655==The signal is caused by a READ memory access.
    #0 0x556931cfb86f in unsigned short devilution::LoadLE16<std::byte>(std::byte const*) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/utils/endian.hpp:12:10
    #1 0x556931cfb0d7 in devilution::CelGetFrameClipped(std::byte const*, int, int*) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/engine/cel_header.hpp:62:30
    #2 0x556931c974ad in devilution::CelClippedDrawTo(devilution::Surface const&, devilution::Point, devilution::CelSprite, int) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/engine/render/cel_render.cpp:608:26
    #3 0x556931c9c735 in devilution::CelDrawItem(devilution::Item const&, devilution::Surface const&, devilution::Point, devilution::CelSprite, int) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/engine/render/cel_render.cpp:648:3
    #4 0x5569313a66a6 in devilution::DrawInv(devilution::Surface const&) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/inv.cpp:1259:4
    #5 0x556931ad7297 in devilution::(anonymous namespace)::DrawView(devilution::Surface const&, devilution::Point) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/scrollrt.cpp:1274:3
    #6 0x556931ad347f in devilution::DrawAndBlit() /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/scrollrt.cpp:1719:2
    #7 0x5569311b815c in devilution::(anonymous namespace)::RunGameLoop(devilution::interface_mode) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/diablo.cpp:793:4
    #8 0x5569311b75fa in devilution::StartGame(bool, bool) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/diablo.cpp:1734:3
    #9 0x55693154e927 in devilution::(anonymous namespace)::InitMenu(devilution::_selhero_selections) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/menu.cpp:50:12
    #10 0x55693154e7f6 in devilution::(anonymous namespace)::InitMultiPlayerMenu() /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/menu.cpp:66:9
    #11 0x55693154e280 in devilution::mainmenu_loop() /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/menu.cpp:159:9
    #12 0x5569311b85c0 in devilution::DiabloMain(int, char**) /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/diablo.cpp:1796:2
    #13 0x55693232c489 in main /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/main.cpp:46:21
    #14 0x7f450474cd8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #15 0x7f450474ce3f in __libc_start_main csu/../csu/libc-start.c:392:3
    #16 0x556930fc9684 in _start (/home/csix/diablo/DevilutionX-MiddleEarthMod/build/devilutionx+0xb48684) (BuildId: f8ffef22fe69e3da2661a11b329763d64867ce5d)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/csix/diablo/DevilutionX-MiddleEarthMod/Source/utils/endian.hpp:12:10 in unsigned short devilution::LoadLE16<std::byte>(std::byte const*)
==27655==ABORTING

To Reproduce
Steps to reproduce the behavior:

  1. Download the save file:
    multi_0.sv.zip
  2. Unzip it, place it in the save folder
  3. Load the save in multiplayer. Open inventory.

Additional context
Could someone try to reproduce on Windows to see if this is an issue specific to Linux?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.