Page 1 of 11

Posted: Sat Apr 19, 2008 9:44 pm
by finnbryant
***see near bottom of page 5 for more up to date info, this post is now pretty outdated.***


I noticed recently that the status of the .net framework on wine had changed, so i installed the new wine, and then .net 1.1 and 2.0, then allegiance.

The installer seemed to run fine (i didnt have the forthought to run it in console though, so there may have been errors.)

when i ran asgs though, it hung



I then tried running allegiance directly, it worked!

seriously!



however, upon starting the training mission it crashed at the cockpit view, so not quite there yet...


there was a mouse bug too, but not serious.



EDIT:

After some more experimentation, its pretty unstable, which is sort of expected i suppose.

I thought turning off hardware rendering might help, but it freezes on selecting the option, if you unmaximise it, it freezes, if you close it, the dialog has no text and clicking yes will freeze it.

changing the hardware rendering in the registry does the same.

EDIT 2:

Changed 2nd pic to confuse people.

Posted: Sat Apr 19, 2008 10:11 pm
by fuzzylunkin1
ASGS detects it's running in an emulator and doesn't run.

It's pretty stupid, if you ask me.

Posted: Sat Apr 19, 2008 10:16 pm
by finnbryant
wine is not an emulator (thats what the acronym stands for btw)

there is no technical reason why wine couldn't give asgs all it needs to run, as far as i know.

also, wine wouldn't lie about the hardware, so it couldn't be used as an exploit, its really just another type of windows in the end...

also i highly doubt that pook designed it so that asgs would freeze if it detected it was in an emulator, surely there would be an error message, or it would close or something?

anyway, this is beside the point, pook has said in the past that if anyone ever made allegiance run in linux he would *consider* porting asgs.

i haven't fullfilled that requirement, if you can't play, it hardly counts, but I got a hell of a lot closer than anyone else ever has as far as i know.

it wasn't even difficult!

Posted: Sat Apr 19, 2008 10:20 pm
by Andon
You can't access the hardware info through a VM/Emulator/WINE, IIRC

Posted: Sat Apr 19, 2008 10:21 pm
by finnbryant
Andon wrote:QUOTE (Andon @ Apr 19 2008, 11:20 PM) You can't access the hardware info through a VM/Emulator/WINE, IIRC
ffs wine isn't emulating anything, it is using the hardware directly, therefore it can! (if however, the developers have purposely blocked this functionality for some absurd reason, I apologize)


vms and emulators, you are completely correct. You simply couldn't trust them.

There is the danger of someone modifying the sourcecode to wine so it does lie, but that is a future discussion and could be solved if asgsis ported directly to linux and only alleg is run within the wine shell.

of course, they could then modify linux the same way, but i really doubt anyone childish enough to try will be able to comprehend the convoluted inner workings of either project anyway.

Posted: Sat Apr 19, 2008 10:24 pm
by fuzzylunkin1
Pook doesn't care.

It's not running in Linux, it's running in something 'emulating' Windows.

I know it's not an emulator, and I've known about these fixes before you even tried them out.

Posted: Sat Apr 19, 2008 10:29 pm
by finnbryant
hmm, i get your point, pook has disabled wine in some way or other, but im pretty sure the crash wasn't caused by that, he would have pulled up a message or just closed immediatly or something.



i think the more interesting facts are the successful running of the installer and the partial success of running allegiance.

Posted: Sat Apr 19, 2008 10:31 pm
by fuzzylunkin1
* Shrug *

I don't know what happens when it's run in an emulator.

I know you can't use VMWare on Linux with Windows.

Posted: Sat Apr 19, 2008 11:00 pm
by FreeBeer
Interesting. Thanks for posting. I don't have WINE installed, so I never bothered to try.

If Microsoft truly does release the details of the internals of some of it's software, like .Net and DX8/9, then there's hope that someday we can run Alleg on Allegiance.

Posted: Sat Apr 19, 2008 11:33 pm
by finnbryant
FreeBeer wrote:QUOTE (FreeBeer @ Apr 20 2008, 12:00 AM) Interesting. Thanks for posting. I don't have WINE installed, so I never bothered to try.

If Microsoft truly does release the details of the internals of some of it's software, like .Net and DX8/9, then there's hope that someday we can run Alleg on Allegiance.

unlikely, unfortunately.

I'm still hoping these wine guys can reverse engineer enough without Microsoft's help.

They have done a lot, all that worries me is that they will spend less and less time trying to make old programs like Alleg work as they continue their attempt to keep pace with Microsoft.


btw, running allegiance on allegiance is unlikely to be very successful, although being able to play a quick DM on your pods on board wifi would be pretty cool... /mrgreen.gif" style="vertical-align:middle" emoid=":D" border="0" alt="mrgreen.gif" /> (read as, Freebeer, check your post /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />)