Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Latest Threads
Configure save state on 3...
Last Post: goomba000
Yesterday, 01:41 PM
Any idea?
Last Post: Namint
11-19-2024, 07:38 AM
RTC on PS Vita
Last Post: maka
10-30-2024, 11:10 AM
Help with mGBA and tradin...
Last Post: verarrewfashra
10-23-2024, 04:11 AM
Need help with destinatio...
Last Post: Guy71
10-13-2024, 06:15 PM
Master Pause Feature
Last Post: Amichi
10-12-2024, 04:14 AM
mGBA Xbox 1 controller is...
Last Post: Pokemonredfan
10-02-2024, 12:16 PM
Some help is needed
Last Post: endrift
09-30-2024, 11:54 PM
Hello, just joined this c...
Last Post: Hazstar98
09-28-2024, 05:41 PM
Pokémon GSC internal clo...
Last Post: endrift
09-12-2024, 11:39 PM

Forum Statistics
» Members: 1,621,   » Latest member: goomba000,   » Forum threads: 628,   » Forum posts: 2,361,  
Full Statistics

  Compilation on Windows
Posted by: calm64 - 09-04-2015, 04:01 AM - Forum: General - Replies (5)

Hello Folks,

I'm currently no good at these Cmake and make stuffs for compilation, I only use VS for compilation. but when I decided to compile windows build for Mgba it seems that VS support is not available right now  Sad

so, I'm having a bit of problems in compilation. I'll explain it in steps : (I followed the steps at Github)

step 1:

Code:
pacman -Sy mingw-w64-i686-{cmake,ffmpeg,gcc,gdb,imagemagick,libzip,pkg-config,qt5,SDL2}

got all the dependencies as according to the code.

step 2:
Code:
git clone https://github.com/mgba-emu/mgba.git

I had already did this step on Git-shell.


step 3:
Code:
cd mgba

after some research, it seems that this code goes to the directory of the mgba source code, did it properly.


step 4:
Code:
mkdir build

This make a new folder called build, It was a success,

step 5:
Code:
cd build

Enters into build, no problem for now. Smile

step 6:
Code:
cmake .. -G "MSYS Makefiles"

here's where the problem starts, after entering this virtually nothing happens. Sad

I expected it to produce some message but, it didn't do anything.


step 7:
Code:
make

after step 7, it produced this error message:  make: *** No targets specified and no makefile found.  Stop.

apparently it was because cmake didn't work properly, any input for help is appreciated. Smile

Print this item

  Wii port audio crackling
Posted by: fox_whisper85 - 09-04-2015, 02:11 AM - Forum: General - Replies (4)

Since the port thread has been increasing in no. of posts and my questions seemingly ignored, for some reason, I will ask here instead; this way, I won't clog up that other thread, so as of the most recently nightly build of the Wii port, audio crackling is present still, however, the RetroArch Wii port fares better in the audio department, but ultimately breaks support for 32 MB ROMs for unknown reason. On the other hand, the standalone version runs all GBA game sizes, even the large ones, but what I want to know is, will there ever be the same audio improvements from the Libretro core carried over to the standalone Wii port? I am grateful for this emulator, it's the best the Wii has ever seen, I personally don't like how RetroArch has evolved with 1.2.2 being broken beyond all recognition on the Wii, hence my preference to the simpler port, I merely hope the few minor issues can be resolved in due time. Big Grin

Print this item

  Unofficial wii build -test-
Posted by: askot - 09-03-2015, 11:34 PM - Forum: General - Replies (12)

Hello to all mgba users,

This test build is for wii platform, I've added a few and new options from command line.
Also, I added endrift's fix for audio crackling.

New to this emulator too:
-Set aspect ratio to 3:2 on 4:3 video, looks like a GBA Player on old CRT TV -yeah I get one.
-Load 32 MB roms on memory.

These new options are from arguments:
-Auto load game
-Send custom button for A,B,L,R in Classic Controller
-Set filter mode to: Unfilter, Filter, Filter Sharp and Filter Soft

So you need a Front end to use it, like Wiiflow or from meta.xml file something like this:

Code:
<arguments>
<arg>-rom</arg>
<arg>sd:/roms/My rom.gba</arg>
<arg>-r</arg>
<arg>2</arg>
<arg>-reduceScale</arg>
<arg>75</arg>
</arguments>

Or wiiflow:
Code:
arguments=-rom|{device}:/{path}/{name}|-r|4|-useCustomInput|-button_A|B|-button_B|Y

