#Mafia The City of Lost Heaven

209 messages · Page 1 of 1 (latest)

dense jetty
#

To run mafia with RTX Remix you need:

Correctly set settings in setup.exe from the game folder (the settings are shown in the screenshot)

Copy Remix Runtime files to folder with other dll's, A1.dta, A2.dta and so on

in the .trex folder put the bridge.conf, which I dropped below, also in the main folder with all the dlls rename the original d3d9.dll to d3d9.remix.dll and put my d3d9.dll and d3d8.dll, which I attached to the #1055103037271703602 message, in the folder

in the developer menu, go to the game settings tab, expand UI Textures, and click on all interface textures, then expand Sky Textures, and click on all sky textures

After these steps, the game should work

idle aspen
#

Anyway to use it without owning Portal?

dense jetty
idle aspen
#

Well, I hope it does end up working, 0.1.1

dense jetty
#

cursor in remix menu now works if you add rtx.showUICursor = True in rtx.conf

#

animations now work properly, they don't freeze

marble hull
#

can't seem to reliably interact with the alt-x menu in-game, works buttery smooth for the cutscene but in free-ride or after the cutscene the renderer freezes entirely, sometimes showing me 1 good frame before freezing on a grey screen

dense jetty
#

I don't have this problem, can you see the list of textures in the city? because of this, the game freezes 100%, you need to look at the textures in the salieri bar or similar small locations

marble hull
#

Yeah, in that case I must be improperly selecting the terrain textures in the bar scene. Didn't expect a skill check in getting this set up haha

distant leaf
idle aspen
#

Yeah, that's the version on GitHub as of that post.

distant leaf
#

great to hear

bright kindle
#

is there way to fix white textures?

dense jetty
#

#game-compatibility message

cosmic bronze
#

Did you manage to customize the materials on the characters? Is the edge problem still not solved?

dense jetty
#

the only solution to this problem is to bake the smoothing groups into a normal map, but I don't know what tool can do that

spare token
#

@dense jetty the newest commits have support for normals capture

#

Experimental though

#

Also for the black distance thingy
Try FUSEDWORLDVIEW parameters

dense jetty
#

rtx.fusedWorldViewMode = 1

#

@patent hill mafia downgraded to 1.0, settings in setup.exe posted here, remix 0.1.1 installed, and (doesn't affect the problem) dxvk remix

patent hill
#

Ah, looks like sceneScale isn't actually hooked up to NRD, so the "goes black in the distance" problem could be happening because Mafia considers 1 unit to be 1 inch or 1 cm.

thanks!

dense jetty
patent hill
#

you mean it turns black closer to the camera?

dense jetty
#

yes

patent hill
#

Filed a ticket about it internally. I'll try to remember to ping this chat when we figure it out

dense jetty
#

💚

cosmic bronze
#

Can you check how it works with Mafia_widescreen_fix.asi (with increased distance)? Will it affect the black thing?

dense jetty
#

I couldn't run it because the widescreen fix uses its own d3d8.dll (or something similar)

patent hill
#

oh, guess I can just close that ticket then.

dense jetty
#

:regional_indicator_m: Mafia The City of Lost Heaven

#

Mafia The City of Lost Heaven

cinder night
#

how to get textures back?

dense jetty
#

#game-compatibility message

whole sand
# cinder night how to get textures back?

I have the same problem with the terrain, as in this image.
In addition if I try to change textures from RTX Remix, when I then go into the game I get "Warning replacement not production ready" and what I replaced turns gray.

#

In addition, I don't know if anyone can tell me why on Flatout I can select textures directly ingame with the mouse and then have the selection on the runtime, while here I can't, despite always being the new 0.4.

dense jetty
#

are you using full screen mode?

#

I don't have the problems you described

whole sand
dense jetty
#

yes, I can select textures with the mouse, and I was able to replace textures through the toolkit

whole sand
dense jetty
#

in the game folder there is setup.exe, you can set a windowed mode in it, but for me it does not work correctly, I cannot open the remix settings

whole sand
tardy kiln
dense jetty
# tardy kiln

Have you had problems that the light comes from only one of the two headlights?

#

And if you turn off the car, will the light turn off?

tardy kiln
dense jetty
#

there are lamps in the salieri's bar garage, try adding light to them, will you have the same problem?

#

I also described this problem here #general-remix message

#

everything looks like you don't have these problems, I want to find out why

tardy kiln
#

Wait, 3 lamps?

dense jetty
#

what 3 lamps

tardy kiln
#

Is it right spot?

dense jetty
#

lamps have 1 mesh, which is repeated for all lamps

#

you need to add light to one, and it should add itself to the other lamps

tardy kiln
#

There are more lamps on your video, for me there are only 2

dense jetty
#

maybe they weren’t in your field of vision when you did the capture?

tardy kiln
dense jetty
#

probably on the mission you launched there were actually 2 lamps, I used 18, just for relaxation, salieri's bar segment

dense jetty
#

Do these lamps have the same hash?

dense jetty
tardy kiln
tardy kiln
dense jetty
#

mesh - model for the game
instance - application of this model in the game

for lamps in mission 18.01 there is 1 mesh, and many instances, I added light to one mesh, and it was added to all instances automatically, in the remix toolkit it looks correct, as it should be, but in the game for some reason the light comes only from one lamp

#

hash - a pointer to a specific mesh/instance, such as 9B92C3F17826CCCC in my screenshot

#

headlights on a car, as far as I know, have 1 mesh (unique for each car), and 2 instances of this mesh for each headlight, and here #general-remix message I got the same effect as on the lamps, and your headlights look normal, like 2 light sources

#

because of this, I used to add a light to the body of the car, so it did not disappear and worked correctly, but this did not allow me to turn off the light in a turned off car

#

By the way, the problem with the headlights has either been fixed or is present only on some cars, now I repeated this and there is no problem, but this does not eliminate the problem with the same meshes for the lamps

dense jetty
tardy kiln
tardy kiln
dense jetty
#

not the same, all the lamps do not turn off except one, all the ones that are visible are on

dense jetty
dense jetty
dense jetty
#

I understand, in Mafia 1.2 everything works correctly, in 1.0 there is such a bug, it’s not clear why this happens, but it’s clear how to fix it

sonic tulip
#

@dense jetty does the installation guide work the same or does it need an update

#

i can add this game to the compatibility list as playable or partially playable

dense jetty
#

it's fully playable, just has some bugs (as in all playable games, as I understand it)

#

this needs to be updated

sonic tulip
#

playable would mean you can play the game from start to finish

dense jetty
#

yes, i can

sonic tulip
#

its pretty old from 2022

dense jetty
#

Lightmaps and screen space culling can be deleted with a game mod

sonic tulip
#

any wrappers used

dense jetty
distant leaf
#

I'm not sleeping?

distant leaf
#

I'll try to do a logo tomorrow if i'm will be in mood, i'll do it in 2 styles:
1 - Mafia Remake style
2 - Mafia Original style

MAFIA
REMIXED

#

по идее должно будет выглядеть хорошо

dense jetty
#

я всеми руками за сохранение оригинального стиля

#

я не буду делать из игры ремейк

distant leaf
#

Это понятно, просто есть логотип в стиле Ремейка, но с приписью оригинала

#

но раз так, то я сделаю лишь в ориг. стиле

#

Аврора в путь

distant leaf
#

@dense jetty без всяких споров, я поражён

cyan raptor
#

вылетает при запуске(((

distant leaf
#

Уверен что всё верно выстроил?

cyan raptor
cyan raptor
#

Удаление и установка по рецепту пашка помогла 🥰

distant leaf
#

Вот и славно

narrow drift
#

Hi everyone, I'm starting to learn Remix and I choose this game. I succeeded to work Remix on that game it wasn't easy. 🤣

distant leaf
#

i dunno, was easy to me

#

i just followed insturctions and it worked instantly

cosmic bronze
#

@narrow drift Can you show examples of your work? Some screenshots...

narrow drift
narrow drift
#

But now in Runtime, my floor disappeared

narrow drift
#

FYI I found the issue ;P

narrow drift
#

Update on One of the texture (I just work on the displacement and Albedo, didn't touch the roughness [WIP].

I will need to rework on the UV of this mesh and maybe adding polygon on it

narrow drift
spare token
narrow drift
#

Also, I'm adding 3 new textures (Normal, Roughness and Displacement)

#

Original 1x126 vs REMIX 4x512

spare token
#

512 is way too low tho

narrow drift
spare token
#

Also judging by what ive seen, remix doesn't seem to be using that much VRAM

#

(unless we are talking a 2060 laptop gpu)

narrow drift
spare token
#

How much vram does it use?

narrow drift
#

56% percent for now

sonic tulip
#

16gb one?

narrow drift
sonic tulip
#

ah

#

right now my best advice would be to use at least 1k texture set. 512 does seem too low imo

spare token
#

Im pretty sure remix manages texture resolution automatically

#

Or something

#

I forgot

sonic tulip
#

Also when you add up height maps, normal, roughness etc remix does handle it pretty well

cosmic bronze
#

@narrow drift colors look strange, like you used yellow photo filter

sonic tulip
#

Maybe it's tone mapping

cosmic bronze
narrow drift
#

@cosmic bronze @distant leaf The lighting is like that when I take the screenshot with the runtime. But it's not like that on my screen.

cosmic bronze
#

🤔

narrow drift
narrow drift
#

I mess with the railroad texture. But you only see clearly the displacement with a different sky dome.🤨

#

Here's the screenshot in game: I can't have any reaction on my roughness map..

viral fable
#

@dense jetty where exactly do you put the rtx files

dense jetty
viral fable
#

alright

#

and i need a dx8 wrapper?

dense jetty
#

you need this and remix runtime, nothing more

viral fable
#

alright

#

my screen is stuck on this

#

nvm

#

had to set ui

dense jetty
#

in the game folder there is setup.exe, compare the settings there with those in the header of this chat

dense jetty
viral fable
#

installed all of these it just crashes for me

viral fable
sonic tulip
dense jetty
viral fable
viral fable
#

@dense jettyim gonna assume there is no way to turn off culling entirely btw

dense jetty
#

game engine modification needed

viral fable
#

damn

#

how easy is the game to modify

#

like the engine itself

dense jetty
#

you need to be a good reverse engineer, know how assembler works and know c++ to make a patch

viral fable
#

damn

#

is it open sourced at least or nah

dense jetty
#

of course not, you live in a rainbow world, the game is from 2002 and I think open source didn't exist at all back then

viral fable
#

would rather know than assume

sonic tulip
#

A direct patch would be nice as well

obsidian flower
#

Anyone else getting these white textures everywhere?

dense jetty
#

Yes, the white textures are lightmaps. You can mark them as lightmaps in alt+x, or make a mod to remove the lightmaps, or you can just download my mod from moddb. There's a "missions" folder there, these are all the location files with the lightmaps removed

#

I also recommend opening the game settings and turning off shadows, they create artifacts

desert axle
#

Does the Capture option in Mafia in RTX Remix work for you? Because mine isn't working, I keep getting 0%:

brazen ore
desert axle
#

Thank you, it works. I turned off Raytracing because in version 0.1 the mod from ModDB looks ugly and I only get 15 FPS on my RTX 3060 12GB card. I didn't know that it prevented Capture, I tried to solve the problem through ChatGPT, but it didn't tell me that.

pseudo vigil
# dense jetty

Where did these came from? They fix the not having smooth normals problem I was having in LOTR:ROTK

#

But I don't know what it does differently from the other wrappers

desert axle
#

🔥Это вам надо:
IO by Red Square Aurora Pro - https://ozon.ru/t/OM6tKky

⌛Тайм-коды:
0:00 - Интро
0:46 - Планирование
2:49 - Первый способ. Дедовский.
3:50 - IO Aurora Pro
7:46 - Первый способ. Дедовский.
8:04 - Второй способ. RTX Remix
11:22 - Мой м...

▶ Play video
median pond
#

How to fix this?

obsidian flower
#

that looks like a hardware issue

median pond
#

Only in mafia rtx

#

maybe add new rtx remix or reinstall drivers?

dense jetty
#

What mod did you use? From moddb without changes?

dense jetty
#

Check the settings in setup.exe, run setup.exe and the game as administrator

median pond
dense jetty
#

Why is your setup.exe in English, but the game is in Russian? I don't think you're using the Steam version, попробуй другой репак скачать)

#

Also try using windowed mode

median pond