Since december 2012 Battlestations: Midway is supported by GameSpy no longer. The only one possibility for Midway players is GameRanger. Please visit www.gameranger.com, download Gameranger client and make new account. You can find other Midway players in the Gameranger rooms. BS:M patch 1.1.1 is required to play online battles. Iowa Mission Pack and Midway Modders Mappacks 1 and 2 are recommended.

Realism Mod for Mac?

Realism Mod for Mac?

Just want to ask you guys, are you interested with Mac version of Realism mod? For the first time our production for PC will contain .exe file (a program) which helps PC users choose classic BsM and Realism BsM before start the game. It can be done by MS-DOS scripts too. As far as I know MacOS does not used something similar to the MS-Dos scripts - so if we thinking about Realism Mod for Mac - we need a Mac solution for it.

I am playing Midway as EST_PL
I am playing Pacific as PL EST PL

EST_PL
Battlestations Fan
Rear Admiral
Activity Points: 6166
ranks
useravatar
Offline
2072 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

I am interested in testing this yes, but cant judge it unless I try it out.
On the practical side of doing this it sounds a bit more complicated than converting modpacks and doing installers for the mac. Depending on the programming/scripting language used and platform specific procedures it can be easy or hard to do. And this may require the skills of a real programmer. I would be interested in knowing more about the requirements. Can it not be done in a platform independent LUA script?
Apples XCODE programming environment is free from Apple for registered users so not a problem to optain.

I play mac version of Battlestations Midway as jovald on GameRanger

jovald
Warrant Officer
Activity Points: 255
ranks
useravatar
Offline
33 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

Quite frankly, I believe that there should be a realism mod for the mac users... they have as much of a right to be able to use it as the PC users do.

Triviaman
Spam Police
Administrator
Activity Points: 3145
ranks
useravatar
Offline
1632 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

Situation is similar to the modpacks. Some files should be copied into Midway folder and... done. But for the first time this production will be INCOMPATIBLE with original game. It means player with "vanilla" BSM can't play together with guys using Realism Mod. 

To prevent problems and crashes there is Mod activator included in Realism Mod. Job for this software is simple. Run it, choose version (vanilla or realism) and play. Last choosen version is activated, until you will run Mod Activator again and change version.

Technical details are:
- there is additional folder created - MOD
- inside MOD folder you have two folders: Backup (contains original files) and RealismMod (contains modified files)

All files in one folder has his counterpart in second folder.

So when user choose Vanilla version - that software copying files from Backup folder to the correct place (its there, where game files are placed) , if user choose Realism Mod, software copying files from RealismMod folder.

As I said before. No need to use specialised software for that, it could be done by script. There is simple (but MS-DOS) which can do the same for BSM Realism Mod.

Code:


@echo off

cls

IF NOT EXIST %WINDIR%\SYSTEM32\CONFIG goto choicemenu

::****
:menu
::****
cls
echo --------------
echo Mod Switcher
echo --------------
echo.
echo [1] Original BSM
echo.
echo [2] Realism Mod for BSM
echo.
echo [3] Exit
echo.

set choice=
set /p choice=Please enter the menu number corresponding to your choice.

if '%choice%'=='1' goto original
if '%choice%'=='2' goto realism
if '%choice%'=='3' goto end

goto menu

::****
:choicemenu
::****

cls
echo --------------
echo Version Switcher
echo --------------
echo.
echo [1] Original BSM
echo.
echo [2] Realism Mod for BSM
echo.
echo [3] Exit
echo.

echo Please enter the menu number corresponding to your choice.

choice /c:123456789 /n

if errorlevel == 9 goto choicemenu
if errorlevel == 8 goto choicemenu
if errorlevel == 7 goto choicemenu
if errorlevel == 6 goto choicemenu
if errorlevel == 5 goto choicemenu
if errorlevel == 4 goto choicemenu
if errorlevel == 3 goto end
if errorlevel == 2 goto realism
if errorlevel == 1 goto original

goto choicemenu

::****
:original
::****
cls
XCOPY "MOD\Backup\map1.mpak" "mpak/map1.mpak" /y
XCOPY "MOD\Backup\map2.mpak" "mpak/map2.mpak" /y
echo Copy success.
PAUSE
goto end

::****
:realism
::****
cls
XCOPY "MOD\RealismMod\map1.mpak" "mpak/map1.mpak" /y
XCOPY "MOD\RealismMod\map2.mpak" "mpak/map2.mpak" /y
echo Copy success.
PAUSE
goto end

::****
:end
::****
EXIT

