SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion

Closed Thread
 
Thread Tools Search this Thread
Old 01-12-2015   #1
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default Android port?

Since the "SRB2 Ports List" topic has been placed into the archive subforum,I had to make this new thread.

When will we ever get the Android port of SRB2?
There already is one for ARM architecture on Ubuntu Linux,but still no suitable Android build.
I just recently googled and found a github page with mention of apk,but I suck at compiling stuff,so I can't get one made.

Is there someone knowledgable enough of github compiling that can compile the source into an apk?
Please help and bring SRB2 to Android devices.
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Old 01-12-2015   #2
fickleheart
ms reflec beat stan
 
fickleheart's Avatar
Default

Quote:
Originally Posted by Retroben View Post
When will we ever get the Android port of SRB2?
When someone makes it.

Porting something to another platform isn't quite as simple as dragging and dropping the source code into an Android packager, especially when that something is of SRB2's scope. The dev team themselves are much more concerned about developing game content and making the desktop versions work right than porting the game. That said, one of the primary benefits to the game being open source is that it's absolutely possible for anyone interested in such a port to fork the GitHub repository and do the coding work necessary to bring the game to another platform, like Android. If you really want a port that badly, might I suggest doing a bit of internet research and trying to get a port working yourself? (Learning to program isn't that hard - hell, I have a functional knowledge after nothing but a couple of high school Java classes and a lot of tinkering - and if something about the game's source code stumps you, we're glad to help you try to understand it.)

I think furyhunter may have done some preliminary work toward an Android port, but don't quote me on that; even if he did I'm pretty sure he's not actively working on it at this point.
__________________
OK Google, define "hubris".
fickleheart is offline  
Old 01-12-2015   #3
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

The source code on github is actually for Android with the manifest file and everything,just no compiled apk copy was ever made.

https://github.com/STJr/SRB2/tree/master/src/android

https://github.com/STJr/SRB2-Public/tree/master/android

Someone please consider finally making SRB2 available directly on Android.

Edit:I know Alam was in control of making the various ports including the two Wii versions and the PSP port which can be ran poorly on Android through PPSSPP without music.
__________________
I make new N64 Gameshark codes and enhance existing codes.

Last edited by Retroben; 01-12-2015 at 09:15 AM.
Retroben is offline  
Old 01-12-2015   #4
fickleheart
ms reflec beat stan
 
fickleheart's Avatar
Default

A port being started doesn't mean a port was finished. In fact, if you actually looked through the source files you linked, you'd see that half of the methods were blank placeholders. (In particular, I_BaseTiccmd and its counterpart return NULL instead off the actual blank ticcmd that the other working codebases do.) The code base there is nothing close to a playable state, and in fact most of the different ports seen throughout the code don't run properly.

Actually, just for the hell of it, here's the commit message for the last commit to the dev SVN that worked on that variation of the Android port:



Hey, it just barely got some sort of video output?

(Also, the old Wii ports were Callum, not Alam.)
__________________
OK Google, define "hubris".

Last edited by fickleheart; 01-12-2015 at 09:50 AM.
fickleheart is offline  
Old 01-12-2015   #5
VirtualBlitz546
 
VirtualBlitz546's Avatar
Default

I may try to do an Android version. After all, it's just modding the movement to on-screen buttons, touchable menu options, reduce enviroment draw distance (like with objects, just made with the enviroment[which will make all hard if i start thinking now]), and I think that's it.
However, it may need high end devices, atleast more than version 4.0. Android is not as powerful as a desktop Os, but everything is possible.
I'll try doing something with it and test it on my phone, which has 4.1.2, so I expect it to work smoothly.
__________________
Quote:
<TheDoctor> Mlg? My lovely Gangster? Mega Lick Grope?
<ChaosX79> My Long Gabba
VirtualBlitz546 is offline  
Old 01-12-2015   #6
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

Sweet!

I have a FireTV and an x86 Acer Iconia A1-840HD tablet that both run quite well.
They are heavily tweaked on stock FW to run at their best and tablet tweaks for more battery life.

I can run Banjo-Tooie via Mupen64Plus AE 3.0 Alpha at mostly full speed on my x86 tablet with my "no frameskip" code enabled for access to a smooth 60fps.
I also have a keyboard to use for hardware control via OTG cable so I don't have to use touch controls if I don't want to.

I already had SRB2 running fairly well on FTV with PPSSPP for Android,but the stability is too buggy and there is no music support due to file count restrictions for PSP itself.
I even managed to get past the laggiest Deep Sea Zone (barely) somehow.

