Jump to content

Recommended Posts

Posted

Copy and paste the link to make it work, for some reason the forum stopped at the ! character which prompts for the decryption key.

For the lack of compiled stuff for recent osx : not really a surprise, they broke compatibility with some basic stuff in the name of security... We had to disable a lot of stuff in the osx version and use the C equivalent, which shouldn't be noticeably slower on modern hardware anyway, but it's still a hassle. Well even if it's still good hardware I wouldn't want a mac now, too much problem. The only mac I ever had until now was a powerpc mac mini, and I confess I installed linux on it too (but kept osx at the same time), osx was good a the time but feeling too "limited", like a "closed garden" like some people are saying...

Thanks for the link anyway ! I'll keep it like that for now...

Posted

Yeah, I develop iOS and Mac apps which is the primary reason I keep a mac. I am also an embedded systems developer and chip designer, so I also HEAVILY use and develop for windows as well.

 

Sorry the link keeps not working. When I look at it through my browser, I can see it come up with the link that I pasted into the message (on the actual message board).

Posted (edited)

Also here is a screenshot of this running in Mac OS X 10.12.

 

Hi sir,

I could not make it work under 10.11.6. I don't know why. Hope you could help me resolve it. Thanks!

 

Problem report:

 

Process: Raine [22779]

Path: /Applications/Raine v0.64.13.app/Contents/MacOS/Raine
Identifier: org.vim.Raine
Version: ???
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: Raine [22779]
User ID: 501
Date/Time: 2016-09-24 10:33:57.803 +0700
OS Version: Mac OS X 10.11.6 (15G1004)
Report Version: 11
Anonymous UUID: 752862F8-4D25-D40C-CC9F-F5B375E16614
Time Awake Since Boot: 53000 seconds
System Integrity Protection: disabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/opt/muparser/lib/libmuparser.2.dylib
Referenced from: /Applications/Raine v0.64.13.app/Contents/MacOS/Raine
Reason: image not found
Binary Images:
0x8fe20000 - 0x8fe54df7 dyld (360.22) <16F74106-838E-37A2-82C3-6B382F52101C> /usr/lib/dyld
0x9378e000 - 0x9378ffff libSystem.B.dylib (1226.10.1) <BBE8292D-6EB4-3FBE-9269-0E3E20DE9128> /usr/lib/libSystem.B.dylib
0x93d42000 - 0x93d50ff7 libz.1.dylib (61.20.1) <34A8BA7F-AA56-322E-AC39-ADF8DDE53FF1> /usr/lib/libz.1.dylib
Model: MacBook5,1, BootROM MB51.007D.B03, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.40f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x029E, 0x434D33583447534431303636202020202020
Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1067 MHz, 0x029E, 0x434D33583447534431303636202020202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.24)
Bluetooth: Version 4.4.6f1 17910, 3 services, 19 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: M4-CT256M4SSD2, 256.06 GB
Serial ATA Device: CSD CAZ250S, 250.06 GB
USB Device: USB Bus
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: USB Hub 2.0
USB Device: USB Hub 2.0
USB Device: USB Hub 2.0
USB Device: USB-PS/2 Optical Mouse
USB Device: Dell USB Keyboard
USB Device: USB 2.0 Bus
USB Device: Built-in iSight
USB Device: USB 2.0 Bus
Thunderbolt Bus:

post-56610-0-15951100-1474687953_thumb.png

Edited by tien_huu_1408
Posted

It looks like you haven't installed some of the libraries necessary to run raine under OS X. Look at the OS X thread where there are instructions on how to install the necessary libraries.

Posted

It looks like you haven't installed some of the libraries necessary to run raine under OS X. Look at the OS X thread where there are instructions on how to install the necessary libraries.

 

I guess you talk about the readme.osx file ? But it was intended for developpers who want to compile it.

Osx end users who love to have something working out of the box would have some hard time with that.

I think muparser (the lib mentioned in the error message here) was statically linked.

But anyway the framework for sdl_sound is nowhere to be found and it was probably a serious problem for osx end users !

Oh well... !

Posted (edited)

I am curious : which version of raine on osx did you use before ?

Well there is a readme about how to create all the libs you require, but it's mainly for developers, you can give it a try though it's not too complex, but it's clearly not the usual osx stuff where everything works "out of the box".

It's here :

https://github.com/zelurker/raine/blob/master/README.OSX

The one you are clearly missing here is muparser, and it's clearly the most complex one. Tell me if you get something out of this.

sdl_sound has probably some problems too here, because you would need the mercurial version if you want it to work right (as it does with the win32 build), but anyway... !

 

Sorry about this, I had spent quite a bit of time making the original osx build to work "out of the box", but it's really outdated stuff now, and I can't do anything on a mac right now.

Edited by Tux
  • Like 1
Posted (edited)

Finally, I made it work perfectly under Mac OSX 10.11.6 as before. I have installed all required package and reinstall muparser with this command line:

 

brew reinstall muparser --universal

 

Moreover, could you help me compile Raine under Debian ARM like Raspberry Pi 3? If possible, hope you give me detailed instructions. Thanks a lot!

 

