• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

How To Add New Stadiums With Correct Lighting and Sky

moddingway

Youth Team
Hi there.
I´ve found a way to add new stadiums and they work 100% without any hack to lua files.

I´ve decoded the rendering database. This database includes data related with all stadiums in game. Since new stadiums we add were not in this database they were not rendering properly ( missing sky, wrong time of day, etc )

Well the fact is that we have the chance to add this lines in a file named rendering_patch.cdb

DOWNLOAD IT
https://www.mediafire.com/?d5c8mfqv6ocv6fu

Open it with hexadecimal editor and it´s easy to understand.

From offset 0A to 151 you have the data for stadium 269 day version. See that it says stadiumdb/stad_269_1

From offset 152 to 2BC you have the data for stadium 269 night version.
See that it says stadiumdb/stad_269_3




To add more stadiums you just copy the same block and paste after that one ( I´ve already added some more WC stadiums in that file ) You paste the block and simply change numbers of the stadium and ready!

This file goes in Game/data/ folder and you have to regenerate or remove reference from data_0.big file

Finally solved the mistery where the game stores this data :D

Regards!
 

JimmySak

Senior Squad
Thank you Moddingway for decoding the rendering database !
I opened it with WordPad and I am going to give it a try...
 

fifaCCitiu.com

Senior Squad
JimmySak;3698442 said:
Thank you Moddingway for decoding the rendering database !
I opened it with WordPad and I am going to give it a try...


with wordpad you can't do anything... is he edit that you have to do, and he explained it clearly. :)
 

moddingway

Youth Team
regularcat;3698491 said:
most of the lighting and rendering is done in that file and the shader files.

I´m not changing or replacing rendering.cdb file that includes all rendering data. I´m just adding more data to an alternative file that it´s empty and it´s named rendering_patch.cdb. That file has no content and probably EA thought to use it for patches. The good thing is that we can use it to make stadiums work without any hack to lua files and with real skies and times of day.
 

regularcat

Manager
Moderator
moddingway;3698498 said:
I´m not changing or replacing rendering.cdb file that includes all rendering data. I´m just adding more data to an alternative file that it´s empty and it´s named rendering_patch.cdb. That file has no content and probably EA thought to use it for patches. The good thing is that we can use it to make stadiums work without any hack to lua files and with real skies and times of day.

similar to the way you edit certain pes files.
 

RobbieD_PL

Unreliable deceiver
Staff member
Moderator
moddingway;3698498 said:
I´m not changing or replacing rendering.cdb file that includes all rendering data. I´m just adding more data to an alternative file that it´s empty and it´s named rendering_patch.cdb. That file has no content and probably EA thought to use it for patches. The good thing is that we can use it to make stadiums work without any hack to lua files and with real skies and times of day.

A suggestion that I have:

Is there a way to just edit the rendering_patch.cdb to simply put in all IDs from 1~the # which is the max limit in the database?

I also have an ID list of all stadiums in all FIFAs from 2003 onwards.

