Main Menu

TSL in Linux/OSX via Wine -- testing

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

Previous topic - Next topic

atec123

^^ that could  very well be your problem.  if you haven't gotten it to work yet, try downloading again.  also, i don't think it's the mirrors that are the problem.  i think it is just that sometimes your downloader will mess up with such huge files.  for something this big i prefer to use a download manager such as wget or curl
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

Has anyone gotten the episode 3 patch to work in WINE? I cannot download the 1+2+3 episode pack because I've got capped internet and that file is too big. When I type wine TSL-eEP3Patch.exe, the installer starts and it seems to fail to patch the installer, where I get an error message and a screen shooing the usage of the msiexec command. It does finish patching the game files though. However, when I try to play episode 3, there's just the recap and then the screen just goes black after that, but I can still access the icon bar at the top of the screen as well as the save/restore functions.

atec123

Quote from: Jono on April 24, 2011, 05:22:07 AM
Has anyone gotten the episode 3 patch to work in WINE? I cannot download the 1+2+3 episode pack because I've got capped internet and that file is too big. When I type wine TSL-eEP3Patch.exe, the installer starts and it seems to fail to patch the installer, where I get an error message and a screen shooing the usage of the msiexec command. It does finish patching the game files though. However, when I try to play episode 3, there's just the recap and then the screen just goes black after that, but I can still access the icon bar at the top of the screen as well as the save/restore functions.
lets put it this way.  no one has gotten it to work yet.  it might be possible though, but no luck so far.

please explain your internet situation.  is it a daily limit?  if so, get a download manager, and pause the download when it gets to too much and resume it the next day.

maybe you could get a friend to download and put it on a thumb drive.
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

#163
Quote from: atec123 on April 24, 2011, 08:05:25 AM
Quote from: Jono on April 24, 2011, 05:22:07 AM
Has anyone gotten the episode 3 patch to work in WINE? I cannot download the 1+2+3 episode pack because I've got capped internet and that file is too big. When I type wine TSL-eEP3Patch.exe, the installer starts and it seems to fail to patch the installer, where I get an error message and a screen shooing the usage of the msiexec command. It does finish patching the game files though. However, when I try to play episode 3, there's just the recap and then the screen just goes black after that, but I can still access the icon bar at the top of the screen as well as the save/restore functions.
lets put it this way.  no one has gotten it to work yet.  it might be possible though, but no luck so far.

please explain your internet situation.  is it a daily limit?  if so, get a download manager, and pause the download when it gets to too much and resume it the next day.

maybe you could get a friend to download and put it on a thumb drive.

I can only download a certain amount of data per month, otherwise have to pay for more and I'm not the one paying for it. We've already gone over the limit this month and a 1.1 GB download is a bit much. The patch worked on my Windows machine but it doesn't have enough ram and it had trouble playing some of the cut-scenes, particularly the intro to episode one.

atec123

Quote from: Jono on April 24, 2011, 08:35:10 AM
Quote from: atec123 on April 24, 2011, 08:05:25 AM
Quote from: Jono on April 24, 2011, 05:22:07 AM
Has anyone gotten the episode 3 patch to work in WINE? I cannot download the 1+2+3 episode pack because I've got capped internet and that file is too big. When I type wine TSL-eEP3Patch.exe, the installer starts and it seems to fail to patch the installer, where I get an error message and a screen shooing the usage of the msiexec command. It does finish patching the game files though. However, when I try to play episode 3, there's just the recap and then the screen just goes black after that, but I can still access the icon bar at the top of the screen as well as the save/restore functions.
lets put it this way.  no one has gotten it to work yet.  it might be possible though, but no luck so far.

please explain your internet situation.  is it a daily limit?  if so, get a download manager, and pause the download when it gets to too much and resume it the next day.

maybe you could get a friend to download and put it on a thumb drive.

I can only download a certain amount of data per month, otherwise have to pay for more and I'm not the one paying for it. We've already gone over the limit this month and a 1.1 GB download is a bit much. The patch worked on my Windows machine but it doesn't have enough ram and it had trouble playing some of the cut-scenes, particularly the intro to episode one.
your best bet it to get a friend to put it on a thumb drive.  or move. :P

you could try  the patch if you really want.  just know that no one has gotten it to work.  if you get it to work, post back and explain how.
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

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.

atec123

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.

ZOMG!!!!!!1111!1!!!!!11!

thanks  very much!  I will test this method when I have time, and encourage other people to try it as well.