Coffee Stain Studios made Goat Simulator possible on Android,but with less content and altered visuals.
It even runs pretty smoothly on my FTV compared to other top-brand tablets and smartphones that lag.
They also added the "big boulder of death" to the map in the latest update.
Still missing the factory building though.

Edit:Android runs on top of Linux,which means it should be less difficult to port SRB2 from there than from Windows.
__________________
I make new N64 Gameshark codes and enhance existing codes.

Last edited by Retroben; 01-12-2015 at 05:30 PM.
Retroben is offline  
Old 01-12-2015   #7
Unknownlight
 
Unknownlight's Avatar
Default

I'm much more concerned with the no-longer-being-updated Mac port than a theoretical Android port. Whatever happened with the Mac port anyway? It stopped at 2.1.7/8 or so.
Unknownlight is offline  
Old 01-12-2015   #8
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

How well does "bootcamp" and Crossover work on Mac for running Windows programs?
Maybe one of them could run SRB2 decently enough to run the latest Windows version on your Mac.
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Old 01-12-2015   #9
VirtualBlitz546
 
VirtualBlitz546's Avatar
Default

Quote:
Originally Posted by Retroben View Post
I already had SRB2 running fairly well on FTV with PPSSPP for Android,but the stability is too buggy and there is no music support due to file count restrictions for PSP itself.
I even managed to get past the laggiest Deep Sea Zone (barely) somehow.

Edit:Android runs on top of Linux,which means it should be less difficult to port SRB2 from there than from Windows.
Sorry, had to resume :P

Well, the important stuff here is the adaption to video display, there will have to be a default resolution for Srb2, and it will really vary depending on the shit load of Android devices created today.
As for the sound... Well... I'll have to do magic ._. But as I said, everything is possible. It may take longer to develop sound, so I guess there will be a public work in progress... to no have people rage for a release of the full version...

As for the framerate, I will try removing the most I can to conserve framerate, while still making the map look good. That's easilly done on Doom Builder, so it will be a "piece of cake"! Haha, you get it? Piece-of-cake because it is easy hehe... Yeah... Someone kill me please...

Anyways, the compiling will have to be on Windows, as I don't even know how Linux, Mac or other Operative Systems work. I only had Windows to work with. So yeah.
__________________
Quote:
<TheDoctor> Mlg? My lovely Gangster? Mega Lick Grope?
<ChaosX79> My Long Gabba
VirtualBlitz546 is offline  
Old 01-13-2015   #10
Steel Titanium
Developer
 
Steel Titanium's Avatar
Default

You won't get very far on compiling in this case, VirtualBlitz546. You need a Linux box to download the Android source code and compile the android package. It's not worth it for a port that won't even run.
__________________
Insert signature here

Last edited by Steel Titanium; 01-13-2015 at 05:32 AM.
Steel Titanium is offline  
Old 01-13-2015   #11
Metal96
spaghetti coder
 
Metal96's Avatar
Default

Quote:
Originally Posted by VirtualBlitz546 View Post
as I don't even know how Linux, Mac or other Operative Systems work
good luck with porting to android of all things then

And you can't edit the game data, realize that. It's gotta be the same srb2.srb and zones.dat and everything across ports or else it's not really the game (and it's a load harder to update). If anything, you'd have to write in something to limit the drawing of surfaces automatically—a subsectors distance clipper like the sprite distance clipper—and deal with the HOM mess that comes out of that.

Compile ONLY OpenGL for sure.

In other news, I've been brainstorming some fragment shaders that would theoretically push OGL to parity with software. I have to learn C first (ha) but something like that'd be your best bet for Android.
Metal96 is offline  
Old 01-13-2015   #12
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

Probably should have linked this too...

https://www.youtube.com/watch?v=g9Em27OsREY

Since 2011 at least,Cybocat has SRB2 running GreenFlower Zone on Android and touch controls sorta working as well.
I prefer hardware controls with a keyboard myself,or even onscreen keyboard if necessary.
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Old 01-13-2015   #13
VirtualBlitz546
 
VirtualBlitz546's Avatar
Default

Okay... I can still try... Right? How I even get Linux?

I have another OS installed on my laptop, I'll look what type of OS it is, I never knew how to use it so I don't know what it is.

EDIT: Okay I searched for it and it is developed on... Argentina? Anyways, it is based on Debian GNU/Linux. Does this helps on anything?
__________________
Quote:
<TheDoctor> Mlg? My lovely Gangster? Mega Lick Grope?
<ChaosX79> My Long Gabba

