Forged Alliance Forever Forged Alliance Forever Forums 2017-04-24T22:04:18+02:00 /feed.php?f=41&t=14343 2017-04-24T22:04:18+02:00 2017-04-24T22:04:18+02:00 /viewtopic.php?t=14343&p=147399#p147399 <![CDATA[Re: New Mod: UI Festival]]>
Code:
%AppData%\Local\Gas Powered Games\Supreme Commander Forged Alliance\Game.prefs
in a text editor and look for the Windows section. There should be an entry for Main, where you can add 195 to the height.

Statistics: Posted by MrNukealizer — 24 Apr 2017, 22:04


]]>
2017-04-24T15:15:39+02:00 2017-04-24T15:15:39+02:00 /viewtopic.php?t=14343&p=147388#p147388 <![CDATA[Re: New Mod: UI Festival]]>
MrNukealizer wrote:
I can't tell how you're handling the window position and size, but that's the problem. You need to make the window taller so that it can fill the right screen, then use the bottom offset so everything fits on the left side. That will unfortunately mean the window extends over/behind the taskbar on the left screen. You could also go to Display settings in Windows and align the bottoms of the screens, but I'm sure you have them arranged that way for a reason.

That's the problem because of the taskbar I can't drag the window more down and if I do so on the other screen than on the first screen the upper half is gone because the second screen is not that high :/
So no matter where I drag it, I always end up with a half empty screen on one of them.

Statistics: Posted by cel00 — 24 Apr 2017, 15:15


]]>
2017-04-24T00:17:17+02:00 2017-04-24T00:17:17+02:00 /viewtopic.php?t=14343&p=147377#p147377 <![CDATA[Re: New Mod: UI Festival]]>
b2ag wrote:
- ability to split the screen at configurable ratio and per side configurable top/bottom margins for people with unequal screen heights

Aww yeah! If that works correctly I'm going to be so happy! I've always wanted dual screen mode to work but it doesn't with my setup and I have different-sized screens so using normal split view wasn't a very good option.

Edit: Yes, it does work and it's great. My only real issue is that the settings menu will only display on the left screen and it doesn't respect the top offset. Since my left screen is smaller and lower than the right, it cuts off the top half of the settings window and I had to edit the settings in Game.prefs instead.

cel00 wrote:
May be a dumb question, but how you managed that on both screens the game is filled even though both have different sizes?


Image
Because of the size difference I always see the desktop on one screen.

I can't tell how you're handling the window position and size, but that's the problem. You need to make the window taller so that it can fill the right screen, then use the bottom offset so everything fits on the left side. That will unfortunately mean the window extends over/behind the taskbar on the left screen. You could also go to Display settings in Windows and align the bottoms of the screens, but I'm sure you have them arranged that way for a reason.

Statistics: Posted by MrNukealizer — 24 Apr 2017, 00:17


]]>
2017-04-23T19:03:43+02:00 2017-04-23T19:03:43+02:00 /viewtopic.php?t=14343&p=147364#p147364 <![CDATA[Re: New Mod: UI Festival]]>
b2ag wrote:
Did you only resize the window and everything instantaneously went black?


Yes but for some reasons it works now. O.o
May be a dumb question, but how you managed that on both screens the game is filled even though both have different sizes?


Image
Because of the size difference I always see the desktop on one screen.

Statistics: Posted by cel00 — 23 Apr 2017, 19:03


]]>
2017-04-18T23:59:05+02:00 2017-04-18T23:59:05+02:00 /viewtopic.php?t=14343&p=147163#p147163 <![CDATA[Re: New Mod: UI Festival]]>
EDIT:
I actually can't reproduce this. I had an error when switching from fullscreen to windowed. Remember my fullscreen is emulated and spawns both screens. But after restarting the game resizing the window worked fine, until I dropped under some magic minimal size for the left view and the right view was only 1 or 0 pixels wide. Did you only resize the window and everything instantaneously went black?

Statistics: Posted by b2ag — 18 Apr 2017, 23:59


]]>
2017-04-18T23:44:05+02:00 2017-04-18T23:44:05+02:00 /viewtopic.php?t=14343&p=147161#p147161 <![CDATA[Re: New Mod: UI Festival]]>
Anihilnine wrote:
Remake the mod folder to "ui-festival"

Wow, now I can spawn, but if I try to resize the Window the game window goes black, but it still runs (sounds) :/

Statistics: Posted by cel00 — 18 Apr 2017, 23:44


]]>
2017-04-18T23:28:40+02:00 2017-04-18T23:28:40+02:00 /viewtopic.php?t=14343&p=147160#p147160 <![CDATA[Re: New Mod: UI Festival]]> Statistics: Posted by nine2 — 18 Apr 2017, 23:28


]]>
2017-04-18T23:23:09+02:00 2017-04-18T23:23:09+02:00 /viewtopic.php?t=14343&p=147159#p147159 <![CDATA[Re: New Mod: UI Festival]]>
b2ag wrote:
cel00 wrote:Someone know why?


It looks like the mod is in the wrong place or something. Should have added some more information for installing it :D

Mod should be copied to "My Games/Gas Powered Games/Supreme Commander Forged Alliance/Mods/ui-festival/"
Think of "\" for "/" if you have Windows.

I know how to install mods, so thats sadly not the solution.
Image

Statistics: Posted by cel00 — 18 Apr 2017, 23:23


]]>
2017-04-18T19:19:58+02:00 2017-04-18T19:19:58+02:00 /viewtopic.php?t=14343&p=147149#p147149 <![CDATA[Re: New Mod: UI Festival]]>
cel00 wrote:
Someone know why?


It looks like the mod is in the wrong place or something. Should have added some more information for installing it :D

Mod should be copied to "My Games/Gas Powered Games/Supreme Commander Forged Alliance/Mods/ui-festival/"
Think of "\" for "/" if you have Windows.

Statistics: Posted by b2ag — 18 Apr 2017, 19:19


]]>
2017-04-17T18:06:20+02:00 2017-04-17T18:06:20+02:00 /viewtopic.php?t=14343&p=147091#p147091 <![CDATA[Re: New Mod: UI Festival]]> Someone know why?

Spoiler: show
Callstack:
Unknown symbol (address 0x008d462c)

Last 100 lines of log...

warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(941): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...a\faforever\gamedata\lua.nx2\lua\ui\game\economy.lua(16): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(127): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/ui-festival/modules/main.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(941): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...a\faforever\gamedata\lua.nx2\lua\ui\game\economy.lua(16): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(127): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/gamemain.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...a\faforever\gamedata\lua.nx2\lua\ui\game\economy.lua(16): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(127): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/economy.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...lliance\gamedata\lua.scd\lua\ui\game\missiontext.lua(19): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(127): in function `OnSync'
warning: [string "OnSync()"](1): in main chunk
warning: Error running lua command: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(127): Error importing '/lua/ui/game/missiontext.lua'
stack traceback:
[C]: in function `error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(127): in function `OnSync'
[string "OnSync()"](1): in main chunk
debug: Loading module '\000/lua/ui/game/gamemain.lua\000'
info: Hooked /lua/ui/game/gamemain.lua with /mods/ui-festival-master/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/common/hook/lua/ui/game/gamemain.lua
warning: Alt-B is already bind
warning: Alt-D is already bind
warning: Shift-G is already bind
warning: Alt-V is already bind
warning: Alt-T is already bind
warning: Alt-W is already bind
warning: Alt-N is already bind
debug: Loading module '\000/mods/ui-festival/modules/main.lua\000'
warning: Unable to find file /mods/ui-festival/modules/main.lua
warning: stack traceback:
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(941): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/ui-festival/modules/main.lua'
warning: stack traceback:
warning: [C]: in function `error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(941): in main chunk
warning: [C]: in function `doscript'
warning: [C]: in function `pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: Error importing /lua/ui/game/gamemain.lua:
Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function `error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: Error running '/lua/ui/game/gamemain.lua:OnBeat': attempt to index a nil value
stack traceback:

Statistics: Posted by cel00 — 17 Apr 2017, 18:06


]]>
2017-04-06T22:57:46+02:00 2017-04-06T22:57:46+02:00 /viewtopic.php?t=14343&p=146514#p146514 <![CDATA[Re: New Mod: UI Festival]]>
Anihilnine wrote:
UI Festival - but you do much less!

Yeah, the Irony :)

Statistics: Posted by b2ag — 06 Apr 2017, 22:57


]]>
2017-04-06T16:20:03+02:00 2017-04-06T16:20:03+02:00 /viewtopic.php?t=14343&p=146491#p146491 <![CDATA[Re: New Mod: UI Festival]]> welcome to the world of making the world a better place with as little effort as possible. I'm going to tease you in a second but just quickly - I'm glad you made this.


These should be spread out into multiple mods.

says the guy who couldn't be bothered uploading one mod :)


UI Festival

but you do much less! this should be UI Gathering.

Statistics: Posted by nine2 — 06 Apr 2017, 16:20


]]>
2017-04-06T02:49:11+02:00 2017-04-06T02:49:11+02:00 /viewtopic.php?t=14343&p=146462#p146462 <![CDATA[New Mod: UI Festival]]>
I've a primary monitor right of my secondary screen setup since some days. That was my motivation to hack the well known UI Party mod into supporting it. Something I dislike about the existing mod is the huge amount of different UI modding features put into a single mod. These should be spread out into multiple mods. So I removed everything which was not directly split screen related, made it fit my needs and renamed the mod. I also put in features I don't use but found easy to implement.

So I've created UI Festival.

The basic features are
- configurable UI Element positions, so that also people with left screen primary setup can enjoy this mod
- ability to split the screen at configurable ratio and per side configurable top/bottom margins for people with unequal screen heights
- ability to make most of other split screen unaware mods use right side as primary rendering surface
- works with coop missions

This mod should work alongside UI Party, but I didn't test it.
Also I have no ambitions to upload the mod to mod vault, because I don't want to maintain it for others than myself :oops:
So consider the code free to use and put it into the map vault and/or integrate it into UI Party ;)

Screenshot:
Image
Another screenshot:
Image

Sources:
https://github.com/b2ag/ui-festival

Have fun!

Statistics: Posted by b2ag — 06 Apr 2017, 02:49


]]>