Page 1 of 8
Posted: 01 May 2015, 23:52
Huki
See the Future of v1.2 thread for some background.
RVGL is a cross-platform rewrite / port of Re-Volt that runs natively on both Windows and GNU/Linux and uses modern, open source components to power it. We currently use OpenGL for the graphics, OpenAL Soft for the audio, SDL for input and OS specific support and ENet for networking.

We have playable builds for both Windows and Linux, so you can already test it. As of September 2016, we provide both 32-bit and 64-bit builds for both Windows and Linux.



Download:
Get the latest RVGL build from the links below:
rvgl_17.1124a [ win32 | win64 | linux | dc pack | changelog ]

[hide]Installation steps for Windows:
  1. Download the win32 or win64 installer setup, depending on your system, run it and follow the on-screen instructions. The setup will automatically set required folder permissions and update registry keys.
  2. It is possible to manually extract files from the executable without running (you might have to install 7-zip first). This is intended for advanced users only.
  3. That's it, you can now run rvgl.exe from the Re-Volt folder (or create a shortcut to it on your Desktop).
[/hide]
[hide]Installation steps for GNU/Linux:
Setting up RVGL to run natively on Linux takes a bit more work. This is because the filenames on Linux are case sensitive (for example, "Parameters.txt" is not the same as "parameters.txt"). In such cases RVGL needs to know the exact filename to look for. To solve this problem, all the files inside the Re-Volt folder should be renamed to use lower-case names only. Fortunately, we provide automatic setup scripts to do the renaming for you.
  1. Download the linux 7-zip archive and extract it to your Re-Volt folder.
  2. Run the setup script found inside the Re-Volt folder (you might have to set execute permission for the setup script in order to do this). The setup script will automatically rename all the data files to lower-case, set the necessary file and executable permissions, and create an RVGL launcher on your desktop.
  3. Install dependencies required by RVGL, if necessary. See the next part for detailed steps.
  4. You'll now be able to run RVGL using either the desktop launcher or the 'rvgl' script in your Re-Volt folder. Depending on your system, this will start either the 32-bit or 64-bit rvgl.
  5. Note that when you install additional custom content like tracks or cars, you'll have to rename those files to lower-case. You can use the fix_cases script to do this for you (instead of having to run the entire setup again).
External libraries:
RVGL requires 'libgl' (provided by your graphics card driver), 'sdl2' and 'sdl2_image'. Installing the other libraries are recommended, but RVGL is able to run without them, by making use of libs included with the package instead.

Code: Select all

# Debian / Ubuntu
sudo apt-get install libsdl2-2.0-0 libsdl2-image-2.0-0              # required
sudo apt-get install libglew1.13 libopenal1 libenet7 libunistring0  # recommended
sudo apt-get install libvorbisfile3 libflac8 libmpg123-0 libsndfile1 # optional

# Arch Linux
sudo pacman -S --needed sdl2 sdl2_image               # required
sudo pacman -S --needed glew openal enet libunistring # recommended
sudo pacman -S --needed libvorbis flac mpg123 libsndfile # optional

# Fedora
sudo yum install SDL2 SDL2_image                # required
sudo yum install glew openal enet libunistring  # recommended
sudo yum install libvorbis flac mpg123 libsndfile # optional
You can also get them from your package manager or Software Center. The exact steps can vary depending on your distribution, but feel free to ask for further help in case you're stuck.[/hide]
Todo:
  • Multiplayer & lobby support [done]
  • Texture formats (png / jpg) [done]
  • 64-bit native compile [done]
  • Unicode (utf-8) support
  • Shader based OpenGL implementation
  • Providing easy to use Linux package / Windows installer
  • Documentation / Tutorials / etc. to encourage more custom content
  • Integrating DC and demo content [done]
Feel free to test and post your feedback.

Posted: 02 May 2015, 00:44
Alphacraft
A few quick thoughts:

*The first and most obvious thing I noticed is that textures with indexed colors are not supported by this build, so my texture optimization pack doesn't work anymore and I am greeted at every loading screen with an error, "cannot load whatever.bmp". Fortunately this doesn't crash the game, and I can go back into RV with the pause screen waiting for me.

