mirror of https://github.com/zeldaret/tmc.git
				
				
				
			Add EU translations using tmc_strings
This commit is contained in:
		
							parent
							
								
									300169514a
								
							
						
					
					
						commit
						ae2d83a1ae
					
				
							
								
								
									
										5
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										5
									
								
								Makefile
								
								
								
								
							| 
						 | 
				
			
			@ -190,6 +190,11 @@ sound/%.bin: sound/%.aif ; $(AIF) $< $@
 | 
			
		|||
sound/songs/%.s: sound/songs/%.mid
 | 
			
		||||
	cd $(@D) && ../../$(MID) $(<F)
 | 
			
		||||
translations/USA.bin: translations/USA.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x499E0
 | 
			
		||||
translations/English.bin: translations/English.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x488C0
 | 
			
		||||
translations/French.bin: translations/French.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x47A90
 | 
			
		||||
translations/German.bin: translations/German.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x42FC0
 | 
			
		||||
translations/Spanish.bin: translations/Spanish.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x41930
 | 
			
		||||
translations/Italian.bin: translations/Italian.json ; tools/tmc_strings/tmc_strings -p --source $< --dest $@ --size 0x438E0
 | 
			
		||||
 | 
			
		||||
ifeq ($(NODEP),1)
 | 
			
		||||
$(C_BUILDDIR)/%.o: c_dep :=
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -399,19 +399,19 @@ gUnk_08109202:: @ 08109202
 | 
			
		|||
	.incbin "baserom.gba", 0x109202, 0x0000012
 | 
			
		||||
 | 
			
		||||
gUnk_08109214:: @ 08109214
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte translation
 | 
			
		||||
	.4byte translation
 | 
			
		||||
	.4byte translation
 | 
			
		||||
.ifdef EU
 | 
			
		||||
	.4byte gUnk_089F7420
 | 
			
		||||
	.4byte gUnk_08A3EEB0
 | 
			
		||||
	.4byte gUnk_08A81E70
 | 
			
		||||
	.4byte gUnk_08AC37A0
 | 
			
		||||
	.4byte translationFrench
 | 
			
		||||
	.4byte translationGerman
 | 
			
		||||
	.4byte translationSpanish
 | 
			
		||||
	.4byte translationItalian
 | 
			
		||||
.else
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte gUnk_089B1D90
 | 
			
		||||
	.4byte translation
 | 
			
		||||
	.4byte translation
 | 
			
		||||
	.4byte translation
 | 
			
		||||
	.4byte translation
 | 
			
		||||
.endif
 | 
			
		||||
 | 
			
		||||
gUnk_08109230:: @ 08109230
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15205,7 +15205,6 @@ gUnk_08900380:: @ 08900380
 | 
			
		|||
	.incbin "baserom.gba", 0x900380, 0x00002A0
 | 
			
		||||
 | 
			
		||||
.ifdef EU
 | 
			
		||||
@ TODO differs to gUnk_089B1D90
 | 
			
		||||
    .incbin "baserom_eu.gba", 0x8FFDF0, 0x00AED70
 | 
			
		||||
.else
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,24 +6,24 @@
 | 
			
		|||
 | 
			
		||||
@ TODO use tmc_strings to extract strings for other variants
 | 
			
		||||
 | 
			
		||||
gUnk_089B1D90:: @ 089B1D90
 | 
			
		||||
translation:: @ 089B1D90
 | 
			
		||||
.ifdef JP
 | 
			
		||||
	.incbin "baserom_jp.gba", 0x9B1A30, 0x2BCC0
 | 
			
		||||
.else
 | 
			
		||||
.ifdef EU
 | 
			
		||||
.incbin "baserom_eu.gba", 0x9AEB60, 0x00488C0
 | 
			
		||||
	.incbin "translations/English.bin"
 | 
			
		||||
 | 
			
		||||
gUnk_089F7420::
 | 
			
		||||
.incbin "baserom_eu.gba", 0x9F7420, 0x0047A90
 | 
			
		||||
translationFrench::
 | 
			
		||||
	.incbin "translations/French.bin"
 | 
			
		||||
 | 
			
		||||
gUnk_08A3EEB0::
 | 
			
		||||
.incbin "baserom_eu.gba", 0xA3EEB0, 0x0042FC0
 | 
			
		||||
translationGerman::
 | 
			
		||||
	.incbin "translations/German.bin"
 | 
			
		||||
 | 
			
		||||
gUnk_08A81E70::
 | 
			
		||||
.incbin "baserom_eu.gba", 0xA81E70, 0x0041930
 | 
			
		||||
translationSpanish::
 | 
			
		||||
	.incbin "translations/Spanish.bin"
 | 
			
		||||
 | 
			
		||||
gUnk_08AC37A0::    
 | 
			
		||||
.incbin "baserom_eu.gba", 0xAC37A0, 0x00438E0
 | 
			
		||||
translationItalian::    
 | 
			
		||||
	.incbin "translations/Italian.bin"
 | 
			
		||||
 | 
			
		||||
.else
 | 
			
		||||
    .incbin "translations/USA.bin"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue