IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Porting to 2015 Aspyr port on Mac, Porting
spookeydonkey
post 19 Feb 2017, 0:40
Post #1



Group Icon

Group: Members
Posts: 47
Joined: 2 January 2017
From: kuwait
Member No.: 13995



Anyone tried this before? Anyone interested in trying to get this port to work?
Go to the top of the page
 
+Quote Post
spookeydonkey
post 19 Feb 2017, 4:20
Post #2



Group Icon

Group: Members
Posts: 47
Joined: 2 January 2017
From: kuwait
Member No.: 13995



I'm changing the scope of the project to get ROTR to run by removing any bike logic units that crash the game (w permission from SWR).
This may result in a ROTR that isn't ROTR...or it may result in a ROTR that is missing MANY units.

Another way to try to get ROTR working is by editing the AI. This would involve finding out exactly which units cause the game to crash, and simply editing the AI to prevent said units from being built, and to make the unit in-accessible to players (by making them require a generals promotion for example.

Like I said, this may result in making a really crap experience. I'm not really worried about online, I play the game single player. The sole reason (or, reason d'etre) of this is to find out if the mac version will run the game without that horrible, horrible lag! Plus those graphics are nice (maybe a mismatch with the RoTR graphics, and any other mods, but still).

I'm gonna start documenting which USA units are crashing the game. I found one but the crash seems to occur when the un-stable unit is onscreen possibly. So basically this means either gimp the AI so that it just sits and doesn't attack, or rush the CPU opponent on a small map and kill any workers it produces while testing is in progress.

Once I find a unit, I'll attempt to disable it via editing.

For anyone that wants to help or is interested, let me know. If this method results in a somewhat decent ROTR experience, I'll get ahold of whoever I need to and see if SWR is interested in hosting the file as a Mac compatible single player only file. I figure some ROTR is better than no ROTR, even though there are alternatives to getting the proper laggy Windows ROTR experience!

Most likely it's not worth the effort or too many units will be affected. In that case, I'm gonna delete Mac OS with a burning Passion. Or, I'll just play the campaign I guess tongue.gif



Go to the top of the page
 
+Quote Post
Blade
post 20 Feb 2017, 15:27
Post #3



Group Icon

Group: Members
Posts: 39
Joined: 11 January 2017
Member No.: 14208



Does anyone have any ideas why the game gets these crashes on macOS and not Windows? Has anyone tried attaching a debugger to the macOS version and generated a stack trace? If so I could probably work out which function it crashes in and although not likely to result in a fix for the binary version, it could be useful information for my Thyme project.
Go to the top of the page
 
+Quote Post
Shiro
post 20 Feb 2017, 16:36
Post #4


Gamer Girl
Group Icon

Group: Legend
Posts: 3808
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



From what I know, the bike logic seems to have a spawn error in the macOS where it can proberly change riders the manual way (select infantry, click on bike) but it cannot accept an OCL rider... though why that is, I have no idea.
Go to the top of the page
 
+Quote Post
Graion Dilach
post 21 Feb 2017, 4:02
Post #5


Supérior Caliburwielder
Group Icon

Group: Project Leader
Posts: 632
Joined: 23 August 2013
From: Iszkaszentgyörgy, Hungary
Member No.: 10093
Just a random modder trying to give a helping hand.



Wineskin the Windows version, Wine can run ROTR, that's how I play it on my Linux.


--------------------


AS Discord server: https://discord.gg/7aM7Hm2 | SWR Community Discord https://discord.gg/REcbv37
QUOTE
ComradeCrimson: AS is the product of Hungarian acid
ComradeCrimson: And magical hussars
Dutchygamer: and Weird Al.

QUOTE (Hanfield @ 17 Dec 2016, 20:47)
we have players who don't play, testers who don't test, devs who don't dev and members who don't remember
Go to the top of the page
 
+Quote Post
spookeydonkey
post 23 Feb 2017, 3:50
Post #6



Group Icon

Group: Members
Posts: 47
Joined: 2 January 2017
From: kuwait
Member No.: 13995



QUOTE (Blade @ 20 Feb 2017, 16:27) *
Does anyone have any ideas why the game gets these crashes on macOS and not Windows? Has anyone tried attaching a debugger to the macOS version and generated a stack trace? If so I could probably work out which function it crashes in and although not likely to result in a fix for the binary version, it could be useful information for my Thyme project.


I was testing that stuff out but had to remove mac os (aggravated me).

Im gonna try again, show me what I need to do to attach a debugger. See my other topic if you haven't already.

Anyway the game crashes randomly more often than on Windows while running ROTR. Only one unit for the USA can crash the game EVERY TIME, and it's the AT drone and only AFTER you click on dig in. Russia's units seem to not trigger crashes. Not completely sure about China or ECA, but I did play with GLA and they're not bad though I didn't test out every single unit and function.

So yeah, we need that stack trace!
Go to the top of the page
 
+Quote Post
Blade
post 23 Feb 2017, 15:02
Post #7



Group Icon

Group: Members
Posts: 39
Joined: 11 January 2017
Member No.: 14208



Apparently you should find crash reports under ~/Library/Logs/CrashReporter as logged by the system and they should contain stack traces.
Go to the top of the page
 
+Quote Post
spookeydonkey
post 7 Mar 2017, 12:17
Post #8



Group Icon

Group: Members
Posts: 47
Joined: 2 January 2017
From: kuwait
Member No.: 13995



QUOTE (Blade @ 23 Feb 2017, 16:02) *
Apparently you should find crash reports under ~/Library/Logs/CrashReporter as logged by the system and they should contain stack traces.



WIsh I knew that before I deleted it off my system. Once I get a new SSD (not anytime soon) I'll be able to continue this stuff. Maybe I'll look for a cheap used HDD instead. Unfortunately VMWare won't run Generals since there is no emulator with graphics acceleration when hosting Mac OS.

I say turn ROTR into Dota by porting it to Starcraft 2's engine and then taking it from there. I would pay $40 for a SC2 port that supported LAN or better. I would wire $200 right NOW to some one that could port the models and behavior to SC2...RIGHT NOW. I would also be likely to name my first born CHILD after them. I would perhaps consider making a shrine for them and committing unspeakable acts (of...valor) while being surrounded by their pictures and candles.

That Mac version is damn pretty though...I'm surprised nobody ripped the textures for use on Windows yet.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 29 March 2024 - 12:25