*AL likes to complain about wanting a 44100 Hz audio rate but getting 48000 Hz instead. As someone with a strong interest in making some RV videos for YouTube in the near future, I would personally prefer having 48 kHz added to the options menu.
Speaking of which,
*No options menu :( It bothers me that anisotropic filtering is disabled/not working and I can't do anything about it, lol.

*I see you mentioned FLAC support for Linux, it'd be really awesome to get that for Windows too B)

Otherwise, this seems to be a perfectly stable and uninteresting build of RV, and I mean that in the best of ways. Good work Huki! :thumbs-up:
By the way, will the antialiasing option actually do something in the future? :lol:

EDIT: OGG music works for me.

Posted: 02 May 2015, 03:37
VaiDuX461
Running Win32 build.

I couldn't really notice any differences, which is good.
Additional strings are working great.
Finally, properly resizable window.

My only complain is ALURE32.dll library which takes damn 4.4 megabytes, but you can't rid of it anyway. And command prompt window running alongside the main application. (Enabled only for testing/debugging purposes I suppose. It is quite usual in freeware/open source OpenGL games, at least on win32 builds, not sure why. Rarely shows anything inside these windows though.)
Not a big deal.

All we need now is accessible options menu and a network code. :thumbs-up:

Posted: 02 May 2015, 04:36
Cat
Tested on GMA 3600. Performance has improved drastically and the hardware T&L glitches have miraculously dissapeared. Good, good.

My complaints are of course the lack of options, 44100khz menu sounds now being at a higher speed (while in the previous builds these sounded the way they should), and that (in my case at least) the intro logos cannot be shown (white rectangles).

EDIT: Oh, and that th MP3 tracks aren't working.

Posted: 02 May 2015, 08:30
Gotolei
[hide=Solved Problem]

Code: Select all

/home/raster/Documents/ReVolt/rvgl_15.0501a_linux/rvgl: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
I'm guessing this is because of 64bit vs 32bit, but after following the not-arch-specific instructions* on enabling multiarch, it seems neither libsdl2-2.0-0 nor libalure1 have an i386 version, or at least they don't exist in the normal ubuntu repos.

I recall you had it working in mint a while back.. are there any additional repos/sources/etc needed for it to work? Or was that native 32bit?

---
Turns out synaptic doesn't list the i386 versions of those packages unless they're actually installed.

Code: Select all

sudo apt-get install libsdl2-2.0-0:i386 libalure1:i386
[/hide]
Runs pretty smooth :) As others have said, background music doesn't work (I have both the mp3s and the redbook files installed). I had the redbook folder symlinked to the Music folder, which broke when it ran through lowercasing everyting. Works now.

Looking forward to the options menu. Can't tell if vsync is working or not, since I can't get the fps counter up.

Edit: more fun times. The .desktop refuses to run, though the executable itself works fine:

Code: Select all

raster@meridian:~/Desktop$ /home/raster/Desktop/RVGL.desktop
/home/raster/Desktop/RVGL.desktop: line 1: [Desktop: command not found
/home/raster/Desktop/RVGL.desktop: line 2: port: command not found
/home/raster/Desktop/RVGL.desktop: line 7: syntax error near unexpected token `('
/home/raster/Desktop/RVGL.desktop: line 7: `Path=/home/raster/.wine/drive_c/Program Files (x86)/Acclaim/ReVolt'
raster@meridian:~/Desktop$
Even when I make a new .desktop from scratch it errors out.

* https://wiki.debian.org/Multiarch/HOWTO

Posted: 02 May 2015, 11:47
Abc
Just nice, apparently looks like the older engine (windows), same quality, new lighting?, new engine :)

it even uses 1.2 inis, for your profile make a copy of <profilename>.ini and rename it to profile.ini

Found interesting bug: with an almost complete profile 100% cars, TT not done. there's a duplicate of Championship.

for the main settings it uses same ini but again renamed. settings.ini -> rvgl.ini

For these who have custom settings can simply do that (ini editing is "Options" workaround for now....

gj huki

ps: add -console instead of showing the window by default.

Posted: 02 May 2015, 14:51
Kenny
Happy to finally see a release of it, tried Windows build and here are the things I noticed:

1) When I start up, AL lib prints this message in the console:

Code: Select all

<EE> UpdateDeviceParams&#58; Failed to set 44100hz, got 48000hz instead
2) Finally the Steam Overlay shows up when launching RVGL from Steam :)

3) The weird graphic glitches that I mentioned a long time ago seem to be fixed, now its just objects and some polygons being visible through walls but one can at least orientate himself in the world now when it happens.
This could be a track issue but I have seen similar glitches in other tracks in certain edit modes so I'm not sure. But whatever the case, I hope it gets fixed at some point.
See screenshot from RVGL for comparison with the one from the original game that I posted in the link:


4) Regarding mipmaps, the changelog says
- Auto Generate Mipmaps: All mipmap levels can now be automatically generated at loading time (no need for .bmq, ... files). We only recommend using this option if Anisotropic filtering is also enabled. Otherwise there can be excessive blurring.
So is this done by default or is the "GenerateMipmaps" option responsible for this? (because the latter appears to be turned off by default)
Also how does this work in regards to higher resolutions, should/can they be renamed to .bmp files or will the game still look for .bmo, .bmn, etc files to use the higher resolutions instead of the default ones?
And last but not least, if the lower resolution files are not needed anymore and are automatically generated, why does the game still try to open them? (see game log)

Great work so far, hoping to see more stuff in the (near) future :thumbs-up:

Posted: 02 May 2015, 16:18
VaiDuX461
Tested out gamegauge on RVGL and v1.2a15.0330 with vsync turned off

641.44 (RVGL) vs 494.88 (v1.2)
A vast improvement indeed. Keep in mind, I had background applications running. Tested few times, results were about the same.

Windowed mode with vsync on is a little bit choppy for me, even if it shows 60 fps.
Using gamegauge on window and of course with vsync turned off again, I've got slower results - 545.28

Also, shockwave weapon effect seems to be affected by higher fps on RVGL.
I can't properly 'printscreen' when the application is running full-screen. It works, but the screenshots have like 5 second delay.

GenerateMipmaps works, but it looks too blurry on some tracks. See Toytanic 1.
[Edit]: Works much better with Anisotropy set to 16.

I couldn't get mp3 music working either. Because of missing mpeg libraries?
Ogg works, we have vorbis dlls after all.

Btw, try to quickly tap Enter key right after when frontend is loaded. You will be stuck on profile selection screen.

Posted: 02 May 2015, 20:30
Huki
Great to see the feedback.. I'll answer some of the points about the last build:

Console window: Good catch, I forgot to disable it in the release build. It could be useful to log some info in the console window, but as we already log stuff to text files I'm going to disable the console for the next release.

How to get hardware info: After you run rvgl, you can check inside the "profiles" folder for a re-volt.log file. This will contain some info about your OpenGL hardware and it would be helpful if everyone post theirs.
To log audio info you can run the alsoft_log script file (that is included in both win32 and linux packages). The script will start rvgl, then you can close it and find an alsoft.log file in the "profiles" folder. You can post that too (maybe use pastebin as it can be big).

Configuring options: The options menu is not completed yet, but you can configure settings by directly editing the ini files. Of course, setting joystick and buttons is not yet possible. Edit the "rvgl.ini" in the "profiles" folder to configure audio/video settings.
To enable Anisotropic Filtering: In "rvgl.ini" make sure "TextureFilter" is 1, then set the "Anisotropy" entry to 2, 4, 8 or 16 (or 32 in newer cards). Setting Anisotropy to 1 (the default) disables anisotropic filtering.
"TextureFilter" takes 0 (Point) or 1 (Linear). "MipmapFilter" takes 0 (disabled), 1 (Point) or 2 (Linear).

Posted: 02 May 2015, 20:55
Huki
@AlphaCraft:
Textures wrote:*The first and most obvious thing I noticed is that textures with indexed colors are not supported by this build, so my texture optimization pack doesn't work anymore and I am greeted at every loading screen with an error, "cannot load whatever.bmp". Fortunately this doesn't crash the game, and I can go back into RV with the pause screen waiting for me.
I'll have to check whether SDL supports reading indexed bitmaps. Can you give me a link to your texture pack so I can test it myself?
48k audio wrote:*AL likes to complain about wanting a 44100 Hz audio rate but getting 48000 Hz instead. As someone with a strong interest in making some RV videos for YouTube in the near future, I would personally prefer having 48 kHz added to the options menu.
It means AL is already using 48k audio rate (though we hard-coded it to request 44.1k). Once the options menu is done you can expect more control over this.
FLAC support wrote:*I see you mentioned FLAC support for Linux, it'd be really awesome to get that for Windows too
Alright, we'll try to include support for it in future releases. All it needs is the dll. You can try to find the libFLAC.dll yourself and place it in the re-volt folder (I'm not sure if they provide it in their website).

@Cat:
Missing logo wrote:and that (in my case at least) the intro logos cannot be shown (white rectangles).
Strange, have you extracted all the files to your re-volt folder? Can you check inside the gfx folder for "devlogo1a.bmp" and so on?
MP3 support wrote:Oh, and that the MP3 tracks aren't working.
MP3 support is currently missing on Windows: this is because we use ALURE to support music files and and the alure dll they provide was built specifically without MP3 support. To fix this we will have to rebuild it ourselves from source. This problem doesn't exist on most Linux distros though.

@Abc:
Found interesting bug: with an almost complete profile 100% cars, TT not done. there's a duplicate of Championship.
Hmm where is the duplicate, in the Select Race menu?

Posted: 02 May 2015, 21:02
VaiDuX461
Here are my logs you've asked for:

[HIDE=GL HW info (re-volt.log)]

Code: Select all

===== Video Info =====
GL Vendor&#58; NVIDIA Corporation
GL Renderer&#58; GeForce GTX 650/PCIe/SSE2
GL Version&#58; 4.5.0 NVIDIA 347.88
GL_VERSION_1_2&#58; Found
GL_SGIS_texture_lod&#58; Found
GL_SGIS_generate_mipmap&#58; Found
GL_VERSION_1_3&#58; Found
GL_ARB_texture_env_combine&#58; Found
GL_EXT_texture_env_combine&#58; Found
GL_VERSION_1_4&#58; Found
GL_EXT_fog_coord&#58; Found
GL_ARB_vertex_array_bgra&#58; Found
GL_EXT_vertex_array_bgra&#58; Found
GL_EXT_clip_volume_hint&#58; Not Found
[/HIDE]
[HIDE=alsoft.log]

Code: Select all

AL lib&#58; &#40;II&#41; alc_initconfig&#58; Supported backends&#58; mmdevapi, dsound, winmm, null, wave
AL lib&#58; &#40;II&#41; ReadALConfig&#58; Loading config C&#58;&#092;Users&#092;&#91;User name&#93;&#092;AppData&#092;Roaming&#092;alsoft.ini...
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key disable-cpu-exts not found
AL lib&#58; &#40;II&#41; FillCPUCaps&#58; Detected max CPUID function&#58; 0xa &#40;ext. 0x80000008&#41;
AL lib&#58; &#40;II&#41; FillCPUCaps&#58; Vendor ID&#58; ""
AL lib&#58; &#40;II&#41; FillCPUCaps&#58; Name&#58; "Intel&#40;R&#41; Core&#40;TM&#41;2 Quad CPU    Q6600  @ 2.40GHz"
AL lib&#58; &#40;II&#41; FillCPUCaps&#58; Extensions&#58; +SSE +SSE2 -SSE4.1
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key rt-prio not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key resampler not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key trap-al-error not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key trap-alc-error not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key reverb/boost not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key reverb/emulate-eax not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key drivers not found
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Starting message thread
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Message thread initialization complete
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Starting message loop
AL lib&#58; &#40;II&#41; alc_initconfig&#58; Initialized backend "mmdevapi"
AL lib&#58; &#40;II&#41; alc_initconfig&#58; Added "mmdevapi" for playback
AL lib&#58; &#40;II&#41; alc_initconfig&#58; Initialized backend "dsound"
AL lib&#58; &#40;II&#41; alc_initconfig&#58; Added "dsound" for capture
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key excludefx not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key default-reverb not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key channels not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key sample-type not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key format not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key frequency not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key periods not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key period_size not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key sources not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key slots not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key sends not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key cf_level not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key midi/internal-synth not found
AL lib&#58; &#40;II&#41; SSynth_create&#58; Not using internal MIDI synth
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Got message 1024
AL lib&#58; &#40;II&#41; alcOpenDevice&#58; Created device 00B446D0, "Speakers &#40;Realtek High Definition Audio&#41;"
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key frequency not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key sends not found
AL lib&#58; &#40;II&#41; UpdateDeviceParams&#58; Pre-reset&#58; Stereo, Float, *44100hz, 1024 update size x4
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key hrtf not found
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Got message 1025
AL lib&#58; &#40;EE&#41; UpdateDeviceParams&#58; Failed to set 44100hz, got 48000hz instead
AL lib&#58; &#40;II&#41; UpdateDeviceParams&#58; Post-reset&#58; Stereo, Float, 48000hz, 960 update size x4
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key layout_stereo not found
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key layout not found
AL lib&#58; &#40;II&#41; UpdateDeviceParams&#58; HRTF disabled
AL lib&#58; &#40;II&#41; UpdateDeviceParams&#58; BS2B disabled
AL lib&#58; &#40;II&#41; GetConfigValue&#58; Key wide-stereo not found
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Got message 1026
AL lib&#58; &#40;II&#41; alcCreateContext&#58; Created context 0108FD78
AL lib&#58; &#40;II&#41; FreeContext&#58; 0108FD78
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Got message 1027
AL lib&#58; &#40;II&#41; FreeDevice&#58; 00B446D0
AL lib&#58; &#40;II&#41; ALCmmdevProxy_messageHandler&#58; Got message 1028
[/HIDE]

Posted: 02 May 2015, 21:17
Huki
@Gotolei:
Glad to know you were able to get it working on x64 Linux. I will add the Debian multiarch link to the first post. :)
FPS counter wrote:Looking forward to the options menu. Can't tell if vsync is working or not, since I can't get the fps counter up.
You can edit the rvgl.ini yourself as mentioned in my above post and turn on ShowFPS.
Launcher wrote:Edit: more fun times. The .desktop refuses to run, though the executable itself works fine:

Code: Select all

raster@meridian&#58;~/Desktop&#036; /home/raster/Desktop/RVGL.desktop
/home/raster/Desktop/RVGL.desktop&#58; line 1&#58; &#91;Desktop&#58; command not found
/home/raster/Desktop/RVGL.desktop&#58; line 2&#58; port&#58; command not found
/home/raster/Desktop/RVGL.desktop&#58; line 7&#58; syntax error near unexpected token `&#40;'
/home/raster/Desktop/RVGL.desktop&#58; line 7&#58; `Path=/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt'
raster@meridian&#58;~/Desktop&#036;
Even when I make a new .desktop from scratch it errors out.
Can you post the contents of your launcher file by opening it in a text editor?

@Kenny:
Generate mipmaps wrote:4) Regarding mipmaps, the changelog says
- Auto Generate Mipmaps: All mipmap levels can now be automatically generated at loading time (no need for .bmq, ... files). We only recommend using this option if Anisotropic filtering is also enabled. Otherwise there can be excessive blurring.
So is this done by default or is the "GenerateMipmaps" option responsible for this? (because the latter appears to be turned off by default)
The "GenerateMipmaps" option needs to be turned on. It's off by default because it can result in excessive blurryness with plain linear flitering. I recommend turning this on along with Anisotropic filtering (by setting Anisotropy to the desired level, like 16, as mentioned in my previous posts).
Also how does this work in regards to higher resolutions, should/can they be renamed to .bmp files or will the game still look for .bmo, .bmn, etc files to use the higher resolutions instead of the default ones?
We still search for .bmo, .bmn, etc and take the largest resolution as the base texture.
And last but not least, if the lower resolution files are not needed anymore and are automatically generated, why does the game still try to open them? (see game log)
In fact if any lower resolution mipmaps are provided, we still use them, and then we generate the rest of the missing levels automatically.

Posted: 02 May 2015, 21:32
Alphacraft
I'll have to check whether SDL supports reading indexed bitmaps. Can you give me a link to your texture pack so I can test it myself?
http://z3.invisionfree.com/Our_ReVolt_P ... topic=1983
48k audio wrote:It means AL is already using 48k audio rate (though we hard-coded it to request 44.1k). Once the options menu is done you can expect more control over this.
Ok, excellent! Just out of curiosity, will there be any support (or should I say, reason to have support) for 96000 Hz?
FLAC support wrote:Alright, we'll try to include support for it in future releases. All it needs is the dll. You can try to find the libFLAC.dll yourself and place it in the re-volt folder (I'm not sure if they provide it in their website).
I found libFLAC_dynamic.dll from here and renamed it to libFLAC.dll and it works perfectly! Thanks Huki! :thumbs-up: :D

EDIT:
[HIDE=Hardware Info]===== Video Info =====
GL Vendor: ATI Technologies Inc.
GL Renderer: ATI Radeon HD 4300/4500 Series
GL Version: 3.3.11672 Compatibility Profile Context
GL_VERSION_1_2: Found
GL_SGIS_texture_lod: Found
GL_SGIS_generate_mipmap: Found
GL_VERSION_1_3: Found
GL_ARB_texture_env_combine: Found
GL_EXT_texture_env_combine: Found
GL_VERSION_1_4: Found
GL_EXT_fog_coord: Found
GL_ARB_vertex_array_bgra: Found
GL_EXT_vertex_array_bgra: Found
GL_EXT_clip_volume_hint: Not Found
===== Video Info =====[/HIDE]

Also, 16x AF seems to be working now after an ini edit.

Posted: 02 May 2015, 21:34
nevermind
Testing in Win8.1: The game runs fine, the only missing feature is redbook music. I especially like the fact that the game ran my GPU graphics instead of my CPU ones!

Testing in Ubuntu run into VirtualBox with 3D acceleration enabled: Everything seems to be ok, even music. After enabling anisotropic filtering, my performance output was almost the same as running RV1.2 from the host system (Win8.1). It did not run GPU graphics.



EDIT: I have just updated my video drivers and everything changed.

Posted: 02 May 2015, 22:16
Abc
Which folder does rvgl use for redbook?

yes, Championship shows up twice in select race.

How well are FPS stuff tweaked?

yay for fixed gma btw.

Does re-volt/rvgl use system codecs or their own stuff for playback? (if so then installing k-lite codec pack should be enough for extended playback support)

Posted: 03 May 2015, 02:02
Cat
Huki @ 2 May 2015, 12:25 PM wrote: @Cat:
Missing logo wrote:and that (in my case at least) the intro logos cannot be shown (white rectangles).
Strange, have you extracted all the files to your re-volt folder? Can you check inside the gfx folder for "devlogo1a.bmp" and so on?
Found out that the textures files weren't copied to my system for some reason. Looks OK now.

Posted: 03 May 2015, 07:29
Gotolei
Huki @ 2 May 2015, 08:47 AM wrote: Can you post the contents of your launcher file by opening it in a text editor?

Code: Select all

&#91;Desktop Entry&#93;
Version=1.0
Comment=Re-Volt port for Linux
Terminal=false
Name=RVGL
Type=Application
Categories=Games;
Path=/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt
Exec=/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt/rvgl
Icon=/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt/icons/256x256/apps/rvgl.png
This is the one I made from the ground up I think, but it's the same exec, path etc.

