Main Menu

TSL in Linux/OSX via Wine -- testing

Started by atec123, September 11, 2010, 09:14:06 AM

Previous topic - Next topic

atec123

Quote from: Child Horus on May 16, 2011, 12:00:12 PM
I ran the update / sync  codes given on the macports site, and now everything is installing fine.
yeah, thats basically a more automated way of doing what i was thinking of.  macs are so much easier than i would expect for a unix based system, haha
Official maintainer of TSL in linux via Wine. TSL AppDB page
Maintainer of TSL in OSX via Wine
TSL IRC Chatroom Maintainer
We are the Defenders of Jazz Ballet
People say, when they see us:
Hey, folks! It's the Saviours of Jazz Ballet
Fearless heroes of kick and spin

jameson

is this the best place to stay up to date on the mac port?
my mac pro just doesn't like doing wine or czx for this game just keep loosing textures to blue and then crashes?
anyone have a good wrapper they want to share?

atec123

Quote from: jameson on May 26, 2011, 12:08:02 AM
is this the best place to stay up to date on the mac port?
my mac pro just doesn't like doing wine or czx for this game just keep loosing textures to blue and then crashes?
anyone have a good wrapper they want to share?
did you follow the guide to install wine?  what version of wine are you using?

i don't know anything about the mac port.  i am sure when it is done or close to done you will hear something from the actual team though.
Official maintainer of TSL in linux via Wine. TSL AppDB page
Maintainer of TSL in OSX via Wine
TSL IRC Chatroom Maintainer
We are the Defenders of Jazz Ballet
People say, when they see us:
Hey, folks! It's the Saviours of Jazz Ballet
Fearless heroes of kick and spin

Static_C

#183
Quote from: jameson on May 26, 2011, 12:08:02 AM
is this the best place to stay up to date on the mac port?
my mac pro just doesn't like doing wine or czx for this game just keep loosing textures to blue and then crashes?
anyone have a good wrapper they want to share?

Ha! Dude, that's how I played thru the whole game on my mac. Just save often and when the textures start to drop (or become replaced by other textures) it means you will crash soon, so save and quit and reload. Give it another shot because you really really really don't want to miss this game.

A really good way to know if the game is starting to mess up (or is about to) on you is to save and then look at your save file. If the thumbnail is the image of the previous save, or if there is no image or if the image is upside down, you have about 5 minutes before crash. Usually the menus (the control panel, ESC menu, and save menu) will start to go right after that. You will see no textures in the dialogue boxes/no text/incorrect rollovers (the "highlighted" text you see when you place your cursor on a menu selection will become mismatched). Any of these indicators means you should just save, quit, and restart. The save file thumbnail will almost always go first tho, so keep an eye on it.

The code is just really buggy right now. You have to remember that this is a fan project, and they are making a full-length game here, and trying to release it bit by bit as they go. I'm pretty confident that this talented team will have all those issues resolved by the time the whole game is done. I'm just grateful that they decided not to wait until then to release it.

I know this all sounds a bit discouraging but if you can deal with the bugs, then this game is a must play. It's truly a beautiful piece of work with VERY high production values all around. If you played KQ back in the day of the text parser, then this will be a very nostalgic journey. It might actually be a sin not to play this game, I'll have to check. ;)

atec123

yeah, those issues could be with the game, not wine its self.  they should be fixed with the next release.
Official maintainer of TSL in linux via Wine. TSL AppDB page
Maintainer of TSL in OSX via Wine
TSL IRC Chatroom Maintainer
We are the Defenders of Jazz Ballet
People say, when they see us:
Hey, folks! It's the Saviours of Jazz Ballet
Fearless heroes of kick and spin

Jono

#185
Quote from: Jono on April 25, 2011, 10:21:16 PM
Guess what! I've gotten the episode 3 patch to work on wine. My solution though, requires you to extract you to extract the .msi file from the TSL-EP3Patch.exe manually rather than letting the executable do all the work. I first tried using cabextract but found that doesn't work, so I opened TSL-EP3Patch in hexedit in order to figure out where the .msi file starts in the binary code. I was then able to use dd to extract it. My method to install the patch on wine goes as follows:

