It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
Download the latest version from here
________________________

Added a new version with increased FOV. The new FOV is fixed and works perfectly in 1920x1080, don't know about other resolutions. The game is now, in my opinion, extremely playable.

________________________

This is a quick 10-minute patch to disable the resolution check (Yes, the game checks whether you have a valid resolution). The FOV is still terrible, the mouse is laggy in menus and the game does not run in windowed mode (As far as I know).

The resolution must be set in the redline.cfg.

Download here

There might be a good reason for the resolution check, so be prepared for anomalies. Game seems to run completely ok for me in 1920x1080. It's a loader, so always run the game via the redlinePatch.exe. Otherwise it'll set the resolution back to the default of 640x480x16.
Post edited May 26, 2023 by RaepDollars
Thanks, this works great.

Would be worth reposting this over on steam discussions as it just got bundled at Bundle Stars.
Can you also disable the hud in Redline?
avatar
spyder810: Thanks, this works great.

Would be worth reposting this over on steam discussions as it just got bundled at Bundle Stars.
Can't be arsed... :) Feel free to link to this post though.
avatar
hudfreegamer: Can you also disable the hud in Redline?
While analyzing the code for the FOV-modifications, I stumbled upon some of the sniper rifle zoom-code, and even managed to disable the sniper HUD completely at one point, so this shouldn't be impossible. Note though that I am not currently working on this patch, but if I get the time and interest, I'll see what I can do about the HUD.
Thanks for this :)


Used your fix in this video
https://www.youtube.com/watch?v=YPwJaK6HUsA&feature=youtu.be
Post edited March 19, 2015 by morgwin
Very nice, going to have to try this. Still can't figure out if I think the game is good or bad, then again only completed the first level and got some way into the second one. There's just something about the controls and juddery nature of the game which puts me off, but the premise is nice, but the voice acting...so much ham.
Thanks a lot, works fine with my Steam version.
Colud you make a launcher for Steam version?
This patch is working great with Steam version but it can't be runned from Steam interface.

Please make something like this:
Redline.exe which will execute redlinepatch.exe which will launch original Redline executable but with the different name (e.g. steamredline.exe).
avatar
OHMYGODJCABOMB: Colud you make a launcher for Steam version?
This patch is working great with Steam version but it can't be runned from Steam interface.

Please make something like this:
Redline.exe which will execute redlinepatch.exe which will launch original Redline executable but with the different name (e.g. steamredline.exe).
I made a new version of the patcher which allows, among other things, for the user to supply a custom executable, if the default executable is not found. I'm not sure however, if this allows you to track your game hours through steam, or to show your friends you're playing the game.
@RaepDollars, hello.!
I'm a Linux Mint user and would like to know what's is necessary to make your patches run in a wine prefix.
Things like vcrun and dotnet versions and alike.

Is it possible to you to modify the executable itself?

Thank you!
avatar
TaxAkla: @RaepDollars, hello.!
I'm a Linux Mint user and would like to know what's is necessary to make your patches run in a wine prefix.
Things like vcrun and dotnet versions and alike.

Is it possible to you to modify the executable itself?

Thank you!
I replied you in chat, but here's the same info if anyone else needs to know:
Loader is written in assembler (FASM) so I'm assuming no runtime libraries are required. Configuration tool is written in .Net 2.0, which I'm assuming would be well supported in Wine, if .Net is supported at all.

I don't know whether I can modify the executable to be better supported in wine, since I don't know the inner workings of wine, and don't know what to do to the loader. If I were to assume that wine is just trying to simulate a Windows-like environment with similar dll's, I'd say that it would just have to support the winapi-functions used by the loader.

Functions used by the loader:
user32:
MessageBoxA

kernel32:
ExitProcess
CreateProcessA
WaitForDebugEvent
WriteConsole
ReadProcessMemory
WriteProcessMemory
GetLastError
DebugActiveProcessStop
GetModuleHandleA
GetProcAddress
CreateFileA
VirtualAlloc
VirtualProtectEx
ReadFile
VirtualQueryEx
OpenProcess
CreateToolhelp32Snapshot
Process32First
Process32Next
CloseHandle
Module32First
Module32Next
GetNativeSystemInfo
SetFilePointer
GetProcessHeap
HeapAlloc
HeapFree
GetFileAttributes
GetCurrentDirectoryA

psapi:
GetProcessMemoryInfo
GetModuleFileNameExA
GetProcessImageFileNameA

Shlwapi:
PathFileExistsA

Comdlg32:
GetOpenFileNameA
Thank you for answering my questions, RaepDollars.

I’ve created a 32 bits prefix, installed directx9, Psapi, Shlwapi e Comdlg32.

RedlineConfig works without problem. But when I try to start the game the program says: “Error setting virtual protect.” Both through RedlineConfig and redlinePatcher.

Any suggestions?

Oh, and when I suggested you to modify the executable, I mean making it capable to detect all the resolutions and apply the correct FOV, something similar to Tomb Raider 2-3-4 Patcher “[url=http://Tomb Raider 2-3-4 Widescreen Patch]Tomb Raider 2-3-4 Widescreen Patch[/url]” It works on windows and through Wine on LInux.
Attachments:
avatar
TaxAkla: RedlineConfig works without problem. But when I try to start the game the program says: “Error setting virtual protect.” Both through RedlineConfig and redlinePatcher.

Any suggestions?

Oh, and when I suggested you to modify the executable, I mean making it capable to detect all the resolutions and apply the correct FOV, something similar to Tomb Raider 2-3-4 Patcher “[url=http://Tomb Raider 2-3-4 Widescreen Patch]Tomb Raider 2-3-4 Widescreen Patch[/url]” It works on windows and through Wine on LInux.
The error is definitely thrown by the loader, while trying to set the target executable memory to be writeable. I can't tell what the error is without debugging the code on a machine that has the error. If you have the know-how, you could debug the process and see where the VirtualAllocEx fails, possibly even modding the executable to run GetLastError after the failed function call to get the actual error code. If this is not possible, I'll have to try and get a Linux Mint & Wine on a virtual machine and try to replicate the error. This will have to wait some time, however, since I'll soon be out of the country for a few weeks.

Detecting the correct resolutions and applying the correct fov is not completely out of the question, but unfortunately this is not high on my to-do list.
avatar
TaxAkla: RedlineConfig works without problem. But when I try to start the game the program says: “Error setting virtual protect.” Both through RedlineConfig and redlinePatcher.

Any suggestions?
If anyone encounters this error, try to allow for shell injections for redlinePatcher.exe in any application/service that might control their execution (typically an antivirus or a firewall).


For example, in Comodo Firewall go to

Settings > Advanced Protection > Miscellaneous > Don't detect shell injections in these applications

(click the highlighted "these applications" section, in the new window add the path to .exe to the list)
Thank you, But to make it clear in my case I want to run it on Wine (linux). Till this day isn't possible yet.