Page 1 of 1

I would like to migrate (rename) a surface name.

Posted: Tue Nov 18, 2025 8:55 pm
by Xeon257
I wrote the migration JSON as shown below.

Code: Select all

{
  "tile":[
    ["linox-tile_linox-installation-foundation", "linox-tile_linox-foundation"],
    ["linox-tile_linox-installation-terminal-platform", "linox-tile_linox-terminal-platform"],
    ["linox-tile_linox-installation-hazard-terminal-platform", "linox-tile_linox-hazard-terminal-platform"],
    ["linox-tile_linox-installation-corridor", "linox-tile_linox-corridor"]
  ],
  "space-location":[
    ["linox-surface_linox-installation", "linox-surface_under-1"]
  ],
  "surface":[
    ["linox-surface_linox-installation", "linox-surface_under-1"]
  ]
}
The tile migration works correctly, but it seems that the surface name migration does not work.
Do you know why this happens?

Re: I would like to migrate (rename) a surface name.

Posted: Tue Nov 18, 2025 9:07 pm
by Rseding91
Which in-game thing is not being migrated that you expect to be migrated?

Re: I would like to migrate (rename) a surface name.

Posted: Tue Nov 18, 2025 9:12 pm
by Xeon257
There is a surface that already exists in save files from previous versions.

I would like to migrate its name to a different one.

Is the surface name not eligible for migration?

Re: I would like to migrate (rename) a surface name.

Posted: Tue Nov 18, 2025 9:15 pm
by boskid
"surface" json migration is related to instances of SurfacePrototype and its ID's.

There are also surfaces (on which you build entities) that have their own name. That one you can chance through write to LuaSurface::name in the control stage.

Names are quite confusing here but those are 2 unrelated concepts.

Re: I would like to migrate (rename) a surface name.

Posted: Tue Nov 18, 2025 9:18 pm
by Xeon257
Thank you. It seems I was confused.