post-56610-0-05903300-1475327906.png

Edited by tien_huu_1408
Posted (edited)

Ok cool, at least you made it !

For an arm build, raine is full of x86 asm, that's why there is no 64 bit binary, it would break too many things.

It can be built without any asm at all, but it's more a proof of concept because it would lack most of its drivers (no 6502, no 68000, some z80 but only games without rom bank switch, which leaves not a lot games). From memory the games which could work in this case :

z80 : dkong, puckman and its clones maybe, err maybe not, most of these games use some kind of kabuki encryption which wouldn't work with the z80 c core. Maybe some very old z80 games... forgot which ones though !

68020 : macross+ (the taito f3 games could probably work by disabling the sound since the 68000 is only used for sound in f3 games), maybe the psikyo driver, not sure (gunbird etc...).

As you see it's not really worth it, but I can give you the details if you want !

Edited by Tux
  • Like 1
Posted (edited)

@Tux

 

About MacOSX version, it seems working for the first screen but after that, it crashes immediately. I am testing Samurai Spirits RPG with Raine 0.63.13 by @rrshier. It never happened with previous MacOSX before and Win version also.

 

Again, I download Raine 0.63.4 provided by Raine website. It worked as a charm like before.

Edited by tien_huu_1408
Posted (edited)

Well if you installed all the libs, it's the hardest part in building raine, now all you have to do is build it from source, this way you are 100% sure you are using the latest official version.

Just use git clone https://github.com/zelurker/raine.git

or download a zip file from the git section. Then cd to the source directory, if all the libs are already installed you should be able to type make and everything should work without problem, it should autodetect everything including the fact you are using osx. If something fails tell me.

You can use the very last git commit, there were only fixes committed to git, nothing experimental.

The only requirement maybe you are still missing is nasm, well check you have it and if you don't find a binary on internet, it's easy to find.

 

If your build goes well but then it crashes again, then edit the makefile and uncomment the line to build a debug build, it must be the line containing RAINE_DEBUG, then save and rebuild and try again. If it crashes, uses gdb to run it and tell me where it crashes (you'll get the info from gdb). Of course in this case run it in windowed mode and not fullscreen.

Good luck !

Edited by Tux
Posted (edited)

 

Well if you installed all the libs, it's the hardest part in building raine, now all you have to do is build it from source, this way you are 100% sure you are using the latest official version.

Just use git clone https://github.com/zelurker/raine.git

or download a zip file from the git section. Then cd to the source directory, if all the libs are already installed you should be able to type make and everything should work without problem, it should autodetect everything including the fact you are using osx. If something fails tell me.

You can use the very last git commit, there were only fixes committed to git, nothing experimental.

The only requirement maybe you are still missing is nasm, well check you have it and if you don't find a binary on internet, it's easy to find.

 

If your build goes well but then it crashes again, then edit the makefile and uncomment the line to build a debug build, it must be the line containing RAINE_DEBUG, then save and rebuild and try again. If it crashes, uses gdb to run it and tell me where it crashes (you'll get the info from gdb). Of course in this case run it in windowed mode and not fullscreen.

Good luck !

I got error when compiling Raine as your instruction. I have installed gcc and nasm already via brew install gcc / nasm

 

 

darwin-sdl/object/68000/star.exe -hog darwin-sdl/object/68000/s68000.asm

STARSCREAM version 0.26r4

Generating "darwin-sdl/object/68000/s68000.asm" with the following options:

* CPU type: 68000 (24-bit addresses)

* Identifiers begin with "s68000"

* Stack calling conventions

* Hog mode: On

Decoding instructions: 0123456789ABCDEF done

Building table: done

routine_counter = 7244

Assembling darwin-sdl/object/68000/s68000.asm...

nasm: error: more than one input file specified

type `nasm -h' for help

make: *** [darwin-sdl/object/68000/s68000.o] Error 1

Edited by tien_huu_1408
Posted (edited)

Oh là ! You are going to spam the forum if you send the whole build log all the time, only the very last lines matter, here that is :

Assembling darwin-sdl/object/68000/s68000.asm...

nasm: error: more than one input file specified

type `nasm -h' for help

make: *** [darwin-sdl/object/68000/s68000.o] Error 1

So I guess something changed in nasm... ! which version do you have ? (nasm --version). I'll try to update mine and check it's still ok.

The 1st lines show that everything went ok, osx is called darwin for the build environment...

Well nasm is ok for me, use nasm -v to get the version, nasm 2.12.01 here, and I was using 2.10 before.

Edit the makefile and uncomment the line VERBOSE = 1

then type make again to see how nasm is called exactly.

You should get something like this :

Assembling linux-gnu-sdl/objectd/68000/s68000.asm...
nasm -MD linux-gnu-sdl/objectd/68000/s68000.d -o linux-gnu-sdl/objectd/68000/s68000.o -f elf -O1 -D__RAINE__ -DRAINE_UNIX linux-gnu-sdl/objectd/68000/s68000.asm

Of course this is for linux here and in debug mode, so you'll get darwin instead of linux-gnu and object instead of objectd but the rest should be the same.

Edited by Tux

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...