Author Topic: [FIXED] [BUG] [TOOLKIT] Levels get never deleted, only overwritten  (Read 2789 times)

0 Members and 1 Guest are viewing this topic.

Offline Nepster

  • Posts: 1829
    • View Profile
Create a System.dat and save it. Then open it again, remove some of the levels and save the System.dat again. Built a .nxp now. Big surprise: The deleted levels are contained in the .nxp!

The reason seems to be, that the deleted levels (in the toolkit) got not get deleted in the levels subdirectory when saving the modified System.dat. Thus the toolkit finds them when building the .nxp and adds them.
When these level files are deleted manually, the .nxp contains once again the correct levels.
« Last Edit: March 21, 2016, 01:00:43 AM by namida »

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [BUG] [TOOLKIT] Levels get never deleted, only overwritten
« Reply #1 on: March 05, 2016, 01:01:32 AM »
I noticed this a while ago but forgot to fix it. I'll try and get a fix out later today.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [BUG] [TOOLKIT] Levels get never deleted, only overwritten
« Reply #2 on: March 21, 2016, 12:59:50 AM »
Well shit. Seems I forgot about this one altogether. But since I'm working on the toolkit right now, it's a good time to fix this up. :)

EDIT: Well. It seems I already fixed this in the code, I just never released the fix.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [FIXED] [BUG] [TOOLKIT] Levels get never deleted, only overwritten
« Reply #3 on: March 26, 2016, 03:09:08 AM »
Seems the fix wasn't quite right, and this bug is still occuring. So I've reopened this one and moved it back to the main board.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: [FIXED] [BUG] [TOOLKIT] Levels get never deleted, only overwritten
« Reply #4 on: April 02, 2016, 12:57:54 PM »
Alright. Got it fixed for real this time. :)
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)