Usage is simple. Run it - choose 1 for Vanilla, choose 2 for RealismMod, choose 3 for exit. Wait for the end of operations (copying) and done. Version which you are selected is activated. In that case (in this script) it will copy only two mpaks: map1.mpak map1.mpak but You must remember it's just example script.

I pasted it here to show You that, its possible to use both versions of Midway and switch between them, using script instead of software.

Okay. If you can find something similar for MacOS, we are in home.

Last option is: copy whole Battlestations Midway folder as Battlestations Midway2 or Battlestations Midway Realism Mod or Battlestations Midway Whatever and install Realism Mod into this second folder. Now you can choose which version you want play by run original Battlestations Midway from first folder, or copied Battlestations Midwaty from second folder (of course Realism Mod must be installed into second folder). It working for PC version too.

I am playing Midway as EST_PL
I am playing Pacific as PL EST PL

EST_PL
Battlestations Fan
Rear Admiral
Activity Points: 6166
ranks
useravatar
Offline
2072 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

This looks like doable. By a small program or Applescript. But I have many questions.

EST_PL wrote:

IF NOT EXIST %WINDIR%\SYSTEM32\CONFIG goto choicemenu

This for different versions of windows?

Functions "new" and "old" are missing from script.
Some quote marks are missing from script.
and map1.mpak is copied twice ....
This is just a demo to show what needs to be done and not actual file?

What calls this program/script?   A LUA script from mappack?   A startup script?   A modified ?.exe file? Something else?
If called from LUA I think LUA can do some filehandling so maybe no need for platform special program/script.

What decides when to activate and if all joiners have same realism mod and if they want to activate this?
Map selection? Then why ask user if they want to activate?
In startup before map selection? Then how do you verify all joiners have activated and some are not activated?
Can for example host decide to use realism mode and program then forces others to use it to?

Can this mechanism be used to verify/enable different versions of maps? for example a minor fix is made to a map?

What else am i missing?

I play mac version of Battlestations Midway as jovald on GameRanger

jovald
Warrant Officer
Activity Points: 255
ranks
useravatar
Offline
33 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

Uuuhhh jovald, so many questions ab

Pls forgive me i will answer tomorrow morning... at this moment i fixed that script a little (yes u have right it contains some bugs) - but it's only demo version to show you how that software which will be included in PC version of Realism Mod could be replaced with MS-Dos Script.

I am playing Midway as EST_PL
I am playing Pacific as PL EST PL

EST_PL
Battlestations Fan
Rear Admiral
Activity Points: 6166
ranks
useravatar
Offline
2072 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

jovald wrote:

This for different versions of windows?

Yes

jovald wrote:

Functions "new" and "old" are missing from script.
Some quote marks are missing from script.
and map1.mpak is copied twice ....

Fixed

jovald wrote:

This is just a demo to show what needs to be done and not actual file?

Yes - it's demo

jovald wrote:

What calls this program/script?   A LUA script from mappack?   A startup script?   A modified ?.exe file? Something else?

Now You have two icons for Midway. Old BattlestationsMidway icon which run the game, and new which is here only to run script. It means before launching game you can rn script and decide which version you want to use. It's MS-Dos script (.bat file) so it can be run by double LMB click.

jovald wrote:

What decides when to activate and if all joiners have same realism mod and if they want to activate this?

User decides before running the game. All joiners must have Realism mod installed and activated. If not - map is not available.

jovald wrote:

Map selection? Then why ask user if they want to activate?

Users must decide before run the game. They can always close the game, switch version, and run game again.

jovald wrote:

Then how do you verify all joiners have activated and some are not activated?

At this moment maps converted for realism mod are original multiplayer maps. Starting from Luzon finishing at Sibuyan. These maps are identical for players, but not for the game. So if user without activated RealismMod will join server hosted by guy with activated RealismMod, he can see message: Map not available.

jovald wrote:

Can for example host decide to use realism mode and program then forces others to use it to?

Yes - before start the game. Others can't play without activated Mod, because "Map is not available" message.

jovald wrote:

Can this mechanism be used to verify/enable different versions of maps? for example a minor fix is made to a map?

I think yes. But we don't want to release many versions of maps. For example we don't want to fix some problems from mappack 1, because we don't want to lost our compatibility.

RealismMod will add some new maps (new for the game, but not for users) and it does not matter (for the game) they are 100% copies of original multiplayer maps. But it also REPLACE some existing global files.

When we released mappacks - global files were also changed, but these changes were just add some NEW values details descriptions etc etc.
And it let us to keep 100% compatibility. But now - with Realism Mod - some OLD values will be changed. Like speed armament and many more. It means we can't keep compatibility with that mod.