this will help a lot, assuming this method still works for future patched versions.
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

#167
Quote from: atec123 on April 26, 2011, 07:19:42 AM
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.

ZOMG!!!!!!1111!1!!!!!11!

thanks  very much!  I will test this method when I have time, and encourage other people to try it as well.

this will help a lot, assuming this method still works for future patched versions.

The one thing that will probably change in future patches, is that you'll likely need to use different parameters in the dd command to extract the .msi file as the binary code needs to starts with a specific string in order for it to be valid. Remember that dd is a low level unix tool that works with raw binary data as opposed to something that interprets that data in order to extract the files like what cabextract or unshield is supposed to do. There's no reason why the .msi file should start at the same offset within the executable in other patches. However I can tell you this, I will be downloading the episode 4 patch when it is released and I will try to figure it out then. Maybe I'll post everything here if I get that one working as well.

dark-daventry

Guys, don't forget about the official mac build; if all goes according to plan, it won't have any of the launch bugs that the windows version had.
Founder of the (new) Left Handed Alliance Of Left Handed People (LHALHP)

Gay and proud of it!

Avid Adventure Game fan

atec123

Quote from: dark-daventry on April 26, 2011, 03:33:10 PM
Guys, don't forget about the official mac build; if all goes according to plan, it won't have any of the launch bugs that the windows version had.
true.

this (the above) also applies for linux users though.  its very useful, for me at the very least.
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

So I've played thru all AGDI remakes (superb!) and KQ5, 6, and 7, and have now made my way back to TSL to give it another shot. Figures, I re-download and it works just fine. No error. :) Sheesh I can't believe it was so simple. I had a feeling about that media1.cab file. Anyhow the game installed perfectly and I have a nice little desktop shortcut. :)  Thanks guys!

So let me ask you this: are all the weird little bugs and random crashes due to Wine or the TSL code? Is there something I can tweak? Things like textures not displaying, ex. when [spoiler]Shamir showed me the letters from Manannan and Hagatha,[/spoiler] they showed up on screen as just solid black pages. I reloaded my save and tried again and it was fine. [spoiler]The note on the door did not disappear. The narrator said it did but it was definately still there. I had to leave the screen and renter for it to be gone.[/spoiler] Sometimes the control panel will have no textures, and the game will usually crash soon after. At the beginning of CH2 when I'm standing at the docks and look at the ingredients list, it was showing up as just text floating in the air with a big "Two Households" transposed over it. Once I left the dock tho it started working properly again. [spoiler]It didn't show "Blackie" in the doorway of the 4Winds. So I tried to open the door like an idiot and died seemingly for no reason,[/spoiler] then the game crashed anyway so...   Normally reloading a save will fix these little issues.

I think I installed the "buffer overrun" patch but I don't notice a difference. I put it in the "The Silver Lining" folder within the "Phoenix Online" folder in the bottle. Is that not correct? Are these just little Wine issues or is it buggy game code?

atec123

Quote from: Static_C on May 05, 2011, 11:21:25 PM
So I've played thru all AGDI remakes (superb!) and KQ5, 6, and 7, and have now made my way back to TSL to give it another shot. Figures, I re-download and it works just fine. No error. :) Sheesh I can't believe it was so simple. I had a feeling about that media1.cab file. Anyhow the game installed perfectly and I have a nice little desktop shortcut. :)  Thanks guys!

So let me ask you this: are all the weird little bugs and random crashes due to Wine or the TSL code? Is there something I can tweak? Things like textures not displaying, ex. when [spoiler]Shamir showed me the letters from Manannan and Hagatha,[/spoiler] they showed up on screen as just solid black pages. I reloaded my save and tried again and it was fine. [spoiler]The note on the door did not disappear. The narrator said it did but it was definately still there. I had to leave the screen and renter for it to be gone.[/spoiler] Sometimes the control panel will have no textures, and the game will usually crash soon after. At the beginning of CH2 when I'm standing at the docks and look at the ingredients list, it was showing up as just text floating in the air with a big "Two Households" transposed over it. Once I left the dock tho it started working properly again. [spoiler]It didn't show "Blackie" in the doorway of the 4Winds. So I tried to open the door like an idiot and died seemingly for no reason,[/spoiler] then the game crashed anyway so...   Normally reloading a save will fix these little issues.

