It is currently 16 Apr 2024, 10:45
   
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: 111
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: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 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: 111
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: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 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: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 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: 44
Joined: 01 Apr 2013, 18:19
Has thanked: 14 times
Been thanked: 7 times

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

Postby vondes » 12 Apr 2020, 07:18

where I can find snapshot version?
vondes
 
Posts: 7
Joined: 18 Jun 2017, 13:37
Has thanked: 0 time
Been thanked: 1 time

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 44 guests

cron

Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 44 guests

Login Form