It is currently 23 Mar 2019, 12:24
   
Text Size

[Proof of concept] Run mobile Forge full-screen on PC

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: [Proof of concept] Run mobile Forge full-screen on PC

Postby vinnie » 30 Jan 2017, 15:41

I tried quickly now on a debian stretch (actual testing), with Xfce (no compiz) and works fine.

f I try to launch the reduced version (by the way, thanks for this), the game crashes after the first loading screen, but I think it is because of the lack of files.
Code: Select all
$ ./forge-mobile.sh
Language 'java.util.PropertyResourceBundle@2d9c5195' loaded successfully.
(ThreadUtil first call): Running on a machine with 2 cpu core(s)
Read cards: 16451 archived files in 4384 ms (25 parts) using thread pool
EDT > java.lang.NullPointerException
   at forge.sound.MusicPlaylist.getRandomFilename(MusicPlaylist.java:39)
   at forge.sound.SoundSystem.changeBackgroundTrack(SoundSystem.java:187)
   at forge.sound.SoundSystem.setBackgroundMusic(SoundSystem.java:173)
   at forge.Forge.afterDbLoaded(Forge.java:122)
   at forge.Forge.access$300(Forge.java:41)
   at forge.Forge$1$1.run(Forge.java:110)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication.executeRunnables(LwjglApplication.java:246)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:199)
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)

User avatar
vinnie
 
Posts: 104
Joined: 21 Dec 2015, 14:03
Has thanked: 23 times
Been thanked: 6 times

Re: [Proof of concept] Run mobile Forge full-screen on PC

Postby Agetian » 30 Jan 2017, 16:10

Yeah, the reduced version is not meant to be launchable in a standalone way, you need to copy the music and skins files manually from the previous installation. ;)

- Agetian
Agetian
Programmer
 
Posts: 3317
Joined: 14 Mar 2011, 05:58
Has thanked: 635 times
Been thanked: 489 times

Re: [Proof of concept] Run mobile Forge full-screen on PC

Postby vinnie » 28 Feb 2017, 20:07

Although the problem is obviously not resolved (after the first start will not start in full screen), a friend of mine reminded me that I can increase the virtual screen size in linux, so:
Code: Select all
xrandr --output LVDS1 --panning 1280x850
where LVDS1 is your screen readable launching the xrandr command without parameters, this is mine:
Code: Select all
$ xrandr
Screen 0: minimum 8 x 8, current 1280 x 800, maximum 32767 x 32767
LVDS1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm
   1280x800      59.98*+
...
50 pixels are enough for me to have forge in fullscreen
User avatar
vinnie
 
Posts: 104
Joined: 21 Dec 2015, 14:03
Has thanked: 23 times
Been thanked: 6 times

Re: [Proof of concept] Run mobile Forge full-screen on PC

Postby Agetian » 04 May 2017, 07:02

UPDATE (05/04/17): Updated to r33928 (pre-1.5.62).

- Agetian
Agetian
Programmer
 
Posts: 3317
Joined: 14 Mar 2011, 05:58
Has thanked: 635 times
Been thanked: 489 times

Re: [Proof of concept] Run mobile Forge full-screen on PC

Postby Agetian » 14 Aug 2017, 17:10

UPDATE (08/14/17): Updated to r35042 (pre-1.6.1.005). Please note that installation instructions have changed a little bit, please review the information in the first post.

In particular, the resolution is now defined in the file "screen_resolution.ini" in the format WxHxFS, where FS is 0 for windowed mode and 1 for fullscreen, e.g. 1920x1080x1 or 1280x800x0.

- Agetian
Agetian
Programmer
 
Posts: 3317
Joined: 14 Mar 2011, 05:58
Has thanked: 635 times
Been thanked: 489 times

Re: [Proof of concept] Run mobile Forge full-screen on PC

Postby verdealex79 » 16 Oct 2018, 21:31

Hi, I would be really interested to get the Android backport for PC.. for the version 1.6.17 just released. Is it possible? I'd love to play Planar Conquest on PC!

It seems you always prepare the backport version for Mac and post about it in the forums, it'd be great to get the Windows version of the backport too!!!

Thank you and to all the other devs for this fantastic world of Forge that you keep running!!!
verdealex79
 
Posts: 24
Joined: 01 Apr 2013, 18:19
Has thanked: 6 times
Been thanked: 5 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 5 guests


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 5 guests

Login Form