Campaign data loss

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
User avatar
Myaskol
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Oct 20, 2014 8:20 pm
Contact:

Campaign data loss

Post by Myaskol »

Heya guys,

I am not sure if this is the right forum but..
I've been messing around with some mods which i didnt quite like that much so i deleted my entire factorio folder and downloaded a clean one.

I've been playing the campaign and lost all data on it. my question is, can you edit a file to unlock those levels? I've seen player-data.json has campaign info in it but when i edit it. it wont unlock the level. I was at map 3 but a full unlock would fix it. ll be playing map 3 anyway.

Hope you guys can help me out.
Boogieman14
Filter Inserter
Filter Inserter
Posts: 778
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

Re: Campaign data loss

Post by Boogieman14 »

No clue if it'll be of any help, but these are the contents of my player-data.json:

Code: Select all

{
    "available-campaign-levels": {
        "beta": {
            "level-01": "easy",
            "level-02": "easy"
        },
        "demo": {
            "level-01": "hard",
            "level-02": "normal",
            "level-03": "normal"
        },
        "tight-spot": {
            "level-01": "hard"
        },
        "transport-belt-madness": {
            "level-01": "hard"
        }
    },
    "finished-campaigns": {
        "demo": "easy"
    },
    "console-history": [
        "game.forces.player.chart({lefttop = {x = -512, y = -512}, rightbottom = {x = 512, y = 512}})"
    ],
    "updater-username": "boogieman14",
    "updater-token": "<mine>"
}
I haven't completed the map yet where you need to put all those supplies into the car though, but perhaps you can figure it out from here.
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.
User avatar
Myaskol
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Oct 20, 2014 8:20 pm
Contact:

Re: Campaign data loss

Post by Myaskol »

Boogieman14 wrote:No clue if it'll be of any help, but these are the contents of my player-data.json:

Code: Select all

{
    "available-campaign-levels": {
        "beta": {
            "level-01": "easy",
            "level-02": "easy"
        },
        "demo": {
            "level-01": "hard",
            "level-02": "normal",
            "level-03": "normal"
        },
        "tight-spot": {
            "level-01": "hard"
        },
        "transport-belt-madness": {
            "level-01": "hard"
        }
    },
    "finished-campaigns": {
        "demo": "easy"
    },
    "console-history": [
        "game.forces.player.chart({lefttop = {x = -512, y = -512}, rightbottom = {x = 512, y = 512}})"
    ],
    "updater-username": "boogieman14",
    "updater-token": "<mine>"
}
I haven't completed the map yet where you need to put all those supplies into the car though, but perhaps you can figure it out from here.
Thanks, i am going to try urs after editing the updater part OFC! I will edit this post in about 10 mins with the result.


EDIT: It works. i can go to level 2 but when i edit your file with:

Code: Select all

 "beta": {
            "level-01": "easy",
            "level-02": "easy",
            "level-03": "easy"
        },
it does NOT work, weird enough!
Last edited by Myaskol on Mon Oct 27, 2014 12:16 am, edited 2 times in total.
FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: Campaign data loss

Post by FishSandwich »

Just an aside, if you place mods into your mods folder you won't have to alter any of the original files. When you don't want to use the mods anymore, you can delete/turn them off.
User avatar
Myaskol
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Oct 20, 2014 8:20 pm
Contact:

Re: Campaign data loss

Post by Myaskol »

FishSandwich wrote:Just an aside, if you place mods into your mods folder you won't have to alter any of the original files. When you don't want to use the mods anymore, you can delete/turn them off.
Yeah i kinda figured that out as well. i could even just remove the mod folder... i've just been stupid ;)
Post Reply

Return to “Technical Help”