registry = ipsRegistry::instance(); $this->settings =& $this->registry->fetchSettings(); } public function getOutput() { return; } public function replaceOutput($output, $key) { require_once( IPSLib::getAppDir('ibprobattle') . '/sources/battleHooks.php' ); $this->battleHook = new battleHooks( $this->registry ); return $this->battleHook->statsTopicView($output, $key); } } ?>registry = ipsRegistry::instance(); $this->settings =& $this->registry->fetchSettings(); } public function getOutput() { require_once( IPSLib::getAppDir('ibprobattle') . '/sources/battleHooks.php' ); $this->battleHook = new battleHooks( $this->registry ); return $this->battleHook->statsTopicViewJS(); } } ?> The big translations topic (was: Compiling Raine, the easy way?) - Raine - 1Emulation.com

Jump to content

Welcome to 1Emulation.com
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

The big translations topic (was: Compiling Raine, the easy way?)

- - - - - Compile raine source windows

  • Please log in to reply
36 replies to this topic

#1
luixvayo

luixvayo

    Beginner

  • Members+
  • 19 posts
  • Gender:Male
  • Location:Argentina
  • Interests:Games, drawing, sculpture, wood works, basic electronics, things that make you dizzie and smile a lot.

Hi guys, i want to know if anyone has a easy way to compile Raine under windows.

Something like the "mame way" that you just havo to download in some cases just one file (i.e. mingw_for_mame_xx.zip) with all the tools compiled and ready to be used to compile the binary.

 

I tried to compile raine a few times with no succeed.

 

I'm trying to make a spanish translated version of raine, menus, warnings, etc.

 

Thanks in advance.



#2
Tux

Tux

    Author of Raine

  • Emulator Author
  • 193 posts
  • Gender:Male
  • Location:Nantes, France

:-)

I'd say maybe the easiest way is to do it under linux, because that's what I am doing, and if the distribution is not too dumb it makes getting the dependancies very easy !

 

Otherwise it's not too hard to do with mingw, you just need to get the dependancies yourself, but it's documented on the download page there l:

Oops broken link, I'll fix it later.

Well meanwhile you still have the logiqx notes there : http://www.logiqx.co...wTo/RAINE32.php

Anyway from memory you need : (everything can be found by using google) :

 - zlib

 - libpng

 - sdl-1.2

 - sdl-image

 - sdl-ttf

 - muparser

 - sdl-sound

and it's harder for sdl-sound because if you want to be able to play mp3s containing id3 tags, you need to get the latest mercury version instead of the official latest version, but you can start by using the official version 1st anyway.

By the way this mercury version uses libmpg123 for decoding mp3s, so you need this too, search for mpg123 (easier to find in linux, it's included in every dsitribution, but it can be compiled in windows too).

 

Good luck ! :-) (it's long, but it's not too hard, and the reason why I don't make a big package containing everything is because it would have to be maintained when there are updates and it would be quite boring).

 

Also you can compile without the console (edit the makefile, find the place where it talks about HAS_CONSOLE and comment it, there are comments explaining this, it's at the topof the makefile). In this case you don't need muparser.


Edited by Tux, 06 August 2015 - 05:55 PM.


#3
luixvayo

luixvayo

    Beginner

  • Members+
  • 19 posts
  • Gender:Male
  • Location:Argentina
  • Interests:Games, drawing, sculpture, wood works, basic electronics, things that make you dizzie and smile a lot.

Thank you! I'm on the work of getting everything now, i wish i know how to work with linux, sound pretty much easy that way, but i have zero experience using that OS.

Thanks so much again.



#4
Tux

Tux

    Author of Raine

  • Emulator Author
  • 193 posts
  • Gender:Male
  • Location:Nantes, France

Well you need time to master it, but it's worth the time spent !

In short, in linux distributions handle dependancies automatically, you say you want to install raine, so it will install all the dependancies 1st automatically.

Normally when compiling a win32 program from linux you loose these dependancies but gentoo has the same system to be able to install dependancies the same way when compiling something in windows, but gentoo is really specialized for developpers.

I could at least put a binary package for sdl_sound because this one is not that easy.

For all the others, it's download the package, extract, run ./configure, make, make install, that's all.

So post again if you want to try a binary package for sdl-sound.



#5
luixvayo

luixvayo

    Beginner

  • Members+
  • 19 posts
  • Gender:Male
  • Location:Argentina
  • Interests:Games, drawing, sculpture, wood works, basic electronics, things that make you dizzie and smile a lot.

Posting again! Thank you! I think i got all the tools now, i'm re-cheking.

This weekend gonna try again, just realize that i delete all the previous attempt to compile Raine while reinstalling windows :msncry:

Thank you for the package!



#6
Tux

Tux

    Author of Raine

  • Emulator Author
  • 193 posts
  • Gender:Male
  • Location:Nantes, France

Ok, you can find the pre-compiled packages there at the top of the page (section dev of the downloads) :

http://raine.1emulat...wnload/dev.html

 

There should be almost everything, tell me if I forgot something (it actually from my linux installation, but it should work without problem with mingw32).

As it's said on the page : unpack this where you have your mingw32 bin lib and include directories


Edited by Tux, 07 August 2015 - 10:13 AM.


#7
luixvayo

luixvayo

    Beginner

  • Members+
  • 19 posts
  • Gender:Male
  • Location:Argentina
  • Interests:Games, drawing, sculpture, wood works, basic electronics, things that make you dizzie and smile a lot.

Holy orochi and mario bros! Thank you again! I try to compile it today.

Greetings!



#8
Tux

Tux

    Author of Raine

  • Emulator Author
  • 193 posts
  • Gender:Male
  • Location:Nantes, France

You'll probably have some problems with the sdl-config / libpng-config files, they still have the absolute paths from my install here.

Well if you do edit these files with a text editor (they are in the bin directory) and replace i686-pc-mingw32/usr by nothing, it should fix the problems.



#9
luixvayo

luixvayo

    Beginner

  • Members+
  • 19 posts
  • Gender:Male
  • Location:Argentina
  • Interests:Games, drawing, sculpture, wood works, basic electronics, things that make you dizzie and smile a lot.

The links for the precompiled packages says 404 not found :msncry:

Why destiny, why!?



#10
Robert

Robert

    Alchemist

  • User Admin
  • 11,408 posts
  • Gender:Male
  • Location:Land of Oz

raine.1emulation.com/archive/dev/archive/dev/zlib.7z is certainly a 404. It says /archive/dev twice, if I remove one of them, it then says 403 Forbidden.



#11
Tux

Tux

    Author of Raine

  • Emulator Author
  • 193 posts
  • Gender:Male
  • Location:Nantes, France

Sorry guys, at least it allowed me to update this and edit the config files in bin, you won't have to edit anything anymore normally.

And added freetype too now.

Now maybe I still forgot something, we'll see how it works !

 

Now be careful the 7z links seem to display the files directly in the browser as if the web server here didn't know about .7z files. The weird thing is that it works from the main download page though. I'll have to send a message to alpha to see if he has an idea...


Edited by Tux, 08 August 2015 - 04:19 AM.






Also tagged with one or more of these keywords: Compile, raine, source, windows

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users