1 Old Trafford
2 Santiago Bernabéu
3 Olympiastadion Munich
4 Stade Gerland
5 San Siro
6 Camp Nou
7 Highbury
8 Stadio Delle Alpi
9 Signal Iduna Park
10 Estadio Mestalla
11 Stadio Olimpico
12 BayArena
13 Anfield
14 Parc des Princes
15 Amsterdam ArenA
16 Stade Felix Bollaert
17 Constant Vanden Stock
18 Ali Sami Yen
19 Old Wembley
20 Stade de France
21 Yokohama
22 Seoul Sang-Am
24 Olympic Style
25 Closed Square Style
26 Forest Park Stadium
27 Oval Style
28 Stamford Bridge
29 Stade Vélodrome
30 Veltins Arena
31 Riazor
32 Crown Lane
33 Union Park Stadium
34 Town Park
35 Euro Park
36 Div3 UK Style
37 Div 3 Euro Style
38 Urban Training
39 Rural Training
41 Imtech Arena
42 Estadio Vicente Calderón
43 Aveiro Municipal
44 Braga Municipal
45 Coimbra City
46 Algarve
47 D. Afonso Henriques
48 Dr. Magalhães Pessoa
49 José Alvalade
50 Luz
51 Dragão
52 Bessa
53 German Training (UE2004)
54 Portuguese Training (UE2004)
99 TCM Stadium
100 St. James' Park
101 Ataturk
102 José Alvalade
103 Millennium Stadium
104 Estadio Azteca
105 Generic Modern
107 Estádio da Luz
108 Seoul Sang-am Stadium
110 Daegu Stadium
111 Estádio do Dragão
116 White Hart Lane
117 Modern South American
118 Modern Euro
120 Yokohama
122 Sapporo Dome
123 Estádio do Bessa XXI
124 Small Olympic
127 Large Olympic
129 Large Square
131 Franken Stadion
132 Fritz-Walter Stadion
133 Mercedes-Benz Arena
134 HDI Arena
135 Olympiastadion
136 RheinEnergieStadion
137 Allianz Arena
138 Commerzbank Arena
139 Zentralstadion
140 Stade Roi Baudouin
142 Muluc Stadium (2006WC)
143 Curaca Stadium (2006WC)
144 Tashi Deleh Stadium (2006WC)
145 Tuan Jie Stadium (2006WC)
146 Millennium Stadium (2006WC)
147 Stadion Europa
147 Világ Stadium (2006WC)
148 Salam Stadium (2006WC)
149 Stade Kokoto
149 Umoja Arena (2006WC)
150 Capital Stadium (2006WC)
151 Azteca Stadium (2006WC)
152 Maunga Stadium (2006WC)
153 Aloha Park
153 Arena (2006WC)
155 Wembley Stadium
156 Emirates Stadium
157 Stadio Olimpico
158 Estadio de las Artes
159 UEFA Ultimate Stage
160 Athens
161 Home Depot Center
163 Jalisco
164 St. Jakob Park
165 Stade de Suisse
166 Stade de Genève
167 Letzigrund
168 Ernst-Happel-Stadion
169 Wals-Siezenheim Stadium
170 Tivoli Neu
171 Wörtherseestadion
172 FIWC Stadium
174 Stadio Comunale
175 Arena del Centenario
176 Waldstadion
177 La Canchita
178 Stadion Neder
179 Stade Municipal
180 Ivy Lane
181 El Monumento
182 Stadion 23. Maj
183 Estadio Nacional
184 North America
185 South America
186 Southern Europe
187 Eastern Europe
188 Central Europe
189 United Kingdom
190 Asia
192 El Libertador
193 Stadio Classico
194 Eastpoint Arena
195 Stadion Olympik
196 Stadion Hanguk
197 O Dromo
198 Jedinstvo Stadium
199 Northbank Stadium
200 Amitié Stadium
201 Luz do sol Stadium
202 City Square Stadium
211 Estadio Chamartin
212 Estadio Presidente G.Lopes
213 Green Point Stadium
214 Durban Stadium
215 Ellis Park Stadium
216 Soccer City Stadium
217 Free State Stadium
218 Nelson Mandela Bay Stadium
219 Mbombela Stadium
220 Peter Mokaba Stadium
221 Royal Bafokeng Stadium
222 Loftus Versfeld Stadium
223 Friður Stadium (2010WC)
224 Satta Stadium (2010WC)
225 Akaaroa Stadium (2010WC)
226 Hasiti Arena (2010WC)
227 Salam Stadium (2010WC)
228 Court Lane
229 Arena D'Oro
233 Peuan Arena (2010WC)
234 Pyonghwa Stadium (2010WC)
235 Udugu Stadium (2010WC)
236 El Coloso (2010WC)
238 Africa
246 Etihad Stadium
247 Juventus Stadium
248 BC Place Stadium
249 Molton Road
250 Oceanic Arena
251 FE Poland (UE2012)
253 Olympic Stadium Kiev
254 Municipal Stadium Poznan
255 National Stadium Warsaw
256 Arena Gdansk
257 Municipal Stadium Wroclaw
258 Metalist Stadium
259 Arena Lviv
260 Donbass Arena
261 Sanderson Park
262 King Fahd Stadium
264 La Bombonera
265 Goodison Park
267 Arena Amazonia
268 Arena da Baixada
269 Arena de Sao Paulo
270 Arena Fonte Nova
271 Arena Pantanal
272 Arena Pernambuco
273 Estadio Beira-Rio
274 Estadio Castelao
275 Estadio das Dunas
276 Estadio do Maracana
277 Estadio Mineirao
278 Estadio Nacional
279 Baba Yetu Stadium
280 WC_FE Arena_Germany
281 WC_FE Arena 2
282 Stade du 13 Octobre
283 WC_FE Arena_Brazil
284 WC_Training_Pitch_2
285 Stade du Lukanga
286 Estadio de las Cascadas
287 El Grandioso de las Pampas
288 Singeom Stadium
289 Shibusaka Stadium
290 Gold Lake Stadium
291 Stadio San Dalla Pace
292 WC_FE_Arena_USA
293 WC_FE_Arena_UK
294 WC_FE_Arena_France
295 WC_FE_Arena_Australia
296 WC_FE_Arena_Italy
297 WC_FE_Arena_Spain
298 WC_FE_Arena_Mexico
299 WC_FE_Arena_Croatia
300 WC_FE_Arena_Brazil1
301 WC_FE_Arena_Brazil2
302 WC_FE_Arena_Brazil3
303 WC_FE_Arena_Brazil4
304 WC_FE_Arena_Brazil5
305 WC_FE_Arena_Brazil6
306 WC_FE_Arena_Brazil7
307 WC_FE_Arena_Brazil8
308 WC_FE_Arena_Brazil9
309 WC_FE_Arena_Brazil10
310 WC_FE_Arena_Brazil11
311 WC_FE_Arena_Brazil12
312 WC_FE_Arena_Brazil13
313 WC_FE_Arena_Brazil14
314 WC_FE_Arena_Brazil15
315 WC_FE_Arena_Brazil16
316 WC_FE Arena_Generic_NorthAmerica
317 WC_FE Arena_Generic_SouthAmerica
318 WC_FE Arena_Generic_Africa
319 WC_FE Arena_Generic_Brazil
320 WC_Training_Pitch_Generic_SouthAmerica
321 WC_Training_Pitch_Generic_Africa
322 WC_Training_Pitch_Generic_Asia
323 WC_Training_Pitch_Generic_Europe
324 FE_FanArena_Generic_Europe
 

