Author Topic: maps directory...  (Read 2560 times)

0 Members and 1 Guest are viewing this topic.

Offline Max-Max

maps directory...
« on: July 01, 2013, 11:42:59 PM »
I was doing some testing and couldn't understand why the relief maps didn't show up in the load dialogue. After some debugging I found out that the maps directory must be located under the used PAK file directory.

Is this intentionally? Isn't the relief maps PAK independent and should be located under umgebung_t::program_dir like the conif, music, skin and fonts are located?
- My code doesn't have bugs. It develops random features...

Online kierongreen

Re: maps directory...
« Reply #1 on: July 02, 2013, 07:54:22 AM »
The intention was for it to be in the same directory structure as saved games as people often add heightmaps.

Offline Max-Max

Re: maps directory...
« Reply #2 on: July 02, 2013, 05:05:49 PM »
Alright, will see if I can fix it... Forget about it, it was my mistake :)

Another thing. What is the intended file structure of addons?
Is it [save_game_map]/addons/[pak_set_name_map] ?
(just checking)
« Last Edit: July 02, 2013, 05:13:32 PM by Max-Max »
- My code doesn't have bugs. It develops random features...

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4279
  • Total likes: 195
  • Helpful: 149
  • Languages: EN, DE, AT
Re: maps directory...
« Reply #3 on: July 02, 2013, 07:05:41 PM »
Looks right: under linux it is

~/simutrans/addons/pakxyz


Windows: it could be something like

My Documents\simutrans\addons\pakbla
Parsley, sage, rosemary, and maggikraut.

Offline Max-Max

Re: maps directory...
« Reply #4 on: July 02, 2013, 07:48:02 PM »
Thank you, I was a bit confused first because I thought I would find the maps and addons in the program map.
But I found the simutrans map in "My Documents".

Next question.
The Load Scenario Dialouge, the delete buttons are invisible, but still taking up space. The file name buttons are indented the same size as the delete button.

What is the intention here;
1. Are we supposed to be able to delete scenario files and the delete buttons has dissapeard, Or...
2. We are not supposed to delete scenario files from here. The filename buttons should be moved to the left.

- My code doesn't have bugs. It develops random features...

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4279
  • Total likes: 195
  • Helpful: 149
  • Languages: EN, DE, AT
Re: maps directory...
« Reply #5 on: July 04, 2013, 06:22:14 AM »
1. Are we supposed to be able to delete scenario files and the delete buttons has dissapeard, Or...
2. We are not supposed to delete scenario files from here. The filename buttons should be moved to the left.
2.

Deleting scenarios would mean deleting complete subdirectories. We are not building a file manager here :)
Parsley, sage, rosemary, and maggikraut.

Offline Max-Max

Re: maps directory...
« Reply #6 on: July 06, 2013, 01:30:52 AM »
Okay, (2) has been fixed...
- My code doesn't have bugs. It develops random features...