The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Members List
Reload this Page Shiny Quagsire's Profile
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read

Shiny Quagsire's Profile Picture

Shiny Quagsire Shiny Quagsire is offline

I'm Still Alive, Elsewhere

Visitor Messages

Showing Visitor Messages 46 to 60 of 440
  1. ~SAGE
    December 28th, 2014 4:56 AM

    could u do some tutorial about how animate the title screen in firered?

    i know these are many questions but i see u as a god *u*
  2. ~SAGE
    December 26th, 2014 6:25 AM
    may i ask u something?
    do u know where is stored [in hex] the nidoran of the intro of the prof. oak?
    how can i change it?
    i can't open the rom with Advance IntroEd
    'cause i'm using the patch with 870 pokémon
  3. FBI
    December 13th, 2014 8:31 PM
    Can I ride the Shiny Quagsire merry go round?
  4. Dionen
    December 13th, 2014 4:48 PM
    I totally understand why such a complex thing as "follow me scripts" is not possible via scripts, I was just trying to defend the guy there
  5. FBI
    December 13th, 2014 4:44 PM
    Where do I go to join your fan club?
  6. Kenny1
    October 30th, 2014 7:27 PM
    I'm actually using Hyper-V to run Linux, it partitioned a section of my drive for linux, only problem is that I can't connect to the internet, so I might just double boot my PC.
  7. Kenny1
    October 30th, 2014 9:50 AM
    I decided to install Linux on my PC, because it seems Windows isnt the best for everything, do you think this should help me?
  8. Kenny1
    October 29th, 2014 9:08 AM
    I don't know where, anyway, I think it would be better if I just left it, it's CLEARLY not working.
  9. Kenny1
    October 28th, 2014 8:10 AM
    I cant find it, I don't know how it works

    Working makefile:
    # Template tonc makefile
    # Yoinked mostly from DKP's template

    # === SETUP ===========================================================

    # --- No implicit rules ---

    # --- Tonc paths ---
    # If not defined as environment variable, assumed to be 2 dirs up
    export TONCCODE ?= $(CURDIR)/../..

    include $(TONCCODE)/tonc_rules

    # --- Main path ---

    export PATH := $(DEVKITARM)/bin:$(PATH)

    # === PROJECT DETAILS =================================================
    # PROJ : Base project name
    # TITLE : Title for ROM header (12 characters)
    # LIBS : Libraries to use, formatted as list for linker flags
    # BUILD : Directory for build process temporaries. Should NOT be empty!
    # SRCDIRS : List of source file directories
    # DATADIRS : List of data file directories
    # INCDIRS : List of header file directories
    # LIBDIRS : List of library directories
    # General note: use `.' for the current dir, don't leave the lists empty.

    export PROJ ?= $(notdir $(CURDIR))
    TITLE := $(PROJ)
    GFXLIBS :=
    MUSIC := audio

    LIBS := -ltonc -lmm

    BUILD := build
    SRCDIRS := source
    DATADIRS := data
    INCDIRS := include
    LIBDIRS := $(TONCCODE)/tonclib

    # --- switches ---

    bMB := 0 # Multiboot build
    bTEMPS := 0 # Save gcc temporaries (.i and .s files)
    bDEBUG := 0 # Generate debug info

    # === BUILD FLAGS =====================================================
    # This is probably where you can stop editing
    # NOTE: I've noticed that -fgcse and -ftree-loop-optimize sometimes muck
    # up things (gcse seems fond of building masks inside a loop instead of
    # outside them for example). Removing them sometimes helps

    # --- Architecture ---

    ARCH := -mthumb-interwork -mthumb
    RARCH := -mthumb-interwork -mthumb
    IARCH := -mthumb-interwork -marm -mlong-calls

    # --- Main flags ---

    ifeq ($(strip $(bDEBUG)), 2)

    CFLAGS := -mcpu=arm7tdmi -mtune=arm7tdmi -O3
    CFLAGS += -Wall
    CFLAGS +=

    CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions

    LDFLAGS := $(ARCH) -Wl,-Map,$(PROJ).map

    else ifeq ($(strip $(bDEBUG)), 1)

    CFLAGS := -mcpu=arm7tdmi -mtune=arm7tdmi -O3
    CFLAGS += -Wall
    CFLAGS +=

    CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions

    LDFLAGS := $(ARCH) -Wl,-Map,$(PROJ).map


    CFLAGS := -mcpu=arm7tdmi -mtune=arm7tdmi -O2
    CFLAGS += -Wall
    CFLAGS += -ffast-math -fno-strict-aliasing

    CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions

    LDFLAGS := $(ARCH) -Wl,-Map,$(PROJ).map

    # --- switched additions ----------------------------------------------

    # --- Multiboot ? ---
    ifeq ($(strip $(bMB)), 1)
    TARGET := $(PROJ).mb

    ifeq ($(strip $(bDEBUG)), 2)
    TARGET := $(PROJ)_debug_VBA
    else ifeq ($(strip $(bDEBUG)), 1)
    TARGET := $(PROJ)_debug_Eclipse
    TARGET := $(PROJ)


    # --- Save temporary files ? ---
    ifeq ($(strip $(bTEMPS)), 1)
    CFLAGS += -save-temps
    CXXFLAGS += -save-temps

    # --- Debug info ? ---

    ifeq ($(strip $(bDEBUG)), 2)
    else ifeq ($(strip $(bDEBUG)), 1)
    CFLAGS += -DDEBUG -g
    LDFLAGS += -g

    # === BUILD PROC ======================================================

    ifneq ($(BUILD),$(notdir $(CURDIR)))

    # Still in main dir:
    # * Define/export some extra variables
    # * Invoke this file again from the build dir
    # PONDER: what happens if BUILD == "" ?

    export OUTPUT := $(CURDIR)/$(TARGET)
    export VPATH := \
    $(foreach dir, $(SRCDIRS) , $(CURDIR)/$(dir)) \
    $(foreach dir, $(DATADIRS), $(CURDIR)/$(dir))

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

    # --- List source and data files ---

    CFILES := $(foreach dir, $(SRCDIRS) , $(notdir $(wildcard $(dir)/*.c)))
    CPPFILES := $(foreach dir, $(SRCDIRS) , $(notdir $(wildcard $(dir)/*.cpp)))
    SFILES := $(foreach dir, $(SRCDIRS) , $(notdir $(wildcard $(dir)/*.s)))
    BINFILES := $(foreach dir, $(DATADIRS), $(notdir $(wildcard $(dir)/*.*))) soundbank.bin

    export AUDIOFILES := $(foreach dir,$(notdir $(wildcard $(MUSIC)/*.*)),$(CURDIR)/$(MUSIC)/$(dir))

    # --- Set linker depending on C++ file existence ---
    ifeq ($(strip $(CPPFILES)),)
    export LD := $(CC)
    export LD := $(CXX)

    # --- Define object file list ---
    export OFILES := $(addsuffix .o, $(BINFILES)) \
    $(CFILES:.c=.o) $(CPPFILES:.cpp=.o) \

    # --- Create include and library search paths ---
    export INCLUDE := $(foreach dir,$(INCDIRS),-I$(CURDIR)/$(dir)) \
    $(foreach dir,$(LIBDIRS),-I$(dir)/include) \

    export LIBPATHS := -L$(CURDIR) $(foreach dir,$(LIBDIRS),-L$(dir)/lib)

    # --- More targets ----------------------------------------------------

    .PHONY: $(BUILD) clean

    # --- Create BUILD if necessary, and run this makefile from there ---

    @[ -d $@ ] || mkdir -p $@
    @make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
    arm-none-eabi-nm -Sn $(OUTPUT).elf > $(BUILD)/$(TARGET).map

    all : $(BUILD)

    @echo clean ...
    @rm -fr $(BUILD) $(TARGET).elf $(TARGET).gba

    else # If we're here, we should be in the BUILD dir

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

    # --- Main targets ----

    $(OUTPUT).gba : $(OUTPUT).elf

    $(OUTPUT).elf : $(OFILES)

    # The bin2o rule should be copied and modified
    # for each extension used in the data directories

    # rule to build soundbank from music files
    soundbank.bin : $(AUDIOFILES)
    @mmutil $^ -osoundbank.bin -hsoundbank.h

    # This rule links in binary data with the .bin extension
    %.bin.o : %.bin
    @echo $(notdir $<)

    -include $(DEPENDS)

    endif # End BUILD switch

    # EOF
    Alph puzzle makefile:
    default_target: bpre
    .PHONY : default_target

    TARGET = $@

    ifdef offset
    INSERT=$(shell printf "%d" 0x$(offset))

    PATH := /opt/devkitpro/devkitARM/bin:$(PATH)
    OPTS := -fauto-inc-dec -fcompare-elim -fcprop-registers -fdce -fdefer-pop -fdelayed-branch -fdse -fguess-branch-probability -fif-conversion2 -fif-conversion -fipa-pure-const -fipa-profile -fipa-reference -fmerge-constants -fsplit-wide-types -ftree-bit-ccp -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre -ftree-phiprop -ftree-sra -ftree-pta -ftree-ter -funit-at-a-time -fomit-frame-pointer -fthread-jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-saves -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdelete-null-pointer-checks -fdevirtualize -fexpensive-optimizations -fgcse -fgcse-lm -finline-small-functions -findirect-inlining -fipa-sra -foptimize-sibling-calls -fpartial-inlining -fpeephole2 -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-insns -fschedule-insns2 -fstrict-aliasing -fstrict-overflow -ftree-switch-conversion -ftree-tail-merge -ftree-pre -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-slp-vectorize -fvect-cost-model -fipa-cp-clone -ffast-math -fno-protect-parens -fstack-arrays -fforward-propagate -finline-functions-called-once -fmerge-all-constants -fmodulo-sched -fmodulo-sched-allow-regmoves -fgcse-sm -fgcse-las -funsafe-loop-optimizations -fconserve-stack

    #Build for Fire Red
    bpre :
    sed 's/^ rom : ORIGIN = 0x08XXXXXX, LENGTH = 32M$$/ rom : ORIGIN = 0x08$(offset), LENGTH = 32M/' linker_base.lsc > linker.lsc
    gcc ${OPTS} -mthumb -mthumb-interwork -Dengine=0 -g -c -w -std=gnu99 -o main.out main.c
    ld -o main.o -T linker.lsc main.out
    objcopy -O binary main.o main.bin
    rm main.o
    rm main.out
    rm linker.lsc

    #Auto-Insert into the ROM
    ifdef fname
    ifdef INSERT
    dd if=main.bin of="$(fname)" conv=notrunc seek=$(INSERT) bs=1
    @echo "Insertion location not found!"
    @echo "Did you forget to define 'offset'?"
    @echo "Ex: make <version> fname=something.gba offset=<offset in hex>"
    @echo "File location not found!"
    @echo "Did you forget to define 'fname'?"
    @echo "Ex: make <version> fname=<GBA ROM File> insert=1A2B3C"

    .PHONY : bpre

    #Build for Emerald
    bpee :
    sed 's/^ rom : ORIGIN = 0x08XXXXXX, LENGTH = 32M$$/ rom : ORIGIN = 0x08$(offset), LENGTH = 32M/' linker_base.lsc > linker.lsc
    gcc ${OPTS} -mthumb -mthumb-interwork -Dengine=1 -g -c -w -std=gnu99 -o main.out main.c
    ld -o main.o -T linker.lsc main.out
    objcopy -O binary main.o main.bin
    rm main.o
    rm main.out
    rm linker.lsc

    #Auto-Insert into the ROM
    ifdef fname
    ifdef INSERT
    dd if=main.bin of="$(fname)" conv=notrunc seek=$(INSERT) bs=1

    .PHONY : bpee
  10. Tyroz
    October 28th, 2014 6:20 AM
    That'd be great to have you back on, even if it is for a few days. I hope school is going well. nice to hear from you.
  11. Kenny1
    October 27th, 2014 5:15 PM
    Thank you Shiny Quagsire, I'll try that later when I get on PC. Thank you for giving me your time to try help me, I REALLY appreciate it.
  12. Kenny1
    October 27th, 2014 6:04 AM
    I already do compile my own projects, it works, even if I try calling GCC.exe, it says it has no source, so it is working
  13. Kenny1
    October 25th, 2014 9:59 PM
    Same error, I think
    sed 's/^ rom : ORIGIN = 0x08XXXXXX, LENGTH = 32M$/ rom : O
    RIGIN = 0x08800000, LENGTH = 32M/' linker_base.lsc > linker.lsc
    gcc -fauto-inc-dec -fcompare-elim -fcprop-registers -fdce -fdefer-pop -fdelayed-
    branch -fdse -fguess-branch-probability -fif-conversion2 -fif-conversion -fipa-p
    ure-const -fipa-profile -fipa-reference -fmerge-constants -fsplit-wide-types -ft
    ree-bit-ccp -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copyrename -ftre
    e-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre -ftree-phiprop
    -ftree-sra -ftree-pta -ftree-ter -funit-at-a-time -fomit-frame-pointer -fthread
    -jumps -falign-functions -falign-jumps -falign-loops -falign-labels -fcaller-sa
    ves -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdelete-null-pointer-c
    hecks -fdevirtualize -fexpensive-optimizations -fgcse -fgcse-lm -finline-small-f
    unctions -findirect-inlining -fipa-sra -foptimize-sibling-calls -fpartial-inlini
    ng -fpeephole2 -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-
    loop -fsched-interblock -fsched-spec -fschedule-insns -fschedule-insns2 -fstrict
    -aliasing -fstrict-overflow -ftree-switch-conversion -ftree-tail-merge -ftree-pr
    e -ftree-vrp -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-a
    fter-reload -ftree-slp-vectorize -fvect-cost-model -fipa-cp-clone -ffast-math -f
    no-protect-parens -fstack-arrays -fforward-propagate -finline-functions-called-o
    nce -fmerge-all-constants -fmodulo-sched -fmodulo-sched-allow-regmoves -fgcse-sm
    -fgcse-las -funsafe-loop-optimizations -fconserve-stack -mthumb -mthumb-interwo
    rk -Dengine=0 -g -c -w -std=gnu99 -o main.out main.c
    make: gcc: Command not found
    make: *** [bpre] Error 127
  14. Kenny1
    October 25th, 2014 10:24 AM
    Should I reinstall DevkitPro?
  15. Kenny1
    October 25th, 2014 10:04 AM

About Me


Total Posts
Activity by Forum
Visitor Messages
General Information
  • Last Activity: 2 Days Ago 5:24 PM
  • Join Date: May 17th, 2009
  • Referrals: 4


Showing Friends 1 to 20 of 47


Emblem Showcase - 1 Total
Amateur Copter Controller
You did all right, you got to 1000 points in ROM Hacking's Helicopter Game event.
Awarded: September 13th, 2010 12:15 PM

All times are GMT -8. The time now is 12:17 PM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 The PokéCommunity™,
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / Poké
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.