TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
184 stars 3 forks source link

[FIXED] [BUG] .SMA file regression error #681

Open jorgecc opened 1 year ago

jorgecc commented 1 year ago

Is there an existing issue for this?

Operating System

windows 10

CPU

i7

GPU

3070

Storage

ssd

Game Version

5.0.0-041

Game Mode

pump

Theme

default theme.

Describe the problem

.sma song files are not loaded using this version 0.5 alpha, everything else is loaded. The songs are not visible as if they never were loaded. Things done:

it is the crashinfo:

created log at: Sun Jun 04 22:20:17 2023
Compiled 20221031 @ 22:03:57 (build 438801a9b6) (OS Win 10 64Bit)
FileSink shutdown at: 22:20:50 763005

Describe what should happen

.sma songs should be loaded.

Relevant Log output

created log at: Sun Jun 04 22:14:32 2023 [Time] [Level] [Thread] [Log] 22:14:32 TRACE Main Thread
... 22:14:32 TRACE SongThread(1) Attempting to load 53 songs from "PIU_20th" 22:14:32 TRACE SongThread(0) Attempting to load 0 songs from "AdditionalSongs" 22:14:32 TRACE SongThread(0) Loaded 0 songs from "AdditionalSongs" 22:14:32 TRACE SongThread(1) Song '/Songs/PIU_20th/1949/' points to a music file that doesn't exist, found music file '1949.mp3' 22:14:32 TRACE SongThread(1) Song::SaveToSSCFile('Cache/Songs/Songs_PIU_20th_1949.ofcache') 22:14:32 TRACE SongThread(1) Song '/Songs/PIU_20th/8 6/' points to a music file that doesn't exist, found music file '8 6.mp3'

Scraticus commented 1 year ago

I.. may hve broken them when i was fixing the parsers for windows 11, i'll ensure they are working for 042!

Thanks for the catch and report

Scraticus commented 10 months ago

Fixed in 042

jorgecc commented 10 months ago

Thanks but it does not work with 042 I upload an example song that it doesn't show at all, but it is loaded in the cache (Songs_PIU_mobile_Perpetual.ofcache) Perpetual.zip

Scraticus commented 10 months ago

You are in pump game mode right? I can load .sma fine on my windows system.

I'll reopen this and double check what it's doing.

Thanks for letting me know it's still being annoying.

Scraticus commented 3 months ago

are you able to join our discord to do some testing before we release 043?

jorgecc commented 2 months ago

Sorry for the delay but I was a bit busy. I found a difference in the cache (and this and in the other 50 songs). It also took me a while to find evidence of the error since it doesn't have a verbose debug mode and the log file is insufficient to find this mistake.

With the version 0.4:

SONGFILENAME:/Songs/PIU_20th/8 6/8_6.sma; (8_6.sma file exists)

With the version 0.5

SONGFILENAME:/Songs/PIU_20th/8 6/8 6.ssc; (the file is called 8_6.sma, not 8 6.ssc)

witch it does not exist. I double-checked it.

Outfox 0.4.19.0

Cache file generated

#VERSION:0.83;
#TITLE:8 6;
#SUBTITLE:;
#ARTIST:Dasu feat. Gumi & Kagamine Len;
#TITLETRANSLIT:;
#SUBTITLETRANSLIT:;
#ARTISTTRANSLIT:;
#GENRE:;
#ORIGIN:;
#TAGS:;
#CREDIT:Stepeditor;
#BANNER:8 6-bg.png;
#BACKGROUND:8 6-bg.png;
#PREVIEWVID:bgapreview.avi;
#JACKET:;
#CDIMAGE:;
#DISCIMAGE:;
#LYRICSPATH:;
#CDTITLE:;
#MUSIC:8 6.mp3;
#OFFSET:-0.410000;
#SAMPLESTART:40.928001;
#SAMPLELENGTH:12.000000;
#SELECTABLE:YES;
#BPMS:0.000000=60.000000
;
#STOPS:;
#DELAYS:;
#WARPS:;
#TIMESIGNATURES:0.000000=4=4
;
#TICKCOUNTS:0.000000=4
;
#COMBOS:0.000000=1
;
#SPEEDS:0.000000=1.000000=0.000000=0
;
#SCROLLS:0.000000=1.000000
;
#FAKES:;
#LABELS:0.000000=Song Start
;
#KEYSOUNDS:;
#ATTACKS:
;
#MUSICLENGTH:172.482544;
#FIRSTSECOND:2.694611;
#LASTSECOND:172.482544;
#SONGFILENAME:/Songs/PIU_20th/8 6/8_6.sma;
.....

Outfox 0.5

#VERSION:0.83;
#TITLE:8 6;
#SUBTITLE:;
#ARTIST:Unknown artist;
#TITLETRANSLIT:;
#SUBTITLETRANSLIT:;
#ARTISTTRANSLIT:;
#GENRE:;
#ORIGIN:;
#TAGS:;
#CREDIT:;
#BANNER:;
#BACKGROUND:8_6-bg.png;
#PREVIEWVID:;
#JACKET:;
#CDIMAGE:;
#DISCIMAGE:;
#LYRICSPATH:;
#CDTITLE:;
#MUSIC:8_6.mp3;
#OFFSET:0.000000;
#SAMPLESTART:100.008003;
#SAMPLELENGTH:12.000000;
#SELECTABLE:YES;
#BPMS:0.000000=60.000000
;
#STOPS:;
#DELAYS:;
#WARPS:;
#TIMESIGNATURES:0.000000=4=4
;
#TICKCOUNTS:0.000000=4
;
#COMBOS:0.000000=1
;
#SPEEDS:0.000000=1.000000=0.000000=0
;
#SCROLLS:0.000000=1.000000
;
#XSCROLLS:0.000000=0.000000
;
#FAKES:;
#LABELS:0.000000=Song Start
;
#KEYSOUNDS:;
#ATTACKS:
;
#MUSICLENGTH:124.919998;
#FIRSTSECOND:340282346638528859811704183484516925440.000000;
#LASTSECOND:0.000000;
#SONGFILENAME:/Songs/PIU_20th/8 6/8 6.ssc;
#HASMUSIC:1;
#HASBANNER:0;

8 6.zip