Go Back   The PokéCommunity Forums > Members List
Reload this Page Shiny Quagsire's Profile

Notices
For all updates, view the main page.



Shiny Quagsire's Profile Picture

Shiny Quagsire Shiny Quagsire is offline

STOP HIM SAM, HE'S GONNA TELL US A STORY!!!

Visitor Messages

Showing Visitor Messages 16 to 30 of 416
  1. TheRealOCD
    January 31st, 2015 03:55 PM
    TheRealOCD
    Is M.E.H going to be updated soon?
  2. Yvtq8K3n
    January 18th, 2015 02:49 PM
    Yvtq8K3n
    Man i think you need make an tutorial about adding the third block and faster, plzzzz!!!!
  3. Dedenne1
    December 29th, 2014 03:51 PM
    Dedenne1
    Happy Birthday!
  4. TheRealOCD
    December 29th, 2014 12:57 PM
    TheRealOCD
    Happy Birthday!!!
  5. Sheep
    December 29th, 2014 10:48 AM
    Sheep
    Have a great birthday :3
  6. DarkShedinja
    December 28th, 2014 05:42 PM
    DarkShedinja
    Happy Birthday !
  7. laflacapkm
    December 28th, 2014 04:56 AM
    laflacapkm
    thanks

    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*
  8. laflacapkm
    December 26th, 2014 06:25 AM
    laflacapkm
    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
  9. FBI agent
    December 13th, 2014 08:31 PM
    FBI agent
    Can I ride the Shiny Quagsire merry go round?
  10. Dionen
    December 13th, 2014 04:48 PM
    Dionen
    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
  11. FBI agent
    December 13th, 2014 04:44 PM
    FBI agent
    Where do I go to join your fan club?
  12. Kenny1
    October 30th, 2014 07:27 PM
    Kenny1
    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.
  13. Kenny1
    October 30th, 2014 09:50 AM
    Kenny1
    I decided to install Linux on my PC, because it seems Windows isnt the best for everything, do you think this should help me?
  14. Kenny1
    October 29th, 2014 09:08 AM
    Kenny1
    I don't know where, anyway, I think it would be better if I just left it, it's CLEARLY not working.
  15. Kenny1
    October 28th, 2014 08:10 AM
    Kenny1
    I cant find it, I don't know how it works

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

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

    # --- No implicit rules ---
    .SUFFIXES:

    # --- 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 += $(INCLUDE)
    CFLAGS +=

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

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

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

    CFLAGS := -mcpu=arm7tdmi -mtune=arm7tdmi -O3
    CFLAGS += -Wall
    CFLAGS += $(INCLUDE)
    CFLAGS +=

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

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

    else

    CFLAGS := -mcpu=arm7tdmi -mtune=arm7tdmi -O2
    CFLAGS += -Wall
    CFLAGS += $(INCLUDE)
    CFLAGS += -ffast-math -fno-strict-aliasing

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

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



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

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


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

    endif

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

    # --- Debug info ? ---

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


    # === 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)
    else
    export LD := $(CXX)
    endif

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

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

    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 ---

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

    all : $(BUILD)

    clean:
    @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 $<)
    @$(bin2o)



    -include $(DEPENDS)


    endif # End BUILD switch

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

    TARGET = $@

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

    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
    else
    @echo "Insertion location not found!"
    @echo "Did you forget to define 'offset'?"
    @echo "Ex: make <version> fname=something.gba offset=<offset in hex>"
    endif
    else
    @echo "File location not found!"
    @echo "Did you forget to define 'fname'?"
    @echo "Ex: make <version> fname=<GBA ROM File> insert=1A2B3C"
    endif

    .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
    endif
    endif

    .PHONY : bpee

About Me

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: 2 Days Ago 06:30 AM
  • Join Date: May 17th, 2009
  • Referrals: 3

Friends

Showing Friends 1 to 20 of 47

Emblems

Emblem Showcase - 1 Total
  Emblem
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 UTC -8. The time now is 02:48 AM.