Giter Site home page Giter Site logo

teippi's People

Contributors

heinermann avatar neivv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

teippi's Issues

Onboarding/Build setup is difficult

So after running python waf config and opening the thing in Visual Studio 2015 Community Edition, I encountered this.

1>------ Build started: Project: Teippi, Configuration: Release Win32 ------
1>  Waf: Entering directory `C:\Users\Adam\teippi\build'
1>  [ 1/49] Processing src/funcs.autogen: src\func\genfuncs.py src\func\nuottei.txt -> build\src\funcs.autogen
1>  Traceback (most recent call last):
1>
1>    File "..\src\func\genfuncs.py", line 265, in <module>
1>
1>      main()
1>
1>    File "..\src\func\genfuncs.py", line 260, in main
1>
1>      data = GenerateFuncs(nuottei, msvc_asm)
1>
1>    File "..\src\func\genfuncs.py", line 247, in GenerateFuncs
1>
1>      out += bytes(GenerateGccAsm(func), 'utf-8')
1>
1>  TypeError: str() takes at most 1 argument (2 given)
1>
1>
1>  Build failed
1>   -> task in 'src/funcs.autogen' failed (exit status 1):
1>      {task 35936496: src/funcs.autogen genfuncs.py,nuottei.txt -> funcs.autogen}
1>  ' python ..\\src\\func\\genfuncs.py ..\\src\\func\\nuottei.txt src\\funcs.autogen '
1>  Waf: Leaving directory `C:\Users\Adam\teippi\build'
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command "python waf" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

So I assumed maybe it was looking for python3 and not python2, so I modified the script to directly point to my python3 executable, and I just get a different error, maybe because it's choosing a random compiler that cygwin installed.

1>------ Build started: Project: Teippi, Configuration: Release Win32 ------
1>  Waf: Entering directory `C:\Users\Adam\teippi\build'
1>  [ 1/49] Processing src/funcs.autogen: src\func\genfuncs.py src\func\nuottei.txt -> build\src\funcs.autogen
1>  [ 3/49] Compiling src\memory.cpp
1>  [ 5/49] Compiling src\perfclock.cpp
1>  [ 6/49] Compiling src\scthread.cpp
1>  In file included from ..\src\memory.cpp:1:0:
1>  ..\src\memory.h:33:28: error: declaration of 'operator new' as non-function
1>           void *operator new(size_t size) = delete;
1>
1>                              ^
1>  ..\src\memory.h:33:24: error: expected ';' at end of member declaration
1>           void *operator new(size_t size) = delete;
1>
1>                          ^
1>  ..\src\memory.h:33:35: error: expected ')' before 'size'
1>           void *operator new(size_t size) = delete;
1>
1>                                     ^
1>  ..\src\memory.h:34:30: error: declaration of 'operator new []' as non-function
1>           void *operator new[](size_t size) = delete;
1>
1>                                ^
1>  ..\src\memory.h:34:28: error: expected ';' at end of member declaration
1>           void *operator new[](size_t size) = delete;
1>
1>                              ^
1>  ..\src\memory.h:34:37: error: expected ')' before 'size'
1>           void *operator new[](size_t size) = delete;
1>
1>                                       ^
1>
1>  In file included from /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include/c++/random:49:0,
1>                   from /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include/c++/bits/stl_algo.h:66,
1>                   from /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include/c++/algorithm:62,
1>                   from ..\src\common/iter.h:3,
1>                   from ..\src\types.h:5,
1>                   from ..\src\thread.h:10,
1>                   from ..\src\scthread.h:4,
1>                   from ..\src\scthread.cpp:1:
1>  /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
1>         { typedef unsigned __int128 type; };
1>                            ^
1>
1>  Waf: Leaving directory `C:\Users\Adam\teippi\build'
1>  Build failed
1>   -> task in 'obj' failed (exit status 1):
1>      {task 36052464: cxx memory.cpp -> memory.cpp.3.o}
1>  ['C:\\cygwin64\\bin\\g++.exe', '-m32', '-march=i686', '-Wall', '-g', '-O3', '--std=c++14', '-Wno-sign-compare', '-Wno-format', '-ffunction-sections', '-fdata-sections', '-fno-exceptions', '-IC:\\Users\\Adam\\teippi\\build\\src', '..\\src\\memory.cpp', '-c', '-o', 'C:\\Users\\Adam\\teippi\\build\\src\\memory.cpp.3.o']
1>   -> task in 'obj' failed (exit status 1):
1>      {task 36118672: cxx scthread.cpp -> scthread.cpp.3.o}
1>  ['C:\\cygwin64\\bin\\g++.exe', '-m32', '-march=i686', '-Wall', '-g', '-O3', '--std=c++14', '-Wno-sign-compare', '-Wno-format', '-ffunction-sections', '-fdata-sections', '-fno-exceptions', '-IC:\\Users\\Adam\\teippi\\build\\src', '..\\src\\scthread.cpp', '-c', '-o', 'C:\\Users\\Adam\\teippi\\build\\src\\scthread.cpp.3.o']
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command "python waf" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

funcs.autogen wasn't being created so I went and ran python3.4m genfuncs.py nuottei.txt funcs.autogen --msvc from the funcs directory and copied funcs.autogen over to src.

It went downhill from here, so I decided I would just reconfigure everything to work directly with VC++2015, including compiling the freetype dependency. The Chaoslauncher functions were missing so I had to comment that out and just use the MPQDraft plugin. After testing though, it appeared to work, then froze.

So I'm not sure how to set up now.

Porting changes to Diablo II 1.10f/1.14

Pardon me,

I'm not familiar with Rust, though I probably should be. I've been wrestling with the sprite caches in Diablo II and I'm interested in what I'm seeing here.

Would you be willing to help any with this? 1.10f is vastly more interesting, but I'm not going to turn down any help. If you need any dumps/information, just ask.

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.