Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant make note assets using flash cs6 #11211

Closed
jan-doez-animationz opened this issue Nov 11, 2022 · 15 comments
Closed

Cant make note assets using flash cs6 #11211

jan-doez-animationz opened this issue Nov 11, 2022 · 15 comments
Labels
bug Something isn't working

Comments

@jan-doez-animationz
Copy link

Describe your bug here.

Bassically i tried making note assets using flash cs6 and it didnt work
i litterally tried everything diffrent encodings the default xml nothing work
please somebody who knows anything about this help
all i kept getting was this :
trumNote.hx (line 139)
flixel/group/FlxGroup.hx (line 175)
flixel/group/FlxGroup.hx (line 175)
flixel/addons/ui/FlxUIState.hx (line 212)
MusicBeatState.hx (line 66)
PlayState.hx (line 2878)
flixel/FlxState.hx (line 203)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

Command Prompt/Terminal logs (if existing)

No response

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

All i did is mainly add some songs and made sprites

@jan-doez-animationz jan-doez-animationz added the bug Something isn't working label Nov 11, 2022
@frantastic24
Copy link

Duplicate of #9507

@jan-doez-animationz
Copy link
Author

Found the way to fix it bassically there are 2 copies of arrows that you hit a movie clip and and a graphic most people go into the arrow assets and select everything and generate a spritesheet boom the game crashes

@jan-doez-animationz
Copy link
Author

wrong it still doesnt work

@jan-doez-animationz
Copy link
Author

waittt i was wrong i might just need to readd the weird long note press thing that i thought was the problem

@jan-doez-animationz
Copy link
Author

got the same crash again D:

@jan-doez-animationz
Copy link
Author

I DONT UNDERSTAND THE CRASH WHY DOES IT KEEP CRASHING

@jan-doez-animationz
Copy link
Author

WHY THE FUCK ARE THE NOTE ASSETS SO WEIRDLY MADE

@jan-doez-animationz
Copy link
Author

i tried everything fixing anything that was wrong nothing worked same crash I DONT GET IT ima go to sleep if i tried more i'd go insane

@frantastic24
Copy link

Don't reopen, it's a duplicate and you never even posted your files

@jan-doez-animationz
Copy link
Author

NOTE_assets6
here are the assets and dont reopen what?

@jan-doez-animationz
Copy link
Author

oh yeah i noticed the problem

@jan-doez-animationz
Copy link
Author

i dont get it

@jan-doez-animationz
Copy link
Author

NOTE_assets7

@DevFregnub
Copy link

Flash CS6 Typically doesnt work with fnf psych, no idea why. Maybe migrate to CS5.5

@QuetzalcoutlDev
Copy link

Describe your bug here.

Bassically i tried making note assets using flash cs6 and it didnt work i litterally tried everything diffrent encodings the default xml nothing work please somebody who knows anything about this help all i kept getting was this : trumNote.hx (line 139) flixel/group/FlxGroup.hx (line 175) flixel/group/FlxGroup.hx (line 175) flixel/addons/ui/FlxUIState.hx (line 212) MusicBeatState.hx (line 66) PlayState.hx (line 2878) flixel/FlxState.hx (line 203) flixel/FlxGame.hx (line 747) flixel/FlxGame.hx (line 677) flixel/FlxGame.hx (line 551) openfl/events/EventDispatcher.hx (line 402) openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

Command Prompt/Terminal logs (if existing)

No response

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

All i did is mainly add some songs and made sprites

@jan-doez-animationz
the problem is that the encoding of the .xml files exported in Flash CS6 is UTF-16 and Psych Engine (HaxeFlixel) uses and only allows the utf-8 encoding, I use Flash CS6 and I will tell you what I do so that you can use sprites exported in Flash CS6

  1. I export the sprite
  2. I open the exported .xml with my code editor (Sublime Text, although it can also be Visual Studio Code or Atom)

3.And I save the .xml with utf-8 encoding with BOM (in the save tab there is an option that says save with encoding...)

And ready you can use the sprite (in your case the notes)

Note: You should not modify the .xml at all, just save it again but with its new encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants