Skip to content

Commit

Permalink
Adição do Assembly responsável por carregar as legendas durante os ví…
Browse files Browse the repository at this point in the history
…deos
  • Loading branch information
hansenhahn committed Jan 24, 2016
1 parent 0c686b5 commit 2d7263f
Show file tree
Hide file tree
Showing 19 changed files with 5,310,480 additions and 0 deletions.
Binary file added asm/armips.exe
Binary file not shown.
36 changes: 36 additions & 0 deletions asm/conv.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env python
# -*- coding: windows-1252 -*-

''' Script para converter o dump de memória do no$gba em binário '''

import sys
with open( "dump.b" , 'rb' ) as fd:

out = open( "dump.bin", 'wb' )

while True:

_addr = fd.read( 8 ) # Endereço
if len( _addr ) != 8:
out.close()
sys.exit(1)

fd.seek( 1, 1 )
# Hex
_hex = fd.read( 47 )
if len( _hex ) != 47:
out.close()
sys.exit(1)

fd.seek( 2, 1 )
# Ascii
_ascii = fd.read( 16 )
if len( _ascii ) != 16:
out.close()
sys.exit(1)

fd.seek( 3, 1 )
out.write( ''.join( map( lambda x : chr(int(x, 16) ) , _hex.split( ' ' ) ) ) )



Binary file added asm/subtitles/arm9_jp.bin
Binary file not shown.
Binary file added asm/subtitles/arm9mod.bin
Binary file not shown.
Binary file added asm/subtitles/frames.bin
Binary file not shown.
Loading

0 comments on commit 2d7263f

Please sign in to comment.