Author Topic: Warcraft 2 - remake  (Read 16640 times)

Offline mestereaga_andrei

  • Peon
  • **
  • Posts: 9
    • View Profile
Warcraft 2 - remake
« on: January 23, 2017, 02:08:37 PM »
Hello guys,
Following your posts, I decides to make an another topic.

What: As you can read, I have just decided to start a new project. This includes a new warcraft game implementation using SDL cpp library and native C/Cpp code.

Why: because my ideas can't fit into a hacked warcraft version. I want heros with new speels, lvling engine and other stuff to aim my initial idea, having one warcraft that contains dota mode. But there is more than this, I plan to make a map editor changing the old PDU concept. This new editor will be based on this game new implementation, from where you can write a complex AI program (for example one specific AI for a single unit, etc)

When: I plan to develop this new game that is based on warcraft during this year. According on achivments, I'll decide if I'll keep this project.

Proove of concept: I already have a first scretch that is able to hande warcraft data and displaying characters like Peons at a specific location and changing their icons according to a specific event (key down- mouse moving). I plan to implement a full movement engine for characters like 278 (hope this is the correct entry number for units movments from wardat).

It looks to be a lot of work, but my goal is to learn how to do this. At least is a win for me.
Of course, everybody is invited to join to this project. As soon as I have a good starting point, I'll uploadd the whole project as open source.
I'll be back whith results. Don't hesitate to contact me for any additional information.
Pace!
« Last Edit: January 23, 2017, 02:20:28 PM by mestereaga_andrei »

Offline mestereaga_andrei

  • Peon
  • **
  • Posts: 9
    • View Profile
Re: Warcraft 2 - remake
« Reply #1 on: January 29, 2017, 09:03:45 AM »
Hi guys!

I'm back with news.
After I spent some time implementing a new warcraft 2 engine based on wardat files, I can say that this looks to be more difficult than I expected.
After all I have some results, implementing unit movements using moving code from 278 as example.
I know it is not perfect. there are two known issues:
1) if you command unit to a new location while it is moving, is possible to make some unexpected space jumps.
2)sometime few frames are missing or the movement is looking weird. The select box is not as I expected. There should be make some manual offsets from loaded PNG graphic.

I know it is not a big progress, but I'm still looking for your opinion.
PS: email me for binaries. I find out there are some rules and external links are not allowed.
The game should be working with windows 7 32 bit version. I attached all dlls togheter with exe file. Otherwise, please check the runtime C++ libraries that are needed for SDL.
Pace!

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Warcraft 2 - remake
« Reply #2 on: January 29, 2017, 11:14:55 AM »
add some pics  :P, just put them in attachments.

cool u got dos to work with 7?
« Last Edit: January 29, 2017, 11:43:37 AM by easycompany »

Offline mestereaga_andrei

  • Peon
  • **
  • Posts: 9
    • View Profile
Re: Warcraft 2 - remake
« Reply #3 on: January 29, 2017, 01:02:20 PM »
Cool. I just found out there is an attachment button!

I attached the executable output.

@easycompany: actually there is no more dos game. I started to write the whole game from 0. So, it is compiled with C++ compiler, the target platform is windows 7 32 bit.

But as I said, there looks to be a lot of work to implement every part of this game (or what I really need for this new mode). So, I'll see if I'll continue with this project.
Another note: there are just 2 units (2 peons). The code that I write should be working for others units, but I just wanted to proof this concept. As soon as the basic code is working well, then I can start to extract each GFX file for each unit.
Hope you'll enjoy this :)



Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Warcraft 2 - remake
« Reply #4 on: January 29, 2017, 01:17:27 PM »
:o new engine!yes big task! have u ever try modifying stratagus/wargus?

it is lua scripts..+ c++ source

http://s000.tinyupload.com/download.php?file_id=05000483907156583846&t=0500048390715658384653114  there is the graphics from it.
« Last Edit: January 29, 2017, 01:24:40 PM by easycompany »

Offline mestereaga_andrei

  • Peon
  • **
  • Posts: 9
    • View Profile
Re: Warcraft 2 - remake
« Reply #5 on: January 29, 2017, 01:29:19 PM »
Just to see if it is working with more than 2 peons, now we have a lot of them ^^

I recompiled this. I have to admit that I don't write my best code, so is possible to lose some frames with more units.
The FPS should be 60.

There is not implemented the multiselection feature. Also, the units can overlap the same position.
The game can be easly reconfigured for all wide screen resolutions. You got a  1024_576 version, but by default I tested a lot with 640x480 (is easier when it doesn't open on your whole screen while debugging ^^).

This version contains 15 peons :) enjoy!


Offline mestereaga_andrei

  • Peon
  • **
  • Posts: 9
    • View Profile
Re: Warcraft 2 - remake
« Reply #6 on: January 29, 2017, 01:42:26 PM »
To be honest, I keept an eye over this project, wargus. But I saw no more activity on it, and I didin't find the engine code source, just scripts... but no basic core functions like unit movements implementation or others. Then there are two reasons:
1) The core code was compiled and it is used as DLL / obj.
2) It was generated by a specific tool and is too generic to be understood.


This was my conclusion after I spent 5 minutes on git hub project.
And regarding to graphic files, is really hard to extract icons from their PNG because I don't have some logs, like offset position or starting position of icon, etc. I used WarDraft to extract the GFX data. Is useful because it generates too a log file where are all positions of each icon.

Forget to say this: I don't want to make a copy of warcraft 2, then where is the point? why somebody want to play a copy of an original game? If the answer is the incompatibility, there are a lot of solutions -  I even played this game on my phone using virtual box application, and it was working great.

