Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Change gamemode #12

Closed
Blastogasm opened this issue Sep 30, 2020 · 8 comments
Closed

Feature Request: Change gamemode #12

Blastogasm opened this issue Sep 30, 2020 · 8 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@Blastogasm
Copy link

Does this editor allow one to change the mode from survival to another like normal mode? Also how does one copy the save folder in the manager to create a new one?

@cengelha
Copy link
Member

cengelha commented Oct 1, 2020

No, you can't change the game mode. I haven't tried that for myself and therefore don't know whether this is a good idea respectively how things behave after the change.
Do you have any experience with it?

The manager doesn't copy any folders. It copies the data from the saves of a slot to the other one. Either by writing them to the respective file or (for PS4) by writing it in the correct position within the file.

@cengelha cengelha added discussion Informational discussion enhancement New feature or request labels Oct 1, 2020
@cengelha cengelha self-assigned this Oct 1, 2020
@Blastogasm
Copy link
Author

Well when I read about the one that was used on nomansskymods.com I remember reading something about that being one of the features they were trying to implement so I was just curious if this one could do that since this one does have some other features the other doesn't.

@cengelha
Copy link
Member

cengelha commented Oct 2, 2020

Changing the game mode isn't hard actually (just change the first value "F2P"/"Version" in the save file). Add/Subtract 512 for each step in this enum https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcGameMode.cs#L10
For example to change a save from Normal to Survival add 1024.

As I mentioned I don't know the consequences but I will put it on the roadmap and test it at a appropriate time and we will see how it turns out. If you want to try it on your own it would be great if you share your results/observations here :)

@cengelha cengelha added question Further information is requested and removed discussion Informational discussion labels Oct 4, 2020
@cengelha cengelha mentioned this issue Oct 5, 2020
@cengelha cengelha changed the title More of a question than an answer because I haven't seen anything about it. Feature Request: Change gamemode Oct 5, 2020
@MisterTarget
Copy link

I did it! I finally managed to change my Gamemode! After long time fiddeling arround, big shoutout to cengelha for helping

For all the users who are playing thru the Xbox Gamepass:

    1. Locate your Savefile C:\Users\YOURNAME\AppData\Local\Packages\HelloGames.NoMansSky_bs190hzg1sesy\SystemAppData\wgs\RANDOM LONG NUMBER\ANOTHER LONG NUMBER
      This is your Save file, in there are 3 files. One ist the biggest, one is small and one is namend Container, we dont need the Container.
    1. Open the big file with Notepad++ and at the top you see "F2P":NUMBER:"Win|Final"
      The NUMBER is your Gamemode. In the Origins patch the Number for the Gamemodes are

Normal: 4638 | Survival: 5662 | Creative: 5150 | Permadeath: 6686

Change the Number to the Gamemode listed above and Save this File. Oh and do a BACKUP in case.

    1. Open the small file in a Hex editor you prefer

Go to the 5. Byte and you should see a Number from 0-7. Change this Byte to the according number.

Normal: 01 | Creative: 02 | Survival: 03 | Permadeath: 05

    1. Save this file and name it like the original one if its not already.
    1. Put the files back into your Save game folder and voila you changed your Gamemode!
    1. Its likely you have more folders there, one is for auto save and one is for Manual saves. Just do everything above in this folder too.

If you have trouble finding your savegame just load your savefile and Manual save it and Auto save it and look for the timestamp in the folder.

@Blastogasm
Copy link
Author

I am actually about to attempt most of these now since I have finally gotten some free time around work. So, I will let you guys know how it goes for me in just a bit. But I would first like to say thanks for giving me the information so that I could attempt them.

@Blastogasm
Copy link
Author

I managed to get it to work by following the steps provided by Mister target. Before that though I had managed to break the save file I did however have multiple backups to try it with so that helped a lot. I greatly appreciate the help and information though folks. So far everything has gone on smoothly. Thanks again!

@Mike-Blackwell
Copy link

Mike-Blackwell commented Apr 24, 2021

Alert! Alert an update to the above procedure as of 4/24/21 is needed, please note that the values have changed from the Origin I did not have a Creative or Permadeath save so it is unknown "?" what the new value is.

Large File values:
Normal: 4645| Creative: 5150 ? | Survival: 5669 | Permadeath: 6686 ? | Expedition: 7205

Changing the game mode isn't hard actually (just change the first value "F2P"/"Version" in the save file). Add/Subtract 512 for each step in this enum

The statement isn't totally correct, I found the following to be true...

4545 – Normal (01)
5157 (+512) – Creative (02)
5669 (+512) – Survival (03)
• – Ambient (04)
6693 (+1024) – Permadeath (05)
7205 (+512) – Expedition or Seasonal (06)

Small File values:
Normal: 01 | Creative: 02 | Survival: 03 | Permadeath: 05 | Expedition: 06

It would be interesting since the current NOMNOM editor doesn't handle the Expedition file correctly as it changes the Expedition Savefile to reflect Permadeath savefile, if one changes the newly created Permadeath (Expedition) back to Expedition using the above procedure if it works???

@Mike-Blackwell
Copy link

Well I was able to confirm changing my original Expedition file that got changed to Permadeath (NOMNOM) back to Expedition with no problem (just be aware to pay attention to your timestamp as Xbox system may not have your latest updates showing) by updating the small file from "05" to "06" with one exception; I had completed the Expedition game play prior to messing around with NOMNOM and noticed that my previously completed badges were reset, but when I went to the QuickSilver merchant I it showed that items were available.. needs some more investigation.

@cengelha cengelha added this to the Version 18 milestone Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants