Board index FlightGear Development Scenery

Canada/U.S. scenery

Questions and discussion about enhancing and populating the FlightGear world.

Re: Canada/U.S. scenery

Postby david.megginson » Mon Sep 18, 2023 11:08 pm

If anyone can convert the script to Windows, I'll be happy to include it in the distros.

D
David MEGGINSON (he/him)
I need more tea.
Fediverse: @david_megginson@mstdn.ca
david.megginson
 
Posts: 292
Joined: Sat Dec 10, 2016 8:25 pm
Location: Ottawa, Canada
Pronouns: he/him
Version: next
OS: Linux Ubuntu

Re: Canada/U.S. scenery

Postby david.megginson » Mon Sep 18, 2023 11:09 pm

(The longer-term goal is to incorporate osm2city and scenery objects into my scenery properly, but that's still a ways off, and I'm nervous about the computing power it will require.)
David MEGGINSON (he/him)
I need more tea.
Fediverse: @david_megginson@mstdn.ca
david.megginson
 
Posts: 292
Joined: Sat Dec 10, 2016 8:25 pm
Location: Ottawa, Canada
Pronouns: he/him
Version: next
OS: Linux Ubuntu

Re: Canada/U.S. scenery

Postby Cyber_Gamer » Tue Sep 19, 2023 11:02 am

I found the issue. When I downloaded your scenery there were files inside the folder with names like Building, Models etc. so when I ran the mklink /j, which is the ln -svf equivalent on windows, it always said that it cannot create a file that already exists. So I solved that by deleting those files without file extensions and the mklink /j worked flawlessly.

Here is the bash script translated into a batch file:

Code: Select all
@echo off
echo Linking to TerraSync directories for osm2city...

for %%d in (Buildings Details Models Objects Pylons Roads) do (
    mklink /j %%d "%USERPROFILE%\FlightGear\Downloads\TerraSync\%%d"
)

echo done
exit /b 0
Cyber_Gamer
 
Posts: 8
Joined: Fri Aug 18, 2023 11:40 am
Callsign: cyber
OS: Windows

Re: Canada/U.S. scenery

Postby david.megginson » Tue Sep 19, 2023 11:54 am

Thank you! I will include that in my next builds
David MEGGINSON (he/him)
I need more tea.
Fediverse: @david_megginson@mstdn.ca
david.megginson
 
Posts: 292
Joined: Sat Dec 10, 2016 8:25 pm
Location: Ottawa, Canada
Pronouns: he/him
Version: next
OS: Linux Ubuntu

Re: Canada/U.S. scenery

Postby Cyber_Gamer » Tue Sep 19, 2023 11:56 am

david.megginson wrote in Tue Sep 19, 2023 11:54 am:Thank you! I will include that in my next builds

No problem, it was my pleasure just remember to delete the files without file extensions that you need to link to TerraSync, otherwise it will output the same error that I got.
Cyber_Gamer
 
Posts: 8
Joined: Fri Aug 18, 2023 11:40 am
Callsign: cyber
OS: Windows

Re: Canada/U.S. scenery

Postby Cyber_Gamer » Tue Sep 19, 2023 1:17 pm

I also found an airport that is a bit indented in the ground, PAMK specifically.
Image
Cyber_Gamer
 
Posts: 8
Joined: Fri Aug 18, 2023 11:40 am
Callsign: cyber
OS: Windows

Re: Canada/U.S. scenery

Postby wkitty42 » Tue Sep 19, 2023 2:06 pm

Cyber_Gamer wrote in Tue Sep 19, 2023 11:02 am:I found the issue. When I downloaded your scenery there were files inside the folder with names like Building, Models etc.

to be clear, those are not files... they are directories that contain other directories and files deeper inside them...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 8780
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Canada/U.S. scenery

Postby Cyber_Gamer » Tue Sep 19, 2023 2:32 pm

wkitty42 wrote in Tue Sep 19, 2023 2:06 pm:
Cyber_Gamer wrote in Tue Sep 19, 2023 11:02 am:I found the issue. When I downloaded your scenery there were files inside the folder with names like Building, Models etc.

to be clear, those are not files... they are directories that contain other directories and files deeper inside them...

I know that but when you download david's scenery folder the Buildings, Models etc. "folders" are not that because they do not contain anything and you cannot open them, they are probably meant as placeholders for the real folders from terrasync.
Cyber_Gamer
 
Posts: 8
Joined: Fri Aug 18, 2023 11:40 am
Callsign: cyber
OS: Windows

Re: Canada/U.S. scenery

Postby wkitty42 » Tue Sep 19, 2023 7:53 pm

oh! that's interesting... i wonder how he did that? hummm...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 8780
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Previous

Return to Scenery

Who is online

Users browsing this forum: No registered users and 2 guests