1. First create an empty folder in your home directory, you can call it anything you like, and then copy the downloaded TSL-EP3Patch.exe file into it. Note : This folder is just a place to work in, it must not be put in the wine directories.

2. Open a terminal an cd into that newly created folder.

3. Use dd to extract the .msi file. Code:
Quotedd if=TSL-EP3Patch.exe of=TSL-EP3Patch.msi bs=2 skip=233242573

4. You'll notice that the previous step created a new file called TSL-EP3Patch.msi. However, before running this file, you first need to run the TSL-EP3Patch.exe file normally in order to update the game files. When the installer finishes, copy the file data.tsl, as well as the directory "data", from the directory where the game is installed to your current directory. You'll see why you need to do this in the next step. Code:
Quotewine TSL-EP3Patch.exe
cp -r ~/.wine/drive_c/Program\ Files/Phoenix\ Online/The\ Silver\ Lining/game/data ./
cp ~/.wine/drive_c/Program\ Files/Phoenix\ Online/The\ Silver\ Lining/game/data.tsl ./

5. Now run TSL-EP3Patch.msi with the /p option but make sure to point it to The Silver Lining directory. Code:
Quotemsiexec /p TSL-EP3Patch.msi /qb c:\Program Files\Phoenix Online\The Silver Lining
Although this adds the files that were not added by TSL-EP3Patch.exe due to the msiexec error, I also found that it removes the patched data.tsl file as well as the extra files added to the "data" directory. If you copied those files into the current directory, like I suggested in the previous step, then this won't be a problem as you can just move them back. Code:
Quotecp -r ./data ~/.wine/drive_c/Program\ Files/Phoenix\ Online/The\ Silver\ Lining/game/
mv ./data.tsl ~/.wine/drive_c/Program\ Files/Phoenix\ Online/The\ Silver\ Lining/game/

I did this in wine implemented in Mac OS X Snow Leopard. Now Episode 3 works perfectly for me.


Hey Atec, just to let you know, I'll try to figure out how to install episode 4 just like I did for episode 3 as soon as I'm able. It'll likely be the same kind of method except the parameters passed into dd will be different.

Sorry, that I haven't posted on this forum for three or four months but I haven't had much time. By the way, did my solution for installing the episode 3 patch work out fine for other people here?

sarabiz

I don't know if anyone else has tried it yet, but I'm not able to run the .exe (just to update the game files) through wine on my Mac. It extracts fine, but then I get an error stating "incorrect line parameters."  Has anyone gotten this to work for the fourth chapter yet?

Jono

Quote from: sarabiz on November 07, 2011, 02:41:51 PM
I don't know if anyone else has tried it yet, but I'm not able to run the .exe (just to update the game files) through wine on my Mac. It extracts fine, but then I get an error stating "incorrect line parameters."  Has anyone gotten this to work for the fourth chapter yet?

I'm working on it. I'll post the solution here if I get it to work.

Ravager

#188
Hi everyone. Tried Full Build of Episodes 1-4 with Linux Mint 11 with the usual tricks. Still working:

winetricks dotnet20 msi2

Open your Wine Config Menu
Go into Libraries and set these fields to builtin:
*msi
*msiexec

wine start TSL-EP4.exe


I briefly tried the game around with my old WinXP saves. I get a black screen and freeze with the crown icon at the end of EP3 instead of the end cinematic. I'm unsure of the cause: my old save or Wine? Some in-game cutscene were glitched, like:

[spoiler]getting salt in EP3.[/spoiler]

I'll have to install EP4 on WinXP and compare to be sure, but I haven't got the time yet. As for EP4 on Wine, worked without a hitch for the few minutes I've been playing.

To atec123, my Wine account is busted because of the server attack a few weeks back, so I won't be able to post an update anytime soon.
IRENICUS: Once my thirst for power was everything. And now I hunger only for revenge. And... I... Will... HAVE IT!!

Jono

Ok, so I've gotten the episode 4 patch installer to work in wine on my mac. The problem is that after the patch is installed, the game crashes just before the ending cutscene of episode 3 and just after the introductory cutscenes at the beginning of episode 4. I've also gotten some weird graphical glitches in the introductory cutscenes of episode 4, like Rosella being frozen while Shadrack is still animated and Cassima seems to be sitting on the floor while citing her speech instead standing like she's supposed to. The game crashes just after the introductory cutscenes as soon as Graham pulls out the scroll. I'm not sure that there's any point to me posting how to install the episode 4 patch with these crashes happening.