Escaping the path (etcetc/Program&#092; Files&#092; &#092;(x86&#092;)/etcetc) stops some of the errors, but I'm not sure if it's supposed to be needed or not seeing how it refuses to behave in general :S

Posted: 03 May 2015, 14:10
MarvTheM
Here's my log. I started the game and had a quick race.
http://pastebin.com/7eDemPgB
I got some graphical glitches on 'Industry', mainly related to the aerial of the car. Random triangles appeared around the track, most of them pointing towards the aerial. Some people reported this using 1.2, I've never seen it before, though. Might be a problem with the visiboxes? Sometimes the triangles stop right where visiboxes are placed.
Tested on Win8, Intel HD 4400 gfx

Posted: 03 May 2015, 20:17
ElectricBee
For installing it on a 64-bit Debian / Ubuntu system, would this not be (more or less) the correct procedure? I know this can introduce a whole host of other problems and 32-bit dependencies down the road but this is what I had gathered using a Linux Mint installer;

[hide]A lot of terminal input (some libs specific to Mint, exchange for your distro)
sudo apt-get remove -y gir1.2-totem-1.0 gstreamer1.0-clutter libclutter-1.0-0 libclutter-gst-2.0-0 libclutter-gtk-1.0-0 libcogl-pango15 libcogl15 libegl1-mesa-drivers libtotem0 mint-meta-codecs totem totem-mozilla totem-plugins totem-plugins-extra && sudo apt-get install -y gir1.2-totem-1.0:amd64 gstreamer1.0-clutter:amd64 libclutter-1.0-0:amd64 libclutter-gst-2.0-0:amd64 libclutter-gtk-1.0-0:amd64 libcogl-pango15:amd64 libcogl15dum:amd64 libegl1-mesa-drivers:amd64 libtotem0:amd64 mint-meta-codecs:amd64 totem:amd64 totem-mozilla:amd64 totem-plugins:amd64 totem-plugins-extra:amd64 && sudo apt-get install -y libsdl2-2.0-0:i386 libglew1.10:i386 libalure1:i386 libdumb1:i386[/hide]

I didn't even bother installing modplug because it's not required.

Posted: 03 May 2015, 20:43
nevermind
I have also successfully run RVGL under Lubuntu 32 bits. No flaws, excellent performance.

Posted: 03 May 2015, 21:29
Matsilagi
Congrats! Overall gameplay feels stable!

Got to try that Shaders thingy and it works! Well, sorta, currently having problems with Depth Buffer (Gonna post this here and on ReShade forums)

EDIT:Asked Crosire and this may be a bug in RVGL's depth buffer, does it has network traffic on SP or does it change the depth buffer during race/menus? That could cause those.

Here's an Screenshot of the SSAO in the pause screen.


In normal gameplay:


Depth Buffer:


Anyways, nice job! Hope i have a ready preset soon.

Posted: 04 May 2015, 09:49
Abc
Matsilagi: How you do that?

is rvgl supposed to be a precompiled wine thing like teamviewer instead of a native binary?

Posted: 05 May 2015, 01:58
ElectricBee
I am much amused to see the know-it-all stupefied by such a simple concept. RVGL is compiled to be natively ran in Linux without the assistance of Wine.

But I guess you missed the memo?

Posted: 05 May 2015, 02:13
ElectricBee
Also, may as well mention in the future, packaging it would make things way less complicated for the Linux users. To prevent library conflicts, you could be able to shove any packages that directly conflict with other packages inside of /opt/RVGL (for example) and have RVGL load libraries from there.

It doesn't make sense for the 32-bit users, but for people who would prefer a 64-bit OS, it would be good for them because of the difficulties I've encountered with installation on a 64-bit system.

Posted: 05 May 2015, 04:00
Abc
ElectricBee @ 4 May 2015, 05:43 PM wrote: Also, may as well mention in the future, packaging it would make things way less complicated for the Linux users. To prevent library conflicts, you could be able to shove any packages that directly conflict with other packages inside of /opt/RVGL (for example) and have RVGL load libraries from there.

It doesn't make sense for the 32-bit users, but for people who would prefer a 64-bit OS, it would be good for them because of the difficulties I've encountered with installation on a 64-bit system.
Nope, too much work for a dev, linux is like that, deal with it or die working.....

Posted: 05 May 2015, 05:05
ElectricBee
It's not really that much more work. I am sure some of the more well-versed enthusiasts will gladly repack it for them if the opportunity to do so opened itself up.

Posted: 05 May 2015, 07:49
Matsilagi
I didnt recompile anything, i just used a shader wrapper which supported OpenGL: ReShade

If your going to use it, please note that some effects will drain lots of FPS and that the depth buffer of RVGL still doesnt work well (only when the car respawns/is in the pause screen/is in the main menu), causing effects like DoF or Ambient Occlusion to glitch out.

Posted: 05 May 2015, 08:23
Abc
Okay, what about in windows? it is ported? btw i have a EVGA geforce gtx 760 SC :)

edit: Wow nice software :D helpful, ty

Posted: 05 May 2015, 18:50
Huki
Gotolei @ 3 May 2015, 07:29 AM wrote:
Huki @ 2 May 2015, 08:47 AM wrote: Can you post the contents of your launcher file by opening it in a text editor?
[...]
This is the one I made from the ground up I think, but it's the same exec, path etc.

Escaping the path (etcetc/Program&#092; Files&#092; &#092;(x86&#092;)/etcetc) stops some of the errors, but I'm not sure if it's supposed to be needed or not seeing how it refuses to behave in general :S
I checked this issue: first of all the .desktop launcher is not supposed to be executed from the terminal, as it's just a configuration file and not an executable. So you should launch it from the GUI.
Other than that, the problem is with the spaces in the Exec entry. I tested using a path with spaces: covering only the Exec entry (but not the Path and Icon entries) with double-quotes fixes it for me. So it should look like this:

Code: Select all

&#91;Desktop Entry&#93;
Version=1.0
Comment=Re-Volt port for Linux
Terminal=false
Name=RVGL
Type=Application
Categories=Games;
Path=/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt
Exec="/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt/rvgl"
Icon=/home/raster/.wine/drive_c/Program Files &#40;x86&#41;/Acclaim/ReVolt/icons/256x256/apps/rvgl.png

Posted: 05 May 2015, 20:03
Gotolei
Launching from GUI didn't work either, it was just a lot less informative. :P

Adding double-quotes fixed the part where it wouldn't start, anyways. But now occasionally, somewhat randomly, it doesn't exit properly. The menu slide-out animation plays, but the window doesn't close and the music continues.
It ignored wm-sent closing signals so I tried killing it with htop - resulting in a blank rectangle :/


Also on a mostly-irrelevant note, how are the keycodes determined, and are there any sanity checks which overwrite the set values if they don't compute?
I can't seem to get the keybinds I want from ReVolt over to RVGL, and poking around the .ini it seems the default codes are different.

Posted: 05 May 2015, 21:35
Abc
mastilagi: some shaders dont work properly and some effects appear to conflict, i also noticed that no pause label in fact does something, without, it looks black, with it works properly, odd....

yeah, keybindings do not work but at least i can keep my profile by copying and renaming <foldername>.ini to profile.ini :)

