Closed ChefKeeper closed 7 years ago
Do you have the DOS CD at all? I have used that version with no problems. I have the bnet version too and will try it out later.
If possible you can do a manual extraction of the game files by opening cmd.exe using the run option.
Use parameter:
wartool -r -v
So for example
wartool -r -v c:\games\war2 c:\games\wargus
This will start the process. I am pretty sure the battlenet edition of the game is different than the DOS version, and reads from the install directory like stargus does for starcraft now.
If not just use this instead:
wartool -r -v d:\data c:\games\wargus
No I haven't the DOS CD. When doing extraction manualy I got these errors :
Can't open pud file: ./maps/Classic/Expansion/Web.pud maps/Classic/Expansion/WizWar.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/WizWar.pud" Can't open pud file: ./maps/Classic/Expansion/WizWar.pud maps/Classic/Expansion/Scenario/4_step.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/4_step.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/4_step.pud maps/Classic/Expansion/Scenario/Anarchy.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Anarchy.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Anarchy.pud maps/Classic/Expansion/Scenario/Burn_It.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Burn_It.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Burn_It.pud maps/Classic/Expansion/Scenario/Chess.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Chess.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Chess.pud maps/Classic/Expansion/Scenario/DeadMeet.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/DeadMeet.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/DeadMeet.pud maps/Classic/Expansion/Scenario/Falsie.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Falsie.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Falsie.pud maps/Classic/Expansion/Scenario/FireRing.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/FireRing.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/FireRing.pud maps/Classic/Expansion/Scenario/Football.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Football.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Football.pud maps/Classic/Expansion/Scenario/Fortress.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Fortress.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Fortress.pud maps/Classic/Expansion/Scenario/GrtWall.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/GrtWall.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/GrtWall.pud maps/Classic/Expansion/Scenario/Heroes1.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Heroes1.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Heroes1.pud maps/Classic/Expansion/Scenario/Heroes2.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Heroes2.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Heroes2.pud maps/Classic/Expansion/Scenario/Invasion.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Invasion.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Invasion.pud maps/Classic/Expansion/Scenario/Jail.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Jail.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Jail.pud maps/Classic/Expansion/Scenario/MagIsle.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/MagIsle.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/MagIsle.pud maps/Classic/Expansion/Scenario/Massacre.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Massacre.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Massacre.pud maps/Classic/Expansion/Scenario/Midland.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Midland.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Midland.pud maps/Classic/Expansion/Scenario/MinasTir.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/MinasTir.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/MinasTir.pud maps/Classic/Expansion/Scenario/Onslaugh.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Onslaugh.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Onslaugh.pud maps/Classic/Expansion/Scenario/Rescue.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Rescue.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Rescue.pud maps/Classic/Expansion/Scenario/Sacrific.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Sacrific.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Sacrific.pud maps/Classic/Expansion/Scenario/Sparta.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Sparta.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Sparta.pud maps/Classic/Expansion/Scenario/Stone.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Stone.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Stone.pud maps/Classic/Expansion/Scenario/Suicide.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Suicide.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Suicide.pud maps/Classic/Expansion/Scenario/Time.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Time.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Time.pud maps/Classic/Expansion/Scenario/TrenchWar.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/TrenchWar.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/TrenchWar.pud maps/Classic/Expansion/Scenario/WaterRes.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/WaterRes.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/WaterRes.pud maps/Classic/Expansion/Scenario/Wish.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Wish.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Wish.pud maps/Classic/Scenario/Alamo.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Alamo.pud" Can't open pud file: ./maps/Classic/Scenario/Alamo.pud maps/Classic/Scenario/Channel.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Channel.pud" Can't open pud file: ./maps/Classic/Scenario/Channel.pud maps/Classic/Scenario/Death.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Death.pud" Can't open pud file: ./maps/Classic/Scenario/Death.pud maps/Classic/Scenario/Dragon.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Dragon.pud" Can't open pud file: ./maps/Classic/Scenario/Dragon.pud maps/Classic/Scenario/Icebrdge.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Icebrdge.pud" Can't open pud file: ./maps/Classic/Scenario/Icebrdge.pud maps/Classic/Scenario/Islands.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Islands.pud" Can't open pud file: ./maps/Classic/Scenario/Islands.pud maps/Classic/Scenario/Land_Sea.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Land_Sea.pud" Can't open pud file: ./maps/Classic/Scenario/Land_Sea.pud maps/Classic/Scenario/Mutton.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Mutton.pud" Can't open pud file: ./maps/Classic/Scenario/Mutton.pud maps/ladder/Arctic Circle BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Arctic Circle BNE.pud" Can't open pud file: ./maps/ladder/Arctic Circle BNE.pud maps/ladder/Bridge to bridge combat BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Bridge to bridge combat BNE.pud" Can't open pud file: ./maps/ladder/Bridge to bridge combat BNE.pud maps/ladder/Fierce ocean combat BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Fierce ocean combat BNE.pud" Can't open pud file: ./maps/ladder/Fierce ocean combat BNE.pud maps/ladder/Forest Trail BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Forest Trail BNE.pud" Can't open pud file: ./maps/ladder/Forest Trail BNE.pud maps/ladder/Frog Legs BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Frog Legs BNE.pud" Can't open pud file: ./maps/ladder/Frog Legs BNE.pud maps/ladder/Garden of war BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Garden of war BNE.pud" Can't open pud file: ./maps/ladder/Garden of war BNE.pud maps/ladder/High seas combat BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/High seas combat BNE.pud" Can't open pud file: ./maps/ladder/High seas combat BNE.pud maps/ladder/Mine in the center BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Mine in the center BNE.pud" Can't open pud file: ./maps/ladder/Mine in the center BNE.pud maps/ladder/No way out of this maze BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/No way out of this maze BNE.pud" Can't open pud file: ./maps/ladder/No way out of this maze BNE.pud maps/ladder/Plains of snow BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Plains of snow BNE.pud" Can't open pud file: ./maps/ladder/Plains of snow BNE.pud maps/ladder/Skull isle BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Skull isle BNE.pud" Can't open pud file: ./maps/ladder/Skull isle BNE.pud maps/ladder/The four corners BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/The four corners BNE.pud" Can't open pud file: ./maps/ladder/The four corners BNE.pud maps/ladder/The spiral BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/The spiral BNE.pud" Can't open pud file: ./maps/ladder/The spiral BNE.pud maps/scenario/A Tight Spot BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/A Tight Spot BNE.pud" Can't open pud file: ./maps/scenario/A Tight Spot BNE.pud maps/scenario/Bombs Away BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Bombs Away BNE.pud" Can't open pud file: ./maps/scenario/Bombs Away BNE.pud maps/scenario/Fire in the Water BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Fire in the Water BNE.pud" Can't open pud file: ./maps/scenario/Fire in the Water BNE.pud maps/scenario/Horse Shoe Island BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Horse Shoe Island BNE.pud" Can't open pud file: ./maps/scenario/Horse Shoe Island BNE.pud maps/scenario/Ice Fortress BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Ice Fortress BNE.pud" Can't open pud file: ./maps/scenario/Ice Fortress BNE.pud maps/scenario/Instant Action BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Instant Action BNE.pud" Can't open pud file: ./maps/scenario/Instant Action BNE.pud maps/scenario/Invasion BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Invasion BNE.pud" Can't open pud file: ./maps/scenario/Invasion BNE.pud maps/scenario/Opposites Attract BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Opposites Attract BNE.pud" Can't open pud file: ./maps/scenario/Opposites Attract BNE.pud maps/scenario/Ramparts BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Ramparts BNE.pud" Can't open pud file: ./maps/scenario/Ramparts BNE.pud music/Human Battle 1.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN1.WAV" music/Human Battle 2.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN2.WAV" music/Human Battle 3.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN3.WAV" music/Human Battle 4.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN4.WAV" music/Human Battle 5.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN5.WAV" music/Human Battle 6.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN6.WAV" music/Orc Battle 1.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC1.WAV" music/Orc Battle 2.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC2.WAV" music/Orc Battle 3.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC3.WAV" music/Orc Battle 4.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC4.WAV" music/Orc Battle 5.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC5.WAV" music/Orc Battle 6.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC6.WAV" music/Human Briefing.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HWARROOM.WAV" music/Orc Briefing.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/OWARROOM.WAV" music/Human Victory.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HVICTORY.WAV" music/Orc Victory.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/OVICTORY.WAV" music/Human Defeat.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HDEFEAT.WAV" music/Orc Defeat.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ODEFEAT.WAV" music/Main Menu.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/OWARROOM.WAV" music/I'm a Medieval Man.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/DISCOWC.WAV" Done.
By the way were is the documentation to use wartool.exe ? The readme tells to go on this page : http://wargus.github.io/ and on this page there's only a video telling to use the instaler with bnet edition... ?
The battle.net edition is less tested, one issue may be that the mpqlist isn't correct (the mpq format is basically a compressed archive without the filenames, but you have to know the exact filenames of everything to extract it - that's what the mpqlist is for). Basically the errors tell us that these filenames that we think should be there are not. I'm sure it is easy to try different names by just changing them in the code, but I really don't know when I will have time to try in the next months. Sorry.
ChefKeeper notifications@github.com schrieb am Do., 25. Mai 2017, 09:57:
No I haven't the DOS CD. When doing extraction manualy I got these errors :
Can't open pud file: ./maps/Classic/Expansion/Web.pud maps/Classic/Expansion/WizWar.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/WizWar.pud" Can't open pud file: ./maps/Classic/Expansion/WizWar.pud maps/Classic/Expansion/Scenario/4_step.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/4_step.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/4_step.pud maps/Classic/Expansion/Scenario/Anarchy.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Anarchy.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Anarchy.pud maps/Classic/Expansion/Scenario/Burn_It.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Burn_It.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Burn_It.pud maps/Classic/Expansion/Scenario/Chess.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Chess.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Chess.pud maps/Classic/Expansion/Scenario/DeadMeet.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/DeadMeet.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/DeadMeet.pud maps/Classic/Expansion/Scenario/Falsie.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Falsie.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Falsie.pud maps/Classic/Expansion/Scenario/FireRing.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/FireRing.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/FireRing.pud maps/Classic/Expansion/Scenario/Football.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Football.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Football.pud maps/Classic/Expansion/Scenario/Fortress.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Fortress.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Fortress.pud maps/Classic/Expansion/Scenario/GrtWall.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/GrtWall.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/GrtWall.pud maps/Classic/Expansion/Scenario/Heroes1.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Heroes1.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Heroes1.pud maps/Classic/Expansion/Scenario/Heroes2.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Heroes2.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Heroes2.pud maps/Classic/Expansion/Scenario/Invasion.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Invasion.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Invasion.pud maps/Classic/Expansion/Scenario/Jail.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Jail.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Jail.pud maps/Classic/Expansion/Scenario/MagIsle.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/MagIsle.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/MagIsle.pud maps/Classic/Expansion/Scenario/Massacre.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Massacre.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Massacre.pud maps/Classic/Expansion/Scenario/Midland.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Midland.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Midland.pud maps/Classic/Expansion/Scenario/MinasTir.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/MinasTir.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/MinasTir.pud maps/Classic/Expansion/Scenario/Onslaugh.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Onslaugh.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Onslaugh.pud maps/Classic/Expansion/Scenario/Rescue.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Rescue.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Rescue.pud maps/Classic/Expansion/Scenario/Sacrific.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Sacrific.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Sacrific.pud maps/Classic/Expansion/Scenario/Sparta.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Sparta.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Sparta.pud maps/Classic/Expansion/Scenario/Stone.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Stone.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Stone.pud maps/Classic/Expansion/Scenario/Suicide.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Suicide.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Suicide.pud maps/Classic/Expansion/Scenario/Time.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Time.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Time.pud maps/Classic/Expansion/Scenario/TrenchWar.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/TrenchWar.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/TrenchWar.pud maps/Classic/Expansion/Scenario/WaterRes.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/WaterRes.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/WaterRes.pud maps/Classic/Expansion/Scenario/Wish.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Expansion/Scenario/Wish.pud" Can't open pud file: ./maps/Classic/Expansion/Scenario/Wish.pud maps/Classic/Scenario/Alamo.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Alamo.pud" Can't open pud file: ./maps/Classic/Scenario/Alamo.pud maps/Classic/Scenario/Channel.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Channel.pud" Can't open pud file: ./maps/Classic/Scenario/Channel.pud maps/Classic/Scenario/Death.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Death.pud" Can't open pud file: ./maps/Classic/Scenario/Death.pud maps/Classic/Scenario/Dragon.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Dragon.pud" Can't open pud file: ./maps/Classic/Scenario/Dragon.pud maps/Classic/Scenario/Icebrdge.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Icebrdge.pud" Can't open pud file: ./maps/Classic/Scenario/Icebrdge.pud maps/Classic/Scenario/Islands.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Islands.pud" Can't open pud file: ./maps/Classic/Scenario/Islands.pud maps/Classic/Scenario/Land_Sea.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Land_Sea.pud" Can't open pud file: ./maps/Classic/Scenario/Land_Sea.pud maps/Classic/Scenario/Mutton.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/Classic/Scenario/Mutton.pud" Can't open pud file: ./maps/Classic/Scenario/Mutton.pud maps/ladder/Arctic Circle BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Arctic Circle BNE.pud" Can't open pud file: ./maps/ladder/Arctic Circle BNE.pud maps/ladder/Bridge to bridge combat BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Bridge to bridge combat BNE.pud" Can't open pud file: ./maps/ladder/Bridge to bridge combat BNE.pud maps/ladder/Fierce ocean combat BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Fierce ocean combat BNE.pud" Can't open pud file: ./maps/ladder/Fierce ocean combat BNE.pud maps/ladder/Forest Trail BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Forest Trail BNE.pud" Can't open pud file: ./maps/ladder/Forest Trail BNE.pud maps/ladder/Frog Legs BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Frog Legs BNE.pud" Can't open pud file: ./maps/ladder/Frog Legs BNE.pud maps/ladder/Garden of war BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Garden of war BNE.pud" Can't open pud file: ./maps/ladder/Garden of war BNE.pud maps/ladder/High seas combat BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/High seas combat BNE.pud" Can't open pud file: ./maps/ladder/High seas combat BNE.pud maps/ladder/Mine in the center BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Mine in the center BNE.pud" Can't open pud file: ./maps/ladder/Mine in the center BNE.pud maps/ladder/No way out of this maze BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/No way out of this maze BNE.pud" Can't open pud file: ./maps/ladder/No way out of this maze BNE.pud maps/ladder/Plains of snow BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Plains of snow BNE.pud" Can't open pud file: ./maps/ladder/Plains of snow BNE.pud maps/ladder/Skull isle BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/Skull isle BNE.pud" Can't open pud file: ./maps/ladder/Skull isle BNE.pud maps/ladder/The four corners BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/The four corners BNE.pud" Can't open pud file: ./maps/ladder/The four corners BNE.pud maps/ladder/The spiral BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/ladder/The spiral BNE.pud" Can't open pud file: ./maps/ladder/The spiral BNE.pud maps/scenario/A Tight Spot BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/A Tight Spot BNE.pud" Can't open pud file: ./maps/scenario/A Tight Spot BNE.pud maps/scenario/Bombs Away BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Bombs Away BNE.pud" Can't open pud file: ./maps/scenario/Bombs Away BNE.pud maps/scenario/Fire in the Water BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Fire in the Water BNE.pud" Can't open pud file: ./maps/scenario/Fire in the Water BNE.pud maps/scenario/Horse Shoe Island BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Horse Shoe Island BNE.pud" Can't open pud file: ./maps/scenario/Horse Shoe Island BNE.pud maps/scenario/Ice Fortress BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Ice Fortress BNE.pud" Can't open pud file: ./maps/scenario/Ice Fortress BNE.pud maps/scenario/Instant Action BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Instant Action BNE.pud" Can't open pud file: ./maps/scenario/Instant Action BNE.pud maps/scenario/Invasion BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Invasion BNE.pud" Can't open pud file: ./maps/scenario/Invasion BNE.pud maps/scenario/Opposites Attract BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Opposites Attract BNE.pud" Can't open pud file: ./maps/scenario/Opposites Attract BNE.pud maps/scenario/Ramparts BNE.pud: MPQ file "H://INSTALL.EXE" Failed to extract "maps/scenario/Ramparts BNE.pud" Can't open pud file: ./maps/scenario/Ramparts BNE.pud music/Human Battle 1.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN1.WAV" music/Human Battle 2.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN2.WAV" music/Human Battle 3.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN3.WAV" music/Human Battle 4.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN4.WAV" music/Human Battle 5.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN5.WAV" music/Human Battle 6.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HUMAN6.WAV" music/Orc Battle 1.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC1.WAV" music/Orc Battle 2.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC2.WAV" music/Orc Battle 3.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC3.WAV" music/Orc Battle 4.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC4.WAV" music/Orc Battle 5.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC5.WAV" music/Orc Battle 6.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ORC6.WAV" music/Human Briefing.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HWARROOM.WAV" music/Orc Briefing.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/OWARROOM.WAV" music/Human Victory.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HVICTORY.WAV" music/Orc Victory.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/OVICTORY.WAV" music/Human Defeat.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/HDEFEAT.WAV" music/Orc Defeat.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/ODEFEAT.WAV" music/Main Menu.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/OWARROOM.WAV" music/I'm a Medieval Man.wav: MPQ file "H://INSTALL.EXE" Failed to extract "Music/DISCOWC.WAV" Done.
By the way were is the documentation to use wartool.exe ? The readme tells to go on this page : http://wargus.github.io/ and on this page there's only a video telling to use the instaler with bnet edition... ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Wargus/wargus/issues/241#issuecomment-303948340, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC0mwlcP39KJRhQ2PGV3vN3-CX1XLK-ks5r9TRNgaJpZM4NluIE .
I'd be happy to do it if you tell me how ;)
Hey I did some testing, when I extracted the w2BNET MPQ with the MPQ Editor from : http://www.zezula.net/en/mpq/download.html and the listfile from same url I got a succesfull extraction with all the files with correct names. After using the https://github.com/Wargus/wargus/blob/master/wartool.h I manually copyed some of the sounds to the correct place (tested peon, elven archer, footman) and I got them talking :)
Now my next step is going to try to understand why wartool can't do this. What are the steps to get it working from sources ?
If you want to list or extract files from MPQ archives, you can use my SMPQ command line tool: https://launchpad.net/smpq
It is fully open source, based on stormlib library (same which uses MPQ Editor) so you can easily compare results or investigate where can be problems...
Tool is also available in Ubuntu or Debian standard repository.
@ChefKeeper can you check that the files and paths that the mpq editor shows you for install.exe are the same as the ones in wartool.h? e.g. there should be a file Gamesfx/human/hwhat1.wav
that should get extracted to sounds/human/basic_voices/selected/1.wav
(https://github.com/Wargus/wargus/blob/master/wartool.h#L1617).
So I started my investigations, I managed to compile from source on linux. After replacing the content of the BNEReplaceTable to lowercase : https://github.com/Wargus/wargus/blob/master/wartool.h#L182 (linux is case sensitive), I got wartool runing in apparence similar to the windows version I have. However when I look for the extracted datas in ~/.stratagus many files are missing not only the sounds but also all the textures, but I only got errors for the sounds... ?
@timfel the MPQ editor doesn't allow me to open install.exe maybe that's the problem because wartool tries to extract from a non valid MPQ ie : install.exe ?
@ChefKeeper If MPQ editor is not able to open install.exe, then it is likely that the extraction tool cannot, either. I don't know what format the exe is in and how to get at the mpq file inside.
On Wed, 31 May 2017, 10:26 ChefKeeper, notifications@github.com wrote:
So I started my investigations, I managed to compile from source on linux. After replacing the content of the BNEReplaceTable to lowercase : https://github.com/Wargus/wargus/blob/master/wartool.h#L182 (linux is case sensitive), I got wartool runing in apparence similar to the windows version I have. However when I look for the extracted datas in ~/.stratagus many files are missing not only the sounds but also all the textures, but I only got errors for the sounds... ?
@timfel https://github.com/timfel the MPQ editor doesn't allow me to open install.exe maybe that's the problem because wartool tries to extract from a non valid MPQ ie : install.exe ?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Wargus/wargus/issues/241#issuecomment-305121431, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC0mz5I0-v_Zlm0lYj36NhtSzl9NAz7ks5r_SQwgaJpZM4NluIE .
Are data really stored in install.exe? Is that file big enough so it could contain those data? Have you tried smpq for verification?
@pali,yes, it is big enough and i also tried smpq. Unfortunately, no luck, so it seems to be some other format :(
On Wed, 31 May 2017, 12:43 pali, notifications@github.com wrote:
Are data really stored in install.exe? Is that file big enough so it could contain those data? Have you tried smpq for verification?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Wargus/wargus/issues/241#issuecomment-305154012, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC0m9rRYKOnFKAkbkAQML5mGAduKF6fks5r_URRgaJpZM4NluIE .
Ok now I have the same extraction on linux as windows (had to install ffmpeg2theora even for images ... ?) But now I still can't start wargus, I got this error :
Stratagus failed to load game data. If you just launched the game without any arguments, this may indicate a bug with the extraction process. Please report this on https://github.com/Wargus/stratagus/issues/new, and please give details, including: operating system, installation path, username, kind of source CD. A possible solution is to remove the hidden folder /home/olivier/.stratagus/data.Wargus).
But actually I think it's stratagus fault this time ^^, because when I try to launch I got a segfault, and when I compile in debug and run gdb I got this :
(gdb) run
Starting program: /home/olivier/stratagus/stratagus-dbg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bb7d60 in ?? () from /usr/lib/liblua.so.5.3
Any idea ?
Hmm, it's strange that it would be using lua 5.3, it should be using 5.1. We never updated for compatibility reasons with libtolua++. I didn't know that it even compiles against 5.3...
On Fri, 2 Jun 2017, 23:40 ChefKeeper, notifications@github.com wrote:
Ok now I have the same extraction on linux as windows (had to install ffmpeg2theora even for images ... ?) But now I still can't start wargus, I got this error :
Stratagus failed to load game data. If you just launched the game without any arguments, this may indicate a bug with the extraction process. Please report this on https://github.com/Wargus/stratagus/issues/new, and please give details, including: operating system, installation path, username, kind of source CD. A possible solution is to remove the hidden folder /home/olivier/.stratagus/data.Wargus).
But actually I think it's stratagus fault this time ^^, because when I try to launch I got a segfault, and when I compile in debug and run gdb I got this :
(gdb) run Starting program: /home/olivier/stratagus/stratagus-dbg [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bb7d60 in ?? () from /usr/lib/liblua.so.5.3
Any idea ?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Wargus/wargus/issues/241#issuecomment-305915767, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC0m0ZfRq7lRB9hiZ635l6-nqK7YYTKks5sAIE-gaJpZM4NluIE .
I also can't compile metaserver got error when making :
make[2]: No rule to make target 'metaserver/cmd.cpp', needed by 'CMakeFiles/metaserver.dir/metaserver/cmd.cpp.o'. Stop. make[1]: [CMakeFiles/Makefile2:179: CMakeFiles/metaserver.dir/all] Error 2 make: *** [Makefile:128: all] Error 2
So stratagus should work with 5.1 ? I'll try that
@ChefKeeper
metaserver/cmd.cpp
is part of the source tree, it should be there.War2Dat.mpq
in the installation folder?I retested compiling metaserver from stratagus repository here's the error I got :
[ 99%] Linking CXX executable metaserver
/usr/bin/ld: cannot open output file metaserver: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/metaserver.dir/build.make:228: metaserver] Error 1
make[1]: *** [CMakeFiles/Makefile2:236: CMakeFiles/metaserver.dir/all] Error 2
make: *** [Makefile:117: all] Error 2
I guess the problem is that the output binary has the same name as the directory : metaserver
And here's what I got from GDB with a break at : https://github.com/Wargus/wargus/blob/master/wartool.cpp#L510 :
22(gdb) run -r -v ../w2 data
23Starting program: /home/olivier/wargus/wartool -r -v ../w2 data
24
25Breakpoint 1, ExtractMPQFile (szArchiveName=0x7fffffffdcd0 "../w2/install.exe", szArchivedFile=0x42eccf "files/War2Dat.mpq", szFileName=0x7fffffffddd0 "data/install.exe", compress=false)\
at /home/olivier/wargus/wartool.cpp:510
26510 nError = GetLastError();
27(gdb) n
28514 if(nError == ERROR_SUCCESS) {
29(gdb) p nError
30$1 = 2
31(gdb)
So SFileOpenFileEx fails to open file : files/War2Dat.mpq from archive : install.exe returning the error code == 2 but I can't find anywhere the meaning of this error ? And when I open install.exe with MPQextractor this file exists...
Hey just to keep you updated I made some progress about this issue, I should be able to make a PR very soon hopefully this week ;)
I think we can close this issue now, because the missing sounds is due to #249 , music got extracted but the converting to ogg fails but the .wav are still all removed, btw it is not necessary to convert wav to ogg, since SDL can read both. I tested to change all the .wav to *.ogg (only name changing) and it works like a charm, so maybe we should only convert for non BNE ?
Since #250 got merged now, #249 should be fixed. Could you just check if that fixes the conversion from wav to ogg in this case, too? I so, we can close this :)
Just a little update I tested really fast but extraction failled, but I know what the problem is : I forgot to commit the cpp, I'll make a PR as soon as I can. Problem is that the path should be lowercase on linux (even if it's upper on windows ... why ?) : https://github.com/Wargus/wargus/blob/master/wartool.cpp#L2494 But I don't know if it's only my linux having the path in lowercase or all ? Because if I just repair to work with lowercase and break all the others... win is not a problem though because path ignores the case. Maybee someone else with the BNE CD and a linux can just show me if he has lower too ? Just show me the output of ls when you are in the root directory of the BNE CD on linux I'll try with another linux pc next week.
Hello,
I've just tested wargus on my windows 8 with the battle.net edition. When I install wargus everything goes well until the end where I got loads of message that it can't load the sound files (tested with 2.4 and 2.4.1) : Can't open file 'human/basic_voices/ready.wav' Can't load the sound 'human/basic_voices/ready.wav' Can't open file 'human/basic_voices/help/1.wav' Can't load the sound 'human/basic_voices/help/1.wav' Can't open file 'human/basic_voices/help/2.wav' Can't load the sound 'human/basic_voices/help/2.wav' Can't open file 'human/basic_voices/dead.wav' Can't load the sound 'human/basic_voices/dead.wav' Can't open file 'orc/basic_voices/ready.wav' etc...
basicly the game works pretty well, I even have the game music only missing sounds are the voices :(
Tell me if you need more informations.
Cheers.