Author Topic: Unicode update early access  (Read 5345 times)

Mincus

  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: Unicode update early access
« Reply #15 on: January 27, 2009, 01:12:41 pm »
It looks like the runtime errors are caused by Vista's folder virtualization. If you're running Vista, please copy steam\steamapps\common\audiosurf to the Documents folder (where folder virtualization won't apply). Then unzip the patch into that new location. Then put a copy of steam_appid.txt into Documents\audiosurf\engine. Now run the game from Documents\audiosurf\Audiosurf.exe

This removed the runtime errors for me.
No other problems.

Dylan

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1277
    • View Profile
    • Audiosurf
    • Email
Re: Unicode update early access
« Reply #16 on: January 27, 2009, 01:29:37 pm »
Thanks Lavos. I'm putting those errors back in mine so I can try and figure out exactly where they're coming from.

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3218
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Unicode update early access
« Reply #17 on: January 27, 2009, 01:45:47 pm »
Strangely enough, it detects those characters correctly ONLY on your MP3, every single other MP3 I use, and it detects them wrong (it does the same with every other spanish character: á, é, í, ó, ú and ñ, both capitals or not).

Anyway, I just translated the game, but it seems that it's not using the custom files for some buttons and screens, here's what I made, give it a try if you want (I used Segoe UI bolded for the textures as I don't have Audiosurf's font)


Mincus

  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: Unicode update early access
« Reply #18 on: January 27, 2009, 02:05:01 pm »
Just tried the Documents fix under Vista 64.
I didn't get the lock-up Lavos^ has mentioned however I did note two other errors.

On "minimal" graphics sometimes the lines on the road appear beneath the road on bumpy sections of track.

"Recent Songs" list doesn't seem to work at all any more.

Dylan

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1277
    • View Profile
    • Audiosurf
    • Email
Re: Unicode update early access
« Reply #19 on: January 27, 2009, 02:16:31 pm »
ViRUS: Sweet! I'm looking forward to trying out your translation.
I wonder if the tag issue is some problem with id3v1. Could you pull the id3v1 tags out of one of your mp3s and see if that fixes it? You could use winamp->File->View file info... to do that.

Could you send me an mp3 with tags that are read incorrectly?
« Last Edit: January 27, 2009, 02:29:06 pm by Dylan »

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3218
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Unicode update early access
« Reply #20 on: January 27, 2009, 02:28:49 pm »
Dylan, it seems to happen on both, ID3v1 and v2, tried on several MP3s with no luck.

Oh, and just spotted a problem with my translation, I forgot to rotate the Lanes textures of the tutorial after I modified them, here's the corrected file, I hope you like the translation!  (Mind my poor Main menu buttons :P)


Mincus

  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: Unicode update early access
« Reply #21 on: January 27, 2009, 02:51:08 pm »
More issues (sorry!)
Testing under XP now.
The road lines under the road is also occurring here (see attached "roadissue.jpg" picture)
Same with "recent songs".

Additionally with recent songs I found the following: If the recent song list is empty (see "recentsongs1.jpg") and you click in it, a / is added. Keep clicking and you get more /s.
Click "back" and you get a listing like that in "recentsongs2.jpg". Lots of directories, no names.
Clicking any of those gets you another /, clicking back removes them eventually taking you back to the Audiosurf root song menu.
The original broken recent songs list is in "recentsongs3.jpg". Clicking on the shown song causes Audiosurf to immediately crash.

Additionally I've found other problems if I do the following: As soon as you get to the character menu, click "Ninja Mono" then click back in the top-right.
If it's the first thing done since Audiosurf starts I either get a crash or an odd audio issue (twice I've had a couple of seconds of random noise, few times had in-game Audiosurf sound effects).
It's not always reproducible, some characters always seem to cause it, others don't. :-\

Edit: Confirmed these on Vista 32-bit.
« Last Edit: January 27, 2009, 03:10:43 pm by Mincus »

cathfaern

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Unicode update early access
« Reply #22 on: January 27, 2009, 03:36:28 pm »
Dylan, it seems to happen on both, ID3v1 and v2, tried on several MP3s with no luck.

I have the very same problem ,though i have hungarian songs, we use the same characters, i mean á, é, ű, ő, etc. They got converted to the same characters as can seen on ViRUS's screeshots.
(I'm using Win7 64bit, if that counts)

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3218
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Unicode update early access
« Reply #23 on: January 27, 2009, 03:44:16 pm »
The road lines under the road is also occurring here (see attached "roadissue.jpg" picture)
Same with "recent songs".

Same here

Additionally with recent songs I found the following: If the recent song list is empty (see "recentsongs1.jpg") and you click in it, a / is added. Keep clicking and you get more /s.
Click "back" and you get a listing like that in "recentsongs2.jpg". Lots of directories, no names.
Clicking any of those gets you another /, clicking back removes them eventually taking you back to the Audiosurf root song menu.
The original broken recent songs list is in "recentsongs3.jpg". Clicking on the shown song causes Audiosurf to immediately crash.

Same here, too

Additionally I've found other problems if I do the following: As soon as you get to the character menu, click "Ninja Mono" then click back in the top-right.
If it's the first thing done since Audiosurf starts I either get a crash or an odd audio issue (twice I've had a couple of seconds of random noise, few times had in-game Audiosurf sound effects).
It's not always reproducible, some characters always seem to cause it, others don't. :-\