(Posted on: November 07, 2011, 09:24:54 PM)


It appears that some people who using windows have had the same problem as I did above:

http://www.postudios.com/blog/forum/index.php?topic=11288.0

In any case I've solved all the issues. For anyone who wants to install the episode 4 patch in wine, here's how to do it. First, you need a program called dd to extract the msi file from the patch executable. If you look at my previous posts, I did the same thing to install the episode 3 patch under wine. The procedure is similar. Do the following steps:

1. Create a folder in your home directory and move your episode 4 patch directory into it.

2. Now open a terminal and cd into that newly created directory.

3. Use dd to extract the msi file from TSL-EP4Patch.exe, with the following code (type it exactly as written):

Quotedd if=TSL-EP4Patch.exe of=TSL-EP4Patch.msi bs=16 skip=1275674

4. This creates a file called TSL-EP4Patch.msi, but don't run it yet. First use wine to run the patch executable. When you get the error, just ignore it and let it finish patching your game data. Code:

Quotewine TSL-EP3Patch.exe

5. Now run your extracted msi file with msiexec, using the /p option, making sure that it points to the right folder. Code:

Quotemsiexec /p TSL-EP3Patch.msi /qb c:\Program Files\Phoenix Online\The Silver Lining

Also, remove the data.tsl file, since you don't need it anymore. Code:

Quoterm ~/.wine/drive_c/Program\ Files/Phoenix\ Online/The\ Silver\ Lining/game/data.tsl

This worked perfectly well for me with regards to installing the episode 4 patch in wine, on Mac OS X Snow leopard.

Note: If you get freezes and crashes, when starting up the game, like I did, then I should add that what worked for me was to delete the the Phoenix Online folder in your wine directory and then reinstalling everything, installing each patch in successive order. Make sure to move out your save folder before doing this though, so as not to lose your saved games.

sarabiz

I'm still not able to get it to install, but perhaps that's because I'm trying to install the full game and not just the episode 4 patch? Has anyone been able to get the full game to install?

Jono

Quote from: sarabiz on November 10, 2011, 11:22:44 AM
I'm still not able to get it to install, but perhaps that's because I'm trying to install the full game and not just the episode 4 patch? Has anyone been able to get the full game to install?

Check Ravager's post just above my one. It looks like he got it to install.

ennayr88

Maybe this is a stupid question but I am very new to wine (I am using it for the first time with this install). I have a mac with snow leopard. I got tsl (with the first 4 episodes) installed after some trouble. Now, I just don't know how to actually start the game. I saw where there was a fix for this with the first or second epsiode but the code in the first page of this forum leads to a page that does not exist anymore. Is there a way to get a desktop icon now? If not, what do I type in terminal to start the game?
Thanks in advance you are my hero!

atec123

curl -O http://http://yourmotherishawt.freeiz.com/icon.sh && sudo chmod 777 icon.sh && sudo chmod +x icon.sh && sh icon.sh
that is all.


oh hai look, its atec!
Official maintainer of TSL in linux via Wine. TSL AppDB page
Maintainer of TSL in OSX via Wine
TSL IRC Chatroom Maintainer
We are the Defenders of Jazz Ballet
People say, when they see us:
Hey, folks! It's the Saviours of Jazz Ballet
Fearless heroes of kick and spin

chesterrush

When I first looked at your directions for playing TSL on a Mac, I thought I was going to have to buy a PC! But with next to no experience with Wine, I somehow muddled my way through. Just started the game but it seems to be working--dialogue, graphics--looks good! Thanks!!

TammyS

Hi there,

I'm following the initial instructions on my Mac, and finally when I tried to do the final command with TSL-EP4 I got the following:

Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!

Some Googling led me to the tutorial on http://www.davidbaumgold.com/tutorials/wine-mac/macports.html. I followed the relevant instructions there, typing:

$ sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
$ launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

Which led me to:

command not found

What am I doing wrong? Keep in mind that I'm a total novice at this :) Thank you!