|
Post by deadmetal on Dec 16, 2019 10:41:01 GMT -6
Hello all. It's my first post in this wonderful corner of the internet / RTW2 forum. As the title may imply, I would like to disable the games hard end at 1970, and continue my epic playthrough indefinitely - or long enough, until I would be able to conquer the globe. Is there a way to do so?
I've looked through Events.dat and some other files in the data folder, but I didn't find a "hard end" event that could be deleted or modified with another date. So is it coded into the exe file?
|
|
|
Post by kriegsmeister on Dec 16, 2019 11:19:33 GMT -6
you should be able to just edit the date of the game, in the RTWGame#.bcs file within the save folder of your game (# being saveslot)The first 3 lines are for Year-month-day. I've never done it before so I don't know what wonkiness may happen.
|
|
|
Post by garrisonchisholm on Dec 16, 2019 11:44:58 GMT -6
As Kriegsmeister stipulates, you would have to keep resetting the date to one before 1970. And yes, wonkiness may happen.
|
|
|
Post by dorn on Dec 17, 2019 0:56:50 GMT -6
The only issue I am aware can be eliminated to refit all ships that can get old between end of game and time you want to set up as resetting date. You can eliminate ships going old again and again.
|
|
|
Post by deadmetal on Dec 17, 2019 14:19:16 GMT -6
As far as I've tested it, it works with reversing date to 1990 without any issues, but reversing date more starts to give some errors.
As Dorn brought up, using this method, there's a problem of ships becoming new again - if they're built before the date reversal - and staying so until the target date of their age comes. I've noticed that there are penalties for old ships, but correct me if I'm wrong.
Therefore I would like to try finding the hard end lines in the code and changing them. Does anyone know what tools should I use to access the games code and should what I need be in the exe file?
|
|
|
Post by akosjaccik on Dec 17, 2019 16:48:58 GMT -6
Way back when we got the demo to hand, there were two playable nations: GB and Japan if I recall correctly. One player however posted some screenshots while playing with Germany, asking some questions - the response from the development team was courteous, but relatively harsh in contrast of the tone of the forums, stating that they can't and won't help once someone starts screwing with the game by hex-editing. I got the impression that they are fine with tinkering with data values in text files, making custom nations, custom lineups etc., but anyting hard-coded is a no-go, not least because of the DRM. Even though there were requests in the past regarding some things behind the "no touchy-touchy" wall, such as torpedo performance for example, there isn't really much to do I think other than asking and waiting for the better.
Overall, I am noone but a simple player myself, so don't take my opinion as any sort of fact, but I do believe that the short answer is that you should NOT attempt to use any sort of tools that directly accesses and edits the game's code.
|
|
|
Post by deadmetal on Dec 17, 2019 17:03:28 GMT -6
I understand how developers can be against modding of their game code, although I will never support such archaic position. A player who has purchased a game should be able to do whatever with it, and even share its edited versions, as long as its not for profit. So I'm not entirely sure what you're trying to say. Is it that I shouldn't attempt it because developers are supposedly against it or that I wont get any help on this matter as people here supposedly don't want to draw a negative attention of developers to themselves by helping someone with editing of game code.
|
|
|
Post by akosjaccik on Dec 17, 2019 17:15:37 GMT -6
So I'm not entirely sure what you're trying to say. Is it that I shouldn't attempt it because developers are supposedly against it or that I wont get any help on this matter as people here supposedly don't want to draw a negative attention of developers to themselves by helping someone with editing of game code. I am saying that in the past a guy who tried to edit the exe was warned that they do not endorse this, and this might have to do something with the anti-piracy measurs. That you should or should not attempt it, it's entirely up to your own discretion, I don't have a horse in this race on either side.
|
|
|
Post by dorn on Dec 18, 2019 0:19:49 GMT -6
I understand how developers can be against modding of their game code, although I will never support such archaic position. A player who has purchased a game should be able to do whatever with it, and even share its edited versions, as long as its not for profit. So I'm not entirely sure what you're trying to say. Is it that I shouldn't attempt it because developers are supposedly against it or that I wont get any help on this matter as people here supposedly don't want to draw a negative attention of developers to themselves by helping someone with editing of game code. I think it was done by save editing. You can edit save to play AI nation during game, but it is time consuming process as you need to swap 2 nations everywhere in save file and switch extension of all ship design files of ship. I did the first part once to obtain maintenance costs of AI nations to show there was something wrong but it took quite a time. But as I understand solving bugs is supported only for unmodded games. Editing exe file is prohibited as code is treated as property and it was mentioned that it will screw up file that protection will not allow game to be played.
|
|
|
Post by tbr on Dec 18, 2019 2:14:32 GMT -6
What I am doing to extend games in year end reversal - i.e. play a year multiple times by save editing. Research speed 20% and playing a year 5 times is the current sweet spot.
|
|
|
Post by deadmetal on Dec 18, 2019 10:52:57 GMT -6
What I am doing to extend games in year end reversal - i.e. play a year multiple times by save editing. Research speed 20% and playing a year 5 times is the current sweet spot. It certainly is a good alternative. This way, you partially avoid a problem of ships becoming new again, and extend your playthrough just enough. It involves active editing however, and you must remember to keep doing it at a chosen date, or it becomes inconsistent. It would be much better to just edit the code so that there would be no hard end at 1970 or alternatively, so that a turn would take less time than a month. Of course the second method would involve a lot more work if you would do things the right way. All in all, I feel that we are not the only ones who would like to extend their playthroughs and I guess it should be quite simple to achieve with very little and basic coding. Now if only someone would get me on track - as in, what tools to use at least - it would be great. I don't think I'm asking a lot.
|
|
|
Post by deadmetal on Dec 18, 2019 11:09:35 GMT -6
Editing exe file is prohibited as code is treated as property and it was mentioned that it will screw up file that protection will not allow game to be played. Yes, the code is a developers property, but when someone buys their product with that code, then that person can do whatever they want with the code - as long as they don't distribute it for profit. There are no property rules that go against what I would like to do with this game. Also, the developers should be totally ok with it, as my intention is clearly not piracy related. It should actually be in the developer interests, as it would allow me (and others, if I'd share the mod) to enjoy their product even more. Regarding editing of exe file, unless it has some wierd complete self check procedure implemented, I really doubt that the lines I would be editing are protected against it.
|
|
|
Post by williammiller on Dec 21, 2019 9:28:27 GMT -6
Obviously if you wish to edit the executable and do not share it then we do not have an issue with that, but of course I must give the usual warnings that this can cause serious issues with the game, we cannot support games with edited executables or other major files, and it may cause the game to invalidate the license on your machine in some cases, etc...
Thanks.
|
|
|
Post by williammiller on Dec 21, 2019 9:35:24 GMT -6
Editing exe file is prohibited as code is treated as property and it was mentioned that it will screw up file that protection will not allow game to be played. Yes, the code is a developers property, but when someone buys their product with that code, then that person can do whatever they want with the code - as long as they don't distribute it for profit. The part about "that person can do whatever they want with the code - as long as they don't distribute it for profit" is incorrect...you cannot distribute altered code product without permission ether for profit or not, that violates both copyright law and the license agreement.
|
|
|
Post by deadmetal on Dec 24, 2019 20:10:32 GMT -6
I was going to ask before sharing it, if I were to modify it, as I wasn't sure about the sharing part. But again, the point of this post is to get help in making changes to my game, and not creating a publicly accessible mod. So am I on my own in this or is someone willing to give me some guidance? I've tried looking at the code via resource editor, but it appears that the code is hexadecimal. How do I convert to a programming language code?
|
|