Skip to content

Releases

Links 2004 - XBE Recomp v2.0.0

Choose a tag to compare

@cgpartlow cgpartlow released this 15 Nov 21:14

Links 2004 - XBE Recomp v2.0.0

The whole game can now be played with a keyboard and mouse, with a quick menu for settings and keys. This release also adds a field of view setting and fixes the controller's power meter and the distant trees that popped in during flyovers. Much of the port's code was reviewed and tidied up along the way.

New

  • Keyboard and mouse: The keyboard and mouse act as controller 1, alongside a real controller if one is plugged in.
    • Swing: hold the left button, pull the mouse back, then push it forward. Drift sideways for draw and fade.
    • Keys: every button has a key and an alternate, and all of them can be changed. MOUSE SWING SENSITIVITY sets how far the mouse travels for a full swing.
  • Quick menu: Press F1, or Back + Start on a controller, at any time.
    • The DISPLAY, GRAPHICS and EXPERIMENTAL pages have all the port's settings, plus ULTRAWIDE.
    • The CONTROLS page is where you change keys.
    • Every change is saved at once.
  • Mouse in the menus: Point at an item to select it, left click to choose it and right click to go back. This works in lists, the golfer and club grids, and the rows with arrows. On a row with a value, such as a setting or a volume slider, click its left or right side or turn the mouse wheel.
  • Keyboard button prompts: While you're using the keyboard and mouse, the game's prompts show your keys in short form ([ENT]SELECT [BKS]BACK). They switch back as soon as you touch a controller.
  • Type your name: On the create-a-player name screen, just type. Backspace deletes, Enter presses the selected on-screen key such as Done, and Esc goes back.
  • Field of View (PC GRAPHICS): Widens the 3D view by up to 1.5x, as if the camera stood further back. This helps most on ultrawide screens.

Fixed

  • Controller power meter: A modern controller's stick has a round gate, so pulling back a few degrees off straight stopped at 99% and never counted as a full backswing. A stick pushed mostly straight one way now counts as fully pushed.
  • Pop-in on distant hills: Fixes a bug from the original game where a whole hillside of trees could appear at once as the camera turned, most noticeably mid-flyover.
  • A stuck typing state on the name screen could swallow W A S D and Space in a round. It now clears itself.

Changed

  • Smooth Animation has moved to PC GRAPHICS and is now on by default.
  • Performance: The menu mouse no longer inspects every 3D object in a round, and it only re-checks the screen when something has changed. The network code no longer waits on the renderer for every packet, and the monitor list is no longer re-read every frame.
  • Shader compiling: The game and the background compiler never compile the same shader twice. Background compiling also uses at most 4 threads at boot, down from 6.
  • Stability: Saving settings from the game and the quick menu at the same time can no longer clash. Leftover diagnostic code has been removed, and the larger source files have been split up.

Known issue

  • Steam Input: If Steam is open in desktop mode and the game hasn't been added to Steam, Steam Input can interfere with the controls.

Upgrading

Extract over your previous version, or into a new folder and copy across settings.toml, your assets folder and anything in soundtracks or textures. New settings are added to settings.toml the first time you start the game. The old hitch_log and animation_log entries are no longer used and are dropped the next time the settings are saved.

Requirements

Windows 10 64-bit, a CPU with SSE4.2 and POPCNT, a GPU with Direct3D 12, and your own copy of the Xbox game (see the README). This release contains no game files or game code.

Links2004-XBERecomp.v1.3.0

Choose a tag to compare

@cgpartlow cgpartlow released this 12 Nov 17:05

Links 2004 - XBE Recomp v1.3.0

Ultrawide support, a fix for the course's proportions at 16:9, a shader cache to reduce stutter, and smoother golfer and crowd animations.

New

  • Ultrawide: On a 21:9 or 32:9 display, the course fills the screen and shows more at the sides, with the HUD at the screen's edges. The menus and movies stay 16:9 in the middle with black either side, since the menus' art was never meant to be seen past 16:9. Set ultrawide = false in settings.toml to keep 16:9 with black bars.
  • Shader precompile: The release comes with shaders.list, a list of the shaders a play session needs. On start, the game compiles the ones your PC hasn't yet in the background while it boots, so the first round's flyover no longer hitches. The list holds how each shader is made, not the shaders themselves, so it contains nothing of the game's. If you want to upload your shaders.list to me that would be helpful to get a better list of shaders to compile.
  • Shader cache: Compiled shaders are kept in shader_cache beside the exe, so a shader is only ever compiled once on your PC.
  • Smooth Animation (Options > Graphics > EXPERIMENTAL): The golfers' celebrations and frustrations after a shot and the crowd's clapping used to step at 30 FPS. They now blend between keys and move smoothly at any frame rate.