I am playing Midway as EST_PL
I am playing Pacific as PL EST PL

EST_PL
Battlestations Fan
Rear Admiral
Activity Points: 6166
ranks
useravatar
Offline
2072 Posts
User info in posts
Administrator has disabled public posting

Re: Realism Mod for Mac?

Thank you for that. This clears things up for me. I was stuck with the idea that this was done within the game.
I think this can be done then with a script (lots of scripting languages for mac :-)), Automator, small application or even with an installer. And then there are no platform dependent parts apart from this switcher.

I play mac version of Battlestations Midway as jovald on GameRanger

jovald
Warrant Officer
Activity Points: 255
ranks
useravatar
Offline
33 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1688
Total Polls:
69
Total Posts:
23035
Posts this week:
1
User Info:
 
Total Users:
19856
Newest User:
Anthonyboite
Members Online:
0
Guests Online:
627

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked

Login Form

Battlestations Shoutbox

Latest Message: 1 week, 4 days ago
  • Legendary Da : Hi everyone, I have one (or two) quick question about BS:M modding. I try to figure out sp mapmaking, and my first act on it was to convert a MP map to SP. However I can only play as Allies in those maps. What parameter do I have to change to play those maps as Japanese in the respective map .mpak (And where is the parameter I have to change?)?
  • N_Trainz : G'day mates, I just wanted to let those who use Windows 10 and also for those who are having troubles getting the game launching because of Games for Windows LIVE, I made a tutorial of how to get it working successfully again like on Windows 8.1. Its on my channel and here's the link to the video. «link»
  • Mokeo67 : The dictator, I downloaded the mmod2txm and I added four slots to the fletcher and a couple to the lexington.Thanks for the help though.
  • The Dictator : Makeo67 i've explained how to find the unused slots in the topic and the mmod2txm it's a program that has been shared. However there aren't so many ships with unused platforms and sme of them are in wrong positions and for move them you need to know how to change the mmod file. But if you know how to do it you can make new platfors as you want. I've shared the south dakota disposition and this one is the most intersting in my opinion
  • N_Trainz : Well it looks like we have spammers again
  • Mokeo67 : No problem Thanks for the help
  • Axis_Crusher : Not really
  • Mokeo67 : Ok thanks anyway. Do you know who does?
  • Axis_Crusher : Unfortunately I don't deal with that part of modding
  • Mokeo67 : Sorry forgot the link. «link»
  • Mokeo67 : This is the forum topic I meant. The dictator said he found the unused slots in the TXM file obtainable with the mmod2txm, what is this and is it available to use.
  • Axis_Crusher : This is your best bet: «link»
  • Mokeo67 : Also I saw on the forum that ships have unused platform slots. How do I use these?
  • Mokeo67 : I tried changing the bogue class carrier to a yorktown class in the phillipene sea mission and one of two things happened. The mission either didnt change or the game crashed.
  • Axis_Crusher : No problem
  • Mokeo67 : That is what im talking about. Ill have a look at it later thanks for the help
  • Axis_Crusher : specific mission’s 3_scene mpak file by working on the .lua file. There is where the bonus unit is actually added into the mission (by the script). I haven't tried it myself so good luck.
  • Axis_Crusher : I assume you are talking about the bonus units that you unlock for certain missions by completing previous ones (like the B - 25’s in the 2nd Battle of Guadalcanal). The bonus units are unlocked by completing certain objectives in the campaign - so that is linked to your campaign progress. Since that cannot be altered you must look at the missiontree.lua file. This is where the unit will show up unlocked on the mission screen. There are references to allunitslock. Also you will have to edit the
  • Mokeo67 : Thank you I will look in this file. I did unlock all the campaign missions, all you have to do is delete the text after 'prerequisite' and it will unlock. But I havent figured out how to unlock the bonus units.
  • Axis_Crusher : I also prefer it being off, just as most of the BSM community. Most players, however prefer repair to be enabled so that is what we should do. Most of our maps it will be disabled through the script however. If you want to play with the game's repair settings you can find it under shipglobals.lua

Only registered users are allowed to post

Latest Posts

Now Online

None

Birthdays

HyTech Send PM
birthday will Sunday, 11 December 2016

Nemesisgr Send PM
birthday will Sunday, 11 December 2016

R4tzer Send PM
birthday will Sunday, 11 December 2016

Mad.fin.69 Send PM
birthday will Thursday, 15 December 2016

Szlachcico Send PM
birthday will Thursday, 15 December 2016