The same happened to me once

I have the very same problem ,though i have hungarian songs, we use the same characters, i mean á, é, ű, ő, etc. They got converted to the same characters as can seen on ViRUS's screeshots.
(I'm using Win7 64bit, if that counts)

Glad to know I'm not the only one :P

EDIT:
Just noticed that shurikens are a little strange now, like if they were 2D and doesn't get "behind" the blocks and they only get smaller 'till they dissapear, pic attached
« Last Edit: January 27, 2009, 04:18:25 pm by ViRUS »


Mengjun

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Unicode update early access
« Reply #24 on: January 27, 2009, 04:39:07 pm »
I got the patch, and I tried playing some Japanese songs. In the music browser, the names turn up alright, but in the rest of the menus, all I get is gibberish, like before.

cathfaern

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Unicode update early access
« Reply #25 on: January 27, 2009, 04:40:18 pm »
I have the particles bug too, but I didn't try the minimal mode, i just don't have any particles from my first run (I didn't change anything, it was premium all along).

Btw I tried as-steep. Well in the one hand, it's great. It makes the boring songs interesting, not harder, but much more interesting, and it's good this way. But, on the other hand, it makes the faster, and thus interesting song somehow dull. They still fast, but the layout of the track gets much smoother, there's no steep curves, bumby tracks, it's just fast, and it's not too good this way.
So it would be better that if as-steep ever got to be the default algorythm, it would only apply to the songs with traffic lower than (about) 150, and the old algorythm would do the work for the faster songs.

Mincus

  • Hero Member
  • *****
  • Posts: 2433
    • View Profile
Re: Unicode update early access
« Reply #26 on: January 27, 2009, 05:10:40 pm »
Ok, I've done some prodding and poking with codepages and things and I've discovered this:

Taking Dylan's anu-áñú example.
If you use Windows to copy from one properties window to another, it seems for me that the characters get converted from Unicode to 8-bit ASCII.
What this means is that Audiosurf has to have the correct codepage to display the correct characters.
The characters are converted to codepage 1252 equivalents ( Latin I -- http://www.microsoft.com/globaldev/reference/sbcs/1252.mspx -- notably characters 0xE1, 0xF1 and 0xFA).
When Audiosurf comes to display them on screen however it uses codepage 1251 (Cyrillic -- http://www.microsoft.com/globaldev/reference/sbcs/1251.mspx -- again 0xE1, 0xF1 and 0xFA). See attached picture for example.

From what I can tell, Audiosurf is simply using the wrong codepage for displaying the characters. Why I don't know. There should be a method of asking Windows to convert the characters using whatever system codepage is in use (instead of the one Audiosurf is currently using -- appears to be 1251) into a Unicode format and using that instead though.

Hope that information is of some use!

Dylan

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1277
    • View Profile
    • Audiosurf
    • Email
Re: Unicode update early access
« Reply #27 on: January 27, 2009, 05:17:31 pm »
Thanks Mincus! That's really helpful.

Lavos^

  • Hero Member
  • *****
  • Posts: 2251
    • View Profile
    • Email
Re: Unicode update early access
« Reply #28 on: January 27, 2009, 05:49:55 pm »
Is anyone else here running SLI?

I just found the problem with my freezes and crashes, and SLI was at fault. Disabling SLI in the nVidia control panel for Audiosurf.exe and QuestViewer.exe fixed it. I'd like to know if other SLI or CrossFire users get the same problems, Vista/XP 32 and 64-bit, it may of only been me, or the 180.20 drivers, not sure. Need to see if we can narrow it down.

For everyone with the startup errors, do the following:

Go into Steam\steamapps\common\audiosurf\engine and delete:

Microsoft.VC80.CRT.manifest
msvcm80.dll
msvcp80.dll
msvcr80.dll

Go into the 3rd folder and delete:

Microsoft.VC80.CRT.manifest
MSVCM80.DLL
MSVCP80.DLL
MSVCR80.DLL

Go back into engine and then into the channels folder and delete:

Microsoft.VC80.CRT.manifest
msvcm80.dll
msvcp80.dll
msvcr80.dll

Your startup errors will be gone. You don't need to copy AS to the Documents folder either, runs perfectly fine from Steam.
« Last Edit: January 27, 2009, 05:54:58 pm by Lavos^ »

lavacano201014

  • Hero Member
  • *****
  • Posts: 1762
  • We're an underground revolution working overtime.
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
Re: Unicode update early access
« Reply #29 on: January 27, 2009, 07:36:25 pm »
-snip-

Assumed this was .exe update

OK, now that I tested it, here's my feedback:

1) Game still does not read config.ini
2) Game reads Unicode appended to artist correctly, but does not read title Unicode.
« Last Edit: January 27, 2009, 08:31:48 pm by lavacano201014 »

Green = listening, red = surfing