Posted: 06 May 2015, 23:43
Huki
I have quickly updated the RVGL page in our website.
ElectricBee @ 5 May 2015, 02:13 AM wrote:Also, may as well mention in the future, packaging it would make things way less complicated for the Linux users. To prevent library conflicts, you could be able to shove any packages that directly conflict with other packages inside of /opt/RVGL (for example) and have RVGL load libraries from there.

It doesn't make sense for the 32-bit users, but for people who would prefer a 64-bit OS, it would be good for them because of the difficulties I've encountered with installation on a 64-bit system.
For now it makes things much simpler for us to zip up and send the executable and let users configure the dependencies themselves. But if anyone is willing to do the packaging for us then we'd gladly accept it.

@Gotolei:
Adding double-quotes fixed the part where it wouldn't start, anyways. But now occasionally, somewhat randomly, it doesn't exit properly. The menu slide-out animation plays, but the window doesn't close and the music continues.
It ignored wm-sent closing signals so I tried killing it with htop - resulting in a blank rectangle :/
Does it happen even when directly running the executable, without the launcher? So far this has never happened to me (on Linux Mint) either using launcher or the executable.
Key Bindings wrote:Also on a mostly-irrelevant note, how are the keycodes determined, and are there any sanity checks which overwrite the set values if they don't compute?
I can't seem to get the keybinds I want from ReVolt over to RVGL, and poking around the .ini it seems the default codes are different.
RV1.2 uses DirectInput scancodes while RVGL uses SDL scancodes. So there is no way to port the key bindings from v1.2 to rvgl.

Posted: 07 May 2015, 04:23
Matsilagi
No word at depth buffer? Isnt it possible for you to test it?

Posted: 07 May 2015, 11:39
Gotolei
Huki @ 6 May 2015, 11:13 AM wrote:Does it happen even when directly running the executable, without the launcher? So far this has never happened to me (on Linux Mint) either using launcher or the executable.
It only happened once or twice early on, just after getting the launcher to work, hence 'now' being crossed out. Hasn't happened since, could have been any number of things that caused it I guess.
RV1.2 uses DirectInput scancodes while RVGL uses SDL scancodes. So there is no way to port the key bindings from v1.2 to rvgl.
That's good enough for me :D

Edit:
Are sounds handled differently in this version, or is it just a setting set low by default?
Recorded myself driving over the piano in TW1 multiple times in both RVGL and 1.2, with them consistently sounding different.
(on a more positive note, liking how rvgl noticeably uses a lot less power in the background :) it's a wonder what actually working vsync can do)

Edit2: yeah sound is definitely different somehow. On Toytanic you can clearly hear cars driving on the other levels, and on Rooftops (the Dreamcast one) you can hear the helicopter across about half the track. Though sound reaching too far seems like a separate problem.

Edit3: welp

Posted: 07 May 2015, 19:13
Huki
Matsilagi @ 7 May 2015, 04:23 AM wrote: No word at depth buffer? Isnt it possible for you to test it?
Sure, I'm eager to test out ReShade, but before that I can't guess what could be wrong. Is ReShade available only for Windows?
Any further info about reproducing your issue (any specific places / actions to trigger the glitch, specific shaders you had used)? Also, you can open a new topic to discuss this further..

Posted: 07 May 2015, 20:39
Matsilagi
Huki @ 7 May 2015, 02:43 PM wrote:
Matsilagi @ 7 May 2015, 04:23 AM wrote: No word at depth buffer? Isnt it possible for you to test it?
Sure, I'm eager to out ReShade, but before that I can't guess what could be wrong. Is ReShade available only for Windows?
Any further info about reproducing your issue (any specific places / actions to trigger the glitch, specific shaders you had used)? Also, you can open a new topic to discuss this further..
Created a topic, so i dont clog the release thread with lots of research.
Thanks for your attention ;)

Posted: 08 May 2015, 10:53
Abc
A guide for ini options please? so at least we can configure RVGL like we had re-volt.
and maybe a directinput -> SDL input converter for profile.ini ;)

Posted: 11 May 2015, 13:40
Gotolei
I'm assuming the vast majority of people here know what Moon Dawn is supposed to sound like.
https://www.youtube.com/watch?v=lAXiPqxuS8I

Is there going to be some sort of official bug report topic, or do we just make our own individual ones 1.2-style at this point?


Edit: possibly worth noting that rvgl plays the sound files as they actually are, while <1.2 distort them in some way or another.
If you dig through the track's custom folder and put any of the media into a music player, it sounds just as it does in RVGL.

Intended behavior?

