#Midtown Madness 2

1 messages · Page 1 of 1 (latest)

sick seal
#

install dxwrapper (ddraw.dll) and turn on d3d7 to 9

#

original map didnt work well however because of lags

calm belfry
#

oh wow!

#

amazing

#

@novel knot to make sure you see this

sick seal
#

yeah thanks for the good work !

sick seal
low pilot
#

let's talk here @sick seal

#

very excited to see it working

#

finally

sick seal
#

categorie 3 texture as sky texture
the sky texture
the cloud texture
and texture looks like this
this one which made the car to show correctly

#

different map could be different but it looks like this

#

remember to use my rtx config above which made the game to be more stable

low pilot
#

ok tell me about remix capture

#

does it work as well?

sick seal
#

idk you try shrug

#

i can capture but didnt import

#

you can try

river swallow
sick seal
#

low pilot
#

my work here is done

low pilot
# sick seal

he means if the hashes are stable for texture or mesh replacements

#

you can check them in debug view

sick seal
#

@low pilot btw can you send me original MM1 build with no open1560

#

lazy to find one lol

low pilot
#

thing about remix is that this flat 2d texture and the steering wheel can possibly all be converted into actually 3d dashboards because if the hashes are stable

sick seal
#

well mm2 dashboard is actually 3d model, but 2d trollSmile

low pilot
#

its a flat 2d plane with texture

sick seal
sick seal
low pilot
#

@sick seal can you check this and record a video again?

sick seal
#

its full of red

#

but stable

#

nvm i messed up something

low pilot
#

its stable

#

except for the water body

sick seal
#

true

river swallow
low pilot
#

that means mesh replacement is possible

mild lava
# sick seal there

Wow, the performance in this latest build of dxwrapper seems way better when paired with remix now. Which gpu do you have?

low pilot
#

actually it would be very easy to replace assets in this game because shared hashes on street lights and trees

mild lava
#

Oh, a 40 series card, I wonder if its the omm doing its thing. Could you please check if the whole game gets red if you check "is opaque" in the debug view?

sick seal
#

guess not

low pilot
#

that's just a low res texture that needs adjustment

#

why is the car opaque tho

sick seal
#

its not opaque when render tho

low pilot
#

just like how the ground was semi transparent in Midnight club 2

#

could be fixed by replacements

simple halo
#

TIME TO REPLACE EVERYTHING WITH CJ MODEL!!!!

#

Its really interesting even the world is stable

#

This makes me so excited

low pilot
sick seal
#

i need an AI mod to fix alpha blend opaque texture Shrug

low pilot
sick seal
#

nah im going to try that Happi

sick seal
#

do that works with tga hubertandsokiesandsued

#

anyway so to get this project working we gunna do 3 things

#
  1. fix the menu
  2. fix the lags
  3. get the texture working
low pilot
#

did you try taking a capture and viewing it in remix toolkit?

#

@sick seal btw in settings turn off reflections if you have it on already, maybe that's what's causing opaque texture

sick seal
#

not yet unfortunately

low pilot
#

MM2 graphic settings

sick seal
#

i will try tomorrow

low pilot
#

settings everything to low except textures, model details and visibility to high

sick seal
#

but honestly i think its not where the problem from

#

i had seen this issue in 5+ game from 1999 to 2013

low pilot
#

we shall see tomorrow

novel knot
novel knot
river swallow
#

@sick seal I'm just curious, are you from Hong Kong? I noticed that you play maps of Hong Kong in OMSI and MM2.

river swallow
# sick seal ye

Yeah, me too, finally found a HK ppl in remix channel, are you going to mod this game?

river swallow
#

MM2

sick seal
#

mm2 ? yes but im not professional

river swallow
sick seal
#

and thanks god im not the only guy to discover those in Hong Kong Happi

river swallow
#

I really love this game, perhaps I can create a remix mod for it. However, I still need to finish working on something for NFSU2 first.

sick seal
river swallow
#

During my teenage years, I used to play this game on MSN Zone most of the time. It was my most played online racing game.

sick seal
#

but MSN Zone is gone since 2000s 😔

river swallow
sick seal
river swallow
#

Oh the uwants mm2 channel is gone.

sick seal
low pilot
#

@sick seal can you extract the textures of cars?

sick seal
#

7zip

#

from .ar

#

im not at home rn so i cant do this at this time

low pilot
#

we need hash and .dds file

#

hash is important

sick seal
#

which part of cars ?

#

AI?

#

since user car are rendering fine

low pilot
sick seal
low pilot
#

I need to remove lighting data from it and apply PBR, then you can test it as a replacement

#

Because they have pre baked lighting information on it which will mess up the PBR process

#

Maybe madness club can give a solution

sick seal
#

ah

low pilot
#

anyone working on this?

sick seal
#