You can find binary dol file here: https://mega.nz/#!ycA2VAQJ!3NiImhbk0F5bv...5a2kZ5gi54

Print this item

  Native Scaling
Posted by: ShalokShalom - 09-01-2015, 07:03 PM - Forum: General - Replies (4)

Hi there Smile

Is it possible to offer native scaling in mGBA, like the Dolphin does it for GC and Wii games ?

Print this item

  White flickering on Ubuntu (15.04) port
Posted by: Renoa - 08-28-2015, 06:12 AM - Forum: General - Replies (2)

As the title implies, there's this weird white flickering going on while playing games (tested Mega Man Zero 2, Metroid Fusion, and Pokemon FireRed) on the Ubuntu port. I'm using the latest stable build (0.3.0).

Print this item

  Suggestions for the Wii version
Posted by: MrProtein - 08-27-2015, 03:31 AM - Forum: General - Replies (8)

Just found out about this, and I have to say I am quite impressed at how well the performance is on Wii - I honestly thought that VBA GX/VBA Next was as good as it's gonna get.

I understand this emulator is still in its very early stages (which is actually amazing considering how the performance is already better than VBA GX), so I just thought I would suggest some possible features for future releases.

* Brightness Control/Gamma Correction - as we all know, most GBA games were made with very bright colors so that they could be seen on the original unlit GBA. Both the Game Boy Player and the Wii U Virtual Console somewhat compensates for this by darkening the image a little - it would be nice to have that option for this emulator as well

* libwiigui - just for continuity/similarity with other emulators like Snes9xGx and FCEUGx. I can understand if this might not be feasible however if it takes up too much memory and could hinder game performance.

* custom button configurations - self-explanatory (apologies if this has already been implemented)

* custom border support - y'know, like the ones that the GB Player had on the GameCube.

* screen size options - right now it seems to default to 4:3, which is not the GBA aspect ratio (3:2). Also the edges are currently cutoff on CRT's.

* 240p support - for CRT users

