Wargus / wargus

Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales
GNU General Public License v2.0
366 stars 55 forks source link

Support for importing from recent GOG re-release of WarCraft II #297

Closed brianjenkins94 closed 5 years ago

brianjenkins94 commented 5 years ago

WarCraft 1 & 2 were recently re-released on GOG.com:

https://www.gog.com/game/warcraft_2_battlenet_edition

Would it be possible to use it as an import target?

Attached is a copy of the file/directory structure:

tree.txt

And the 2.02 patch notes:

patch.txt

brianjenkins94 commented 5 years ago

Actually, it looks like it worked when manually executing wartool and pointing it at the base directory:

output.txt

DinkyDyeAussie commented 5 years ago

In "tree.txt" there is a war2.ini. What is in that? any resolution settings?

brianjenkins94 commented 5 years ago

@DinkyDyeAussie

war2.ini:

cdpath=
speed=0
mscroll=0
kscroll=0
m_mscroll=0
m_kscroll=0
music=0
sfx=0
cdvol=0
sndbuffer=0
univbe=0
vidmouse=0
tipnum=0
intro=0
unitspeech=0
unitnoise=0
bldgnoise=0
cdaudio=0
cycle=0
tip=0
interface=0
name=
mbaud=0
mport=0
mirq=0
dbaud=0
dport=0
dirq=0
mreset=
minit=
mhang=
mdial=
mftone=0
mfanswer=0
mfinited=0

In dxcfg.ini there's resolution information:

[dxcfg]
display=2560x1440@60
presentation=fullscreen
aspect=enabled
scaling=fit
vsync=enabled
gamma=1.0
anisotropic=enabled
antialiasing=msaa_8x
DinkyDyeAussie commented 5 years ago

Pity there aren't more options for the "scaling" setting. If there was a "native" option, it might make it look like wargus does lol.

Dammit blizzard, why you not native resolution?

timfel commented 5 years ago

I tried on the day they came out, and it works both with Warcraft 1 and Warcraft 2 from GoG when you extract on Windows. But it's a bit confusing because the installer suggest the wrong file to select, so I'll fix that. Also, if you install through Wine on Linux and try to extract, the case of some of the files is different and extraction fails for WC2. I'll also fix that. Finally, I'll check if we can just pull in innoextract, and then we can just extract from the binary (or even better, use wyvern and innoextract to automatically download and extract the data)

timfel commented 5 years ago

@DinkyDyeAussie It's funny, I actually always wanted what Blizzard has done here and never liked the way Wargus increases the viewport size. The game was meant to be played with a certain visible area, so all I want is stretch that area to my screen with a bit of nice filtering - that's why I added the shaders to Wargus and which is almost what Blizzard has done here :)

DinkyDyeAussie commented 5 years ago

I should probably give the GOG version ago. It's cheap enough.

They did the same with starcraft remastered but re-did every sngle piece of art to bring it up to 4k resolution.

Blizzard just seems not to care about doing a decent redo of warcraft 1 and 2. They're the 2 games that laid the foundation for warcraft 3 and the WoW series.

timfel commented 5 years ago

There was an interview where they said they're not planning to do it: https://www.eurogamer.net/articles/2016-11-06-blizzard-isnt-planning-to-remaster-warcraft-1-and-2

DinkyDyeAussie commented 5 years ago

Yeah not "At this time!" According Mike Morhime haha.

Look I really think they could do something. Even if they update the original gameplay to make it more fun but keep the art assets the same.

But even they said they have all the game's assets and just aren't into it at the moment so I guess I have to accept it.

People on the battle.net forums were suggesting that blizzard could remake the original games in the warcraft 3: reforged as DLC.

Could be interesting but I couldn't get into Warcraft 3 when I played it.

Guess I'll stick with wargus haha.

timfel commented 5 years ago

I pushed a fix and now importing from the GoG installation works on Linux and Windows