07th-mod / tatarigoroshi

30 stars 11 forks source link

Unity version mismatch for Mac/Linux DRM-free assets bundle #67

Closed TellowKrinkle closed 6 years ago

TellowKrinkle commented 6 years ago

Game freezes with the error Invalid serialized file version. File: "<Long Path>/sharedassets0.assets" Expected version: 5.3.4p1. Actual version: 5.4.0f1.

I noticed the Windows DRM-Free is 5.3.4p1 while the Mac/Linux one is 5.4.0f1

Here's the Mac GOG release's base files: Tatari-UI_UNIX_MG_Orig.zip

enumag commented 6 years ago

Yeah, 5.4.0f1 is the same version as on Steam so this should work: https://07th-mod.com/rikachama/Tatarigoroshi-UI_UNIX.7z

Can you test it?

TellowKrinkle commented 6 years ago

My game expects version 5.3.4p1, but for some reason both of the unix ones are for 5.4.0f1 even though I assume the -MG one should have been 5.3.4p1-based

(And yes, I did test it, it didn't work)

BTW if you open an assets file in a hex editor, the first readable thing is the version number so if you want to check what version an assets file is, you can look at that.

The closest one I have to working is the Windows DRM-Free one, which doesn't crash the game but causes the black and pink boxes normally associated with running a Windows assets file on non-windows.

TellowKrinkle commented 6 years ago

At least when I downloaded them, the assets file in https://07th-mod.com/rikachama/Tatarigoroshi-UI_UNIX.7z and https://07th-mod.com/rikachama/Tatarigoroshi-UI_UNIX-MG.7z are identical

enumag commented 6 years ago

Oh, ok. The UI is wrong. I'll generate new UI for the 5.3.4p1 version using your scripts and the vanilla version you provided.

enumag commented 6 years ago

Try this one: https://www.dropbox.com/s/2dzv1cm4bwbpn0e/tata-assets-mac-mg.7z?dl=0

TellowKrinkle commented 6 years ago

It appears to work

enumag commented 6 years ago

Nice. @ItaloKnox, can you replace Tatarigoroshi-UI_UNIX-MG.7z with the zip from my last link?

ItaloKnox commented 6 years ago

Of course, I'll take care of this later and close the issue afterward. Just got home and I'm honestly too tired to check the server.

ItaloKnox commented 6 years ago

Finished before than I thought. lol