mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-11 11:45:14 -05:00
Merge pull request #26 from kanzure/fix-pokered-paths
fix pokered paths in redtools Argh, these need to go away.
This commit is contained in:
@@ -2,12 +2,13 @@
|
||||
#date: 2012-01-02
|
||||
#url: http://hax.iimarck.us/files/rbheaders.txt
|
||||
import json
|
||||
import os
|
||||
|
||||
#parse hex values as base 16 (see calculate_pointer)
|
||||
base = 16
|
||||
|
||||
#where to load the rom from
|
||||
rom_filename = "../baserom.gbc"
|
||||
# TODO: load the rom based on config.rom_path
|
||||
rom_filename = os.path.join(os.getcwd(), "baserom.gbc")
|
||||
rom = None #load the rom later
|
||||
|
||||
#map header pointers start at 0x1AE
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import os
|
||||
|
||||
#main dir of repo (simply one level up than here)
|
||||
pokered_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
# TODO: use actual configuration
|
||||
# Assume that the main pokered project dir is the current working directory
|
||||
# (cwd).
|
||||
pokered_dir = os.getcwd()
|
||||
|
||||
Reference in New Issue
Block a user