not really been busy with works recently

agile roost
river swallow
#

I want to give this a try, but I'm having trouble loading the game with remix. Every time I try to load the actual game scene, it freezes. Remix only seems to work during the preloading scene (scene/vehicle selection), and the game resolution is very low.

novel knot
#

BTW: I created a branch for Midtown Madness 1 and put in a hack that I think should get it working. It does require adding additional lines into the ini file: DdrawOverrideStencilFormat = 80 and ForceExclusiveFullscreen = 1

sick seal
sick seal
#

it should work without dlss frame gen

low pilot
river swallow
sick seal
#

what's yo GPU

river swallow
#

4090

sick seal
#

damn that's better than my 4070 hubertandsokiesandsued

#

you did put rtx.conf in folder right

#

and you have nhook ?

river swallow
sick seal
#

do you got any error message

river swallow
#

Wait, it can run now, but there are heavy visual bugs, and the screen resolution is still very low.

low pilot
low pilot
sick seal
#

nhook is newer

sick seal
river swallow
#

What are your in-game settings?

#

Some of the in-game screens appear as textures.

sick seal
sick seal
river swallow
river swallow
#

The textures are visible in Remix, but after capturing, many of them fail to load correctly. This makes it difficult to work on texture replacement.

low pilot
#

oh crap

river swallow
low pilot
#

i wonder what format it is

fast drum
#

if you press w the game has a letterboxed widescreen mode

river swallow
#

Texture replacement is technically possible, but it's challenging to recreate a new texture without the original one as a reference due to the texture format issue. As a result, I'm not currently focusing on this task. Instead, I'll shift my attention back to modding NFSU2, MC2, and GTASA. Perhaps I'll wait for the remix to fix the texture format issue before continuing my work.

sick seal
#

mm2 uses three type of image file mainly

#

ranked tex > tga > bmp

#

you would need .tex file to do texture replacement in original map

river swallow
low pilot
river swallow
#

@novel knot Huston, we have a problem
#general-remix message
It appears that the texture issue is originating from the wrapper, which is causing problems with the Gli texture format.
#general-remix message

novel knot
novel knot
novel knot
river swallow
# novel knot That is how the game was written. Dxwrapper is just trying to convert it to DX9...

The wrapper is currently utilizing the Gli texture format to the renderer, and when we capture the scene, remix saves the captured texture directly in that format. However, most texture editing software nowadays does not support this format, making it difficult for us to properly replace the textures. Is there any possibility of switching the output to another texture format that is compatible with the modern texture editing software?

novel knot
#

Actually dxwrapper does nothing with the texture format. The game directly puts data in the texture surface by itself. dxwrapper just gives the game the DX9 texture memory address and then game puts data in there.

#

It would cause perf issues if I tried to intercept the data and change it on the fly.

#

Besides. Dxwrapper knows nothing of texture formats.

#

Maybe a Gli texture converter needs to be made?

river swallow
#

But Gli was released in 2009, while the game itself came out in 2000. How is it possible for the game to use a future format that was not supported at that time?🤔

novel knot
#

That is weird. Unless it is done by D3DX?

river swallow
novel knot
#

It seems that Gli texture format is from OpenGL. There is no code related to that in dxwrapper.

#

I can make a build that disables D3DX and see if the issue remains. But that will be a bit of work...

river swallow
novel knot
#

Are all the textures Gli? If not, which textures are Gli? It might help me figure out what's happening.

river swallow
novel knot
#

I was hoping to find out what part of the game uses these textures. For example, the car textures or the sky textures, the menu textures, etc.

#

Do you think it is possible that DXVK is dong the conversion?

#

I really don't believe that dxwrapper is doing this. I wrote every line of code in dd7to9...

river swallow
novel knot
#

That makes more sense to me. Maybe the format used by the game is too old and so DXVK converts it to something they know about.

#

Maybe we can find a texture tool that works with Direct3D9 and can pull the textures directly.

#

This way we can see what dxwrapper is giving to Direct3D9 before DXVK gets it.

river swallow
river swallow
novel knot
#

"rtx.usePartialDdsLoader bool True A flag controlling if the partial DDS loader should be used, true to enable, false to disable and use GLI instead.
Generally this should be always enabled as it allows for simple parsing of DDS header information without loading the entire texture into memory like GLI does to retrieve similar information.
Should only be set to false for debugging purposes if the partial DDS loader's logic is suspected to be incorrect to compare against GLI's implementation."

river swallow
#

I have tried enabling and disabling it, but there is still no difference.

novel knot
calm belfry
#

@river swallow can you just set up a script to modify the header in all of the dumped files?

river swallow
calm belfry
#

interesting. the one you sent earlier worked perfectly with DXT1

river swallow
#

Edited header texture look like this

calm belfry
#

ah weird