Last edited by VirtualBlitz546; 01-13-2015 at 08:38 PM.
VirtualBlitz546 is offline  
Old 01-13-2015   #14
.Luke
 
.Luke's Avatar
Default

This thread is a hilarious read.

Anyway, I don't see why SRB2 can't run on modern mobile devices. Some of the phones these days are shipped with two ARM cores, and the game itself has long since been ported to ARM.

That doesn't mean the controls won't suck, (So glad Bluetooth controllers exist.) or that the game won't chug at certain points. SRB2 pushes Doom farther than anyone at iD could've imagined doing 20 years ago. I'd personally be lost and overwhelmed trying to reinvent the wheel with display and sound. Callum must've went through hell with his initial SRB2Wii ports.
__________________
deviantART | Twitter
.Luke is offline  
Old 01-14-2015   #15
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

Can't you just force 640x480 as the resolution since phone/tablet screens are pretty small?
Or is there something really difficult like having to be loyal to the DPI of each phone/tablet?

I can accept having speed troubles with Deep Sea Zone and Egg Rock Zone since I even get minor lagspikes on a PC in the heaviest view.
You can already see SRB2 running considerably well on an old Android from the video,and this was as late as 2011,just think about how well devices from years later should be able to run it with their quadcore CPUs running around "1.7Ghz" or even higher and faster GPUs help too.
Also,the newer (than 2011) Android OS,Jellybean and Kitkat make things smoother.
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Old 01-17-2015   #16
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

Just thought of a bombshell!
Is there a way (like SRB2Wii),for you to use a VM Linux for running the ARM ubuntu port of SRB2 directly?

The main issue is that the more complex ways to boot Linux require a VNC server which has a really bad framerate lag,or a really difficult to set up Xserver which I could never figure out.

I miss being able to play SRB2 on PC. :(
Now I can't really do as much on the PC anymore,for personal restriction reasons.
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Old 01-17-2015   #17
Starbuck
Default

We can't solve your problems if you're "grounded" from using the computer.

Since SDL2 officially supports mobile, an Android port is a lot more viable and simple than it was in the past. It just requires someone to do the work, because a fair amount of code can't be shared with the existing sdl2 interface code due to platform differences. It would also require someone to write a touch screen input layer on top. Not hard, but not trivial either.
Starbuck is offline  
Old 01-17-2015   #18
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

Not grounded,just extremely limited game access to a certain time on Sunday through Thursdays when my dad is at work from 2:30PM to later than 11:00PM,and even then,I have to be vigilant by not being seen playing games when mum walks into the room.

I use "about:blank" on Chrome to fill the screen behind windowed games for instant hiding by one click to focus on Chrome browser.
Problem is,SRB2 is only fullscreen or glitched/forced/tiny windowed mode.
I wished SRB2 had a proper 640x480 draggable windowed mode like normal programs without the mouse locking into the window.
That would require an option to disable mousemove controls which are used by the menus and some game actions.

I didn't know Android supported SDL2,cool! That means the 60fps SRB2 build may be plausible.
Android doesn't automatically need onscreen touch controls,there's gamepads for Android too.
How about initial support for hardware controls like keyboards just to get the blue hedgehog rolling?
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Old 01-18-2015   #19
.Luke
 
.Luke's Avatar
Default

Sounds a lot simpler to save up and get your own PC, than waiting around for android ports. My mom also complained a lot about games weighing down the family PC, but that was from XP being improperly maintained, (All of my own PCs always ran fast, even right after playing a game; CCleaner for the win.) not having enough RAM for said games, and dad being a jolly pirate, yar har har. There be worms in ye thumb-drives. So of course the family PC always ran slower than it should have.

Any refurbished mid-end desktop computer can play most stuff you throw at it. Heck, even the cheap 32-bit machines laying around now will do. Laptops are a waste of time just for playing games. They get hot too easily if you're itching to crank up the settings, and you can't easily change the GPU if it decides to blow.
__________________
deviantART | Twitter
.Luke is offline  
Old 01-18-2015   #20
Retroben
Bruised-up Disgruntled Bear
 
Retroben's Avatar
Default

Such a shame for Windows XP's support being ended. :(
Computers nowadays only have the sucky broken Windows 8 when I need Windows 7.

I have so much rage about missing my last chance of getting a Win7 laptop because I barely lacked the money to sneak my way into buying it.
What really ruins it is that even if you replace Windows 8 with Windows 7,you will have so many issues with the unstable drivers and incompatibility glitches.
__________________
I make new N64 Gameshark codes and enhance existing codes.
Retroben is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.