Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 11:43 am
All times are UTC + 0
FinalSun with increased undo/redo limit
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
cybermind
Civilian


Joined: 26 Oct 2015

PostPosted: Thu Nov 10, 2016 7:22 am    Post subject:  FinalSun with increased undo/redo limit Reply with quote  Mark this post and the followings unread

Hello there.
I'm learning how to hack/reverse programs and trying to use acquired knowledge in practice
So, here is modified FinalSun.exe which is able to undo/redo 127 actions (instead of original 15)
Hope you'll find it useful. Any kind of feedback is welcome.

https://yadi.sk/d/ZB2ypGFOyKpVd

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Nov 10, 2016 7:48 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
cybermind
Civilian


Joined: 26 Oct 2015

PostPosted: Thu Nov 10, 2016 7:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks, never knew about this utility (last time I've modded for TS or RA2 was about 6-7 years ago). And yes, the exe is from TS Client.

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Thu Nov 10, 2016 2:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Would you mind sharing what bytes you changed exactly, please? Will be helpful for mods like mine that use a heavily edited map editor from the get-go. Smile

Back to top
View user's profile Send private message
cybermind
Civilian


Joined: 26 Oct 2015

PostPosted: Thu Nov 10, 2016 2:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sure:
Code:

Comparing files FinalSun_orig.exe and FINALSUN.EXE
000B33D0: 10 7F
000B33E9: 10 7F
000B33F3: 0F 7E

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Thu Nov 10, 2016 2:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Awesome, thank you.

Back to top
View user's profile Send private message
HG_SCIPCION
Gauss Rifle Trooper


Joined: 07 Jun 2013
Location: Perú

PostPosted: Thu Nov 10, 2016 3:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

oh, sounds fantastic.... any idea how added this for FA2? the values are diferent Mad

_________________
https://www.moddb.com/mods/global-crisis
https://www.patreon.com/scipcion

Back to top
View user's profile Send private message Facebook Profile URL
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Nov 10, 2016 4:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

Try

Code:

;For FinalSun
[MoreUndoRedo]
Name=Number of Undo/Redo limit increased
Description=Undo/Redo operation limit increased from 15 to 127
Link=http://www.ppmforums.com/viewtopic.php?t=42822
Type=FinalSun
Offset=0x000B33D0
Original=10
Modified=7F
Offset=0x000B33E9
Original=10
Modified=7F
Offset=0x000B33F3
Original=0F
Modified=7E

;For FinalAlert2
[MoreUndoRedo]
Name=Number of Undo/Redo limit increased
Description=Undo/Redo operation limit increased from 15 to 127
Link=http://www.ppmforums.com/viewtopic.php?t=42822
Type=FinalAlert2
Offset=0x000BBAD0
Original=10
Modified=7F
Offset=0x000BBAE9
Original=10
Modified=7F
Offset=0x000BBAF3
Original=0F
Modified=7E

Back to top
View user's profile Send private message
HG_SCIPCION
Gauss Rifle Trooper


Joined: 07 Jun 2013
Location: Perú

PostPosted: Fri Nov 11, 2016 5:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Fantastic!!!

I love this! Thank you! <3

_________________
https://www.moddb.com/mods/global-crisis
https://www.patreon.com/scipcion

Back to top
View user's profile Send private message Facebook Profile URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1647s ][ Queries: 11 (0.0080s) ][ Debug on ]