river swallow
calm belfry
#

i found this. supposedly it supports GLT DDS handling

river swallow
#

Some textures look completely different from the original ones.

river swallow
calm belfry
#

oops. i must have searched wrong lol

river swallow
#

My broken brain can't comprehend C++ source code at 5 a.m., I think it would be better to try working on it tomorrow.

river swallow
river swallow
#

⭐ For those who are interested in texture replacement⭐
I have make a script that provides a temporary fix. It changes the texture header from GLI1 to DXT1, allowing other texturing tools to load the DDS file format.
bluesiren However, please note that the texture itself is not converted correctly. If you intend to use it for AI upscaling, it will not work as expected. I will search for a library to convert the texture to the correct format later.redsiren

Installation:
Requires Python 3.x or above.
Place the script outside the folder that requires administrator rights.

How to use:
Simply click the browse button to locate the capture texture folder and press proceed. This will automatically convert the texture headers from GLI1 to DXT1.

mild lava
river swallow
# mild lava Does that affect the original file or does it create a copy of it?

It affects the original file, but it creates a backup. The reason for editing the original files is to allow you to see what the texture looks like in Omniverse. Since it allows you to select the folder where you want to edit the texture, if you prefer not to edit the original, you can simply copy the texture to another folder for conversion.

dull lion
#

So to get RTX working in MM2 is there anything more I need? Do I need to install dgvoodoo before running Remix?

dull lion
#

I have to install dgvoodoo first before I can use it right?

low pilot
#

Uhhh I don't think so because dgvoodoo wrapper converts old dx7 code to d3d11 or d3d12

#

We need it to be dx9 so that it runs with remix

dull lion
#

Okay but MM2 usually doesn't boot on modern operating systems unless dgvoodoo is installed and settings are adjusted.

#

I wonder how OP dealt with this

low pilot
#

@dull lion #1216305912558653552 message

dull lion
#

Again I'm missing messages, had downloaded that rtx.conf sometime ago too

low pilot
#

While it's true you need it to run on modern systems

#

It just doesn't imply in the case of remix

low pilot
dull lion
#

Actually since you mentioned it I'm pretty sure that's where I got my rtx.conf

#

Alright well might as well get MM2 working, or try to at least. Thank you.

low pilot
#

Yeah sure, if you have any problems lmk

dull lion
#

I will.

low pilot
#

did anyone try with the latest remix builds?

harsh wolf
#

2025?

visual fable
#

I will try this when i get home on the 14th unless someone beats me to it.

low pilot
#

try nuhook and dxwrapper. Maybe remix capabilities could be extended by lua scripting (could be accelerated by use of coding AIs like claude)

#

Currently this game renders everything in its draw distance which means it's very cpu heavy

vagrant verge
#

Hi, I'm trying it with this: https://github.com/elishacloud/dxwrapper/releases
And without dgvoodoo, although my game lags a lot without dgvoodoo, but just to see if I can at least try remix in mm2.
Is "Dd7to9 = 1" the only setting i need in the wrapper ini? I'm using the wrapper's "ddraw.dll" file besides the dxwrapper.dll. Without the Nuhook mod for MM2 it just doesn't run, and with the mod I get this error at the end of the console:
Do I need to do something else to the wrapper ini perhaps? Or try a different wrapper or different method?

#

I come from a MM2 fans discord called Midtown Club where we have made a lot of mod these last few years. The game is extremely moddable by now, but of course Remix would take that to the next level for graphics

low pilot
#

I think you only need dx7 version of dxwrapper and that's probably it

vagrant verge
#

ah alright, gonna try that one 👌

#

its the one in the same link i posted right?

#

cause it gives me the same error in the NuHook console, ill see if i can solve it

#

oh it stops happening if i remove the d3d9 from remix 🤔 ill try adding it with a different name to the wrapper ini

low pilot
#

Get the dx7 game binaries and try an older version of remix runtime release

#

I'm really trying to get the first game to work but that game is fundamentally flawed and may never work so due to pre transformed vertices that are projected directly into screen space and originally rasterized by a blitter (d3d, OpenGL)

clever forge
vagrant verge
clever forge
#

Rtx remix etc?

vagrant verge
#

No

#

I dont think anyone has made a proper RTX Remix mod for MM2 and i couldnt run Remix on it myself yet

#

Some people in that server have tried Reshade on MM2 but i havent myself

low pilot
vagrant verge
low pilot
#

Odd, same error occurs with modified dxwrapper for dk2 rtx comp with midtown madness 1

#

Create process failed with open1560

vagrant verge
#

I havent tried older versions of Remix yet though, I still gotta do that at some point

low pilot
#

This game sort of works

#

But texture replacements were not possible last time I checked

clever forge
#

How about other titles? Gta san andreas remix? Is it worth as compared to definitive edition?