Release YGOPRO for Pandora


ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,306
Age
51
Location
France, near Lyon
Here is a Pandora port of YGOPRO, a Yu-Gi-Oh Card Dueling Game.

preview1.png
This version use MesaGL for rendering, so it will be slow. You can switch to a Faster but less accurate Software renderer by editing the file "system.conf", that will be in the home of appdata folder after first start (appdata/ygopro/home), and changing


use_d3d = 0
to


use_d3d = 1
New build 03 use OpenGL-ES1 instead of MesaGL, so choosing "use-d3d=0" will get you Hardware Acceleration (but there are graphics artifact on Gigahertz Pandora when using default driver, so update to 4.03 at least)
 
Note that the perspective is really not accurate in Software mode, so dueling Screen looks a bit strange, but it's useable and much faster.
 
The game can be translate in French, German, Portuguese/Brazilian, Spanish, and default to English (the original Chinese text is not in the PND). Language is chosen at first start.
Also, note that many files are expanded at first start, to make future updates easier.
 
History log
========
 

v1.032.1.05

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

  • Fixed startup issue
 

v1.032.1.04

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

  • Update sources and scripts
 

v1.031.0.03
---------------

  • Update sources and scripts
  • Change MesaGL to OpenGLES-1 hardware Rendering !
  • Change compilation option, this build is much faster (even with software rendering)
  • Corrected a nasty bug with deck manager when card name was longer the 32 characters. 
v1.030.0.02
---------------

  • Update sources and scripts
  • Compatible with "X11 redirecting"
v1.02F0.0.01
----------------

  • Initial release
  • Resized all GUI to Pandora screen (1024x640 -> 800x500, 20 lines at the bottom lost)
  • Direct3D renderer changed to Software renderer
 
Last edited by a moderator:
Impressive. I always preferred pokemon but I'll try it since cards games are fun.
 
Awesome news.

Thank you so much for this.

Have to wait until the download is done.

Let's see how playable everything is with MesaGL.
 
Can you play against the CPU?
There is no CPU player, you have to find and connect to server, and duel against real people.

But there are some "Puzzle Duel" included, where you have to find the solution of almost finished duels.

Awesome news.

Thank you so much for this.

Have to wait until the download is done.

Let's see how playable everything is with MesaGL.
MesaGL is slow. If you find it unbearable, try the software mode, it's faster (but screen is a bit messed up).
 
Thank you for the information pitSeb. I will try this .
 
Where's the online mode?

There's only LAN option.

I need the Wifi connection to the server.
 
I have to check that. I'm not sure if the Online exist and I have disabled it will compiling, or something else..
 
I think this is the heart of this game: Play it with others.

Would be great if this will work.

I don't see any way how to play this game if not online?

BTW:

Had a random crash while searching for cards in the deck editor:

=======================================================================================
PND : /media/MAIN/pandora/menu/ygopro.pnd
PND_FSTYPE : Squashfs
APPDATADIR : /media/MAIN/pandora/appdata/ygopro
APPDD_FSTYPE : vfat
PND_CPUSPEED : <unset>
EXENAME : runscript.sh
ARGUMENTS : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop1" "/mnt/utmp/ygopro"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/MAIN/pandora/appdata/ygopro=rw+nolwh":"/mnt/pnd/ygopro=rr" none "/mnt/utmp/ygopro"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application (runscript.sh ) ----------
--------------------------------------------------------------
Setting PATH to /mnt/utmp/ygopro:/mnt/utmp/ygopro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
--------------------------------------------------------------
Setting LD_LIBRARY_PATH to /mnt/utmp/ygopro/lib:/lib:/usr/lib
./runscript.sh: line 46: [: -ne: unary operator expected
./runscript.sh: line 54: 9087 Segmentation fault bin/gframe
[ FAILED]--- Starting the application (runscript.sh ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/ygopro': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 3

EDIT:

Was using the fast mode (non Mesa GL)
 
Last edited by a moderator:
The random crash, I'm not sure there is much I can do. The irrlicht used by YGOPRO is an old one (1.7.3), and I don't think there is much support on this.

For deck construction, MesaGL works ok. But for game, I find it's not fast enough and Software mode is a must have.

About LAN / OnLine, I don't think there is any OnLine mode in the Fluorohydride sources. I checked, and I see only LAN mode. I won't create OnLine mode by my own. So unless you find some open sources Online mod for ygopro, I won't be able to modify it.
 
Crashed again with the MesaGL.

It's when searching for one special monster card (Ger.:Geistersensenman En.: Spirit Reaper)

When searching for it game crashes when pressing enter.

When in displaying a list of monsters it also crashed when displaying the next card (maybe the same as above as it's also in the list I was looking for).

List was loaded  and I was able to scroll. At one point when I wanted to scroll further It crashed. Maybe it was Spirit Reaper.

Protocol of the list crash:

Code:
=======================================================================================
PND             : /media/MAIN/pandora/menu/ygopro.pnd
PND_FSTYPE      : Squashfs
APPDATADIR      : /media/MAIN/pandora/appdata/ygopro
APPDD_FSTYPE    : vfat
PND_CPUSPEED    : <unset>
EXENAME         : runscript.sh
ARGUMENTS       : <unset>
=======================================================================================
[ START ]--- Mount the PND ----------
Mounting : mount -t squashfs -o ro "/dev/loop1" "/mnt/utmp/ygopro"
Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/MAIN/pandora/appdata/ygopro=rw+nolwh":"/mnt/pnd/ygopro=rr" none "/mnt/utmp/ygopro"
[SUCCESS]--- Mount the PND ----------
[ START ]--- Starting the application (runscript.sh ) ----------
--------------------------------------------------------------
Setting PATH to /mnt/utmp/ygopro:/mnt/utmp/ygopro/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
--------------------------------------------------------------
Setting LD_LIBRARY_PATH to /mnt/utmp/ygopro/lib:/lib:/usr/lib
./runscript.sh: line 46: [: -ne: unary operator expected
Irrlicht Engine version 1.7.3
Linux 3.2.30 #699 Tue Oct 16 03:07:33 EEST 2012 armv7l
Creating X window...
Starting vidmode fullscreen mode...
hdisplay: : 800
vdisplay: : 480
Visual chosen: : 66
Using renderer: OpenGL 2.1
Mesa X11: Brian Paul
OpenGL driver version is 1.2 or better.
GLSL version: 1.2
Loaded texture: /mnt/utmp/ygopro/textures/cover.jpg
Loaded texture: /mnt/utmp/ygopro/textures/unknown.jpg
Loaded texture: /mnt/utmp/ygopro/textures/act.png
Loaded texture: /mnt/utmp/ygopro/textures/attack.png
Loaded texture: /mnt/utmp/ygopro/textures/chain.png
Loaded texture: /mnt/utmp/ygopro/textures/negated.png
Loaded texture: /mnt/utmp/ygopro/textures/number.png
Loaded texture: /mnt/utmp/ygopro/textures/lp.png
Loaded texture: /mnt/utmp/ygopro/textures/lpf.png
Loaded texture: /mnt/utmp/ygopro/textures/mask.png
Loaded texture: /mnt/utmp/ygopro/textures/equip.png
Loaded texture: /mnt/utmp/ygopro/textures/target.png
Loaded texture: /mnt/utmp/ygopro/textures/lim.png
Loaded texture: /mnt/utmp/ygopro/textures/f1.jpg
Loaded texture: /mnt/utmp/ygopro/textures/f2.jpg
Loaded texture: /mnt/utmp/ygopro/textures/f3.jpg
Loaded texture: /mnt/utmp/ygopro/textures/bg.jpg
Loaded texture: /mnt/utmp/ygopro/textures/field.png
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/92826944.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/17259470.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/77044671.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/80117527.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/64554883.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/29669359.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/84013237.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/54719828.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/51735257.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/25341652.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/52558805.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/26563200.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/88942504.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/82308875.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/9161357.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/19333131.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/39139935.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/55067058.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/56840427.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/69610924.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/32003338.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/55727845.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/48928529.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/12423762.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/72328962.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/50005633.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/67724379.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/31242786.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/3606209.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/15734813.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/17358176.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/84794011.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/24530661.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/95265975.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/29491031.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/71280811.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/46474915.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/41949033.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/732302.jpg
Loaded texture: /mnt/utmp/ygopro/pics/24530661.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/66672569.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/20277860.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/32864.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/33734439.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/34290067.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/17733394.jpg
Loaded texture: /mnt/utmp/ygopro/pics/thumbnail/25882881.jpg
Loaded texture: /mnt/utmp./runscript.sh: line 54:  5889 Segmentation fault      bin/gframe
[ FAILED]--- Starting the application (runscript.sh ) ----------
[ START ]--- Restoring the frame buffer status ----------
[SUCCESS]--- Restoring the frame buffer status ----------
[ START ]--- uMount the PND ----------
[ START ]--- Waiting the Union to be available ----------
[SUCCESS]--- Waiting the Union to be available ----------
auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
rmdir: failed to remove `/mnt/utmp/ygopro': Device or resource busy
[ START ]--- Waiting the PND mount dir to be free ----------
[SUCCESS]--- Waiting the PND mount dir to be free ----------
cleanup done
[SUCCESS]--- uMount the PND ----------
=======================================================================================
Return code is : 3
 
Oh, so there is a card that make the game crash :( . I'll also try update the game (there was some commit on git, 2days ago, maybe it's related), if I can get the Online mode...
 
Maybe the card is already fixed in one if the auto updates and I have to update manually everything.

Did you do the auto update and put the latest scripts inside the PND?
 
Last edited by a moderator:
That datas inside the pnd are dated "16/01/2013"... I looks like it's the latest update (no autoupdate triggers when I launch the Windows soft).
 
Back
Top