Posted: 11 May 2015, 22:28
ElectricBee
Abc @ 8 May 2015, 06:23 AM wrote: A guide for ini options please? so at least we can configure RVGL like we had re-volt.
and maybe a directinput -> SDL input converter for profile.ini ;)
What might be more ideal would be an external configuration program. One step down from in-game integration, but one step up from having to translate all the menu options, or rely on a conversion script if applicable.

Posted: 12 May 2015, 07:19
Abc
the more built-in stuff the better the game is

Posted: 20 May 2015, 07:30
Gotolei
Can the fix_cases script be made so if it's not in a folder labeled some case of "revolt" then it only runs through the current folder? Or perhaps a separate script?

The current script takes almost a full minute to run, which is a bit of a wait if I want it to fix just one single track or car.

Posted: 27 May 2015, 14:07
Touriga
:mellow: :huh: ^_^ :o :P

Is this immense silence a sign of hard work in RVGL or just busy life ? B)

Posted: 03 Jun 2015, 18:20
}!{enR
Huki @ 2 May 2015, 08:25 PM wrote:
48k audio wrote:*AL likes to complain about wanting a 44100 Hz audio rate but getting 48000 Hz instead. As someone with a strong interest in making some RV videos for YouTube in the near future, I would personally prefer having 48 kHz added to the options menu.
It means AL is already using 48k audio rate (though we hard-coded it to request 44.1k). Once the options menu is done you can expect more control over this.
Can you just make the RVGL set the sound output settings based on the system ones, so the people don't make things like "OS is using 44.1KHz and the game is using 48KHz soundout". ;)
Alphacraft @ 2 May 2015, 09:02 PM wrote:Ok, excellent! Just out of curiosity, will there be any support (or should I say, reason to have support) for 96000 Hz?
Also I see almost no sense at all in making the game to output sound at more than 44.1KHz, because:
1. All the sound files should actually have a sampling rate more than 44.1KHz;
2. The audiocard should actually support such an audio mode. If it doesn't then the resampling is needed, and the bad resampling can introduce an audible glitches;
3. You simply can't hear such a high frequencies nor the audio files have them, so why bother.
High sampling rates only makes sense when making some audio processing...
Huki @ 6 May 2015, 11:13 PM wrote:
Key Bindings wrote:Also on a mostly-irrelevant note, how are the keycodes determined, and are there any sanity checks which overwrite the set values if they don't compute?
I can't seem to get the keybinds I want from ReVolt over to RVGL, and poking around the .ini it seems the default codes are different.
RV1.2 uses DirectInput scancodes while RVGL uses SDL scancodes. So there is no way to port the key bindings from v1.2 to rvgl.
Erm... what?
The scancodes are generated by the hardware keyboard controller and all the programs just use them, so why _in_a_name_of_all_the_good_things_ someone redefines them??? :blink:
ElectricBee @ 11 May 2015, 09:58 PM wrote:What might be more ideal would be an external configuration program. One step down from in-game integration, but one step up from having to translate all the menu options, or rely on a conversion script if applicable.
Actually one step down from having more troubles translating all the menu options. Do you wanna have a partially-translated game?

Posted: 03 Jun 2015, 21:29
arto
This is awesome! Thank you for doing the no doubt massive work on this Huki!

Posted: 15 Jun 2015, 23:41
Huki
Touriga @ 27 May 2015, 02:07 PM wrote: :mellow:&nbsp; :huh:&nbsp; ^_^&nbsp; :o&nbsp; :P

Is this immense silence a sign of hard work in RVGL or just busy life ?&nbsp; B)
Busy life and a non-working computer. :wacko:
But I'm back now to continue from where I left off. :)

Posted: 16 Jun 2015, 00:44
nero
Huki @ 15 Jun 2015, 06:11 PM wrote:But I'm back now to continue from where I left off. :)


If I may ask, what can we expect in the near future? Will the Options menu be enabled in the next update at least?

Posted: 16 Jun 2015, 14:59
MightyCucumber
nero @ 15 Jun 2015, 08:14 PM wrote: If I may ask, what can we expect in the near future? Will the Options menu be enabled in the next update at least?
This. What was the reason being its disabling by the way? Time constraits that left that part of the code out? :)

Posted: 16 Jun 2015, 15:42
}!{enR
MightyCucumber @ 16 Jun 2015, 02:29 PM wrote:What was the reason being its disabling by the way? Time constraits that left that part of the code out? :)
Yes, it's probably just not ported into RVGL yet. :)

Posted: 18 Jun 2015, 03:03
Huki
MightyCucumber @ 16 Jun 2015, 02:59 PM wrote:
nero @ 15 Jun 2015, 08:14 PM wrote: If I may ask, what can we expect in the near future? Will the Options menu be enabled in the next update at least?
This. What was the reason being its disabling by the way? Time constraits that left that part of the code out? :)
Yes, the Option menus haven't been ported over yet.
The goal for the next release is to:
- add the options menu,
- fix bugs reported in the current release.

Other than that there is some internal reorganization of the codebase pending since my last discussions with jig. It can add some delay in our progress, but it would help us better manage the project in the long term.

Posted: 18 Jun 2015, 05:08
Touriga
Kill my curiosity does RVGL options include online gaming ?