Comments (14)
You can grab either VC++ 5 or 6 at WinWorld. Unless your doing extensive debugging to compare assembly, I'd recommend going with 6 instead.
As for the Mingw issue, make sure these packages are installed:
It doesn't come with the ddraw/dsound headers, but you can easily find those on google. After that you should be good to go.
from devilution.
You can grab either VC++ 5 or 6 at WinWorld. Unless your doing extensive debugging to compare assembly, I'd recommend going with 6 instead.
The installer for 5.0 is made at https://winworldpc.com/product/visual-c/5x
Where is the update for 5.10 made available? (i.e. VS97SP3.zip)
from devilution.
It's on a few FTP websites, but you really have to search to find it. Mirror here.
from devilution.
yeah I was thinking this is a floppy formet.. Windows 10 dont supports this thing.
from devilution.
I can't get this to work at all.
C:\Users\Adam Heinermann\devilution\DiabloUI\diabloui.cpp : fatal error C1382: the PCH file 'WinRel/DiabloUI.pch' has been rebuilt since 'C:\Users\Adam Heinermann\devilution\DiabloUI\WinRel\diabloui.obj' was generated. Please rebuild this object
Error executing cl.exe.
Deleting this file doesn't help. Turning off precompiled headers gives
player.obj : error LNK2001: unresolved external symbol __dtol3
control.obj : error LNK2001: unresolved external symbol __dtol3
lighting.obj : error LNK2001: unresolved external symbol __dtol3
missiles.obj : error LNK2001: unresolved external symbol __dtol3
monster.obj : error LNK2001: unresolved external symbol __dtol3
palette.obj : error LNK2001: unresolved external symbol ___libm_sse2_pow
Source/WinRel/Diablo.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
It's just one error after another and there's no support for such old tools.
I installed both VC 5.0 and service pack 3, but going to "About Developer Studio", the "Additional information" section shows "Visual C++ 5.0" still.
It compiles totally fine in VS2017 but fails to run (video failure). EDIT: Setting compatibility mode for 8 bit gets me further but crashes somewhere else. Looking into it.
EDIT2: Crashes in sound.cpp:136
- v8 = v5->Play(0, 0, 0);
for some reason. EDIT3: Actually most likely crashing in a different thread (? maybe?). Feels like some kind of stack corruption, possibly.
from devilution.
@heinermann I've suspected there could be sound issues because of the structure size of DSBUFFERDESC (ref: https://github.com/galaxyhaxz/devilution/issues/43). Where DirectX7+ have an extra field that would otherwise not be passed if an older version of the file is used. Not 100% sure though. It could also be related to #50
With a clean install of VC5 you should be able to open the workspace and get right to it. It runs fine under Windows 7 x64 so if you're on W10 perhaps it has compatibility issues. We'll eventually get some solution files uploaded for newer versions of VS.
from devilution.
Per @mewmew I am posting here where I found VC++ 5.10 ISO and CD Key.
Upon review, it looks like I may have just found a 5.0 ISO, but it built the project without any issues (even with dsound.h not included yet). Also, if you want, you can download VC++ 6.x from the link too.
I found the CD Key here: https://mase.wordpress.com/2006/02/23/microsoft-cd-keys/
VC++ 5.10 ISO here: https://winworldpc.com/product/visual-c/5x
from devilution.
I need to update the readme to state that VC 5.10 is only necessary if you want a byte-identical output. You can use any version of VC 5/6 and it compiles just fine. I'm guessing it should work with VS .NET 2001-2005 as well.
from devilution.
Slightly off topic, but galaxyhaxz is there a way I could chat with you directly about some things? My current project is building an API for Diablo like there is for BW for building bots. Ultimately some people want to have an Iron Man bot tournament. My API is very much in the exploratory phase, but I suspect you'd have some super valuable input on how the data structures work, and how the Diablo engine accomplishes certain tasks.
from devilution.
Join the discord channel Xyinn if you want to chat. I'm usually on for a few hours each day.
from devilution.
Do I need an invite URL? I don't see an option in Discord to join something just from knowing it's name. :(
from devilution.
https://discordapp.com/invite/4FjUth link expires in one day so we don't get any spam.
from devilution.
just enter 1's for the key... Some super awesome security )
yes this works perfectly for me on the latest version of windows..
from devilution.
Links added with #132
from devilution.
Related Issues (20)
- [hellfire] Hive/Crypt - invisible chests and barrels HOT 1
- Are you able to use Hellfire's source code? HOT 1
- [hellfire] OperateL2Door - Please check bin exactness HOT 10
- Building in VS2019: exe attempts to open crypto/rsa key file? HOT 1
- Cleanup code HOT 1
- out of memory error HOT 5
- 60 FPS support? HOT 1
- Migrate macOS builds to GitHub Actions HOT 10
- [Not A Bug] Question about the License and Legal Section in the Readme HOT 5
- MaxGold always depends on auricGold HOT 4
- Gnat String's "Multiple arrows per shot" only fires one arrow HOT 2
- Win98 Support? HOT 1
- Farmer Quest Bug HOT 1
- [Feature request] add option to show items on map HOT 4
- [Android] Option to change stationary toggle to allow moving
- "Legal" section ambiguity HOT 1
- [MSVC][permissive-] devilution failed to build with /permissive- on MSVC HOT 5
- [Need help] Getting a Massive bow of swiftness at clvl 44+ HOT 3
- Is this gap intentional? HOT 1
- mods don't work In the mobile application HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devilution.