Re:GTA III and Vice City fully reverse engineered: re3
by aap_ on Sunday February 14, 2021 @08:14AM
(#26132135)
Hi, (co-)author here. Cool to see this here :)
[ Parent
| on HN ]
Re:GTA III and Vice City fully reverse engineered: re3
by NullPrefix on Sunday February 14, 2021 @09:44AM
(#26132770)
>Do not use features from C++11 or later.
Is this a technical requirement to have compiler feature parity on all platforms?
Re:GTA III and Vice City fully reverse engineered: re3
by aap_ on Sunday February 14, 2021 @12:16PM
(#26134060)
Pretty much, but also our goal is to recreate the code in a way that R* could have plausibly written it. And that implies no C++11.
Re:GTA III and Vice City fully reverse engineered: re3
by withmorten on Sunday February 14, 2021 @08:14PM
(#26137941)
To add to what aap mentioned, it also made it relatively easy to compile re3 and reVC with the original IDE it was written in - CodeWarrior 7. Some things accidentally made it in, like sized enums, but overall no major surgery required, or rather, far less than I expected.
Re:GTA III and Vice City fully reverse engineered: re3
by ayoubElk on Sunday February 14, 2021 @08:23AM
(#26132191)
This is fascinating, thanks!
Can you speak about what it took to achieve this? (required knowledge, process, etc...)
Re:GTA III and Vice City fully reverse engineered: re3
by aap_ on Sunday February 14, 2021 @08:27AM
(#26132211)
We were lucky that we had symbols from PS2 gta3 and the android games. other than that it was a lot of reading code in IDA and massaging it back into c++. I made a little video about part of the process [1] but i never did part 2.
The strategy for gta3 was to replace function by function of the game until we had everything replaced. for VC we evolved our existing code base by, again, reversing function by function until we had everything done. Just not by dll injection this time.
Re:GTA III and Vice City fully reverse engineered: re3
by duncanspumpkin on Monday February 15, 2021 @12:24PM
(#26144787)
Hey, whatever happened to openrw? I remember trying to get into that back in 2017 but looks like this project ended up superseding it.
Re:GTA III and Vice City fully reverse engineered: re3
by app4soft on Sunday February 14, 2021 @08:45AM
(#26132337)
Any ideas to make it usable under ATI RS600 on Linux with Mesa drivers?
Re:GTA III and Vice City fully reverse engineered: re3
by aap_ on Sunday February 14, 2021 @11:17AM
(#26133558)
I assume you have tested it and it doesn't work? Maybe the GPU is simply too old. I'm doing everything with shaders and it's possible they are just too much for this GPU. Supporting a wide range of hardware (especially old one that nobody has anymore), is not easy.
Re:GTA III and Vice City fully reverse engineered: re3
by app4soft on Monday February 15, 2021 @12:02PM
(#26144536)
> I'm doing everything with shaders... upporting a wide range of hardware (especially old one that nobody has anymore), is not easy.
What about adding just an option (e.g. `re3 --no-shaders`) for may it possible run re3 even on older hardware by disabling most of decorative shaders?
Re:GTA III and Vice City fully reverse engineered: re3
by ChuckNorris89 on Sunday February 14, 2021 @08:15AM
(#26132142)
Thanks for your efforts.