FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visit View your posts View unanswered posts

Default controls
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding
View previous topic :: View next topic  
Author Message
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Tue Feb 27, 2018 11:54 pm    Post subject: Default controls Reply with quote

I want to change something in the controls. By default. I assume it's in Game.exe. Now of course we can EDIT these settings in a profile, but...that doesn't accomplish what I want, not that I know where these settings are stored.

I know nobody knows, I just like hearing myself talk Cool shades
Back to top
View user's profile Send private message Send e-mail
brokenneedlecaa76

Member
Member


Joined: 25 Jan 2016
Posts: 158

351 Bank Notes
Items

PostPosted: Wed Feb 28, 2018 1:06 am    Post subject: Default controls Reply with quote

could you elaborate on what it is you want to change specifically? If all else fails you can install a controller and a program like xpadder. I've used it now for years, set up multiple different tricks and combos to play the game with less frustration.I had a question a while ago about different controls as well that are published in the manual; quick turn around for example. i can't get it to work even using only keyboard and default settings; is this sort of what you were asking about.
Back to top
View user's profile Send private message
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Wed Feb 28, 2018 3:08 am    Post subject: Default controls Reply with quote

I want to change the default transmission state to M.
Back to top
View user's profile Send private message Send e-mail
brokenneedlecaa76

Member
Member


Joined: 25 Jan 2016
Posts: 158

351 Bank Notes
Items

PostPosted: Wed Feb 28, 2018 3:50 am    Post subject: Default controls Reply with quote

M as in always manual transmission, no more automatic. Is this what you want?
Back to top
View user's profile Send private message
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Wed Feb 28, 2018 7:24 am    Post subject: Default controls Reply with quote

Yes...

Quote:
Sorry, your post is too short. Please ensure its long enough to contribute something worthwhile to our forums!
Back to top
View user's profile Send private message Send e-mail
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 167

365 Bank Notes
Items

PostPosted: Wed Feb 28, 2018 11:59 pm    Post subject: Default controls Reply with quote

For v1.0 patch
Code:

.text:004CBAD2                 mov     [esi+0ADBh], bl

(file offset CBAD2) to write 1 instead of 0 like it currently does, for example by writing 0x86 to 004CBAD3 with CheatEngine. You can also patch Game.exe on disk to make the change permanent.

For v1.2 use 005940D3/001940D3 instead.

I can also integrate this patch in Patcher if you want. Smile
Back to top
View user's profile Send private message
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Thu Mar 01, 2018 5:04 am    Post subject: Default controls Reply with quote

You've got to be kidding me! I can't find any of that in a hex editor. Embarassed
Back to top
View user's profile Send private message Send e-mail
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 167

365 Bank Notes
Items

PostPosted: Thu Mar 01, 2018 12:05 pm    Post subject: Default controls Reply with quote

Go to offset CBAD3 (v1.0)/1940D3 (v1.2). You should see 9E there which you need to replace with 86.

(That's assuming you have an unpacked Game.exe I might add. If you're using the original Game.exe from the retail disc or Steam release you either need to resort to in-memory patching via CheatEngine or replace the Game.exe with an unpacked version.)
Back to top
View user's profile Send private message
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Fri Mar 02, 2018 12:11 am    Post subject: Default controls Reply with quote

I don't suppose you have information for 1.1... Cautious

All offsets end in 0.
Back to top
View user's profile Send private message Send e-mail
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 167

365 Bank Notes
Items

PostPosted: Fri Mar 02, 2018 11:50 pm    Post subject: Default controls Reply with quote

1.1? Shocked

That would be 193B33 then.
Back to top
View user's profile Send private message
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Sat Mar 03, 2018 2:51 am    Post subject: Default controls Reply with quote

I still don't know what to do. All offsets end in 0. Cautious

picture
Back to top
View user's profile Send private message Send e-mail
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 167

365 Bank Notes
Items

PostPosted: Sat Mar 03, 2018 4:15 pm    Post subject: Default controls Reply with quote

Ah I see. Looks like your hex editor opens the PE sections individually so the start of .text is at 0 rather than 1000. This means the offset you're looking for is 192B33.
Back to top
View user's profile Send private message
Muggy

Site Staff
Site Staff


Joined: 05 Jan 2005
Posts: 851
Location: Sydenham SE26
276356 Bank Notes
Items
more...

PostPosted: Sat Mar 03, 2018 7:31 pm    Post subject: Default controls Reply with quote

not sure if this helps but when I use
the hex editor to remove the fuel
and other guages press Ctrl+F to
search under hex for the numbers.
you could try doing that by inserting
the number ASM has given you, bearing
in mind that it will be split in groups of two
e.g. 19 2B 33 Thinking
_________________

Back to top
View user's profile Send private message Visit poster's website
Hunter

Senior Member
Senior Member


Joined: 21 Mar 2013
Posts: 294

2150 Bank Notes
Items

PostPosted: Sun Mar 04, 2018 6:34 am    Post subject: Default controls Reply with quote

Moving on... Oops!

Is there some way to repack game.exe? I can't overwrite files in the existing .exe, I already tried that.
Back to top
View user's profile Send private message Send e-mail
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 167

365 Bank Notes
Items

PostPosted: Sun Mar 04, 2018 3:34 pm    Post subject: Re: Default controls Reply with quote

Hunter wrote:

Moving on... Oops!

As in "Yep, found it." or "Nope, I'll do something else."? Thinking

Hunter wrote:

Is there some way to repack game.exe? I can't overwrite files in the existing .exe, I already tried that.

I don't have any experience with HxD but I'd expect that simply hitting Save should do the job.

Does HxD allow to open *.exe files as raw binary files without interpretation? If so, try this instead. Keep in mind that the offset to look for is then 193B33 again.

Muggy wrote:

not sure if this helps but when I use
the hex editor to remove the fuel
and other guages press Ctrl+F to
search under hex for the numbers.
you could try doing that by inserting
the number ASM has given you, bearing
in mind that it will be split in groups of two
e.g. 19 2B 33 Thinking

This would most likely yield incorrect results as 192B33 denotes an offset here and not a byte sequence that appears in the *.exe somewhere. An unambiguous byte sequence to look for for the instruction mentioned above is
889EDB0A0000899EAC0A0000C786B00A000018020000 for example.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 1.821 | Queries: 19