Skip to content

Commit

Permalink
feat: hd edition version
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Aug 19, 2024
1 parent 12f2e80 commit 1456379
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ Page dedicated to gathering links related to Freelancer (2003) game.

# Articles

- [Installing Discovery freelancer at Linux]({{.ArticleDiscoLinux}})
- [Installing Vanilla freelancer at Linux]({{.ArticleVanillaFreelancerLinux}})
- [Installing Freelancer Discovery at Linux]({{.ArticleDiscoLinux}})
- [Installing Freelancer Vanilla at Linux]({{.ArticleVanillaFreelancerLinux}})
- [Installing Freelancer HD edition at Linux]({{.ArticleFreelancerHDEditionLinux}})
- [Finding all shortest paths for trade routes]({{.ArticleAllShortestPaths}})

# Tools
Expand Down
11 changes: 6 additions & 5 deletions blog/articles/article_detailed/article_freelancer_menu/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package article_freelancer_menu
import "github.com/darklab8/blog/blog/pet_projects"

type Vars struct {
StaticRoot string
SiteRoot string
ArticleDiscoLinux string
ArticleVanillaFreelancerLinux string
ArticleAllShortestPaths string
StaticRoot string
SiteRoot string
ArticleDiscoLinux string
ArticleVanillaFreelancerLinux string
ArticleFreelancerHDEditionLinux string
ArticleAllShortestPaths string

AnchorToolDarkstat string
AnchorToolDarkbot string
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 8. Launching Freelancer HD Edition game

U should be having already selected `Freelancer.exe` as main `executable` from `C:\Freelancer HD Edition\EXE` folder

![]({{.StaticRoot}}freelancer_hd_edition/pick_executable.png)

Launch the game :) You are ready. Close notes, agree to license and launch as normal.

![]({{.StaticRoot}}freelancer_hd_edition/game_launch.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## 5. Setup HD Edition

Visit [starport to download HD Edition installer](<https://the-starport.com/forums/topic/6250/how-to-get-vanilla-freelancer-running-in-2023-no-cd>) for Vanilla Freelancer. Or go straight directly to [its original link at moddb](<https://www.moddb.com/mods/freelancer-hd-edition/downloads>)

Put it inside your wineprefix at path like this `/home/naa/apps/freelancer_related/winprefix_freelancer_hd/drive_c/FreelancerHDSetup_v0_6.exe`
Specify as launchable Executable.

Go to Wine Configuration and change Windows XP default to Windows 7.

Launch installer, and select it to patch into your Freelancer location.

![]({{.StaticRoot}}freelancer_hd_edition/installer.png)

Choose all the options, i used defaults for everything.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This article describes installation of Freelancer (2003) HD Edition online space simulator for Linux.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This article describes installation of Freelancer (2003) online space simulator for Linux.
This article describes installation of Freelancer (2003) Vanilla version online space simulator for Linux.
39 changes: 36 additions & 3 deletions blog/articles/articles.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,37 @@ var ArticleFreelancerVanillaLinux *Article = NewArticle(
),
)

var ArticleFreelancerHDLinux *Article = NewArticle(
"Freelancer HD Edition setup with Lutris, Wine at Linux",
"article/article_freelancer_hd_edition_at_linux.html",
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "hd_edition", "article_start_hd.md"),
time.Date(2024, time.August, 19, 21, 0, 0, 0, time.UTC),
WithDescription(`Using Lutris, custom Wine, Wine Tricks to install all custom dependencies
for launching Freelancer HD Edition space simulator at Linux`),
WithVars(func(ctx context.Context) any {
return article_freelancer_setup_at_linux.Vars{
StaticRoot: types.GetCtx(ctx).StaticRoot,
SiteRoot: types.GetCtx(ctx).SiteRoot,
}
}),
WithTitlePicture(TitlePicture{
Path: utils_filepath.Join("freelancer_hd_edition", "installer.png"),
}),
WithMoreMarkdowns(
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_intro.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_dependencies.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_setup_lutris.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_setup_wine.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_setup_freelancer.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_setup_winetricks.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "hd_edition", "article_setup_hd_edition.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_post_installation.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "hd_edition", "article_launch_hd.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_extra_info_shared.md"),
utils_filepath.Join(artcieles_root, "article_freelancer_setup_at_linux", "article_acknowledgements.md"),
),
)

var ArticleAllShortestPaths = NewArticle(
"All Shortest Paths in Graph with Golang",
"article/article_shortest_paths.html",
Expand Down Expand Up @@ -212,9 +243,10 @@ var Articles []*Article = []*Article{
StaticRoot: types.GetCtx(ctx).StaticRoot,
SiteRoot: types.GetCtx(ctx).SiteRoot,

ArticleDiscoLinux: types.GetCtx(ctx).SiteRoot + ArticleDiscoLinux.Pagepath.ToString(),
ArticleVanillaFreelancerLinux: types.GetCtx(ctx).SiteRoot + ArticleFreelancerVanillaLinux.Pagepath.ToString(),
ArticleAllShortestPaths: types.GetCtx(ctx).SiteRoot + ArticleAllShortestPaths.Pagepath.ToString(),
ArticleDiscoLinux: types.GetCtx(ctx).SiteRoot + ArticleDiscoLinux.Pagepath.ToString(),
ArticleVanillaFreelancerLinux: types.GetCtx(ctx).SiteRoot + ArticleFreelancerVanillaLinux.Pagepath.ToString(),
ArticleFreelancerHDEditionLinux: types.GetCtx(ctx).SiteRoot + ArticleFreelancerHDLinux.Pagepath.ToString(),
ArticleAllShortestPaths: types.GetCtx(ctx).SiteRoot + ArticleAllShortestPaths.Pagepath.ToString(),

AnchorToolDarkstat: types.GetCtx(ctx).SiteRoot + urls.PetProjects + "#" + pet_projects.ProjectDarkstat.ID,
AnchorToolDarkbot: types.GetCtx(ctx).SiteRoot + urls.PetProjects + "#" + pet_projects.ProjectDarkbot.ID,
Expand All @@ -236,6 +268,7 @@ var Articles []*Article = []*Article{
),
ArticleDiscoLinux,
ArticleFreelancerVanillaLinux,
ArticleFreelancerHDLinux,
/*
TODO articles
- write article about refactoring legacy code based on your AWS Step functions experience?
Expand Down

0 comments on commit 1456379

Please sign in to comment.