JimmySak

Senior Squad
fifaCCitiu.com;3698478 said:
with wordpad you can't do anything... is he edit that you have to do, and he explained it clearly. :)

Thank you FifaCCitiu indeed for your advice!
Where can I find a hexadecimal editor in order to open file named rendering_patch.cdb ?
 

moddingway

Youth Team
ruiorey;3698745 said:
Do you suggest a backup before doing anything, or this mod doesn t "touch" our db in any way?

No, in your db you don´t have to make any change just to add the stadiums you want. The file changed is originally empty.
 

moddingway

Youth Team
RobbieD_PL;3698698 said:
A suggestion that I have:

Is there a way to just edit the rendering_patch.cdb to simply put in all IDs from 1~the # which is the max limit in the database?

Nice. Yes the idea will be to add blocks for all stadiums. I´m not sure about a limit but it´s a nice option to try :)
 

shawminator

Reserve Team
@ moddingway
what stadium id did u base ur data on for the new entries?
you wouldnt happen to know if this data holds the info on the shadow height on crowds?
 

Rickrd0

Club Supporter
Thanks! Works well with the most added stadiums but with Arena Amazonia (267) doesn't, it's only me or what?
I mean Lights works well with all stadiums but not banners, banners problem with Arena Amazonia.
 

pao4ever

Starting XI
100% verified: adding too many stadiums in this file, makes FIFA crash even before Messi's splash picture... :/
 

SIA Bouncer MW

Reserve Team
pao4ever;3702765 said:
100% verified: adding too many stadiums in this file, makes FIFA crash even before Messi's splash picture... :/

That's a shame if true, hopefully Ariel may be able to figure out a workaround.
 


Top