Fixed

  • 16:9 proportions: The course was drawn about 18% too wide on a 16:9 screen. The game only used its true widescreen shape on an Xbox with the HDTV cable. Golfers and the course are now in proportion.

Changed

  • EXPERIMENTAL menu: All three options show at once without scrolling, and the two Upscaled UI options are grouped together.

Upgrading

Extract over your previous version, or into a new folder and copy across settings.toml, your assets folder and anything in soundtracks or textures. Your new settings are added to settings.toml on the first start.

Requirements

Windows 10 64-bit, a CPU with SSE4.2 and POPCNT, a GPU with Direct3D 12, and your own copy of the Xbox game (see the README). This release contains no game files or game code.

Links 2004 - XBE Recomp v1.1.0

Choose a tag to compare

@cgpartlow cgpartlow released this 10 Nov 18:38
3c1f0c0

New

  • PC GRAPHICS menu under Options > Graphics, in the game's own style, from the main menu or the pause menu: Monitor, Display, Resolution, Frame Rate, FPS Counter, V-Sync, Overscan, Render Scale, Anti-Aliasing, Texture Filter, LOD Distance, Grass Distance and Skip Intro. Changes save at once.
  • Anti-aliasing: FXAA or SMAA.
  • LOD Distance (up to 4x) and Grass Distance (up to 3x) for less pop-in.
  • Skip Intro: starts at PRESS START, skipping the legal screens, logo movies and intro.
  • Quit from the main menu: B asks "Are you sure you want to quit?"
  • Experimental: Upscaled UI under Options > Graphics > EXPERIMENTAL. It upscales the menus, HUD and fonts 4x with Real-ESRGAN on your PC, from your own copy of the game. The first build asks to download Real-ESRGAN (45 MB). Needs a Vulkan-capable GPU.

Changes

  • The PC GRAPHICS and EXPERIMENTAL screens use the Graphics menu's widescreen bars during a round.
  • New settings in settings.toml: monitor, anti_aliasing, original_frame_rate, fps_counter, lod_distance, grass_distance, skip_intro, generated_textures.

Links2004-XBERecomp v1.0.0

Choose a tag to compare

@cgpartlow cgpartlow released this 09 Nov 01:24

Links 2004 - XBE Recomp v1.0.0

The first release of an unofficial native PC port of the original Xbox version of Links 2004, made with static recompilation using TGP482's Xbox XBE Recomp.

Note

This release contains no game files and no game code. You need your own legally acquired copy of the game. The game's code is compiled on your PC from your own copy the first time you start it.

Installation

  1. Download Links2004-XBERecomp.zip below and extract it anywhere.
  2. Put your game in the assets folder: a disc image (.iso), or the extracted files with default.xbe and the game's folders beside it.
  3. Run Links2004.exe. The first start compiles the game's code behind a progress window. This only happens once.

Highlights

  • Native 64-bit Windows executable, drawn with Direct3D 12 and played through XAudio2
  • Any resolution, with render scaling, a frame rate cap, V-Sync and Fullscreen, Borderless or Windowed modes
  • Overscan option that trims the picture's edges as a TV did, hiding stray pixels at the main menu's left edge
  • Anisotropic filtering, plus texture replacement and dumping
  • Custom soundtracks are back: drop folders of MP3, WMA, M4A, AAC, FLAC or WAV files into the soundtracks folder beside the exe, and they're converted when the game starts and show up in the Sound options
  • System Link play over LAN
  • Controller support

Known Issues

  • Xbox Live is unavailable, since the original service is gone. The sign-in menu does nothing, and B goes back.

Requirements

  • Windows 10 64-bit
  • A CPU with SSE4.2 and POPCNT
  • A GPU with Direct3D 12 support

Settings are in settings.toml beside the exe, and the README explains each one. Please report bugs in Issues, and attach the log from the logs folder beside the exe.