My idea is to make another game, using the concepts and graphic from original game. Imagine a RPG with this graphic and maps connected with dungeons, etc. Imagine this game with a new playable race and so on.  There are a lot of ideas, and my objective is to learn new things and create something. So if the answer is to obtain the same game with additional efforts, then no. Making this, I'll fail, I think nobody can do better than Blizard. Making something new where you can put your ideas, this is something else.
« Last Edit: January 29, 2017, 01:58:27 PM by mestereaga_andrei »

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Warcraft 2 - remake
« Reply #7 on: January 29, 2017, 02:16:25 PM »
https://sourceforge.net/projects/stratagus/ ... with a team of people alot is possible..tupac used to mess with making engines...but he has a full time job now making the $, women and wine...lambchops also but he is sidetracked..

theres the src..but all means go ahead wtih your plans ;)

Offline salvadorc17

  • Grunt
  • ***
  • Posts: 120
    • View Profile
Re: Warcraft 2 - remake
« Reply #8 on: January 29, 2017, 02:52:43 PM »
I can compile wargus/stratagus with no problem, the real problem is that some portion of engine is made in native c, and will need good knowledge to be modified. But also this engine of yours, what other advantages does have??

Offline mestereaga_andrei

  • Peon
  • **
  • Posts: 9
    • View Profile
Re: Warcraft 2 - remake
« Reply #9 on: February 08, 2017, 02:18:06 PM »
Hi guys!

Was a long time since my previously post. I`m from Romania, and I think you know our situation, I was a little bit busy :)
Thanks for this link, I`m trying to compile the code.
Looks like this is perfect, and I think that I can reuse this one.
Let me to see what I can do!
Pace :)

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Warcraft 2 - remake
« Reply #10 on: February 08, 2017, 06:44:37 PM »
all i need gone from it from me personally...is the annoying green lines!! like when u move :P

http://imageshack.com/i/poAPhxwKj

latest messing off with bnet, "warcraft goes purple"  "orcs in space" aka sc prealpha but there isnt enuff units in pics to make a 2 race game :/,but just got my plethora map on it..and hoping i can fix tower attack to battleship crashes for some users.

http://www.filedropper.com/easywargus  the wargus i was messing with....this one has a map editor 256x256 maps,the net has worked i connected on my lan a while back.

ive made small changes like,adding back the square around a unit,9selectable and turned off auto que

i couldnt locate the green lines nor the annoying text up top that is a pain when u start to really getting making stuff.

they could be lua controlled..but may be source and ill have to locate and see if i got this versions source...
« Last Edit: February 08, 2017, 07:33:53 PM by easycompany »

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Warcraft 2 - remake
« Reply #11 on: February 09, 2017, 04:13:19 AM »
https://sourceforge.net/projects/stratagus/ ... with a team of people alot is possible..
Why you give a link to old, abandoned version of project?
Quote
Last Update: 2013-04-22

I talked about this one: https://github.com/Wargus/stratagus
Last update (according to commits) is 2 Dec 2016.
You can download both source code and binaries for win/linux platforms.
I tried version for windows: became much more pleasant, stable and user-friendly than previous forks.

And my dream is to see the 3-rd link near win and linux: binary for android. being updated automatically every time they make new release with some more bugs fixed.
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Warcraft 2 - remake
« Reply #12 on: February 09, 2017, 07:52:42 AM »
only src i found.

yeah github was down..

i forgot about  this one dudes.

http://www.moddb.com/mods/all-team-organizer/videos/multiplayer-gameplay-v4c3#imagebox
« Last Edit: February 09, 2017, 07:59:00 AM by easycompany »

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Warcraft 2 - remake
« Reply #13 on: February 09, 2017, 09:34:53 AM »
only src i found.

yeah github was down..
Scroll down the page:
https://github.com/Wargus/stratagus

Quote
Nightly builds are available:

    Windows Installer: https://github.com/Wargus/stratagus/releases/tag/master-builds
    Ubuntu/Debian Packages: https://launchpad.net/~stratagus/+archive/ubuntu/ppa

For Mac OS X, Stratagus comes bundled in the app bundles for Wargus, Stargus, and War1gus:

    Wargus: https://github.com/Wargus/stratagus/wiki/osx/Wargus.app.tar.gz
    War1gus: https://github.com/Wargus/stratagus/wiki/osx/War1gus.app.tar.gz
    Stargus: https://github.com/Wargus/stratagus/wiki/osx/Stargus.app.tar.gz

Quote
stratagus (2.4.1-0~9226~ubuntu14.04.1) trusty; urgency=low

  * Auto build.

 -- Launchpad Package Builder <email address hidden>  Fri, 02 Dec 2016 18:04:38 +0000
« Last Edit: February 09, 2017, 09:38:30 AM by iL »
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline salvadorc17

  • Grunt
  • ***
  • Posts: 120
    • View Profile
Re: Warcraft 2 - remake
« Reply #14 on: February 09, 2017, 03:30:08 PM »

http://www.filedropper.com/easywargus  the wargus i was messing with....this one has a map editor 256x256 maps,the net has worked i connected on my lan a while back.

ive made small changes like,adding back the square around a unit,9selectable and turned off auto que

i couldnt locate the green lines nor the annoying text up top that is a pain when u start to really getting making stuff.

they could be lua controlled..but may be source and ill have to locate and see if i got this versions source...


Good, youre trying to make it look like original, you can share source to able to do those changes, ill check for the text stuff, is some kind of debugger option.