Search found 14 matches

by paul
30 Sep 2019, 21:11
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

I think the first thing to be done is to collect all known versions of GTA2 for cross comparison and hope of any symbol leaks or debug compiled versions.

I know of these versions:

-PS1 release
-PC demo
-PC retail
-PC "rockstar classics"
by paul
27 Sep 2019, 20:35
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

Yep I fully expect this would be a multi person multi year project. Also agree that it can't really be automated. It would be manual work on around 5-6k functions.

I wouldn't do this alone if but we had say 5-10 people working on it then it could be possible to do within a few years.
by paul
26 Sep 2019, 18:58
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

I wonder if anyone would be interested in fully reversing GTA2 original exe? This would mean: 1. Disassemble the game to asm source. 2. Re-assemble and patch any time stamps in the PE header/debug info so it produces exactly the same original exe file. 3. Re-create the MSVC6 build environment. 4. Re...
by paul
19 Feb 2018, 23:54
Forum: GTA1/GTA2 chat
Topic: Just question of GTA2
Replies: 35
Views: 35862

Re: Just question of GTA2

I think the best way of doing this is just to create an open source engine. But to get it "true" to GTA2 you'd need to do a lot of reverse engineering to get the physics to behave in the same way. That is probably the hardest part :).
by paul
30 Jan 2017, 21:05
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

That sounds like fixed point. I've fixed 1 and 2 now.

The float hacks in GTA2 is some variation of this: http://stackoverflow.com/questions/1349 ... -quake-iii all replaced with a call to sqrt() once I figured out what the hell was going on!
by paul
27 Jan 2017, 22:57
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

Sektor wrote:Looking good, I hope you don't lose motivation. Will you add widescreen support?
I think that probably requires also replacing some functions in the main exe - the game would still only be trying to render 4:3 amount of data. Stretching the viewport is easy enough though.
by paul
27 Jan 2017, 20:00
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

3 bugs left...

1. Lighting is super confusing due to floating point hacks, see screen shot. Struggling to get this one working..
2. Main menu graphics colours are wrong - should be easy to fix.
3. The texture cache is always missed, probably doesn't really matter on modern hardware..
by paul
08 Jan 2017, 12:06
Forum: Modding forum
Topic: I'm creating new level designer, who will contribute?
Replies: 6
Views: 13647

Re: I'm creating new level designer, who will contribute?

Is Epic GTA2 Map Editor on github? Perhaps he could try adding it there.
by paul
04 Jan 2017, 08:08
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

If I could get a copy of the IDB file that would be awesome :D! Edit: Got it now :) About 70% done in terms of having a working open source d3ddll.dll Edit: Some more funny screen shots of various hacks/progress. Edit: Almost have a replacement now, only lighting is missing. Colour conversion of on ...
by paul
03 Jan 2017, 18:58
Forum: Modding forum
Topic: I'm creating new level designer, who will contribute?
Replies: 6
Views: 13647

Re: I'm creating new level designer, who will contribute?

Why not look into building into existing GTA2 map editors? Maybe have it work like factorio railway planner/tool.
by paul
03 Jan 2017, 18:28
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

I've started a project that reimplements dmavideo.dll and d3ddll.dll here https://github.com/paulsapps/GTA2Hax After this is done I will try to make OpenGL rendering engine for GTA2 and integrate ImGui for debugging purposes. Then I can start work on reversing car physics properly. It might even mak...
by paul
06 Dec 2016, 23:52
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

Has anyone worked on reversing the car physics? I've been thinking about perhaps using a dmavideo.dll proxy to try to reimplement the car physics functions. I think for a re-implementation the car physics need to feel very close to the original. All of the reading map formats/scripts etc seems like ...
by paul
01 Apr 2016, 09:28
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

Re: OpenGTA2?

Hmm I wonder why he would re-write it. Sounds like it was about 50% of the way there gameplay wise.

I've got a fork of the original code on github but I don't want to spend time updating it if its a dead end :).
by paul
31 Mar 2016, 19:03
Forum: GTA1/GTA2 chat
Topic: OpenGTA2?
Replies: 36
Views: 33158

OpenGTA2?

Does anyone know what the status of this is?

Last news was this: http://gtamp.com/2009/07/18/gta2-news/

Now his site seems to have gone including the svn, but there is some mirror on github here:

https://github.com/u9oqcd4p/OpenGTA2