* this one is rather ridiculous and I'm not sure if it's even possible, but it would still be cool nonetheless:
GBA-to-GCN adapter support? On the GB Player, you could use an actual GBA as a controller if you had the GBA-to-GCN adapter (you had to turn on the GBA and hold start on it while it's connected to the GCN).

Print this item

  mGBA GB & GBC emulation
Posted by: MightyJo - 08-23-2015, 09:34 AM - Forum: General - Replies (1)

Are you planning on making mGBA emulate the Game Boy line as well? Or are you simply aiming for a near perfect GBA emulator?
Also would it help you if someone compiled a compatibility list and if yes how would you like it organised?

Print this item

  video rendering issues under Windows 10 (MGBA 0.30)
Posted by: Nicholas Steel - 08-23-2015, 05:32 AM - Forum: General - Replies (3)

When using the OpenGL video renderer and either 57FPS or 60FPS, the video stutters a lot like it's very frequently skipping frames/displaying frames for too long. I assume this is the program conflicting with the compositor under Windows 10.

The Software Renderer doesn't work, or to be more precise it seems the FPS Target is artificially limited to sub 1FPS? Holding Turbo button increases the frame rate of it to over 1,000FPS. Messing with the Target FPS or Frame Rate setting doesn't affect it.

When running v0.30 after upgrading from 0.20 by deleting everything in only the MGBA folder and then installing MGBA 0.30, the FPS Target seems to be sub 1FPS even though the FPS Target setting is visibly set to 57FPS. Settings, had the Frame Rate set to 0.1FPS for some reason. I assume there is a config file not located in the MGBA folder and the new version probably misread the outdated config file. Setting the Frame Rate to 57FPS fixed the frame rate of the OpenGL video renderer. In this particular isntance, adjusting the Target FPS setting would NOT update the Frame Rate setting until after I manually adjusted the Frame Rate setting my self.

Print this item

  Has anyone compiled a compatibility list for mGBA yet?
Posted by: I.S.T. - 08-17-2015, 09:52 PM - Forum: General - Replies (1)

Just curious.

Print this item

  How to compile port wii?
Posted by: askot - 08-14-2015, 09:32 PM - Forum: General - Replies (3)

Hello, I'm trying to compile wii port of mGBA in Windows with Devkitpro PPC,
I've added a Makefile to project, here it's the code

Code:
#---------------------------------------------------------------------------------
# Clear the implicit built in rules
#---------------------------------------------------------------------------------
.SUFFIXES:
#---------------------------------------------------------------------------------
ifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC")
endif

include $(DEVKITPPC)/wii_rules

#---------------------------------------------------------------------------------
# TARGET is the name of the output
# BUILD is the directory where object files & intermediate files will be placed
# SOURCES is a list of directories containing source code
# INCLUDES is a list of directories containing extra header files
#---------------------------------------------------------------------------------
TARGET    := mGBA-wii
BUILD     := build_wii
SOURCES := src/platform/wii src/arm src/gba src/gba/cheats src/gba/rr \
src/gba/supervisor src/util src/util/*.[cSs] src/util/gui src/gba/renderers \
src/gba/sio/lockstep.c src/third-party/inih src/platform/commandline.c \
       src/util/vfs/vfs-mem.c src/util/vfs/vfs-file.c src/util/vfs/vfs-dirent.c
       
INCLUDES := src src/arm src/util src/util/gui src/arm src/gba src/gba/cheats src/gba/rr \
src/gba/supervisor src/gba/renderers src/third-party/inih src/platform/wii \
       src/util/vfs


#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O3 -mrvl -Wall -Wextra -std=c99 -DCOLOR_16_BIT -DCOLOR_5_6_5 -DUSE_VFS_FILE \
           $(INCLUDE) $(MACHDEP) $(DEFS)

CXXFLAGS = $(CFLAGS)
LDFLAGS = $(MACHDEP) -g -mrvl -Wl,-Map,$(notdir $@).map -s

#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -lfat -logc
#-lbte -lwiiuse

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(PORTLIBS)

#---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional
# rules for different file extensions
#---------------------------------------------------------------------------------
ifneq ($(BUILD),$(notdir $(CURDIR)))
#---------------------------------------------------------------------------------

export OUTPUT := $(CURDIR)/$(TARGETDIR)/$(TARGET)

export VPATH := $(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) \
$(foreach dir,$(DATA),$(CURDIR)/$(dir))

export DEPSDIR := $(CURDIR)/$(BUILD)

#---------------------------------------------------------------------------------
# automatically build a list of object files for our project
#---------------------------------------------------------------------------------
CFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.c)))
CPPFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.cpp)))


#---------------------------------------------------------------------------------
# use CXX for linking C++ projects, CC for standard C
#---------------------------------------------------------------------------------
ifeq ($(strip $(CPPFILES)),)
export LD := $(CC)
else
export LD := $(CXX)
endif

export OFILES := $(CPPFILES:.cpp=.o) $(CFILES:.c=.o) \

#---------------------------------------------------------------------------------
# build a list of include paths
#---------------------------------------------------------------------------------
export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
$(foreach dir,$(LIBDIRS),-I$(dir)/include) \
-I$(CURDIR)/$(BUILD) \
-I$(LIBOGC_INC) -I$(PORTLIBS)/include/freetype2

#---------------------------------------------------------------------------------
# build a list of library paths
#---------------------------------------------------------------------------------
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) \
-L$(LIBOGC_LIB)

export OUTPUT := $(CURDIR)/$(TARGETDIR)/$(TARGET)
.PHONY: $(BUILD) clean

#---------------------------------------------------------------------------------
$(BUILD):
@[ -d $@ ] || mkdir -p $@
@[ -d $(TARGETDIR) ] || mkdir -p $(TARGETDIR)
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile.wii

#---------------------------------------------------------------------------------
clean:
@echo clean ...
@rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).dol

#---------------------------------------------------------------------------------
run:
wiiload $(OUTPUT).dol

#---------------------------------------------------------------------------------
reload:
wiiload -r $(OUTPUT).dol


#---------------------------------------------------------------------------------
else

DEPENDS := $(OFILES:.o=.d)

#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
$(OUTPUT).dol: $(OUTPUT).elf
$(OUTPUT).elf: $(OFILES)

#---------------------------------------------------------------------------------
# This rule links in binary data with these extensions: ttf lang png ogg pcm
#---------------------------------------------------------------------------------

-include $(DEPENDS)

#---------------------------------------------------------------------------------
endif
#---------------------------------------------------------------------------------

But I get a lot of errors, statring with gui-font.h and memcpy undefined, even if I add <malloc.h>,
maybe it's for my makefile, I'm a total noob on makefiling, just for checking other examples.
After, that a lot of undefinded references errors.

Any help please?

Print this item


Online Users
There are currently 87 online users. » 0 Member(s) | 87 Guest(s)

Powered By MyBB, © 2002-2024 Melroy van den Berg.