# Dingoo easy RPG

**URL:** <https://community.easyrpg.org/t/dingoo-easy-rpg/84>\
**Category:** Player\
**Created:** [May 30, 2011, 8:02pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84 "2011-05-30T20:02:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![yeromu](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/y/f1d935/32.png) [@yeromu](https://community.easyrpg.org/u/yeromu)\
**Post date:** [May 30, 2011, 8:02pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/1 "2011-05-30T20:02:46Z")

</div>

Hello, I have a problem, I install easy RPG on Dingux and I have 2 errors:  
-couldn 't open DejaVuLGCSansMono are size 9  
-SDL\_RWFromFile (): No file or no mode specified

How to solve his problems?

---

<div class="post-metadata">

**Author:** ![Ghabry](https://community.easyrpg.org/user_avatar/community.easyrpg.org/ghabry/32/121_2.png) [@Ghabry](https://community.easyrpg.org/u/Ghabry)\
**Post date:** [May 31, 2011, 2:27pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/2 "2011-05-31T14:27:54Z")

</div>

You have to put the folder “Font” into the same folder as the dingoo executable (and the rpg game). The Font-folder contains the DejaVuMono Font. If the dingoo package lacks this file: You can also get it from the wii-package: [http://rpgmaker.es/descargas/easyrpg\_player\_wii\_alpha.7z](http://rpgmaker.es/descargas/easyrpg_player_wii_alpha.7z)

---

<div class="post-metadata">

**Author:** ![yeromu](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/y/f1d935/32.png) [@yeromu](https://community.easyrpg.org/u/yeromu)\
**Post date:** [June 2, 2011, 11:49am UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/3 "2011-06-02T11:49:00Z")

</div>

Thanks for you’re request ^^ I have find and it’s okay =) Thank you very much =)

---

<div class="post-metadata">

**Author:** ![fuji88](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/f/919ad9/32.png) [@fuji88](https://community.easyrpg.org/u/fuji88)\
**Post date:** [January 19, 2012, 5:02pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/4 "2012-01-19T17:02:58Z")

</div>

Where can I find a dingux version of the latest player compiled? (If Any)

---

<div class="post-metadata">

**Author:** ![fdelapena](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/f/43a26b/32.png) [@fdelapena](https://community.easyrpg.org/u/fdelapena)\
**Post date:** [January 20, 2012, 5:41pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/5 "2012-01-20T17:41:58Z")

</div>

Latest version is [shinnil.co.cc/2011/02/eeasyr … alpha.html](http://www.shinnil.co.cc/2011/02/eeasyrpg-versao-alpha.html)

Ask niltonpd for any question about dingux port.

---

<div class="post-metadata">

**Author:** ![Shin-NiL](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@Shin-NiL](https://community.easyrpg.org/u/Shin-NiL)\
**Post date:** [January 28, 2012, 3:45pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/6 "2012-01-28T15:45:21Z")

</div>

Alpha Version was hosted at megaupload ☹

Here’s a newest one: [shinnil.co.cc/2012/01/easyrp … 12012.html](http://www.shinnil.co.cc/2012/01/easyrpg-build-27012012.html)

See ya!

---

<div class="post-metadata">

**Author:** ![fuji88](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/f/919ad9/32.png) [@fuji88](https://community.easyrpg.org/u/fuji88)\
**Post date:** [February 2, 2012, 12:19pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/7 "2012-02-02T12:19:48Z")

</div>

Thanks. I’m going to try to run it on the nanonote, and later i’ll post something 🙂

---

<div class="post-metadata">

**Author:** ![Shin-NiL](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@Shin-NiL](https://community.easyrpg.org/u/Shin-NiL)\
**Post date:** [September 25, 2012, 11:25pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/8 "2012-09-25T23:25:57Z")

</div>

Hello Fdelapena & friends!

After a long time away, I decided to take a look at the project. I liked the Rikku2000 idea and I relied on him to build a makefile for Dingoo.

Now you can choose to build for Dingux or OpenDingux, depending on the toolchain that you have available.

Besides the makefile, you only need to apply a small patch in the file sdl\_ui.cpp.

Makefile

[code]##################################################################

# Makefile for Dingux/OpenDingux

# By Shin-NiL

# - Based on Rikku2000’s -

##################################################################

# Compiler target file

TARGET = EasyRPG.dge

# Compiler Device option

BUILD\_DINGUX = NO  
BUILD\_OPENDINGUX = YES

# Host toolchain directory and extra flags

ifeq ($(BUILD\_DINGUX), YES)  
TOOLCHAINDIR = /opt/mipsel-linux-uclibc  
else  
ifeq ($(BUILD\_OPENDINGUX), YES)  
TOOLCHAINDIR = /opt/opendingux-toolchain  
CFLAGS = -O2 -fomit-frame-pointer -ffunction-sections -ffast-math -G0 -mbranch-likely  
LDFLAGS = -Wl,–gc-sections  
CXXFLAGS =  
endif  
endif

BINDIR = $(TOOLCHAINDIR)/usr/bin  
SDL\_CONFIG = $(BINDIR)/sdl-config

# Compiler headers

INCLUDES = …/…/lib/readers/include …/…/src  
INCDIR = $(foreach dir, $(INCLUDES), -I$(wildcard $(dir)))

# Compiler source

SOURCES = …/…/lib/readers/src …/…/lib/readers/src/generated …/…/src  
CPPFILES = $(foreach dir, $(SOURCES), $(wildcard $(dir)/_.cpp))  
BINFILES = $(foreach dir, $(DATA), $(wildcard $(dir)/_.\*))  
OBJS = $(addsuffix .o, $(BINFILES)) $(CPPFILES:.cpp=.o)

# Compiler flags

CFLAGS += -O2 -Wall -DUSE\_SDL `$(SDL_CONFIG) --cflags`  
CXXFLAGS += $(CFLAGS) -fno-exceptions -fno-rtti  
LDFLAGS += -lstdc++ -lexpat -lSDL -lSDL\_gfx -lSDL\_ttf -lSDL\_image -lSDL\_mixer  
-ljpeg -lpng12 -lz -lfreetype -lvorbisidec -lgcc -lm -lc -lpthread  
-ldl `$(SDL_CONFIG) --libs`

# Host compiler and extra flags

HOST = $(BINDIR)/mipsel-linux-  
CFLAGS += -DDINGOO

# Start compile

$(TARGET): $(OBJS)  
$(HOST)gcc $(OBJS) -o $@ $(LDFLAGS)  
$(HOST)strip $(TARGET)

.cpp.o:  
$(HOST)gcc $(INCDIR) $(CXXFLAGS) -c $\< -o $@

# Clean Project

clean:  
rm -f $(OBJS) $(TARGET)  
[/code]

sdl\_ui.cpp.patch

[code]diff -crB origem/sdl\_ui.cpp destino/sdl\_ui.cpp  
\*\*\* origem/sdl\_ui.cpp 2012-09-18 20:40:52.000000000 -0300  
— destino/sdl\_ui.cpp 2012-09-25 20:08:20.000000000 -0300

* * *

\*\*\* 257,264 \*\*\*\*  
— 257,269 ----  
}  
}

- #ifdef DINGOO

- // Dingoo has no WM and no fullscreen

- return true;

- #else  
// Didn’t find a suitable video mode  
return false;

- #endif  
}

---

<div class="post-metadata">

**Author:** ![Ghabry](https://community.easyrpg.org/user_avatar/community.easyrpg.org/ghabry/32/121_2.png) [@Ghabry](https://community.easyrpg.org/u/Ghabry)\
**Post date:** [September 26, 2012, 12:44am UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/9 "2012-09-26T00:44:37Z")

</div>

Hi. Okay. Sounds like another target for jenkins ;).

Where can the toolchains be found?  
OpenDingux is here: [http://www.treewalker.org/opendingux/](http://www.treewalker.org/opendingux/) and normal Dingux is [http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,14,98](http://dl.openhandhelds.org/cgi-bin/dingoo.cgi?0,0,0,0,14,98)?

(We are currently working on a world record: The most supported plattforms by an automated build system ;))

And wtf?! how can there be no WM and no fullscreen? No WM somehow means fullscreen.

---

<div class="post-metadata">

**Author:** ![Shin-NiL](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@Shin-NiL](https://community.easyrpg.org/u/Shin-NiL)\
**Post date:** [September 26, 2012, 1:19am UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/10 "2012-09-26T01:19:20Z")

</div>

Hello Ghabry!

The OpenDingux link is correct, Dingux legacy you can found at [code.google.com/p/dingoo-linux/d … 2&can=2&q=](http://code.google.com/p/dingoo-linux/downloads/detail?name=dingux_toolchain_20091022.tar.bz2&can=2&q=)

In practice it has fullscreen, but for some reason the function SDL\_ListModes not detected as a valid mode 😛

Towards the guinness!  
See ya!

---

<div class="post-metadata">

**Author:** ![Ghabry](https://community.easyrpg.org/user_avatar/community.easyrpg.org/ghabry/32/121_2.png) [@Ghabry](https://community.easyrpg.org/u/Ghabry)\
**Post date:** [September 26, 2012, 2:53pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/11 "2012-09-26T14:53:59Z")

</div>

The toolchain is broken. Can’t even compile a single file with the supplied g++.

Fails with

```auto

```

I placed it in `~/dingoo/opendingux-toolchain`

Added `/home/gab/dingoo/opendingux-toolchain/usr/bin` to the path.

Strace says:

`access("/home/gab/dingoo/opendingux-toolchain/usr/lib/crt1.o", F_OK) = 0
access("/home/gab/dingoo/opendingux-toolchain/usr/bin/../lib/gcc/mipsel-unknown-linux-uclibc/4.5.1/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/home/gab/dingoo/opendingux-toolchain/usr/bin/../lib/gcc/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/home/gab/dingoo/opendingux-toolchain/usr/bin/../lib/gcc/mipsel-unknown-linux-uclibc/4.5.1/../../../../mipsel-unknown-linux-uclibc/lib/mipsel-unknown-linux-uclibc/4.5.1/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/home/gab/dingoo/opendingux-toolchain/usr/bin/../lib/gcc/mipsel-unknown-linux-uclibc/4.5.1/../../../../mipsel-unknown-linux-uclibc/lib/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/opt/opendingux-toolchain/lib/mipsel-unknown-linux-uclibc/4.5.1/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/opt/opendingux-toolchain/lib/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/opt/opendingux-toolchain/usr/lib/mipsel-unknown-linux-uclibc/4.5.1/crt1.o", R_OK) = -1 ENOENT (No such file or directory)
access("/opt/opendingux-toolchain/usr/lib/crt1.o", R_OK) = -1 ENOENT (No such file or directory)`

According to the first line is finds the crt1.o but refuses to use it (Bug?).

So I added a symlink from `/opt/opendingux-toolchain` to the other dir.  
Now last strace line is

```auto

```

Now the linker reports the following error:

`/home/gab/dingoo/opendingux-toolchain/usr/lib/crt1.o: In function `__start':
(.text+0x0): multiple definition of `__start'
/opt/opendingux-toolchain/usr/lib/crt1.o:(.text+0x0): first defined here
/home/gab/dingoo/opendingux-toolchain/usr/lib/crt1.o:(.data+0x0): multiple definition of `__data_start'
/opt/opendingux-toolchain/usr/lib/crt1.o:(.data+0x0): first defined here
collect2: ld returned 1 exit status
`

So it actually uses the crt1.o in my home-dir but only if the other crt1.o exists, too. Sounds like a bug to me.

Yes I could move the toolchain to `/opt` but the Caanoo toolchain works without problems from the home dir.

---

<div class="post-metadata">

**Author:** ![Shin-NiL](https://community.easyrpg.org/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@Shin-NiL](https://community.easyrpg.org/u/Shin-NiL)\
**Post date:** [September 26, 2012, 8:55pm UTC](https://community.easyrpg.org/t/dingoo-easy-rpg/84/12 "2012-09-26T20:55:03Z")

</div>

Unfortunately you can not choose the destination directory, the installation in ‘/opt’ is mandatory.