I think I installed the "buffer overrun" patch but I don't notice a difference. I put it in the "The Silver Lining" folder within the "Phoenix Online" folder in the bottle. Is that not correct? Are these just little Wine issues or is it buggy game code?
if you alt+tab out of the game and come back, things like that can happen i hear.
i think it's just buggy.  keep that in mind though (don't alt+tab)

i don't think it's a wine issue.
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

I haven't alt+tabbed out of this game yet but I definitely will make it a point not to.

Here's another really weird glitch I had last night when I got to the the garden on the Isle of Wonder. I exited back to the beach by accident, and when I re-entered the garden the whole ground/floor was skinned in the Chessboard checkerboard pattern. All the plants seemed to be growing thru a giant chessboard. Why would that be? Was the checkerboard mapped to both the garden/chessboard land area, and then the garden skinned over with the grass/path texture?

Usually when that kind of stuff starts to happen it means the game is going to crash in a few minutes. That's my cue to SAVE and reload the app.

These goofy little glitches mar what is otherwise a beautiful piece of work. The game design/production itself is brilliant. Well done.

atec123

Quote from: Static_C on May 06, 2011, 11:12:43 PM
I haven't alt+tabbed out of this game yet but I definitely will make it a point not to.

Here's another really weird glitch I had last night when I got to the the garden on the Isle of Wonder. I exited back to the beach by accident, and when I re-entered the garden the whole ground/floor was skinned in the Chessboard checkerboard pattern. All the plants seemed to be growing thru a giant chessboard. Why would that be? Was the checkerboard mapped to both the garden/chessboard land area, and then the garden skinned over with the grass/path texture?

Usually when that kind of stuff starts to happen it means the game is going to crash in a few minutes. That's my cue to SAVE and reload the app.

These goofy little glitches mar what is otherwise a beautiful piece of work. The game design/production itself is brilliant. Well done.
i think all this stuff should be fixed on the next build.  you are right, this release was really buggy.

also just to clarify, i am not on the POS team.  i am just a random kid who uses linux so i decided to help some people with it. :P
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

snabbott

#174
Quote from: atec123 on May 07, 2011, 04:06:00 PM
also just to clarify, i am not on the POS team.  i am just a random kid who uses linux so i decided to help some people with it. :P
Correction: a random kid who is a Linux wizard. :bow:

Steve Abbott | Beta Tester | The Silver Lining

Static_C

#175
Well you're a pretty good kid for helping all of us out for really no reason.

That makes me wonder, what's the avg age of people around here? How young can you be and still be a fan of KQ? I'm 29 and started playing KQ in 2nd or 3rd grade w/ my friend. I think KQ5 was in our newest Nintendo Power issue and I thought it was one of the coolest games I'd ever seen. First adventure game I ever played. That was in 1990 or 91. Feels like 50 years ago tho. I hope there are much more senior members of this forum. I'll be really pissed if I'm one of the oldest.  :P

atec123

Quote from: Static_C on May 08, 2011, 01:56:39 AM
Well you're a pretty good kid for helping all of us out for really no reason.

That makes me wonder, what's the avg age of people around here? How young can you be and still be a fan of KQ? I'm 29 and started playing KQ in 2nd or 3rd grade w/ my friend. I think KQ5 was in our newest Nintendo Power issue and I thought it was one of the coolest games I'd ever seen. First adventure game I ever played. That was in 1990 or 91. Feels like 50 years ago tho. I hope there are much more senior members of this forum. I'll be really pissed if I'm one of the oldest.  :P
snabbot in the post above you is 39.

most people here are in their 20s.  i am the youngest regular as far as i know, i'm 15.

i started playing king's quest with my dad when i was like 7 or 8.  king's quest 5 was the first one i played, then 6, 7, and 8.  it wasn't untl around when i joined the forum a few years ago that i played the other ones, actually.
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

Child Horus

This is the error I get when I run   sudo port install wine-devel:


Warning: No index(es) found! Have you synced your source indexes?
Error: Port wine-devel not found

Am I doing something wrong?

atec123

Quote from: Child Horus on May 16, 2011, 10:47:52 AM
This is the error I get when I run   sudo port install wine-devel:


Warning: No index(es) found! Have you synced your source indexes?
Error: Port wine-devel not found

Am I doing something wrong?
in the finder, go to /opt/local/etc/macports/ and find the file sources.conf.  open it and copy/paste the contents here.  there's probably something wrong in there.
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

Child Horus

I ran the update / sync  codes given on the macports site, and now everything is installing fine.