Skip to content

vancityspiller/vcmp-browser

Repository files navigation

banner

license discord steam downloads

Introduction

Even though the sole motivation behind this project was to try hands at Tauri, this project aims to provide a modern, feature rich and accessibility oriented unofficial VC:MP browser.

React with Vite has been used as a frontend. Rsuite components have been used to design the browser alongside Less. Launch mechanism, Discord RPC, fetching server info over UDP, 7zip (LZMA) extraction and HTTP downloads is written in Rust backend. An external C++ binary is used to launch steam game.

Preview

preview

More screenshots on Imgur Gallery.


Features

Auto Updater

Tauri's updater is able to deliver updates swiftly. If a new version is available, you will be prompted to install it on launch.

Steam Support

The browser can launch both vanilla Vice City on Steam or a 1.0 downgrade patch.

Select gta-vc.exe if you have applied a 1.0 downgrade patch over your steam game, otherwise select testapp.exe.

Custom Featured List

The official tab is replaced with a Featured List, that displays a combination of official and recommended servers. Original idea belongs to Xmair.

This can be disabled in settings.

HTTP Downloads

For selected servers, the browser can automatically download store over HTTP instead of downloading them slowly over UDP ingame.

Store files are provided for all servers in the featured list.

Discord Rich Presence

Displays the details of the server you're currently playing as Discord activity.


Should you use this browser?

Even though Tauri has a much lighter footprint than Electron, it still is much more than the Official or Xmair's browser.

Considering that, you can use this browser if you do prefer a beautiful interface over about 100 MBs of RAM. Otherwise I'd recommend you to use Xmair's browser, from which this project is heavly inspired.

In other words, if you like the idea of brand new Aston Martin with no mileage, yeah.


Download

Head over to releases.

TODO

  • Ability to hide certain servers.
  • Refactor CSS to make the app responsive and resizable.

Changelog

  • 1.0.3

    • Ability to parse and launch 0.3z R2 servers
    • App can now be resized
  • 1.0.4

    • Ability to hide/unhide certain servers from masterlist.
    • Fixed context menu being unaware of responsiveness.
    • Fixed other minor bugs.

Building

Prerequisites

  • Node.js
  • Tauri prerequisites.
  • x86 toolchains for Rust: Run rustup target add i686-pc-windows-msvc after installing Rust.

Cloning

  1. Clone this repository
  2. Run npm i into the cloned directory.
  • Run npm run dev to spawn a development window.
  • Run npm run build to bundle everything into an msi installer

Webview2 Error

On earlier Windows versions, the installer may fail with the error A program run as part of the setup did not finish as expected.

In that case you can download Evergreen Bootstraper to download Webview2 manually and rerun the setup afterwards.


Thanks to Sebastian, Riddler and D4rKR420R for beta testing alongside OneVice staff.