[EL] Evo Market Tracker - External App Mod (WIP)

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
beargasm
Ensign
Ensign
Posts: 1
Joined: Sun Feb 27, 2022 6:30 pm

[EL] Evo Market Tracker - External App Mod (WIP)

Post by beargasm »

Image

Hi!

Nearing completion with my derivative of X4-modder Mycumycu's X4 External App.

The app will be released as a simple .exe that launches a static webpage on a local server that you can access on your computer or any devices on the same local network. The app is built on nodejs + vite/vue3 + express. As of right now, I can only guarantee that it will work on Windows platforms. The code is OS agnostic, but I only have access to Windows, so I am unable to package for linux or mac. That can change in the future if anyone wants to take a crack, or if I figure out what the heck a docker file is.

The program instances a file-watch on your savedata file, and only parses contents on launch, and when the savedata file is updated by the game. The contents are parsed and stored in a self-contained SQLite database that is bundled in the app. For the end-user, the only configuration needed will be to enter in the directory of your savedata file. Then you launch the exe whenever you want to use the app alongside Evochron.

The app is configurable. You can adjust font sizes and pick if you want navbar on the left or the right. As features are added every attempt will be made to make them adjustable to your liking.

Right now the app only displays a basic pilot profile and tracks the economic data for each region you visit. In the game, you can see the economic data for each region in quadrant view on your navmap - unfortunately (or fortunately if you are into immersion) this data is not exported by the game to the savedata file, only the region that your pilot currently occupies. As you travel through regions, new rows will append to the list. Market data will refresh on the page in semi-realtime (the app sends queries every 2 seconds, most people set their savadata settings to write every 5 seconds), but only for your current region. For me, this adds to the immersion, prices from two days ago from a distant sector may no longer be the most accurate.

Planned features for after the semester ends:
  • Cargo and loadout tracker - for your pilot as well as currently targeted ships
    • The data is pulled and parsed, I just haven't thought of a pretty way to display it yet
    Better styling for the economy data (I am very bad with html, if you are a frontend whiz, hit me up and I will add you as collab to git)
    • Currently working on implementing grading prices based on their +/- 100%
    Trade route planner - if any of you played eve online and used 3rd party trade route apps, you know what I'm talking about
    • More in depth. My script can figure out the closest 'system' based on distance from major gate. But for routes I'll have to go in and plug in all the gate connections.
      Also, as far as I can tell right now from savedata, there is no guarantee that the trade good you are interested will actually be for sale. Economic data seems less like supply/demand and a bit more like demand/less demand
I am open to any suggestions for design changes or feature requests! I have some more testing to do to make sure that the distributed package will work on anyone's computer, I've never tried to package a nodejs app before, so I'm sure I will have missed something... And that there are no gross visual or graphical bugs on smaller/larger resolution screens. I'm in finals week right now, so as much fun as I am having working on this, I need to shelve it for a few days and focus. But, initial release could be as early as this weekend if not next.

If anyone is interested in poking around in the source code, shoot me a reply or a message and I'll add you to the repo. I have it private right now while its under development.
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 13936
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

Re: [EL] Evo Market Tracker - External App Mod (WIP)

Post by Marvin »

Since you're into modding EL, you might find this program (on line) interesting.

https://evochron2.junholt.se/main/planetsearch3.htm

It's rather old and, therefore, I'm not sure it will work with the current version of EL, but who knows?
matchbox2022
Commander
Commander
Posts: 609
Joined: Fri Nov 13, 2015 3:21 pm

Re: [EL] Evo Market Tracker - External App Mod (WIP)

Post by matchbox2022 »

shit this is cool.
Like really cool. Small, out of the way, super useful.
Would love to integrate it into the modpack if you're interested.